@ckeditor/ckeditor5-revision-history 46.0.1 → 46.0.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,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 D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(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])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,U(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=H(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 q(t,e){const i=Y();return(q=function(t,e){return i[t-=343]})(t,e)}const B=q;function Y(){const t=["862965GnImjP","436BPOYDR","set","1168972tpJncD","createdAt","461508RZzvTi","attributes","toVersion","creatorId","setAttribute","80334yeUyxh","model","678mrFZkB","diffData","creator","authors","name","fire","_update","removeAttribute","fromVersion","setName","authorsIds","119800nUSqxp","toJSON","1046512dBOIjW","map"];return(Y=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(116569===parseInt(e(343))/1+parseInt(e(356))/2+parseInt(e(345))/3*(parseInt(e(361))/4)+parseInt(e(360))/5+parseInt(e(365))/6+-parseInt(e(363))/7+-parseInt(e(358))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[B(347)];[B(348)];[B(346)];[B(367)];[B(353)];[B(344)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(347)]=e[i(347)]||null,this[i(348)]=e[i(348)]||[],this[i(346)]=e[i(346)]||null,this[i(367)]=e[i(367)]||0,this[i(353)]=e[i(353)]||0,this[i(362)](i(349),e[i(349)]||""),this[i(362)](i(364),e[i(364)]||new Date),this[i(362)](i(366),e[i(366)]||{})}[B(354)](t){this[B(351)]({name:t})}[B(369)](t,e){const i=B,n=A(this[i(366)]);W(n,t,e),this[i(351)]({attributes:n})}[B(352)](t){const e=B,i=A(this[e(366)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return $(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(351)]({attributes:i})}[B(351)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(349),i(364),i(346),i(348),i(366),i(367),i(353),i(368)];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(348)]&&(s[i(355)]=s[i(348)][i(359)](t=>t.id),delete s[i(348)]),this[i(350)](i(351),s,e))}[B(357)](){const t=B;return{id:this.id,name:this[t(349)],creatorId:this[t(347)]?this[t(347)].id:null,authorsIds:this[t(348)][t(359)](t=>t.id),diffData:this[t(346)],createdAt:this[t(364)],attributes:this[t(366)],fromVersion:this[t(353)],toVersion:this[t(367)]}}}var G=i(782),K=i(211),Q=i(783);function X(t,e){const i=it();return(X=function(t,e){return i[t-=419]})(t,e)}const tt=X;!function(t){const e=X,i=t();for(;;)try{if(450983===-parseInt(e(470))/1*(parseInt(e(429))/2)+parseInt(e(464))/3+parseInt(e(453))/4*(parseInt(e(461))/5)+-parseInt(e(448))/6*(-parseInt(e(466))/7)+-parseInt(e(455))/8+-parseInt(e(474))/9*(parseInt(e(452))/10)+parseInt(e(443))/11*(-parseInt(e(435))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[tt(456)];static get[tt(419)](){return[K.Users]}static get[tt(445)](){return tt(451)}static get[tt(454)](){return!0}static get[tt(428)](){return!0}get[tt(475)](){const t=tt;return this[t(456)][t(475)]}constructor(e){const i=tt;super(e),this[i(456)]=new t.Collection}[tt(462)](){!async function(e){const i=k([89,49,118,101,71,81,52,76,119,55,106,50,56,87,109,90,80,111,77,72,114,121,99,69,103,57,70,75,120,110,104,112,105,116,78,84,48,54,97,102,66,100,51,74,73,83,67,53,98,85,122,65,68,88,86,117,113,108,107,82,115,79]),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=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(463)](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([89]);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=X;return t[e(473)](t=>String[e(458)](t))[e(432)]("")}!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:1754870400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,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(465)]);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(438)](t){const e=tt,i=this[e(433)][e(439)][e(450)](e(467));return new J({id:t.id,name:t[e(444)],creator:t[e(427)]?i[e(434)](t[e(427)]):null,diffData:t[e(424)]||t[e(420)],authors:t[e(468)][e(473)](t=>i[e(434)](t)),createdAt:new Date(t[e(449)]),attributes:t[e(440)],fromVersion:t[e(442)],toVersion:t[e(426)]})}[tt(431)](t,e=0){const i=tt;this[i(456)][i(460)](t,e)}[tt(472)](t){const e=tt;return this[e(456)][e(450)](t)}[tt(471)](t={toJSON:!1}){const e=tt,i=Array[e(422)](this[e(456)]);return i[e(457)](),t[e(437)]?i[e(473)](t=>t[e(437)]()):i}[tt(446)](t){const e=tt;return this[e(456)][e(446)](t)}[tt(469)](t){const e=tt,[,i]=this[e(425)](t,{direction:e(423)});return i}[tt(459)](t){const e=tt,[,i]=this[e(425)](t,{direction:e(436)});return i}[tt(421)](t){const e=tt,i=[];for(const n of this[e(425)](t[e(430)]))if(i[e(441)](n),n.id===t[e(447)])break;return i}*[tt(425)](t,{direction:e=tt(423),filter:i=()=>!0}={}){const n=tt,s=n(423)===e?1:-1;let r=this[n(456)][n(450)](t),o=this[n(446)](r);for(yield r;r;){if(o+=s,r=this[n(472)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["53524NAbcZi","isOfficialPlugin","4806840vSKifd","_revisions","reverse","fromCharCode","getLaterVisibleRevision","add","215lFlSLV","afterInit","isNaN","2441334upCUmj","href","14hKNaDr","Users","authorsIds","getEarlierVisibleRevision","25FoojCj","getRevisions","getRevision","map","585CViDHW","length","requires","data","getRevisionsInDiff","from","earlier","diffData","getRevisionsIterator","toVersion","creatorId","isPremiumPlugin","21958HqvLKv","newRevisionId","addRevision","join","editor","getUser","2084892hlZlle","later","toJSON","createRevision","plugins","attributes","push","fromVersion","11coRnDQ","name","pluginName","getIndex","oldRevisionId","1760274izCgJB","createdAt","get","RevisionsRepository","73210fAtZhB"];return(it=function(){return t})()}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=415]})(t,e)}const st=nt;function rt(){const t=["processor","append","name","insertions","_getTypeCharForViewElement","document","viewChildrenToDom","render","_setCustomProperty","marked","pluginName","fillerOffset","domChildrenToView","toData","domConverter","5080208osAAXt","get","collaboration.channelId","createElement","innerHTML","from","_viewClassToTypeChar","children","354rJcVVc","23265EVjXcD","isOfficialPlugin","_getViewFromDiffObj","revision-end","htmlProcessor","getRevisionDocumentData","view","type","toModel","parse","isAttached","constructor","_typeCharToViewClass","8659530Kynpsb","useFillerType","string","customProperties","filter","_makeModelFromViewString","data-revision-","childNodes","data","getRevision","editor","6qOSdzn","3590420CIJCRk","9zfnktd","_appendChild","revision-start","loadRevisionData","21374840jjUzeh","default","map","domDocument","config","RevisionHistoryUtils","784587BMNmIS","3091102cTzVTn","attributesAfter","getRevisionRootsAttributes","startsWith","isPremiumPlugin","length","_removeRevisionMarkers","diffData","forEach","attachChange","attributes","getFillerOffset","editing","div"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(886635===-parseInt(e(480))/1+parseInt(e(443))/2*(parseInt(e(444))/3)+parseInt(e(469))/4+parseInt(e(457))/5+-parseInt(e(468))/6*(-parseInt(e(481))/7)+-parseInt(e(435))/8+-parseInt(e(470))/9*(parseInt(e(474))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(430)](){return st(479)}static get[st(445)](){return!0}static get[st(485)](){return!0}[st(441)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(456)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(473)](t,e){const i=st;if(t[i(488)]||!e)return;const n=this[i(467)][i(478)][i(436)](i(437)),s=await e[i(466)]({channelId:n,revisionId:t.id});t[i(488)]=s[i(488)]}[st(449)](t){const e=st,i={};for(const n in t[e(488)]){if(t[e(488)][n][e(415)]&&!t[e(488)][n][e(415)][e(454)])continue;const s=this[e(487)](JSON[e(453)](t[e(488)][n][e(423)])),r=this[e(467)][e(418)][e(450)][e(425)],o=new Q.ViewDocumentFragment(r,s[e(476)](t=>this[e(446)](t,!1)));this[e(467)][e(465)][e(420)][e(458)](e(429)),i[n]=this[e(467)][e(465)][e(420)][e(433)](o),this[e(467)][e(465)][e(420)][e(458)](e(475))}return i}[st(483)](t){const e=st,i={};for(const n in t[e(488)])t[e(488)][n][e(415)]&&!t[e(488)][n][e(415)][e(454)]||(i[n]=t[e(488)][n][e(482)]||{});return i}[st(424)](t){const e=st;return this[e(441)][e(436)](t[e(455)])}[st(446)](t,e){const i=st,n=this[i(467)][i(418)][i(450)][i(425)];if(i(459)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(451)]||"r"==t[i(451)]?[]:t[i(442)][i(476)](t=>this[i(446)](t,e));const o=this[i(456)][i(436)](t[i(451)])||Q.ViewElement,a=this[i(467)][i(465)][i(448)][i(434)];if(s=new o(n,t[i(422)],t[i(416)],r),"u"==t[i(451)]&&t[i(442)][0]){const r=t[i(442)][0];if(s[i(427)]=function(t){const e=i,n=t[e(438)](e(419));return n[e(439)]=r,n[e(464)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(471)](s);const e=Array[i(440)](a[i(426)](t,{bind:!1})),r=a[i(477)][i(438)](i(419));r[i(421)](...e),s=Array[i(440)](a[i(432)](r))[0]}}else if("r"==t[i(451)]&&t[i(442)][0]){const r=t[i(442)][0];if(s[i(427)]=function(t){t[i(439)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(471)](s);const e=Array[i(440)](a[i(426)](t,{bind:!1})),r=a[i(477)][i(438)](i(419));r[i(421)](...e);const o=Array[i(440)](a[i(432)](r));o[i(486)]>1?s[i(471)](o):s=o[0]}}if(t[i(460)])for(const[e,n]of t[i(460)])s[i(428)](e,n);const c=void 0===t[i(431)]?null:t[i(431)];return null!==c&&(s[i(417)]=()=>c),s}}[st(462)](t){const e=st,i=JSON[e(453)](t),n=this[e(467)][e(418)][e(450)][e(425)],s=new Q.ViewDocumentFragment(n,i[e(476)](t=>this[e(446)](t,!0)));return this[e(467)][e(465)][e(452)](s)}[st(487)](t){const e=st;return(t=t[e(461)](t=>!t[e(422)]||e(472)!==t[e(422)]&&e(447)!==t[e(422)]))[e(489)](t=>{const i=e;i(459)!=typeof t&&(t[i(442)]=this[i(487)](t[i(442)]),t[i(416)]=t[i(416)][i(461)](t=>!t[0][i(484)](i(463))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return D(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const 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=pt;function mt(){const t=["$comment","dataDowncast","stickiness","fromVersion","move","_calculateMetaData","_lastFrom","isReady","reinsert","merge","rootsAttributes","_idsRoots","reverse","fromEntries","vid_start","getRevision","key","_loadedStateData","affectsData","getCurrentRevisionId","_authorId","createRangeIn","item","attributesAfter","RevisionsRepository","getAncestors","insertions","dataToMarker","getIndex","resolve","getTransformedByOperation","_isAttached","roots","locale","4233435XhAMEE","evaluationLimit","slice","newRange","getChild","_getBaseVids","RevisionHistoryUtils","isAdd","filter","usageLimit","_makeIdsRoot","collaboration.channelId","ready","elementEnd","text","model","keys","getCustomProperties","createRevision","set","RevisionHistory","reInit","root","delete","children","_markChanges","createPositionAt","shift","stringify","_markers","isEqual","update","_pendingAction","init","position","attributesBefore","_generateTape","detachRoot","_transformMarkers","_replaceEditorDataWithRevisionData","revisionHistory.resumeUnsavedRevision","includes","loadRevisionData","editor","define","_appendChild","plugins","_applyOperations","RealTimeCollaborationClient","data","_lastTo","isOfficialPlugin","initial","_fixPosition","customProperties","getChildren","values","_execute","_saveMetaData","setRevisionData","nodeAfter","isAttached","getOperations","isPremiumPlugin","initialData","_handleMoveOperation","_handleInsertOperation","offset","Users","sort","7919480GljQEQ","createPositionFromPath","_createCurrentRevision","_prepareViewToSave","getAttribute","revisionHistoryLicenseKeyNotAllowed","4487moAaQT","clear","howMany","uiElement","innerHTML","2356543gGKeMS","_getVidAttributeName","insert","addRootAttribute","revisionHistoryLicenseKeyEvaluationLimit","max","trim","PendingActions","addRoot","revisionHistoryLicenseKeyValid","_makeModelFromViewString","authors","_baseRoots","removeRootAttribute","trialLimit","sourcePosition","_createFromRanges","path","toView","_getTypeCharForViewElement","_diffRootsAttributes","_bufferUpdate","find","isEnabled","_findInsertionIndex","conversion","from","_processRootBeforeSave","_insertChild","_diffRoots","userId","revisionHistoryLicenseKeyInvalid","vid","deletions","version","_touchedMarkers","oldRange","_revisionId","deletion","_clone","source","_startingRevisionId","string","insertionPosition","add","updateRevisions","_continueCurrentRevision","createRange","sendBufferedUpdates","then","_getPreviousFrom","revisionHistoryLicenseKeyExpired","_update","toVersion","featureNotAllowed","attachChange","newValue","11091384VmDDnj","expired","_handleMarkerOperation","adapter","$text","offsetSize","createPositionAfter","_setAttribute","parent","documentFragment","getLatestVersion","saveRevision","getTime","split","NEGATIVE_INFINITY","revisionHistoryLicenseKeyUsageLimit","_isPendingUpdate","some","getRevisionRootsAttributes","_removePendingAction","targetPosition","_savedMetaData","22kzOkQX","_removeMetaData","_addPendingAction","_createInitialRevision","end","_utils","keepParagraph","authorsIds","_setConversion","getUser","currentRevision","revision:","diffData","getRevisionDocumentData","has","_baseRootsAttributes","_handleRootAttributeOperation","_handleOperation","getRoot","_bufferedUpdates","vid_end","size","addRevision","getRevisions","Initial revision","createElement","320OmSrLa","_source","_isInit","getOperation","getRange","changeRootAttribute","3tglIyq","render","createPositionBefore","document","element","_fixOperation","_reset","getFillerOffset","revisionHistoryLicenseKeyTrialLimit","htmlProcessor","childCount","$graveyard","nodes","_handleSplitOperation","domainLimit","_revisionDataBuilder","remove","_fixRange","_touchedRoots","6032372cBOanP","name","RevisionTracker","_handleMergeOperation","marker","addRevisionData","licenseKey","graveyardPosition","for","hasContent","revisionHistoryLicenseKeyDomainLimit","_licenseKeyCheckInterval","getData","pluginName","getNodeByPath","_cloneOperation","loadState","_operations","clone","insertion","creatorId","baseVersion","push","domConverter","markerToData","map","buildRevisionData","PENDING_ACTION_REVISION_HISTORY","setSource","_touched","splitPosition","_getViewJson","length","revision","rawElement","getWalker","editor-initial-data-replaced-with-revision-data","_showLicenseError","finally","32qxNRvd","Empty document","get","config","createdAt","domDocument","history","outerHTML","_copyMarkers","_handleRootOperation","destroy","start","getRootNames","markers","repository","_loadState","getMovedRangeStart","afterInit","_getFromVersion","_startingVersion","tableCell","fillerOffset","1401798AMgtwh","previousPosition","_getState","upcast","elementStart","bind","requires","getAttributes","_makeRevision","_baseIdsRoots","type","creator","range","rootName","_initialRevisionId","invalid","startsWith","paragraph"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(817957===parseInt(e(646))/1*(parseInt(e(432))/2)+-parseInt(e(438))/3*(parseInt(e(457))/4)+parseInt(e(570))/5+-parseInt(e(518))/6+parseInt(e(651))/7*(parseInt(e(496))/8)+parseInt(e(708))/9+-parseInt(e(640))/10*(parseInt(e(730))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(463)];[ft(468)];[ft(416)]=null;[ft(510)];[ft(711)]=null;[ft(453)];[ft(433)];[ft(532)];[ft(425)];[ft(735)];[ft(602)];[ft(697)];[ft(515)];[ft(553)];static get[ft(470)](){return ft(459)}static get[ft(621)](){return!0}static get[ft(633)](){return!0}static get[ft(524)](){return[K.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(510)]=this[i(613)][i(616)][i(498)](i(560)),this[i(735)]=this[i(613)][i(616)][i(498)](i(576)),this[i(453)]=new gt(this[i(613)]),this[i(532)]=this[i(613)][i(499)][i(498)](i(581))||i(622),this[i(425)]=new Map,this[i(553)]=null;const n=(0,t.uid)();this[i(433)]={history:this[i(613)][i(585)][i(441)][i(502)],getLatestVersion:()=>Promise[i(565)](this[i(613)][i(585)][i(441)][i(685)]),getCurrentRevisionId:()=>n},this[i(589)](i(543),!1),this[i(589)](i(674),!0),this[i(589)](i(724),!1),this[i(613)][i(499)][i(614)](i(610),!0),this[i(613)][i(676)][i(465)](i(521))[i(563)]({view:i(490)})}[ft(603)](){const t=ft;this[t(738)](),this[t(613)][t(619)].on(t(582),()=>{const e=t,i=this[e(510)][e(551)](0),n=i&&null===i[e(529)]?i:null;if(this[e(697)]=!!n&&this[e(613)][e(499)][e(498)](e(610)),this[e(613)][e(616)][e(420)](e(618))){const t=this[e(433)][e(555)](),s=this[e(510)][e(551)](t);if(s)this[e(515)]=s[e(539)],this[e(697)]=!1;else{const t=this[e(433)][e(502)][e(474)][e(673)](t=>!t[e(434)]),s=t?t[e(478)]:this[e(433)][e(502)][e(685)];i?(i[e(704)]<s&&i[e(703)]({toVersion:s}),this[e(697)]?(this[e(433)][e(555)]=()=>n.id,this[e(515)]=n[e(539)]):(this[e(515)]=i[e(704)],this[e(697)]=!1)):(this[e(515)]=s,this[e(697)]=!1)}}else n&&(this[e(613)][e(585)][e(441)][e(502)][e(685)]=Math[e(656)](n[e(704)],this[e(613)][e(585)][e(441)][e(502)][e(685)]),n[e(539)]===n[e(704)]?(0!==n[e(539)]&&(this[e(433)][e(555)]=()=>n.id),this[e(697)]=!1):this[e(697)]&&(this[e(433)][e(555)]=()=>n.id,this[e(515)]=n[e(539)])),this[e(697)]||(this[e(515)]=this[e(613)][e(585)][e(441)][e(685)]);this[e(453)][e(603)](this[e(433)][e(502)]),this[e(733)](this[e(515)]),this[e(642)](this[e(515)]),this[e(711)]&&this[e(699)]()}),this[t(523)](t(543)).to(this,t(724),t=>!t),this[t(463)]=this[t(613)][t(499)][t(498)](t(463));const e=this[t(613)];this[t(468)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(660)==r||i(682)==r||i(702)==r||i(467)==r||i(645)==r||i(655)==r||i(446)==r||i(723)==r){delete e[s],n=r,clearInterval(this[i(468)]),this[i(468)]=void 0;break}}i(682)==n&&e[i(494)](i(533)),i(702)==n&&e[i(494)](i(709)),i(467)==n&&e[i(494)](i(452)),i(645)==n&&e[i(494)](i(705),i(590)),i(655)==n&&e[i(494)](i(571)),i(446)==n&&e[i(494)](i(665)),i(723)==n&&e[i(494)](i(579))},1e3)}async[ft(513)](){const t=ft;if(this[t(510)][t(489)]>0){const e=this[t(510)][t(551)](0),i=await this[t(419)](e),n=await this[t(726)](e);this[t(609)](i,n)}}[ft(506)](){const t=ft;super[t(506)](),this[t(468)]&&clearInterval(this[t(468)])}[ft(485)](t){this[ft(433)]=t}async[ft(601)](){const t=ft,e=await this[t(433)][t(718)]();if(e>this[t(416)][t(704)]){await this[t(511)]();const i=this[t(483)]({revision:this[t(416)],to:e});i[t(662)]=i[t(737)][t(482)](e=>this[t(613)][t(616)][t(498)](t(638))[t(415)](e)),this[t(416)][t(703)](i)}}async[ft(719)](e={},i=null){const n=ft,s=[];await this[n(511)](),this[n(697)]=!1,i>this[n(416)][n(704)]&&(i=null),null===i&&(i=await this[n(433)][n(718)]());const r=this[n(514)](i),o=this[n(483)]({from:r,to:i});if(this[n(416)][n(704)]<i){const t=this[n(483)]({revision:this[n(416)],from:i,to:i});t[n(662)]=[],t[n(737)]=[],t.id=this[n(416)].id,this[n(416)][n(703)](t,!0),delete t[n(662)],s[n(479)](t)}e[n(477)]=this[n(613)][n(616)][n(498)](n(638)).me.id,e[n(458)]=e[n(458)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(462)](e);s[n(479)](e);const c=this[n(510)][n(564)](a);if(0!==c){const t=this[n(510)][n(551)](c-1);if(t[n(539)]!==i){const r=this[n(453)][n(469)](i,t[n(704)]),o={id:t.id,diffData:r[n(418)],authorsIds:r[n(737)],authors:r[n(737)][n(482)](t=>this[n(613)][n(616)][n(498)](n(638))[n(415)](t)),fromVersion:i};t===this[n(416)]&&(o[n(500)]=new Date(e[n(500)][n(720)]()+10)),t[n(703)](o,!0),delete o[n(662)],s[n(479)](o)}}if(this[n(711)]){for(const t of s)this[n(672)](t.id,t,!0);this[n(699)]()}return a}[ft(462)](t){const e=ft,i=this[e(510)][e(588)](t);return this[e(711)]&&i.on(e(703),(t,i,n)=>{const s=e;n||(this[s(672)](i.id,i,!0),this[s(699)]())}),this[e(510)][e(428)](i,this[e(675)](i)),i}async[ft(419)](t){const e=ft;return await this[e(735)][e(612)](t,this[e(711)]),this[e(735)][e(419)](t)}async[ft(726)](t){const e=ft;return await this[e(735)][e(612)](t,this[e(711)]),this[e(735)][e(726)](t)}[ft(699)](){const t=ft;if(0===this[t(425)][t(427)])return;if(this[t(724)])return;let e=Array[t(677)](this[t(425)][t(626)]());this[t(425)][t(647)]();for(let i=0;i<e[t(489)];i++){const n=e[i];let s=!1;for(const e of Object[t(586)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(578)](t=>null!==t),!e[t(489)])return;for(let i=0;i<e[t(489)];i++){const n=e[i];void 0!==n[t(539)]&&void 0===n[t(704)]&&(n[t(704)]=this[t(510)][t(551)](n.id)[t(704)]),void 0!==n[t(704)]&&void 0===n[t(539)]&&(n[t(539)]=this[t(510)][t(551)](n.id)[t(539)])}const i=this[t(613)][t(499)][t(498)](t(581));this[t(724)]=!0,this[t(732)](),this[t(711)][t(696)](e,i)[t(495)](()=>{this[t(724)]=!1})[t(700)](e=>{const i=t;if(e)for(const t of e)this[i(629)]({id:t.id,createdAt:t[i(500)]});this[i(727)](),this[i(699)]()})}[ft(483)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(539)],i=null!==i?i:t[n(704)];const s=this[n(453)][n(469)](e,i),r={diffData:s[n(418)],authorsIds:s[n(737)],fromVersion:e,toVersion:i};if(!t||i!==t[n(704)]){const t=i-1,e=this[n(433)][n(502)][n(435)](t);r[n(500)]=e&&e[n(500)]||new Date}if(this[n(553)]&&e===this[n(553)][n(539)])for(const t of this[n(553)][n(662)])r[n(737)][n(611)](t.id)||r[n(737)][n(479)](t.id);return r}[ft(672)](t,e,i){const n=ft;if(this[n(425)][n(420)](t)){const s=this[n(425)][n(498)](t);e=i?{...s,...e}:{...e,...s}}this[n(425)][n(589)](t,e)}[ft(629)](t){const e=ft,i=this[e(510)][e(551)](t.id);if(t[e(500)]&&(t[e(500)]=new Date(t[e(500)])),t[e(737)]){const i=this[e(613)][e(616)][e(498)](e(638));t[e(662)]=t[e(737)][e(482)](t=>i[e(415)](t))}i[e(703)](t,!0)}[ft(733)](t){const e=ft,i=this[e(510)][e(551)](this[e(510)][e(489)]-1);if(i)this[e(532)]=i.id;else{const i=!this[e(613)][e(585)][e(441)][e(568)][e(673)](t=>this[e(613)][e(585)][e(466)](t)),n=this[e(613)][e(616)][e(498)](e(638)).me.id,s=at(this[e(613)][e(569)],e(i?497:430));this[e(526)]({from:t,to:t,id:this[e(532)],name:s,creatorId:n})}}[ft(642)](t){const e=ft,i=this[e(433)][e(555)]();this[e(416)]=this[e(510)][e(551)](i),this[e(416)]||(this[e(416)]=this[e(526)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(511)](){const t=ft;this[t(697)]&&!this[t(553)]&&(await this[t(735)][t(612)](this[t(416)],this[t(711)]),this[t(453)][t(473)](this[t(416)]),this[t(553)]={fromVersion:this[t(416)][t(539)],authors:this[t(416)][t(662)][t(572)]()})}[ft(609)](e,i){const n=ft;let s=this[n(613)][n(499)][n(498)](n(634)),r=this[n(613)][n(499)][n(498)](n(546));if(void 0===s){s={};for(const t of this[n(613)][n(585)][n(441)][n(508)]())s[t]=""}if(n(693)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(613)][n(585)][n(441)][n(508)]())r[t]={}}let o=!1;const a=Object[n(586)](s),c=Object[n(586)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(657)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(586)](r[t])[n(489)]>0){o=!0;break}}o||(o=c[n(725)](t=>!this[n(613)][n(585)][n(441)][n(424)](t))),o&&(0,t.logWarning)(n(493),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(613)][n(499)][n(589)](n(634),e),this[n(613)][n(499)][n(589)](n(546),i)}[ft(732)](){const t=ft;if(!this[t(602)]){const e=this[t(613)][t(616)][t(498)](t(658));this[t(602)]=e[t(695)](at(this[t(613)][t(569)],t(484)))}}[ft(727)](){const t=ft;this[t(602)]&&(this[t(613)][t(616)][t(498)](t(658))[t(454)](this[t(602)]),this[t(602)]=null)}[ft(675)](t){const e=ft,i=this[e(510)][e(429)]();i[e(548)]();let n=0;for(;n<i[e(489)];){const s=i[n];if(s===this[e(416)]){n++;continue}if(s.id===this[e(532)])break;const r=t[e(704)]-s[e(704)]||t[e(539)]-s[e(539)];if(r>0)break;if(r<0)n++;else{if(!t[e(529)]&&s[e(529)])break;if(s[e(529)]||!t[e(529)]){if(t[e(500)]>s[e(500)])break;n++}else n++}}return n}[ft(514)](t){const e=ft,i=this[e(510)][e(429)]();i[e(548)](),i[e(597)]();const n=i[e(673)](i=>i[e(704)]<=t)[e(704)];return n<this[e(515)]?this[e(515)]:n}[ft(526)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(483)]({from:e,to:i});o[r(458)]=t,o[r(477)]=n,o.id=s;const a=this[r(462)](o);return this[r(711)]&&this[r(672)](o.id,o,!0),a}[ft(738)](){const t=ft;this[t(613)][t(676)][t(465)](t(537))[t(481)]({model:t(490)})}}class gt{[ft(613)];[ft(691)];[ft(729)];[ft(542)];[ft(620)];[ft(599)];[ft(680)];[ft(671)];[ft(663)];[ft(421)];[ft(547)];[ft(527)];[ft(486)];[ft(686)];[ft(456)];[ft(688)];[ft(692)];constructor(t){const e=ft;this[e(613)]=t,this[e(729)]=new Map,this[e(542)]=-1,this[e(620)]=-1,this[e(599)]=new Map,this[e(680)]=new Map,this[e(671)]=new Map,this[e(663)]=new Map,this[e(421)]=new Map,this[e(547)]=new Map,this[e(527)]=new Map,this[e(486)]=new Map,this[e(686)]=new Map,this[e(456)]=new Map,this[e(688)]=1}[ft(603)](t){const e=ft;this[e(691)]=t;const i=new Map,n=new Map,s=this[e(613)][e(585)][e(441)][e(568)][e(482)](t=>t[e(531)]);for(const t of s){const s=this[e(613)][e(585)][e(441)][e(424)](t),r=yt(s);i[e(589)](t,r),n[e(589)](t,Object[e(549)](s[e(525)]()))}const r=Array[e(677)](this[e(613)][e(585)][e(509)])[e(482)](t=>[t[e(458)],t[e(436)]()]),o=this[e(691)][e(685)];this[e(628)](o,i,r,n),this[e(692)]=this[e(688)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(589)](t,i),c[e(589)](t,{})}this[e(628)](Number[e(722)],a,[],c)}[ft(469)](t,e){const i=ft;if(this[i(542)]===t&&this[i(620)]<=e)this[i(729)][i(427)]>1&&this[i(731)](this[i(620)]),this[i(617)](this[i(620)],e,!0);else{if(!this[i(729)][i(420)](t)){const e=this[i(701)](t);this[i(541)](e,t,!1)}this[i(541)](t,e,!0)}return this[i(542)]=t,this[i(620)]=e,this[i(520)]()}[ft(473)](t){const e=ft,i=this[e(613)][e(616)][e(498)](e(576));this[e(444)](),this[e(542)]=t[e(539)],this[e(620)]=t[e(704)];for(const n in t[e(418)]){const s=t[e(418)][n][e(706)],r=A(t[e(418)][n][e(605)])||{},o=i[e(661)](t[e(418)][n][e(684)]);o[e(531)]=n,o[e(567)]=!s||!s[e(631)],o[e(631)]=()=>o[e(567)],this[e(663)][e(589)](n,o),this[e(421)][e(589)](n,r),s&&this[e(456)][e(589)](n,s);const a=this[e(580)](o);this[e(527)][e(589)](n,a);for(const[t,i]of o[e(509)]){if(!t[e(534)](e(417)))continue;const n=t[e(721)](":")[2];for(const t of i[e(492)]({singleCharacters:!0})){const i=this[e(652)](t),s=e(583)==t[e(528)]?t[e(519)][e(668)][e(572)](0,-1):t[e(519)][e(668)],r=a[e(471)](s)[e(644)](i);this[e(486)][e(589)](r,{userId:n})}}}this[e(692)]=this[e(688)];const n=[...Array(this[e(688)])[e(586)]()][e(572)](1)[e(578)](t=>!this[e(486)][e(420)](t));let s=0;const r=new Map;for(const o in t[e(418)]){const a=t[e(418)][o][e(706)],c=A(t[e(418)][o][e(559)])||{},u=i[e(661)](t[e(418)][o][e(562)]);u[e(531)]=o,u[e(567)]=!a||a[e(631)],u[e(631)]=()=>u[e(567)],this[e(680)][e(589)](o,u),this[e(671)][e(589)](o,c);const l=this[e(580)](u,Number[e(722)]);this[e(547)][e(589)](o,l),r[e(589)](o,u[e(631)]()?c:{});for(const[t,i]of u[e(509)]){if(!t[e(534)](e(417)))continue;const n=t[e(721)](":")[2];for(const t of i[e(492)]({singleCharacters:!0})){const i=this[e(652)](t),s=this[e(688)]++,r=e(583)==t[e(528)]?t[e(519)][e(668)][e(572)](0,-1):t[e(519)][e(668)];l[e(471)](r)[e(715)](i,s),this[e(486)][e(589)](s,{userId:n})}}for(const t of this[e(613)][e(585)][e(557)](u)[e(492)]({singleCharacters:!0})){const i=this[e(652)](t),r=e(583)==t[e(528)]?t[e(519)][e(668)][e(572)](0,-1):t[e(519)][e(668)],o=l[e(471)](r);o[e(644)](i)>0||o[e(715)](i,n[s++])}for(const[t,i]of u[e(509)])t[e(534)](e(417))||this[e(599)][e(589)](t,i)}const o=kt(e(449));this[e(663)][e(589)](e(449),o),this[e(527)][e(589)](e(449),this[e(580)](o,1));const a=kt(e(449));this[e(680)][e(589)](e(449),a),this[e(547)][e(589)](e(449),this[e(580)](a,1));const c=Array[e(677)](this[e(680)])[e(482)](([t,e])=>[t,yt(e)]);this[e(628)](this[e(620)],c,this[e(599)],r)}[ft(591)](){const t=ft;this[t(444)](),this[t(542)]=-1,this[t(620)]=-1,this[t(729)][t(647)](),this[t(603)](this[t(691)])}[ft(628)](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(589)](t,{start:e[s(507)][s(475)](),end:e[s(734)][s(475)](),rootName:e[s(592)][s(531)]});this[s(729)][s(589)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(731)](t){const e=ft;this[e(729)][e(593)](t)}[ft(444)](){const t=ft;this[t(486)][t(647)](),this[t(686)][t(647)](),this[t(456)][t(647)](),this[t(680)][t(647)](),this[t(671)][t(647)](),this[t(663)][t(647)](),this[t(421)][t(647)](),this[t(547)][t(647)](),this[t(527)][t(647)](),this[t(599)][t(647)](),this[t(688)]=1,this[t(692)]=this[t(688)]}[ft(580)](t,e=null){const i=ft;let n=null;t.is(i(717))||(n=new Q.ModelElement(t[i(458)],{vid_start:null===e?this[i(688)]++:e++}));const s=[];for(const n of t[i(625)]())if(n.is(i(442))){s[i(479)](this[i(580)](n,e));const t=s[s[i(489)]-1];null!==e&&(e=t.is(i(442),i(712))?t[i(644)](i(683))+1:t[i(644)](i(426))+1)}else for(let t=0;t<n[i(713)];t++)s[i(479)](new Q.ModelElement(i(712),{vid:null===e?this[i(688)]++:e++}));if(t.is(i(717))){const e=kt(t[i(531)]);return e[i(679)](0,s),e}return n[i(715)](i(426),null===e?this[i(688)]++:e++),n[i(679)](0,s),n}[ft(541)](t,e,i){const n=ft;this[n(444)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(729)][n(498)](t);this[n(663)]=new Map(s),this[n(421)]=new Map(A(o));for(const[t,e]of this[n(663)])if(n(449)!==t&&(this[n(680)][n(589)](t,yt(e)),this[n(671)]=new Map(A(o)),i)){const i=this[n(688)];this[n(547)][n(589)](t,this[n(580)](e)),this[n(527)][n(589)](t,this[n(580)](e,i))}this[n(692)]=this[n(688)],this[n(680)][n(589)](n(449),yt(this[n(663)][n(498)](n(449)))),i&&this[n(547)][n(589)](n(449),this[n(580)](this[n(663)][n(498)](n(449))));for(const[t,e]of r){const i=this[n(663)][n(498)](e[n(531)]),s=this[n(680)][n(498)](e[n(531)]),r=new Q.ModelRange(this[n(623)](e[n(507)],i),this[n(623)](e[n(734)],i)),o=this[n(455)](r,s);i[n(509)][n(589)](t,r),this[n(599)][n(589)](t,o)}this[n(617)](t,e,i)}[ft(617)](t,e,i){const n=ft;for(const s of this[n(691)][n(632)](t,e))this[n(423)](s,i);for(const t of this[n(680)][n(626)]())t[n(509)][n(647)]();for(const[t,e]of this[n(599)])this[n(680)][n(498)](e[n(592)][n(531)])[n(509)][n(589)](t,e[n(475)]());const s=new Map,r=new Map;for(const[t,e]of this[n(680)])s[n(589)](t,yt(e)),r[n(589)](t,this[n(671)][n(498)](t));this[n(628)](e,s,this[n(599)],r)}[ft(701)](t){const e=ft,i=Array[e(677)](this[e(729)][e(586)]());i[e(639)]((t,e)=>t-e),i[e(548)]();for(const e of i)if(e<t)return e;return Number[e(722)]}[ft(504)](t,e){const i=ft,n=Array[i(677)](e[i(509)])[i(482)](([e,n])=>[e,this[i(455)](n,t)]);t[i(509)]=new Map(n)}[ft(608)](t){const e=ft;for(const i of this[e(599)][e(626)]()){const n=i[e(566)](t),s=Q.ModelRange[e(667)](n);i[e(507)]=s[e(507)],i[e(734)]=s[e(734)]}}[ft(423)](t,e){const i=ft;if(i(659)!=t[i(528)]&&i(607)!=t[i(528)]){if(i(653)==t[i(528)]){const n=t[i(604)][i(592)][i(531)];this[i(680)][i(420)](n)||(this[i(680)][i(589)](n,kt(n,!0)),this[i(671)][i(589)](n,{}),e&&this[i(547)][i(589)](n,kt(n,!0)))}else{if(i(654)==t[i(528)]||i(664)==t[i(528)]||i(437)==t[i(528)])return void this[i(422)](t);i(461)==t[i(528)]&&this[i(710)](t)}if(i(461)!==t[i(528)]){const e=this[i(472)](t,this[i(680)]);e[i(627)](),this[i(608)](e)}if(e)switch(t[i(528)]){case i(653):this[i(636)](t);break;case i(540):case i(454):case i(544):this[i(635)](t);break;case i(545):this[i(460)](t);break;case i(721):this[i(451)](t)}}else this[i(505)](t,e)}[ft(472)](t,e){const i=ft,n=t[i(475)]();return n[i(556)]=t[i(556)],this[i(443)](n,e),n}[ft(575)](t){const e=ft;return t[e(482)](t=>{const i=e,n=this[i(652)](t);return Number(t[i(558)][i(644)](n))})}[ft(606)](t,e){const i=ft;if(t.is(i(442),i(712)))e[i(479)]({item:t,type:i(584)});else{t.is(i(442))&&e[i(479)]({item:t,type:i(522)});for(const n of t[i(625)]())this[i(606)](n,e);t.is(i(442))&&e[i(479)]({item:t,type:i(583)})}return e}[ft(520)](){const t=ft,e=new Map(this[t(486)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(663)][t(586)](),...this[t(680)][t(586)]()]);a[t(593)](t(449));for(const e of a){const i=this[t(680)][t(498)](e)||kt(e,!1),n=this[t(663)][t(498)](e)||kt(e,!1);i[t(631)]()||n[t(631)]()?(s[t(562)][e]=yt(i),s[t(684)][e]=yt(n),this[t(504)](s[t(684)][e],n),this[t(504)](s[t(562)][e],i),r[t(562)][e]=this[t(606)](this[t(547)][t(498)](e),[]),r[t(684)][e]=this[t(606)](this[t(527)][t(498)](e)||kt(e,!1),[])):a[t(593)](e)}for(const s of a){const o=r[t(562)][s];for(const s of o){const r=this[t(652)](s),o=s[t(558)][t(644)](r);i[t(593)](o),o>=this[t(692)]&&n[t(589)](o,e[t(498)](o))}}for(const s of a){const a=r[t(562)][s],c=this[t(575)](r[t(684)][s]);let u=0;for(const s of a){const r=this[t(652)](s),a=s[t(558)][t(644)](r);if(!n[t(420)](a)&&!o[t(420)](a))if(i[t(420)](a))u++;else{if(a!=c[u]){const n=e[t(498)](a)||e[t(498)](c[u]);for(;a!=c[u];)i[t(420)](c[u])||(o[t(589)](c[u],n),e[t(589)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(562)][e];for(const e of s){const s=this[t(652)](e),r=e[t(558)][t(644)](s);if(o[t(420)](r)){const e=o[t(498)](r);i[t(420)](r)||i[t(589)](r,{...e}),n[t(589)](r,{...e})}}}for(const e of i[t(586)]())e>=this[t(692)]&&i[t(593)](e);const c=new Map;for(const e of a){let s=r[t(562)][e];for(const e of s)if(e[t(558)].is(t(442),t(516))){const i=this[t(652)](e),s=e[t(558)][t(644)](i);if(n[t(420)](s)){const i=e[t(558)][t(716)][t(716)][t(644)](t(550)),r=c[t(498)](i)||new Set;r[t(695)](n[t(498)](s)[t(681)]),c[t(589)](i,r)}}s=r[t(684)][e];for(const e of s)if(e[t(558)].is(t(442),t(516))){const n=this[t(652)](e),s=e[t(558)][t(644)](n);if(i[t(420)](s)){const n=e[t(558)][t(716)][t(716)][t(644)](t(550)),r=c[t(498)](n)||new Set;r[t(695)](i[t(498)](s)[t(681)]),c[t(589)](n,r)}}for(const e of c[t(586)]())(n[t(420)](e)||i[t(420)](e))&&c[t(593)](e)}for(const e of a){const s=r[t(562)][e];let o=null,a=null;for(const e of s){const s=this[t(652)](e),r=e[t(558)][t(644)](s),u=c[t(498)](r);u&&t(522)==e[t(528)]&&(o=Array[t(677)](u)[0],a=e[t(558)][t(644)](t(426))),o&&(i[t(589)](r,{userId:o}),n[t(589)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(684)][e],a=s[t(562)][e];for(const{userId:e}of this[t(686)][t(626)]())null!==e&&l[t(695)](e);for(const{userId:e}of this[t(456)][t(626)]())null!==e&&l[t(695)](e);this[t(595)](a,r[t(562)][e],n,t(476),l),this[t(595)](o,r[t(684)][e],i,t(689),l),u[e]={insertions:this[t(643)](a),deletions:this[t(643)](o),attachChange:this[t(456)][t(498)](e)||null,attributesBefore:A(this[t(421)][t(498)](e))||{},attributesAfter:A(this[t(671)][t(498)](e))}}return{diffData:u,authorsIds:Array[t(677)](l)}}[ft(678)](t){const e=ft;for(const[,i]of t[e(509)]){const t=i[e(507)][e(561)]()[e(578)](t=>e(516)==t[e(458)]);for(const i of t)1==i[e(448)]&&i[e(574)](0).is(e(442),e(535))&&i[e(574)](0)[e(715)](e(736),!0)}}[ft(643)](t){const e=ft;this[e(678)](t);const i=this[e(613)][e(619)][e(669)](t,{}),n=Array[e(677)](i[e(625)]())[e(482)](t=>this[e(488)](t));return JSON[e(598)](n)}[ft(488)](t){const e=ft;if(t.is(e(712)))return t[e(619)];{const i=this[e(613)][e(616)][e(498)](e(576)),n=t,s=this[e(613)][e(619)][e(447)][e(480)],r={type:i[e(670)](n),name:n[e(458)],attributes:Array[e(677)](n[e(525)]()),children:Array[e(677)](n[e(625)]())[e(482)](t=>this[e(488)](t))};if(t.is(e(649))&&e(536)!=t[e(458)]){const i=t[e(439)](s[e(501)],s);r[e(594)][e(479)](i[e(503)])}else if(t.is(e(491))){const i=s[e(501)][e(431)](n[e(458)]);t[e(439)](i,s),r[e(594)][e(479)](i[e(650)])}const o=Array[e(677)](n[e(587)]());o[e(489)]>0&&(r[e(624)]=o);const a=n[e(445)]();return null!==a&&(r[e(517)]=a),r}}[ft(595)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(613)][r(585)];for(let n=0;n<e[r(489)];n++){const s=this[r(652)](e[n]),c=e[n][r(558)][r(644)](s),h=i[r(498)](c),d=n==e[r(489)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(681)]!=o[r(681)])&&(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(681)],d=l(417)+n+":"+h+":"+c++,f=u[l(698)](i,a);t[l(509)][l(589)](d,f),null!==h&&s[l(695)](h)}}[ft(652)](t){const e=ft;switch(t[e(528)]){case e(522):return e(550);case e(583):return e(426);default:return e(683)}}[ft(443)](t,e){const i=ft;t[i(478)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(498)](s[i(592)][i(531)]);t[n]=this[i(623)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(498)](s[i(592)][i(531)]);t[n]=this[i(455)](s,r)}i(592)===n&&(t[i(592)]=e[i(498)](t[i(592)][i(531)]))}}[ft(455)](t,e){const i=ft;return this[i(613)][i(585)][i(698)](this[i(623)](t[i(507)],e),this[i(623)](t[i(734)],e))}[ft(623)](t,e){const i=ft;return this[i(613)][i(585)][i(641)](e,t[i(668)],t[i(538)])}[ft(636)](t){const e=ft,i=this[e(547)][e(498)](t[e(604)][e(592)][e(531)]),n=this[e(623)](t[e(604)],i),s=null===t[e(556)]?null:t[e(556)]||this[e(613)][e(616)][e(498)](e(638)).me.id,r=n[e(716)],o=this[e(688)],a=[];for(const i of t[e(450)])if(i.is(e(442)))a[e(479)](this[e(580)](i));else for(let t=0;t<i[e(713)];t++)a[e(479)](new Q.ModelElement(e(712),{vid:this[e(688)]++}));const c=this[e(688)];for(let t=o;t<c;t++)this[e(486)][e(589)](t,{userId:s});r[e(679)](n[e(637)],a)}[ft(635)](t){const e=ft;(t=this[e(472)](t,this[e(547)]))[e(627)]();const i=null===t[e(556)]?null:t[e(556)]||this[e(613)][e(616)][e(498)](e(638)).me.id,n=t[e(512)](),s=n[e(716)],r=n[e(637)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(574)](e);r.is(a(442),a(712))?n[a(589)](r[a(644)](a(683)),{userId:i}):(n[a(589)](r[a(644)](a(550)),{userId:i}),t(n,r,0,r[a(448)]),n[a(589)](r[a(644)](a(426)),{userId:i}))}}(this[e(486)],s,r,r+t[e(648)])}[ft(460)](t){const e=ft,i=null===(t=this[e(472)](t,this[e(547)]))[e(556)]?null:t[e(556)]||this[e(613)][e(616)][e(498)](e(638)).me.id,n=t[e(728)][e(716)],s=t[e(666)][e(716)],r=n[e(644)](e(426)),o=s[e(644)](e(550));n[e(715)](e(426),s[e(644)](e(426))),s[e(715)](e(426),r),this[e(486)][e(589)](o,{userId:i}),this[e(486)][e(589)](r,{userId:i}),t[e(627)]()}[ft(451)](t){const e=ft,i=null===(t=this[e(472)](t,this[e(547)]))[e(556)]?null:t[e(556)]||this[e(613)][e(616)][e(498)](e(638)).me.id,n=t[e(464)],s=t[e(487)][e(716)];t[e(627)]();const r=s[e(644)](e(426)),o=t[e(694)][e(630)];if(n){const t=o[e(644)](e(426)),n=s[e(644)](e(426));s[e(715)](e(426),t),o[e(715)](e(426),n),this[e(486)][e(589)](s[e(644)](e(426)),{userId:i}),this[e(486)][e(589)](o[e(644)](e(550)),{userId:i})}else{const t=this[e(688)]++,n=this[e(688)]++;s[e(715)](e(426),t),o[e(715)](e(550),n),o[e(715)](e(426),r),this[e(486)][e(589)](t,{userId:i}),this[e(486)][e(589)](n,{userId:i})}}[ft(710)](t){const e=ft;if(!t[e(554)])return;const i=(t=this[e(472)](t,this[e(680)]))[e(687)]?t[e(687)][e(592)]:null,n=t[e(573)]?t[e(573)][e(592)]:null;i&&this[e(599)][e(593)](t[e(458)]),n&&this[e(599)][e(589)](t[e(458)],t[e(573)][e(475)]());const s=null===t[e(556)]?null:t[e(556)]||this[e(613)][e(616)][e(498)](e(638)).me.id,r=t[e(458)];if(!this[e(686)][e(420)](r))return void this[e(686)][e(589)](r,{range:t[e(687)],userId:s});const o=this[e(686)][e(498)](r),a=o[e(530)],c=t[e(573)];null==a&&null==c||a&&c&&a[e(600)](c)?this[e(686)][e(593)](t[e(458)]):o[e(681)]=s}[ft(505)](t,e){const i=ft;this[i(680)][i(420)](t[i(531)])?this[i(680)][i(498)](t[i(531)])[i(567)]=t[i(577)]:(this[i(680)][i(589)](t[i(531)],kt(t[i(531)],!0)),this[i(671)][i(589)](t[i(531)],{}),e&&this[i(547)][i(589)](t[i(531)],kt(t[i(531)],!0)));const n=null===t[i(556)]?null:t[i(556)]||this[i(613)][i(616)][i(498)](i(638)).me.id,s=this[i(456)][i(498)](t[i(531)]);s&&s[i(681)]===n?this[i(456)][i(593)](t[i(531)]):this[i(456)][i(589)](t[i(531)],{userId:n,isAttached:t[i(577)]})}[ft(422)](t){const e=ft,i=this[e(671)][e(498)](t[e(592)][e(531)]);null===t[e(707)]?delete i[t[e(552)]]:i[t[e(552)]]=t[e(707)]}}function yt(t){const e=ft,i=kt(t[e(531)],t[e(631)]());for(const n of t[e(625)]()){const t=n[e(690)](!0);i[e(615)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(531)]=t,n[i(567)]=e,n[i(631)]=()=>n[i(567)],n}function bt(t,e,i){const n=ft,s=n(583)==t[n(528)]?i[n(596)](t[n(558)],n(734)):i[n(440)](t[n(558)]);return i[n(641)](e,s[n(668)],s[n(538)])}function wt(t,e,i){const n=ft,s=n(522)==t[n(528)]?i[n(596)](t[n(558)],0):i[n(714)](t[n(558)]);return i[n(641)](e,s[n(668)],s[n(538)])}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),Dt=i(357),Vt=i.n(Dt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Lt(t,e){const i=Ut();return(Lt=function(t,e){return i[t-=371]})(t,e)}const Pt=Lt;!function(t){const e=Lt,i=t();for(;;)try{if(770432===-parseInt(e(407))/1*(parseInt(e(388))/2)+parseInt(e(403))/3+-parseInt(e(371))/4+parseInt(e(390))/5*(-parseInt(e(374))/6)+-parseInt(e(412))/7+parseInt(e(404))/8+parseInt(e(402))/9*(parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(372)];[Pt(395)];[Pt(377)];constructor(e,i){const n=Pt;super(e),this[n(372)]=new t.FocusTracker,this[n(395)]=new t.KeystrokeHandler,this[n(379)](n(376),""),this[n(377)]=this[n(392)](i),this[n(386)]({tag:n(411),attributes:{class:["ck",n(378),n(400)],tabindex:"-1"},children:[this[n(377)]]}),this[n(384)]()}[Pt(389)](){const t=Pt;super[t(389)](),(0,It.submitHandler)({view:this}),this[t(372)][t(383)](this[t(377)][t(398)]),this[t(395)][t(385)](this[t(398)]);const e=e=>e[t(396)]();this[t(395)][t(379)](t(375),e),this[t(395)][t(379)](t(405),e),this[t(395)][t(379)](t(406),e),this[t(395)][t(379)](t(380),e)}[Pt(409)](){const t=Pt;this[t(377)][t(409)]()}get[Pt(391)](){const t=Pt;return this[t(377)][t(373)][t(398)][t(401)][t(397)]()}set[Pt(391)](t){const e=Pt;this[e(377)][e(373)][e(398)][e(401)]=t[e(397)]()}[Pt(414)](){const t=Pt;this[t(377)][t(373)][t(398)][t(401)]="",this[t(377)][t(382)]=null}[Pt(392)](t){const e=Pt,i=new It.LabeledFieldView(this[e(413)],It.createLabeledInputText),n=i[e(373)];n[e(399)]({attributes:{maxlength:e(381)}});let s=at(this[e(413)],e(394));return!t&&(s+=" ("+at(this[e(413)],e(393))+")"),i[e(408)]=s,n.on(e(410),()=>{const t=e;this[t(376)]=n[t(398)][t(401)][t(397)]()}),i}}function Ut(){const t=["75666RIhKeW","arrowright","revisionNameInputValue","revisionNameInputView","ck-revision-history-save-revision-form","set","arrowdown","220","errorText","add","initializeCssTransitionDisablerMixin","listenTo","setTemplate","2110HQMFRq","5612eUQWAo","render","5qXgguv","revisionName","_createRevisionNameInput","optional","Name of the revision","keystrokes","stopPropagation","trim","element","extendTemplate","ck-responsive-form","value","75168VZUkbJ","974274UsErwI","9292568TTUazz","arrowleft","arrowup","44JDlIEg","label","focus","input","form","9878946ZBVQpT","locale","reset","3723264apZHwS","focusTracker","fieldView"];return(Ut=function(){return t})()}const Wt=Ht;!function(t){const e=Ht,i=t();for(;;)try{if(178305===-parseInt(e(357))/1*(-parseInt(e(396))/2)+parseInt(e(390))/3*(parseInt(e(386))/4)+parseInt(e(363))/5*(parseInt(e(348))/6)+-parseInt(e(328))/7*(-parseInt(e(349))/8)+-parseInt(e(399))/9*(parseInt(e(369))/10)+parseInt(e(341))/11*(-parseInt(e(389))/12)+-parseInt(e(365))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Zt extends G.Plugin{static get[Wt(344)](){return Wt(391)}static get[Wt(371)](){return!0}static get[Wt(333)](){return!0}static get[Wt(387)](){return[vt]}[Wt(385)];[Wt(338)](){const t=Wt,e=this[t(373)],i=e[t(346)][t(334)](t(356));e.ui[t(351)][t(381)](t(370),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(352)][s(358)],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(398)](s(360)).to(i,s(394),i,s(360),e,s(342),(t,e,i)=>t&&e&&!i),r[s(362)][s(350)]({icon:_t.IconHistory,label:at(n,s(397)),tooltip:!0}),u[s(350)]({label:at(n,s(378)),withText:!0,role:s(330)}),u[s(398)](s(360)).to(i,s(394),i,s(360),e,s(342),(t,e,i)=>t&&e&&!i),u.on(s(393),()=>this[s(368)]()),h[s(350)]({label:at(n,s(355)),withText:!0,role:s(330)}),h[s(398)](s(360)).to(i,s(394),e,s(342),(t,e)=>t&&!e),h.on(s(393),()=>{const t=s;e[t(343)][t(334)](t(370))[t(372)](),r[t(375)]=!1,e[t(332)][t(336)][t(388)]()}),c[s(358)][s(381)](u),l[s(358)][s(381)](h),a[s(367)]=s(340),a[s(361)][s(331)]([c,l]),o[s(381)](a),r}),e.ui[t(351)][t(381)](t(359),()=>this[t(383)]())}[Wt(383)](){const t=Wt,e=this[t(373)],i=e[t(380)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(362)][t(350)]({icon:_t.IconHistory,label:at(i,t(397))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(350)]({label:at(i,t(378))}),o[t(364)](t(393)).to(n),o.on(t(393),()=>{this[t(368)]()}),r[t(358)][t(381)](o),s[t(361)][t(381)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(350)]({label:at(i,t(355))}),c[t(364)](t(393)).to(n),c.on(t(393),()=>{const i=t;e[i(343)][i(334)](i(370))[i(372)]()}),a[t(358)][t(381)](c),s[t(361)][t(381)](a),n[t(352)][t(358)][t(381)](s),n}[Wt(368)](){const t=Wt,e=this[t(373)],i=e[t(380)],n=e[t(346)][t(334)](t(392)),s=e[t(346)][t(334)](t(356));function r(s){const r=t;e[r(343)][r(334)](r(339))&&""===s[r(347)]?s[r(366)][r(353)]=at(i,r(354)):(e[r(346)][r(334)](vt)[r(384)]({name:s[r(347)]}),n[r(337)]())}this[t(385)]||(this[t(377)](),this[t(385)].on(t(329),()=>r(this[t(385)]))),this[t(385)][t(395)](),n[t(374)]({id:t(345),title:at(i,t(378)),isModal:!0,content:this[t(385)],actionButtons:[{label:at(e[t(380)],t(382)),withText:!0,onExecute:()=>n[t(337)]()},{label:at(e[t(380)],t(335)),class:t(379),withText:!0,onCreate(i){const n=t;i[n(398)](n(360)).to(s,n(394),s,n(360),e,n(342),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(385)])}]})}[Wt(377)](){const t=Wt,e=this[t(373)],i=e[t(380)];this[t(385)]=new zt(i,e[t(343)][t(334)](t(339))),this[t(385)][t(376)]()}}function Ht(t,e){const i=$t();return(Ht=function(t,e){return i[t-=328]})(t,e)}function $t(){const t=["24lrYWuU","3DHhKQt","RevisionHistoryUI","Dialog","execute","isReady","reset","2yBVnyX","Revision history","bind","703467PpVqRG","2421265lxzIEW","submit","menuitem","addMany","editing","isPremiumPlugin","get","Accept","view","hide","init","revisionHistory.requireRevisionName","menu","1661836MniRPF","isReadOnly","config","pluginName","revisionSave","plugins","revisionName","6GGkkZg","8fVexkj","set","componentFactory","panelView","errorText","The revision name cannot be empty.","Open revision history","RevisionTracker","201191wOuXrX","children","menuBar:revisionHistory","isEnabled","items","buttonView","973585eWcsoi","delegate","1209312DWejrK","revisionNameInputView","role","_showDialog","40XAwjHa","revisionHistory","isOfficialPlugin","showRevisionViewerCallback","editor","show","isOpen","render","_createSaveRevisionFormView","Save current revision","ck-button-action","locale","add","Cancel","_registerMenuComponent","saveRevision","_saveRevisionFormView","577320zGCWXX","requires","focus"];return($t=function(){return t})()}function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=325]})(t,e)}const Bt=qt;function Yt(){const t=["isSuggestion","ck-annotation","Suggested by","_model","4058664cQoYft","data","Added by","1861398ELKWDS","ck-revision-change__","span","2xhqCeP","changeId","ck-revision-change","25939926sLARrF","bindTemplate","setTemplate","type","div","ck-revision-change__label","1232903ZTYpaX","focus","2950NybKWt","add","5670744YUinNu","author","set","Removed by","3289216UBZlGS","name","element","8588oNImHI"];return(Yt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(976461===-parseInt(e(343))/1*(-parseInt(e(334))/2)+parseInt(e(347))/3+parseInt(e(354))/4*(parseInt(e(345))/5)+-parseInt(e(328))/6+-parseInt(e(331))/7+parseInt(e(351))/8+-parseInt(e(337))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[Bt(335)];[Bt(327)];constructor(t,e){const i=Bt;super(t),this[i(327)]=e,this[i(335)]=e.id;const n=this[i(338)],s=at(t,e[i(329)][i(355)]?i(326):i(346)==e[i(340)]?i(330):i(350));this[i(349)](i(340),e[i(340)]),this[i(339)]({tag:i(341),attributes:{class:[i(325),i(336),n.to(i(340),t=>i(332)+t)],tabindex:-1},children:[{tag:i(333),children:[{tag:i(333),attributes:{class:[i(342)]},children:[{text:s}]},{text:" "+e[i(348)][i(352)]}]}]})}[Bt(344)](){const t=Bt;this[t(353)][t(344)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=269]})(t,e)}function Qt(){var t=["set","3173373BWubRY","type","6kzvXOx","797680IeBAEx","2076345TlXQbv","6eajckL","26875915WPESto","5594940KVIpSY","48wgmZeA","toJSON","author","data","6519080bbDZUb","createdAt","rootName","127815zFwaJh","22iEoQmr"];return(Qt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(705133===parseInt(e(270))/1*(-parseInt(e(271))/2)+parseInt(e(275))/3*(-parseInt(e(276))/4)+-parseInt(e(280))/5+-parseInt(e(278))/6*(-parseInt(e(273))/7)+-parseInt(e(281))/8*(-parseInt(e(277))/9)+-parseInt(e(285))/10+parseInt(e(279))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(283)];[Gt(274)];[Gt(284)];[Gt(269)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(283)]=e[i(283)],this[i(274)]=e[i(274)],this[i(284)]=e[i(284)]||{},this[i(269)]=e[i(269)],this[i(272)](i(286),e[i(286)])}[Gt(282)](){var t=Gt;return{id:this.id,authorId:this[t(283)].id,type:this[t(274)],data:this[t(284)],createdAt:this[t(286)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=159]})(t,e)}function ie(){const t=["6plmrtd","newRevisionId","_setChanges","12MbZygn","423276sCOQjQ","9gJrFCo","1592YnFJra","2298575CgTUzE","add","2342536DeKWJq","8519QnABxJ","2158116FAYsEf","9110860zCQfgb","oldRevisionId","changes","3762690ENiHif","3nKbQcj"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(599375===parseInt(e(159))/1+-parseInt(e(166))/2+parseInt(e(171))/3*(parseInt(e(164))/4)+-parseInt(e(162))/5*(-parseInt(e(172))/6)+-parseInt(e(165))/7*(parseInt(e(161))/8)+parseInt(e(160))/9*(-parseInt(e(170))/10)+parseInt(e(167))/11*(parseInt(e(175))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(173)];[te(168)];[te(169)];constructor(e,i){const n=te;this[n(173)]=e,this[n(168)]=i,this[n(169)]=new t.Collection}[te(174)](t){const e=te;for(const i of t)this[e(169)][e(163)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=187]})(t,e)}function ce(){const t=["set","insertion","addRevisionData","isOnRoot","findIndex","addRevision","isEnabled","first","all","has","flat","5067940nobnUE","done","removeAttribute","toViewPosition","consumable","editingDowncast","RevisionViewer","mapViewToDom","_findChangeIdFromDomTarget","startsWith","userId","addMarker:revision","attributesBefore","deletions","rootName","markerName","getLaterVisibleRevision","markers","editing","_appendChild","getDomRoot","pairId","isAdded","currentChangeNumber","error","compare","markerToData","isRemoved","getChild","shift","isBlock","revision-suggestion","_sortAndFilterDiffChanges","top","_markMarkers","stop","_makeModelFromTape","push","abs","_activeViewTarget","distance","markerNameToElements","text","find","start","isLimit","offsetSize","elementStart","requires","attachChange","level","downcastDispatcher","6659784ZRuuQj","writer","getRootNames","elementToAttribute","enableReadOnlyMode","markersStart","config","activeChange","ck-revision-history-root-add","diff","adapter","softBreak","isObject","element:pre","for","1848022UMQgGb","elementEnd","refresh","then","view","_makeModelFromViewString","data","insert","add","RevisionHistoryUtils","isAtStart","right","restoreRevisionCallback","removeMarker:revision","loadRevisionData","listenTo","isSuggestion","isAfter","domEvent","bind","_changeIdToChange","commands","_markInsertions","addMarker:revision-suggestion:deletion","get","splice","8cucmKf","changes","modelRange","POSITIVE_INFINITY","editor","createAttributeElement","getRevisionDocumentData","locale","execute","attribute:vid","getAttribute","wrap","getWalker","removeMarker:revision-suggestion","ck-editor__editable__overlay","addRoot","length","getClientRects","code","902240weuclr","enqueueChange","concat","_setChanges","getRoot","isPremiumPlugin","isCollapsed","pop","change","map","_initInteractions","vid_start","forward","_fixObsoleteTags","observeMarkers","includes","item","repository","getIndex","showPreviousChange","schema","createRevision","viewItem","from","detachRoot","_update","ck-suggestion-preview-marker-","createRange","_markMismatchedRemovedTags","return","isEqual","authors","indexOf","ck-suggestion-marker-","restoreRevision","delete","WidgetToolbarRepository","isInline","suggestion","unbindElementFromMarkerName","side","hasAttribute","data-change-id","isAddSuggestion","isReady","checkAttribute","test","dataDowncast","toViewElement","nextPosition","9571100zMXCXJ","isOfficialPlugin","left","upcast","nextSibling","nodeAfter","_changeView","_getChangeFromId","affectsData","init","_markSuggestions","revision:","change:activeView","keys","getItems","plugins","revisionHistoryLabel","_balloon","selection","forceDisabled","clear","deletion","activeView","mouseover","vid_end","object","startIndex","markerRange","_removeUnsupportedChanges","end","change:activeChange","_step","maxOffset","target","revisionHistoryAttachChange","getRevision","unshift","backward","comment","getCustomProperty","_cleanMarkers","conversion","revision-suggestion:","_threeWayMerge","setAttribute","toViewRange","getAttributes","reconvertMarker","revision-viewer","isAttached","hasClass","attributes","_cleanUp","span","index","range","ck-suggestion-marker-split","revision","removeClass","createUIElement","pluginName","newRevisionId","catch","_revisions","ck-suggestion-preview-marker","resolve","remove","dataToMarker","revision-comment:","bottom","isBefore","-new","markerToHighlight","split","updatePosition","addClass","isIncorrect","type","change:isReady","previousPosition","addMarker:revision-suggestion:insertion","domConverter","_utils","changeId","_removeMissingPairs","roots","ck-revision-history-root--active","change:isEnabled","addHighlight","element","mapper","createPositionBefore","showNextChange","endIndex","bindElementToMarker","isAtEnd","vid","low","revisionHistory","insertions","uiElement","parent","diffData","mousedown","attributesAfter","highest","filter","131672TouYGC","removeMarker","_setConversion","consume","_getRevisionsRange","string","_joinTapes","change:numberOfChanges","values","numberOfChanges","RevisionsRepository","isContent","next","isNavigationMode","model","markersEnd","_makeTape","createPositionFromPath","_refreshStartEndIndex","document","_data","slice","_getViewForChange","_getDiff","_setDistance","oldRevisionId","showStack","getRevisionRootsAttributes","isRemoveSuggestion","ck-suggestion-marker","merge","high","93YveFPN","destroy","sort","suggestion:","ck-revision-history-root-","39971835mRGAUf","ck-suggestion-marker-merge","name","createRangeIn","ck-revision-history-root-remove","_processTape","forEach","ck-suggestion-marker--active"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(838354===-parseInt(e(197))/1+-parseInt(e(477))/2+parseInt(e(386))/3*(-parseInt(e(354))/4)+-parseInt(e(410))/5+-parseInt(e(462))/6+parseInt(e(247))/7+parseInt(e(503))/8*(parseInt(e(391))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(214)];[oe(472)]=null;[oe(329)];[oe(449)];[oe(253)];[oe(497)];[oe(264)];static get[oe(307)](){return oe(416)}static get[oe(248)](){return!0}static get[oe(202)](){return!0}static get[oe(458)](){return[K.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(214)]=this[e(507)][e(262)][e(501)](e(364)),this[e(329)]=this[e(507)][e(262)][e(501)](e(486)),this[e(399)](e(469),null),this[e(399)](e(269),null),this[e(449)]=null,this[e(399)](e(471),null),this[e(399)](e(241),!1),this[e(399)](e(405),!0),this.on(e(334),(t,i,n)=>{const s=e;this[s(469)]=null,this[s(269)]=null,this[s(507)][s(428)][s(481)][s(205)](t=>{const e=s;for(const i of this[e(507)][e(428)][e(481)][e(373)][e(332)])n?t[e(305)](e(192),i):t[e(322)](e(192),i)})}),this[e(496)](e(367)).to(this,e(469),t=>null!==t),this[e(496)](e(433)).to(this,e(241),this,e(471),this,e(469),(t,i,n)=>t&&n?i[e(504)][e(215)](n):0),this[e(496)](e(363)).to(this,e(241),this,e(471),(t,i)=>t?i[e(504)][e(194)]:0),this[e(253)]=null,this[e(497)]=new Map,this[e(264)]=this[e(507)][e(262)][e(501)](It.ContextualBalloon)}[oe(256)](){const t=oe,e=this[t(507)],i=new de(e,{direction:t(284)}),n=new de(e,{direction:t(209)});e[t(498)][t(485)](t(216),i),e[t(498)][t(485)](t(339),n),e[t(498)][t(485)](t(231),new he(e)),this.on(t(361),()=>{const e=t;i[e(479)](),n[e(479)]()}),this[t(356)](),this[t(207)](),e[t(466)](t(295)),e[t(262)][t(408)](t(233))&&e[t(262)][t(501)](t(233))[t(266)](t(295))}async[oe(509)](t){const e=oe;return await this[e(329)][e(491)](t,this[e(472)]),this[e(329)][e(509)](t)}async[oe(381)](t){const e=oe;return await this[e(329)][e(491)](t,this[e(472)]),this[e(329)][e(381)](t)}async[oe(435)](t,e,i=!1){const n=oe;if(!this[n(405)])return;const s=this[n(471)],r=this[n(214)],o=n(359)==typeof t?r[n(282)](t):t,a=n(359)==typeof e?r[n(282)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(471)]&&this[n(471)][n(308)]===c&&this[n(471)][n(379)]===u)return Promise[n(312)]();this[n(241)]=!1,this[n(269)]=null,this[n(469)]=null,this[n(471)]=new ne(c,u);const l=this[n(358)](o,a,!0)[n(206)](t=>this[n(329)][n(491)](t,this[n(472)]));return l[n(447)](new Promise(t=>{setTimeout(t,20)})),Promise[n(407)](l)[n(480)](()=>{const t=n;if(!this[t(405)])return;this[t(299)]();const e=this[t(377)](c,u);for(const i of e[t(504)])this[t(497)][t(399)](i.id,i);this[t(507)][t(368)][t(198)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(507)][n(368)][n(373)][n(464)]())i[n(221)](t);for(const t of Object[n(260)](e[n(368)])){const s=i[n(193)](t);for(const r of Object[n(260)](e[n(298)][t]))i[n(291)](r,e[n(298)][t][r],s);i[n(484)](e[n(368)][t],s,0)}}),this[t(471)][t(200)](this[t(442)](e[t(504)])),this[t(241)]=!0})[n(309)](t=>{const e=n;console[e(434)](t),this[e(299)](),s&&(this[e(471)]=s),this[e(241)]=!0})}[oe(401)](t,e){const i=oe,n=this[i(214)][i(218)](t);return n.on(i(222),(t,i,s)=>e(i,s,n)),this[i(214)][i(404)](n),n}[oe(299)](){const t=oe;this[t(469)]=null,this[t(287)](),this[t(253)]&&this[t(253)][t(387)](),this[t(253)]=null,this[t(497)][t(267)](),this[t(507)][t(368)][t(198)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(507)][i(368)][i(373)][i(464)]())e[i(221)](t)})}[oe(442)](t){const e=oe,i=[],n=new Map;for(const t of this[e(507)][e(368)][e(373)][e(464)]()){const s=this[e(507)][e(428)][e(481)][e(430)](t);if(!s)continue;const r=s[e(195)]()[e(213)](0);r&&(i[e(447)](t),n[e(399)](t,r))}return i[e(388)]((t,i)=>{const s=e,r=n[s(501)](t),o=n[s(501)](i);return r.y-o.y||r.x-o.x}),(t=t[e(353)](t=>i[e(212)](t[e(424)])))[e(388)]((t,n)=>i[e(229)](t[e(424)])-i[e(229)](n[e(424)])),t}[oe(370)](t){const e=oe,i=Array[e(220)](t[e(427)])[e(353)](([t,i])=>t[e(419)](e(258))&&!i[e(203)]),n=Array[e(220)](this[e(507)][e(368)][e(394)](t)[e(190)]({singleCharacters:!0}));if(0!=i[e(194)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(320)](":");if(s[e(276)][e(227)](t[e(246)])&&i[e(439)](),(t[e(326)][e(227)](s[e(454)])||t[e(326)][e(494)](s[e(454)]))&&(e(400)==r?t[e(432)]={userId:o}:e(268)==r&&(t[e(437)]={userId:o})),0==i[e(194)])break}return n}[oe(372)](t){const e=oe,i=new Map;for(let n=0;n<t[e(194)];n++)e(452)===t[n][e(324)]?(t[n][e(213)][e(273)]=n,t[n][e(213)][e(340)]=n):(e(457)===t[n][e(324)]?t[n][e(213)][e(273)]=n:e(478)===t[n][e(324)]&&(t[n][e(213)][e(340)]=n),i[e(399)](t[n].id,n));for(const n of i[e(362)]())e(457)===t[n][e(324)]?t[n][e(213)][e(340)]=i[e(501)](t[n][e(431)]):e(478)===t[n][e(324)]&&(t[n][e(213)][e(273)]=i[e(501)](t[n][e(431)]))}[oe(396)](t){const e=oe;for(let i=0;i<t[e(194)];i++){if(e(457)===t[i][e(324)])t[i][e(213)][e(273)]=i;else if(e(478)===t[i][e(324)]){t[i][e(213)][e(340)]=i;const n=t[i][e(213)][e(273)];t[n][e(431)]=t[i].id,t[i][e(431)]=t[n].id}else t[i][e(213)][e(273)]=i,t[i][e(213)][e(340)]=i,t[i][e(431)]=null;t[i][e(467)]||(t[i][e(467)]=[],t[i][e(369)]=[])}}[oe(499)](t,e){const i=oe,n=t[i(353)](t=>!t[i(432)]);for(let t=0;t<e[i(194)];t++)e[t][i(432)]&&(n[t][i(432)]=e[t][i(432)])}[oe(377)](t,e=null){const i=oe,n=this[i(214)][i(282)](t),s=e?this[i(214)][i(282)](e):null,r=this[i(358)](n,s),o=r[r[i(194)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(194)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(260)](e[i(349)]))if(e[i(349)][t][i(459)]){const n=e[i(349)][t][i(459)];n[i(296)]?(u[i(485)](t),l[i(408)](t)&&l[i(501)](t)[i(420)]==n[i(420)]?l[i(232)](t):l[i(399)](t,n)):l[i(408)](t)?(u[i(232)](t),l[i(232)](t)):(u[i(485)](t),l[i(399)](t,n))}else u[i(485)](t)}for(const t of u){const e=l[i(408)](t)&&!l[i(501)](t)[i(296)];let n=e?r[i(194)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(349)][t]){const n=e?o[i(349)][t][i(422)]:o[i(349)][t][i(351)];c[i(298)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(368)]={};for(const e of t[i(228)])a[i(399)](e.id,e);for(const e of u){const n=t[i(349)][e]?t[i(349)][e][i(346)]:"[]",s=t[i(349)][e]?t[i(349)][e][i(423)]:"[]";t[i(368)][e]={insertions:this[i(329)][i(482)](n),deletions:this[i(329)][i(482)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(220)](n[i(368)][t][i(346)][i(427)])[i(353)](([t])=>!t[i(419)](i(258))));let h=0;for(const o of r){const r=this[i(370)](o[i(368)][t][i(346)]);o==n?(e=r,s=e[i(194)],e[i(397)](t=>{t.id=h++}),this[i(396)](e)):this[i(499)](e,r);const a=e[i(353)](t=>!t[i(432)])[i(206)](t=>t.id);let c=0;const l=this[i(370)](o[i(368)][t][i(423)]);l[i(397)](t=>{t[i(437)]?t.id=s++:t.id=a[c++]}),this[i(396)](l),this[i(378)](e,i(432)),this[i(378)](l,i(437)),o==n&&this[i(444)](e,u),e=this[i(360)](e,l),this[i(372)](e),this[i(378)](e,i(437))}e=e[i(353)](t=>!(t[i(432)]&&t[i(437)]));const d=new Map(o[i(368)][t][i(423)][i(427)]),f=new Set(u[i(260)]());for(const t of d[i(260)]())f[i(232)](t);this[i(257)](e,f),this[i(210)](e),e=this[i(331)](e),e=this[i(225)](e),e=this[i(275)](e);const{root:m,changes:p}=this[i(446)](e,a,t);c[i(368)][t]=m;const v=l[i(501)](t);if(v){const e=a[i(501)](v[i(420)]),n=new Xt({author:e,type:v[i(296)]?i(485):i(313),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(283)](n),c[i(298)][t][i(281)]=n.id}c[i(504)]=c[i(504)][i(199)](p)}return c}[oe(444)](t,e){const i=oe;for(let n=0;n<t[i(194)];n++)for(const[s,r]of e)!r[i(203)]&&r[i(454)][i(227)](t[n][i(326)])&&t[n][i(467)][i(447)](s),r[i(276)][i(227)](t[n][i(246)])&&t[n][i(369)][i(447)](s)}[oe(360)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(194)]||r<e[i(194)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(447)](o);else if(a[i(437)]&&o[i(432)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(290)](t,s,e,r);n=n[i(199)](o),s=a,r=c}else a[i(437)]?(r++,n[i(447)](a)):(s++,n[i(447)](o))}return n}[oe(257)](t,e){const i=oe,n=[];for(let o=0;o<t[i(194)];o++){for(let r=0;r<t[o][i(467)][i(194)];r++){const a=t[o][i(467)][r];if(!e[i(408)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(441)!=c||i(400)!=u&&i(268)!=u||(n[i(283)]({type:u,name:a,userId:l}),t[o][i(467)][i(502)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(369)][i(194)];r++){const a=t[o][i(369)][r];if(!e[i(408)](a))continue;const{group:c,type:u}=s(a);if(i(441)!=c||i(400)!=u&&i(268)!=u)continue;t[o][i(369)][i(502)](r,1),r--;const l=n[i(403)](t=>t[i(393)]==a);l>-1&&n[i(502)](l,1)}}function s(t){const e=i,n=t[e(320)](":");return{group:n[0],type:n[1],subType:n[e(194)]>=5?n[2]:null,id:n[e(194)]<5?n[2]:n[3],authorId:n[e(194)]<5?n[3]:n[4],markerCount:6==n[e(194)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(194)];i++){if(t[e(432)]&&e(400)==n[i][e(324)]&&t[e(432)][e(420)]==n[i][e(420)])return t[e(240)]=n[i],void delete t[e(432)];if(!t[e(432)]&&!t[e(437)]&&e(268)==n[i][e(324)])return void(t[e(382)]=n[i])}}}[oe(378)](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(399)](o.id,n);for(let n=0;n<t[i(194)];n++){if(i(437)==e&&t[n][i(432)]||i(432)==e&&t[n][i(437)])continue;if(i(452)==t[n][i(324)]){t[n][i(450)]=0;continue}const s=r[i(501)](t[n][i(431)]),o=r[i(501)](t[n].id);t[n][i(450)]=s-o}}[oe(358)](t,e,i=!1){const n=oe,s=[];let r=this[n(214)][n(215)](t),o=this[n(214)][n(215)](e);for(-1==o&&(o=this[n(214)][n(310)][n(194)],i=!1);r<o;)s[n(447)](this[n(214)][n(282)](r)),r++;return i&&s[n(447)](this[n(214)][n(282)](r)),s}[oe(290)](t,e,i,n){const s=oe,r=this[s(507)][s(368)][s(217)];let o=e;for(;t[o]&&t[o][s(432)];)o++;let a=n;for(;i[a]&&i[a][s(437)];)a++;u(t,e,o),u(i,n,a);const c=i[s(375)](n,a)[s(199)](t[s(375)](e,o));return c[s(388)]((t,e)=>t[s(237)]!=e[s(237)]?t[s(237)]-e[s(237)]:t[s(460)]!=e[s(460)]?t[s(460)]-e[s(460)]:t[s(450)]!=e[s(450)]?e[s(450)]-t[s(450)]:!!t[s(432)]!=!!e[s(432)]?-1==t[s(237)]||0==t[s(237)]?t[s(432)]?-1:1:t[s(432)]?1:-1:t[s(301)]-e[s(301)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(506)],c=!0;for(let s=e;s<i;s++)if(r[n(234)](t[s][n(213)])||(c=!1),t[s][n(213)][n(273)]<e&&(o=s),t[s][n(213)][n(340)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(237)]=s<=o?-1:s<a?0:1,t[s][n(301)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(450)]?t[i][n(460)]=u:(u++,t[i][n(460)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(237)]&&(t[s][n(460)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(450)]?t[e][n(460)]=u:(u--,t[e][n(460)]=u,u--)}}[oe(210)](t){const e=oe,i=new Map,n=this[e(507)][e(368)][e(217)];for(let s=1;s<t[e(194)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(452)==c[e(324)])continue;if(c[e(324)]!=u[e(324)])continue;if(!n[e(440)](u[e(213)])||n[e(455)](u[e(213)]))continue;if(!n[e(440)](c[e(213)])||n[e(455)](c[e(213)]))continue;if((t[s][e(432)]||t[s][e(240)])&&t[s-1][e(437)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(437)]||!t[s-1][e(432)]&&!t[s-1][e(240)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(460)]==o[e(460)],h=Math[e(448)](r[e(460)])<Math[e(448)](o[e(460)])&&0==o[e(450)];(l||h)&&(i[e(399)](o.id,r.id),t[e(502)](a,1),s--,r[e(432)]=!1)}for(let n=0;n<t[e(194)];n++)i[e(408)](t[n][e(431)])&&(t[n][e(431)]=i[e(501)](t[n][e(431)]))}[oe(331)](t){const e=oe,i=new Set(t[e(206)](t=>t.id));for(let n=0;n<t[e(194)];n++)i[e(408)](t[n][e(431)])||0==t[n][e(450)]||(t[n][e(323)]=!0);return t[e(353)](t=>!t[e(323)])}[oe(225)](t){const e=oe,i=new Set;for(let n=0;n<t[e(194)];n++){if(i[e(408)](t[n].id)&&t[n][e(437)]&&(t[n][e(323)]=!0),t[n][e(323)])continue;if(0==t[n][e(450)])continue;if(e(457)!=t[n][e(324)])continue;if(null==t[n][e(431)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(431)];)e(457)==t[s][e(324)]?r++:e(478)==t[s][e(324)]&&r--,s++;if(0!=r)if(t[n][e(437)])t[n][e(323)]=!0;else for(;s!=n;)t[s][e(437)]&&0!=t[s][e(450)]&&(t[s][e(323)]=!0,i[e(485)](t[s][e(431)])),s--}return t[e(353)](t=>!t[e(323)])}[oe(275)](t){const e=oe,i=this[e(507)][e(368)][e(217)];for(let n=0;n<t[e(194)];n++){if(!(t[n][e(432)]||t[n][e(240)]||t[n][e(437)]||t[n][e(382)]))continue;if(0==t[n][e(450)])continue;const s=t[n][e(213)];i[e(440)](s)||i[e(455)](s)||(t[n][e(432)]&&delete t[n][e(432)],t[n][e(240)]&&delete t[n][e(240)],t[n][e(382)]&&delete t[n][e(382)],t[n][e(437)]&&(t[n][e(323)]=!0))}return t[e(353)](t=>!t[e(323)])}[oe(446)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(507)][n(368)],c=a[n(217)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(194)];e++)if(n(457)===t[e][n(324)]){t[e][n(326)]=a[n(371)](s,f);const i=new Q.ModelElement(t[e][n(213)][n(393)],t[e][n(213)][n(293)]());u[0][n(429)](i),f[n(447)](0),u[n(283)](i),t[e][n(246)]=a[n(371)](s,f)}else n(478)===t[e][n(324)]?(u[n(439)](),t[e][n(326)]=a[n(371)](s,f),f[n(204)](),f[f[n(194)]-1]++,t[e][n(246)]=a[n(371)](s,f)):(t[e][n(326)]=a[n(371)](s,f),d?d[n(374)]+=t[e][n(213)][n(483)]:d=new Q.ModelText(t[e][n(213)][n(483)],t[e][n(213)][n(293)]()),t[e+1]&&n(452)===t[e+1][n(324)]&&v(d,t[e+1][n(213)])||(u[0][n(429)](d),d=null),f[f[n(194)]-1]+=t[e][n(213)][n(456)],t[e][n(246)]=a[n(371)](s,f));for(let e=0;e<t[n(194)];e++){const i=t[e][n(326)],s=t[e][n(246)];for(const s of t[e][n(467)])o[n(399)](s,{start:i,end:null});m(n(382),e,i,s),m(n(240),e,i,s),m(n(437),e,i,s),m(n(432),e,i,s);for(const i of t[e][n(369)]){const t=o[n(501)](i);t?t[n(276)]=s:o[n(399)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(507)][n(368)][n(224)](e[n(454)],e[n(276)]);s[n(427)][n(399)](t,i)}return r[n(388)]((t,e)=>{const i=n,r=s[i(427)][i(501)](i(258)+t.id),o=s[i(427)][i(501)](i(258)+e.id);return r[i(454)][i(317)](o[i(454)])?-1:r[i(454)][i(494)](o[i(454)])?1:r[i(276)][i(317)](o[i(276)])?-1:r[i(276)][i(494)](o[i(276)])?1:i(485)===t[i(324)]?-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(420)]:null,d=i===t[o(194)]-1,f=h[e][0],m=c[o(474)](t[i][o(213)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(276)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(420)]!==u&&(l[e][o(276)]=s,f&&f[o(420)]===l[e][o(420)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(457)!==t[i][o(324)]||f&&f[o(420)]===u||h[e][o(283)]({userId:u,object:t[i][o(213)],change:l[e]}),o(478)===t[i][o(324)]&&f&&f[o(272)]===t[i][o(213)]&&(h[e][o(439)](),l[e]=f[o(205)])),l[e]&&d&&(l[e][o(276)]=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(213)],f=a[h(217)][h(440)](d)&&!a[h(217)][h(455)](d),m=t[h(252)]==o[h(348)]&&o[h(487)];if(f&&m)return;const p=a[h(224)](t,o),v=e[h(501)](u),g=new Xt({author:v,type:h(432)==l||h(240)==l?h(485):h(313),data:{isSuggestion:h(240)==l||h(382)==l},createdAt:new Date,rootName:i});r[h(447)](g),s[h(427)][h(399)](h(258)+g.id,p)}function v(t,e){const i=n,s=t[i(293)](),r=e[i(293)]();for(const t of s){if(t[1]!==e[i(188)](t[0]))return!1;r[i(366)]()}return r[i(366)]()[i(411)]}}[oe(356)](){const t=oe;this[t(507)][t(288)][t(476)](t(250))[t(314)]({view:t(304)}),this[t(507)][t(288)][t(476)](t(415))[t(319)]({model:t(304),view:e=>{const i=t,n=e[i(425)][i(320)](":")[1],s=this[i(254)](n);if(!s)return null;const r=i(485)==s[i(324)]?i(400):i(268),o=[i(383),i(230)+r];return s[i(483)][i(493)]&&o[i(447)](i(230)+r+i(318)),this[i(469)]==s&&o[i(447)](i(398)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(507)][t(288)][t(476)](t(250))[t(485)](e=>{const i=t;e.on(i(475),(t,e,n)=>{const s=i,r=e[s(219)][s(438)](0);if(!r||!r.is(s(336),s(196)))return;if(!n[s(414)][s(357)](r,{attributes:[s(208),s(271)]}))return;const o=e[s(505)][s(454)][s(252)];n[s(463)][s(291)](s(208),r[s(188)](s(208)),o),n[s(463)][s(291)](s(271),r[s(188)](s(271)),o)},{priority:i(344)})}),this[t(507)][t(288)][t(476)](t(250))[t(485)](e=>{const i=t;e.on(i(336),(t,e,n)=>{const s=i;if(!n[s(414)][s(357)](e[s(219)],{attributes:[s(208),s(271)]}))return;if(e[s(505)][s(203)])return;const r=e[s(505)][s(454)][s(252)];r[s(238)](s(208))||r[s(238)](s(343))||(n[s(463)][s(291)](s(208),e[s(219)][s(188)](s(208)),r),n[s(463)][s(291)](s(271),e[s(219)][s(188)](s(271)),r))},{priority:i(344)})}),this[t(507)][t(288)][t(476)](t(250))[t(465)]({view:{name:t(300),attributes:{vid:!0}},model:{key:t(343),value:e=>e[t(188)](t(343))}}),this[t(507)][t(368)][t(217)].on(t(242),(e,[,i])=>{const n=t;[n(208),n(271),n(343)][n(212)](i)&&(e[n(226)]=!0,e[n(445)]())},{priority:t(352)}),this[t(507)][t(288)][t(476)](t(244))[t(485)](e=>{const i=t;e.on(i(187),(t,e,n)=>{const s=i;if(" "!=e[s(213)][s(483)]||e[s(213)][s(348)][s(279)]>1)return;if(!n[s(414)][s(357)](e[s(213)],t[s(393)]))return;const r=n[s(463)],o=n[s(337)][s(292)](e[s(302)]);r[s(189)](o,r[s(508)](s(300)))})}),this[t(507)][t(288)][t(476)](t(244))[t(436)]({model:t(304)}),this[t(507)][t(428)][t(461)].on(t(421),function(e){const i=t,n=e[i(262)][i(501)](i(416));return(t,s,r)=>{const o=i,a=s[o(425)][o(320)](":")[1],c=n[o(254)](a);if(!c)return null;const u=o(485)==c[o(324)]?o(320):o(384);if(!r[o(414)][o(243)](s[o(274)],t[o(393)]))return;const l=s[o(274)][o(190)](),h=s[o(274)][o(454)],d=e[o(368)][o(217)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(213)];p=p||d[o(365)](e);const i=r[o(337)][o(245)](e);if(i&&i[o(286)](o(335)))return;o(478)==t[o(324)]&&d[o(440)](e)&&!d[o(455)](e)&&(e[o(251)]||h[o(342)]?f&&f[o(348)]==e||(f=e,g(t[o(326)]),v=!0):m=m||t[o(326)])}function g(t){const e=o,i=r[e(463)][e(306)](e(300),{class:e(230)+u}),a=r[e(337)][e(413)](t);c[e(483)][e(493)]&&r[e(463)][e(322)](e(230)+u+e(318),i),n[e(469)]==c&&r[e(463)][e(322)](e(398),i),r[e(463)][e(484)](a,i),r[e(337)][e(341)](i,s[e(425)])}p||v||!m||g(m)}}(this[t(507)]),{priority:t(385)}),this[t(507)][t(428)][t(461)].on(t(490),(e,i,n)=>{const s=t,r=n[s(337)][s(451)](i[s(425)]);if(r)for(const t of r)(t[s(297)](s(303))||t[s(297)](s(392)))&&(n[s(337)][s(236)](t,i[s(425)]),n[s(463)][s(313)](t))},{priority:t(385)}),this[t(507)][t(428)][t(461)].on(t(421),(e,i,n)=>{const s=t,r=i[s(425)][s(320)](":")[1],o=this[s(254)](r);if(!o)return null;const a=s(485)==o[s(324)]?s(320):s(384);if(n[s(414)][s(243)](i[s(274)],e[s(393)]))for(const t of i[s(274)][s(261)]()){if(!t.is(s(336),s(473)))continue;const e=n[s(463)][s(306)](s(300),{class:s(230)+a}),r=n[s(337)][s(413)](this[s(507)][s(368)][s(338)](t));o[s(483)][s(493)]&&n[s(463)][s(322)](s(230)+a+s(318),e),this[s(469)]==o&&n[s(463)][s(322)](s(398),e),n[s(463)][s(484)](r,e),n[s(337)][s(341)](e,i[s(425)])}},{priority:t(385)}),this[t(507)][t(368)][t(373)].on(t(205),()=>{const e=t;this[e(507)][e(428)][e(481)][e(205)](t=>{const i=e;for(const e of this[i(507)][i(368)][i(373)][i(464)]()){const n=this[i(507)][i(368)][i(373)][i(201)](e),s=this[i(507)][i(428)][i(481)][i(373)][i(201)](e);if(s){const e=n[i(188)](i(281));if(t[i(412)](i(239),s),t[i(305)](i(470),s),t[i(305)](i(395),s),t[i(305)](i(333),s),e){const n=this[i(254)](e);if(!n)return null;t[i(291)](i(239),e,s),t[i(322)](i(390)+n[i(324)],s),this[i(469)]==n&&t[i(322)](i(333),s)}}}})}),this[t(507)][t(288)][t(476)](t(250))[t(314)]({view:t(285),model:e=>t(315)+e,converterPriority:t(352)}),this[t(507)][t(288)][t(476)](t(250))[t(314)]({view:t(235),model:e=>t(289)+e,converterPriority:t(352)}),this[t(507)][t(288)][t(476)](t(244))[t(436)]({model:t(441),view:e=>({name:t(389)+e,group:t(441)}),converterPriority:t(352)}),this[t(507)][t(288)][t(476)](t(415))[t(319)]({model:t(441),view:e=>{const i=t,n=e[i(425)][i(320)](":")[1];return i(400)!=n&&i(268)!=n?null:{classes:[i(311),i(223)+n]}}}),this[t(507)][t(428)][t(461)].on(t(500),le(this[t(507)],t(384)),{priority:t(385)}),this[t(507)][t(428)][t(461)].on(t(327),le(this[t(507)],t(320)),{priority:t(385)}),this[t(507)][t(428)][t(461)].on(t(191),(e,i,n)=>{const s=t,r=n[s(337)][s(451)](i[s(425)]);if(r)for(const t of r)t.is(s(347))&&(n[s(337)][s(236)](t,i[s(425)]),n[s(463)][s(313)](t))},{priority:t(385)})}[oe(254)](t){const e=oe;return this[e(497)][e(501)](t)}[oe(376)](t){const e=oe;return this[e(253)]&&this[e(253)][e(387)](),this[e(253)]=new Jt(this[e(507)][e(510)],t),this[e(253)]}[oe(207)](){const t=oe;this[t(507)][t(368)][t(373)][t(265)][t(211)](t(304)),this.on(t(259),(e,i,n,s)=>{const r=t;s&&this[r(264)][r(313)](s),n&&(this[r(264)][r(485)]({view:n,stackId:r(263),position:{target:()=>{const t=r,e=this[t(507)][t(428)],i=this[t(254)](n[t(330)]);let s;if(i[t(483)][t(402)]){const n=e[t(481)][t(430)](i[t(424)]);s=Array[t(220)](n[t(195)]())}else{const i=this[t(507)][t(368)][t(427)][t(501)](t(258)+n[t(330)]);s=Array[t(220)](e[t(337)][t(451)](i[t(393)]))[t(206)](i=>e[t(481)][t(328)][t(417)](i))[t(206)](e=>Array[t(220)](e[t(195)]()))[t(409)]()}return this[t(449)]&&s[t(453)](e=>e[t(443)]-3<=this[t(449)].y&&e[t(316)]+3>=this[t(449)].y&&e[t(249)]-3<=this[t(449)].x&&e[t(488)]+3>=this[t(449)].x)||s[0]}}}),this[r(264)][r(380)](r(263)))}),this.on(t(277),(e,i,n,s)=>{const r=t;this[r(269)]=n?this[r(376)](n):null,this[r(507)][r(368)][r(205)](()=>{const t=r,e=this[t(507)][t(428)];s&&(s[t(483)][t(402)]?e[t(481)][t(205)](i=>{const n=t;i[n(305)](n(333),e[n(481)][n(373)][n(201)](s[n(424)]))}):e[t(294)](t(258)+s.id)),n&&(n[t(483)][t(402)]?e[t(481)][t(205)](i=>{const s=t;i[s(322)](s(333),e[s(481)][s(373)][s(201)](n[s(424)]))}):e[t(294)](t(258)+n.id))})}),this[t(492)](this[t(507)][t(428)][t(481)][t(373)],t(270),(e,i)=>{const n=t;if(this[n(469)])return;const s=this[n(418)](i[n(280)]),r=this[n(497)][n(501)](s);r?(this[n(449)]={x:i[n(495)].x,y:i[n(495)].y},this[n(269)]=this[n(376)](r)):(this[n(449)]=null,this[n(269)]=null)}),this[t(492)](this[t(507)][t(428)][t(481)][t(373)],t(350),(e,i)=>{const n=t,s=this[n(418)](i[n(280)]),r=this[n(497)][n(501)](s);r?(this[n(449)]={x:i[n(495)].x,y:i[n(495)].y},r===this[n(469)]?this[n(264)][n(321)]():this[n(469)]=r):(this[n(449)]=null,this[n(469)]=null)})}[oe(418)](t){const e=oe;do{const i=t[e(188)](e(239));if(i)return i;t=t[e(348)]}while(t);return null}[oe(287)](){const t=oe;this[t(507)][t(368)][t(205)](e=>{const i=t;for(const t of this[i(507)][i(368)][i(427)])e[i(355)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(414)][r(243)](n[r(274)],i[r(393)]))return;const o=n[r(274)][r(190)](),a=n[r(274)][r(454)],c=t[r(368)][r(217)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(213)];h=h||c[r(365)](e);const i=s[r(337)][r(245)](e);if(i&&i[r(286)](r(335)))return;r(478)==t[r(324)]&&c[r(440)](e)&&!c[r(455)](e)&&(e[r(251)]||a[r(342)]?u&&u[r(348)]==e||(u=e,f(t[r(326)]),d=!0):l=l||t[r(326)])}function f(t){const i=r,o=s[i(337)][i(413)](t),a=s[i(463)][i(306)](i(300),{class:i(223)+e});s[i(463)][i(484)](o,a),s[i(337)][i(341)](a,n[i(425)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(262)][e(501)](ue);this[e(255)]=!1,this[e(492)](i,e(325),()=>this[e(479)]()),this[e(492)](i,e(334),()=>this[e(479)]())}[oe(511)](){const t=oe,e=this[t(507)],i=e[t(262)][t(501)](ue),n=i[t(241)]?i[t(471)][t(308)]:null;e[t(468)][t(501)](t(345))[t(489)](n)}[oe(479)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(507)][t(262)][t(501)](ue),r=s&&n[t(426)](s[t(308)]);this[t(405)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(278)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(262)][i(501)](ue);this[i(255)]=!1,this[i(278)]=i(209)===e?1:-1,this[i(492)](n,i(325),()=>this[i(479)]()),this[i(492)](n,i(334),()=>this[i(479)]()),this[i(492)](n,i(277),()=>this[i(479)]())}[oe(511)](){const e=oe,i=this[e(507)],n=i[e(262)][e(501)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(469)]=s?n[e(471)][e(504)][e(501)](r+this[e(278)]):n[e(471)][e(504)][e(406)],n[e(469)][e(483)][e(402)])o=i[e(428)][e(481)][e(430)](n[e(469)][e(424)]);else{const t=i[e(368)][e(427)][e(501)](e(258)+n[e(469)].id);o=(0,K.getMarkerDomElement)(i[e(428)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(479)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(507)][t(262)][t(501)](ue);this[t(405)]=!!(r&&s&&n)&&(!e||(1===this[t(278)]?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=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=489]})(t,e)}function ve(){const t=["1356522iuKYjO","14841QvZVvz","bindTemplate","ck-revision-history-ui__changes-navigation__label","isBackwardNavigationEnabled","5KALKtH","No changes","_statusText","forward","ck-revision-history-ui__changes-navigation__navigation","isReady","execute","ck-revision-history-ui__changes-navigation__wrapper","span","ck-revision-history-ui","backward","ck-revision-history-ui__changes-navigation","Total","numberOfChanges","isEnabled","1544432QtShlg","isForwardNavigationEnabled","850jxRYzz","6NICssg","Loading...","34458zwaauB","set","6524738mgXcjd","isNavigationMode","bind","Show previous change","20NPgzwd","div","1584317wJFgep","setTemplate","ck-hidden","NUMBER_OF_CHANGES","X_OF_Y_CHANGES","187161LOZOvJ","Show next change","currentChangeNumber","fire","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(222830===-parseInt(e(509))/1*(-parseInt(e(507))/2)+-parseInt(e(522))/3*(-parseInt(e(515))/4)+-parseInt(e(489))/5*(parseInt(e(528))/6)+-parseInt(e(517))/7+-parseInt(e(504))/8+parseInt(e(529))/9*(-parseInt(e(506))/10)+parseInt(e(511))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(530)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(510)](e(512),!1),this[e(510)](e(494),!1),this[e(510)](e(524),0),this[e(510)](e(502),0),this[e(510)](e(505),!1),this[e(510)](e(532),!1),this[e(513)](e(526)).to(this,e(494),this,e(502),(t,e)=>t&&e>0),this[e(513)](e(491)).to(this,e(494),this,e(524),this,e(502),this,e(512),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(508));if(!s)return at(t,o(490));const a=at(t,o(520),s);return r?at(t,o(521),[n+1,s]):a}),n[e(510)]({label:at(t,e(514)),tooltip:!0,icon:_t.IconChevronUp}),s[e(510)]({label:at(t,e(523)),tooltip:!0,icon:_t.IconChevronDown}),n[e(513)](e(503)).to(this,e(532)),s[e(513)](e(503)).to(this,e(505)),n.on(e(495),()=>this[e(525)](e(495),e(499))),s.on(e(495),()=>this[e(525)](e(495),e(492))),this[e(518)]({tag:e(516),attributes:{class:["ck",e(498),e(500)]},children:[{tag:e(497),attributes:{class:[e(496)]},children:[{tag:e(497),attributes:{class:[e(531),i.if(e(526),e(519),t=>!t)]},children:[{text:i.to(e(512),i=>i?at(t,e(527))+": ":at(t,e(501))+": ")}]},{text:i.to(e(491))}]},new It.ToolbarSeparatorView,{tag:e(516),attributes:{class:[e(493)]},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=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=182]})(t,e)}function _e(){const t=["7kDXzUt","editing","443958KBVWVg","addClass","roots","editor","isPremiumPlugin","ck-editor__editable__loading-overlay","show","change","445213mfpLja","isOfficialPlugin","3423606CYVYcY","document","RevisionViewerLoadingOverlay","1801647khCzJT","hide","3776576HXBRSa","view","12lfEkcl","171025hiZClo","585006nRxUyg","removeClass","pluginName","20zmcxUF"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(424512===parseInt(e(182))/1+-parseInt(e(199))/2+-parseInt(e(193))/3+parseInt(e(191))/4*(-parseInt(e(192))/5)+parseInt(e(184))/6*(parseInt(e(197))/7)+-parseInt(e(189))/8+parseInt(e(187))/9*(parseInt(e(196))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(204);class Se extends G.Plugin{static get[be(195)](){return be(186)}static get[be(183)](){return!0}static get[be(203)](){return!0}[be(205)](){const t=be,e=this[t(202)][t(198)][t(190)];e[t(206)](i=>{const n=t;for(const t of e[n(185)][n(201)])i[n(200)](Ie,t)})}[be(188)](){const t=be,e=this[t(202)][t(198)][t(190)];e[t(206)](i=>{const n=t;for(const t of e[n(185)][n(201)])i[n(194)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=100]})(t,e)}function xe(){const t=["componentFactory","Back to editing","get","182paUYTG","isEnabled","35ltLdcg","commands","isBackwardNavigationEnabled","isNavigationMode","isOfficialPlugin","currentChangeNumber","numberOfChanges","restoreRevision","147656xyRjws","RevisionViewerUI","322588pXQQtI","276853ExWWRw","Restore this revision","isPremiumPlugin","editor","changesNavigation","showNextChange","plugins","hide","forward","execute","75849960TUhFSR","pluginName","14rRKEPQ","isForwardNavigationEnabled","exitToEditing","requires","4753845MMEsFV","listenTo","17205651qdaCtI","ck-revision-history-ui__back-to-editing","change:isReady","init","7541490oNayIz","isReady","revisionHistory","showPreviousChange","config","show","add","closeRevisionViewerCallback","set","bind"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(978403===-parseInt(e(117))/1*(parseInt(e(129))/2)+-parseInt(e(133))/3+-parseInt(e(116))/4*(-parseInt(e(106))/5)+-parseInt(e(139))/6+parseInt(e(104))/7*(-parseInt(e(114))/8)+-parseInt(e(135))/9+parseInt(e(127))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(128)](){return Oe(115)}static get[Oe(110)](){return!0}static get[Oe(119)](){return!0}static get[Oe(132)](){return[ue,Se]}[Oe(138)](){const t=Oe,e=this[t(120)],i=e[t(123)][t(103)](ue),n=e[t(123)][t(103)](Se);e.ui[t(101)][t(145)](t(131),i=>{const n=t,s=new It.ButtonView(i);return s[n(147)]({label:at(i,n(102)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(136)}),this[n(134)](s,n(126),()=>{const t=n;e[t(143)][t(103)](t(141))[t(146)]()}),s}),e.ui[t(101)][t(145)](t(113),i=>{const n=t,s=new It.ButtonView(i);return s[n(147)]({label:at(i,n(118)),withText:!0,tooltip:!0}),s[n(100)](n(105)).to(e[n(107)][n(103)](n(113))),this[n(134)](s,n(126),()=>e[n(126)](n(113))),s}),e.ui[t(101)][t(145)](t(121),n=>{const s=t,r=new ge(n),o=e[s(107)][s(103)](s(142)),a=e[s(107)][s(103)](s(122));return r[s(100)](s(108)).to(o,s(105)),r[s(100)](s(130)).to(a,s(105)),r[s(100)](s(140),s(111),s(112),s(109)).to(i),this[s(134)](r,s(126),(t,i)=>{const n=s;e[n(126)](n(125)===i?n(122):n(142))}),r}),n[t(144)](),i.on(t(137),(e,i,s)=>{const r=t;s?n[r(124)]():n[r(144)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Vt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function De(){const t=["ck-revision-history-sidebar__revision-name","input","scrollWidth","7myQEAm","ck-tooltip_multi-line","bindTemplate","_tooltipString","value","clientWidth","render","1301010bowijz","789792PTEepD","fieldView","Revision name","3994052JUlXra","_updateTooltipText","destroy","Enter the revision name","18ksDtZH","extendTemplate","span","7362256zhFCdL","75986NVjStK","316369JpuTqi","4945445chqslV","189Ehlvmj","listenTo","placeholder","element","_resizeObserver","set"];return(De=function(){return t})()}function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=405]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(588458===parseInt(e(409))/1+-parseInt(e(408))/2*(-parseInt(e(435))/3)+parseInt(e(431))/4+parseInt(e(410))/5+-parseInt(e(428))/6+parseInt(e(420))/7*(parseInt(e(407))/8)+parseInt(e(411))/9*(-parseInt(e(427))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(415)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(422)];this[i(416)]({label:at(t,i(430)),_tooltipString:""}),this[i(429)][i(413)]=at(t,i(434)),this[i(405)]({tag:i(406),attributes:{class:[i(417)],"data-cke-tooltip-text":n.to(i(423)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(421)}})}[Me(426)](){const e=Me;super[e(426)](),this[e(415)]=new t.ResizeObserver(this[e(429)][e(414)],()=>this[e(432)]()),this[e(412)](this[e(429)],e(418),()=>this[e(432)]())}[Me(433)](){const t=Me;super[t(433)](),this[t(415)]&&this[t(415)][t(433)]()}[Me(432)](){const t=Me,e=this[t(429)][t(414)];this[t(423)]=e[t(419)]>e[t(425)]&&e[t(424)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=123]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(862393===-parseInt(e(142))/1+parseInt(e(129))/2*(-parseInt(e(145))/3)+-parseInt(e(127))/4*(parseInt(e(136))/5)+parseInt(e(132))/6*(-parseInt(e(138))/7)+-parseInt(e(134))/8*(parseInt(e(130))/9)+-parseInt(e(128))/10*(parseInt(e(143))/11)+parseInt(e(140))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(123)]({content:_t.IconUser,viewBox:n(141)});const r=["ck",n(131)];i&&r[n(125)](n(144));const o=[{tag:n(126),attributes:{class:["ck",n(124)],title:at(t,n(i?133:139))},children:[s,e[n(135)]]}];this[n(137)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["7CMxuAi","Revision author","74175216cpWbnw","0 0 11 10","1026454AEoOOQ","11tufRCc","ck-revision-history-sidebar__revision-author_creator","27MemhPg","set","ck-revision-history-sidebar__revision-author__name","push","span","849340xEwhDs","6561410ghKuNC","228026ZhxngN","153wngjUR","ck-revision-history-sidebar__revision-author","4260390baailz","Revision creator","394552cTysBq","name","25ZDTchj","setTemplate"];return(Pe=function(){return t})()}function ze(){var t=["12360663khXShn","long","toLocaleTimeString","2717024puUEpB","2789OGljmI","18Cjofzu","1858845erjMEs","numeric","toLocaleDateString","350iApNDH","1732DOBgen","21680870qJJUga","5425890UNWVVa","2685dRAMzr"];return(ze=function(){return t})()}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=369]})(t,e)}!function(t){for(var e=Ue,i=t();;)try{if(898566===parseInt(e(379))/1*(-parseInt(e(370))/2)+-parseInt(e(374))/3*(-parseInt(e(371))/4)+parseInt(e(381))/5+parseInt(e(373))/6+-parseInt(e(375))/7+parseInt(e(378))/8*(-parseInt(e(380))/9)+parseInt(e(372))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=221]})(t,e)}function $e(){const t=["execute","menuitem","isOpen","bindTemplate","name","change:isActionsDropdownOpen","first","locale","extendTemplate","3wqaDul","map","listView","panelPosition","6507zbVhjg","49319oeuROU","menu","isVisible","ck-revision-history-sidebar__revision__actions","3210oPJyYv","isActionsDropdownOpen","5503982mZDLPo","bind","find","stopPropagation","set","Restore this revision","model","4226445NFixwt","listenTo","items","Name this revision","buttonView","add","isEnabled","source","isReady","3519900KyLdYp","3856fqpbZO","function","Compare against selected","class","action","button","children","ck-on","12061IxCgRR","3976556CBlZzK","Show more items","32hEXbXv","_action"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(505889===parseInt(e(268))/1*(parseInt(e(252))/2)+-parseInt(e(263))/3*(-parseInt(e(250))/4)+parseInt(e(231))/5+-parseInt(e(222))/6*(parseInt(e(249))/7)+-parseInt(e(241))/8*(parseInt(e(267))/9)+-parseInt(e(240))/10+-parseInt(e(224))/11)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=Vt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Je(){const t=["bind","ck-reset","1465170IJBUJd","8DpMUon","render","uiLanguage","isHighlighted","ck-disabled","srcElement","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","fire","length","change","100UTykad","4149832GzSwZu","createdAt","unshift","element","ck-revision-history-sidebar__revision-authors",".ck-thread__remove-confirm","authors","ck-revision-history-sidebar__revision","listenTo","isEnabled","762047FaapKq","value","map","setName","_revision","div","revisionNameView","4PWmZpU","isReady","bindTemplate","323529MfGCVc","name","ck-revision-history-sidebar__revision_highlighted","220","closest","span","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__actions_dropdown_open","set","ck-revision-history-sidebar__revision__date","isConfirm","deselect","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","822oNEIHi","ck-revision-history-sidebar__revision_selected","highlight","3992175IyziMm","extendTemplate","from","unhighlight","setTemplate","27881TQdnGQ","_requireRevisionName","isActionsDropdownOpen","filter","33634nQQpIL","select","_createdAtFormatted","creator","fieldView"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=332]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(272908===-parseInt(e(372))/1*(parseInt(e(380))/2)+parseInt(e(345))/3*(-parseInt(e(342))/4)+parseInt(e(379))/5+-parseInt(e(360))/6*(parseInt(e(368))/7)+parseInt(e(391))/8+-parseInt(e(363))/9+parseInt(e(390))/10*(parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(341)];[Ye(351)];[Ye(339)];[Ye(369)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(344)],a=function(t,e){const i=r,n=Array[i(365)](e[i(397)])[i(371)](t=>t!=e[i(375)]);return e[i(375)]&&n[i(393)](e[i(375)]),n[i(337)](n=>new Le(t,n,n==e[i(375)]))}(e,i);this.id=i.id,this[r(339)]=i,this[r(369)]=s,this[r(377)](r(346),r(392)).to(i),this[r(377)](r(374)).to(this,r(392),t=>{return i=e[r(382)],(n=t)[(s=Ue)(369)](i,{month:s(376),day:s(382)})+", "+n[s(377)](i,{hour:s(382),minute:s(382)});var i,n,s}),this[r(354)](r(358),!1),this[r(354)](r(383),!1),this[r(354)](r(370),!1),this[r(354)](r(343),!1),this[r(354)](r(334),!1),this[r(341)]=new Ee(e,It.createLabeledInputText),this[r(341)][r(376)][r(364)]({attributes:{maxlength:r(348)}}),this[r(341)][r(376)][r(377)](r(336)).to(this,r(346),t=>t||this[r(374)]),this[r(341)][r(377)](r(334)).to(this,r(358),this,r(334),(t,e)=>t&&e),this[r(351)]=n&&n[r(388)]?function(e,i){const n=He,s=e[n(257)],r=e[n(261)],o=(0,It.createDropdown)(r);o[n(266)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(261)],s={"Compare against selected":at(n,i(243)),"Name this revision":at(n,i(234)),"Restore this revision":at(n,i(229))};return e[i(264)](t=>{const e=i,n=s[t[e(258)]];return n&&n!==t[e(258)]&&(t[e(258)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(246),model:new It.UIModel({label:t[s(258)],class:t[s(244)],withText:!0,role:s(255),_action:t[s(245)]})};i[s(230)][s(225)](s(237)).to(e,s(223),i=>s(242)!=typeof t[s(237)]||!i||t[s(237)](e)),o[s(236)](i)}return o}(e,i);return e[n(225)](n(223)).to(o,n(256)),o[n(235)][n(228)]({label:at(r,n(251)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(262)]({attributes:{class:[n(221),s.if(n(223),n(248))]},on:{click:s.to(t=>t[n(227)]())}}),o.on(n(254),t=>{const i=n;e[i(239)]&&i(242)==typeof t[i(238)][i(253)]&&t[i(238)][i(253)](e)}),(0,It.addListToDropdown)(o,a,{role:n(269)}),o[n(232)](e,n(259),(t,s,r)=>{const a=n;if(r)for(const t of o[a(265)][a(233)]){const n=t[a(247)][a(260)],s=i[a(226)](t=>t[a(245)]===n[a(253)])[a(270)];t[a(270)]=void 0===s||s(e)}}),o}(this,n):"",this[r(351)]&&this[r(351)][r(377)](r(334)).to(this),this[r(367)]({tag:r(340),attributes:{class:["ck",r(378),r(352),o.if(r(356),r(386))]},children:[{tag:r(340),attributes:{class:["ck",r(378),r(332),o.if(r(334),r(384),t=>!t),o.if(r(358),r(361)),o.if(r(383),r(347)),o.if(r(370),r(353))]},children:[this[r(341)],{tag:r(350),attributes:{class:["ck",r(355)]},children:[{text:o.to(r(374))}]},{tag:r(340),attributes:{class:["ck",r(359)]},children:[{tag:"ul",attributes:{class:["ck",r(395)]},children:a}]},this[r(351)]],on:{click:o.to(t=>{const e=r;t[e(385)][e(349)](e(396))||this[e(343)]&&this[e(334)]&&this[e(387)](e(373),{id:this.id})})}}]})}[Ye(381)](){const t=Ye;super[t(381)]();const e=this[t(341)][t(376)][t(394)];this[t(333)](e,t(389),()=>{const i=t;this[i(369)]&&!e[i(336)]||this[i(387)](i(338),{id:this.id,name:e[i(336)]}),e[i(336)]||(e[i(336)]=this[i(346)]?this[i(346)]:this[i(374)])})}[Ye(373)](){this[Ye(358)]=!0}[Ye(357)](){this[Ye(358)]=!1}[Ye(362)](){this[Ye(383)]=!0}[Ye(366)](){this[Ye(383)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Di=null;class Vi extends Mi{static get instance(){return null===Di&&(Di=new Vi),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class 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:Vn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const 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 Ui=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,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=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):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=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new 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 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(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Dn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function 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(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!Vn(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 Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF: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 Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(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"),Ds=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Zn(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 Us(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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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=Zs(e,s,n,i,r,o,a);let f;return f=c?Ws[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[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Ds,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Vs),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(Vn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(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,Us])}(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 Vn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=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;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||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=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 Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(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;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vn(t.u)||(t.S=$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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(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(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Dn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=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:Wr(e));this.ts=Vn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(En(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Un(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=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Dn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,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),[Hs,$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(Vn(t)||Vn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?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?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):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&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["monthLong","day","6375945OMtybT","month","423MgFXLj","73522QotyGg","weekdayLong","1100204xmlnoM","hasSame","fromJSDate","local","4330395BHSXqn","setLocale","minus","33804tcMoiQ","12156580lEOnTn","toRelativeCalendar","6rEvovj","18FuhpZh","startOf","week","11ElbfWv","5962068LUMHoc","toJSDate","year","8lxBhdy"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=401]})(t,e)}function go(t,e){const i=vo,n=fo[i(410)](t)[i(413)](e),s=fo[i(411)](),r=s[i(414)]({days:1})[i(420)](i(402));let o,a;return n[i(409)](s,i(402))?(o=n[i(420)](i(402))[i(424)](),a=n[i(417)]()):n[i(409)](r,i(402))?(o=r[i(424)](),a=n[i(417)]()):n[i(409)](s,i(421))?(o=n[i(420)](i(421))[i(424)](),a=n[i(407)]||""):n[i(409)](s,i(425))?(o=n[i(420)](i(404))[i(424)](),a=n[i(401)]||""):(o=n[i(420)](i(425))[i(424)](),a=String(n[i(425)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(643218===parseInt(e(406))/1*(-parseInt(e(419))/2)+-parseInt(e(405))/3*(-parseInt(e(415))/4)+-parseInt(e(403))/5+parseInt(e(418))/6*(parseInt(e(408))/7)+-parseInt(e(426))/8*(parseInt(e(412))/9)+parseInt(e(416))/10*(parseInt(e(422))/11)+parseInt(e(423))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=438]})(t,e)}function _o(){const t=["99DwPDFT","4425232yahlDb","add","span","72XpHWFZ","310764hXLzeu","createCollection","removeRevision","localizedPeriodName","6282045NAOkxC","_revisionActions","ck-revision-history-sidebar__time-period__label","18nwNrDq","locale","4091144Jwsyzj","select","setName","ck-revision-history-sidebar__time-period__revisions","1452900CmuDKw","remove","addRevision","uiLanguage","_requireRevisionName","1680CgAtew","delegate","find","div","setTemplate","revisionViews","4715cnXuXN","22DDQMKq","ck-revision-history-sidebar__time-period","startDate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(646719===-parseInt(e(449))/1+parseInt(e(467))/2*(parseInt(e(444))/3)+parseInt(e(445))/4+-parseInt(e(440))/5*(parseInt(e(448))/6)+-parseInt(e(453))/7+-parseInt(e(458))/8*(-parseInt(e(456))/9)+parseInt(e(462))/10*(-parseInt(e(441))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(443)];[bo(439)];[bo(454)];[bo(466)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(457)][s(465)])[s(452)];this[s(443)]=e,this[s(439)]=this[s(450)](),this[s(454)]=i,this[s(466)]=n,this[s(439)][s(468)](s(459)).to(this),this[s(439)][s(468)](s(460)).to(this),this[s(438)]({tag:s(470),attributes:{class:["ck",s(442)]},children:[{tag:s(447),attributes:{class:["ck",s(455)]},children:[{text:r}]},{tag:s(470),attributes:{class:["ck",s(461)]},children:this[s(439)]}]})}[bo(464)](t){const e=bo,i=new Ke(this[e(457)],t,this[e(454)],this[e(466)]);this[e(439)][e(446)](i)}[bo(451)](t){const e=bo,i=this[e(439)][e(469)](e=>e.id===t.id);this[e(439)][e(463)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=244]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(922842===parseInt(e(247))/1*(parseInt(e(254))/2)+-parseInt(e(246))/3+-parseInt(e(256))/4+parseInt(e(258))/5+parseInt(e(253))/6*(-parseInt(e(244))/7)+parseInt(e(250))/8+-parseInt(e(255))/9*(-parseInt(e(248))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(252)]=_t.IconHistory,this[e(257)]({tag:e(245),attributes:{class:["ck",e(261),e(260)]},children:[i,{tag:e(251),attributes:{class:["ck",e(249)]},children:[at(t,e(259))]}]})}}function No(){const t=["3CWTGrN","10SBLEbV","ck-revision-history-sidebar__header__label","11590904gBycNi","span","content","36jdaITk","1051324Vtjwta","1138203YcBSkN","4111144zzppqv","setTemplate","6002790bxycgS","Revision history","ck-revision-history-sidebar__header","ck-reset_all","1447901pZekCd","div","3483564aHgjDA"];return(No=function(){return t})()}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Vt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Do(){const t=["set","unhighlight","70352KZTZPx","get","9646175gZrqxB","locale","flat","getTime","308766JQMoCQ","_revisionActions","find","revisionViews","highlightRevisions","revisionSetName","some","select","delegate","createCollection","_revisions","ck-revision-history-sidebar","fire","17730wucDhG","9699ZQvOET","_requireRevisionName","div","startDate","uiLanguage","createdAt","removeRevision","add","_removeRevision","addRevision","highlight","setName","2311738XeEBsr","remove","map","selectRevision","revisionSelected","ck-revision-history-sidebar__timeline","ck-reset","9639FwGYMk","6076880UPeWgI","render","145gxKuwE","748hptsJO","setTemplate","bindTemplate","ck-disabled","timePeriodViews","isEnabled","_getTimePeriodViewByStartDate","_addRevision","deselect","ck-rounded-corners"];return(Do=function(){return t})()}function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=114]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(805863===parseInt(e(141))/1+parseInt(e(118))/2+-parseInt(e(161))/3*(-parseInt(e(129))/4)+parseInt(e(128))/5*(parseInt(e(147))/6)+-parseInt(e(143))/7+parseInt(e(126))/8+parseInt(e(125))/9*(-parseInt(e(160))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(133)];[Mo(157)];[Mo(148)];[Mo(162)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(131)];this[s(133)]=this[s(156)](),this[s(133)][s(155)](s(154)).to(this),this[s(133)][s(155)](s(117)).to(this),this[s(157)]=e,this[s(148)]=i,this[s(162)]=n,this.on(s(154),(t,e)=>{const i=s;this[i(159)](i(122),e)}),this.on(s(117),(t,e)=>{const i=s;this[i(159)](i(152),e)}),this[s(139)](s(134),!1),this[s(130)]({tag:s(163),attributes:{class:["ck",s(124),s(138),s(158)]},children:[new xo(t),{tag:s(163),attributes:{class:["ck",s(123),r.if(s(134),s(132),t=>!t)]},children:this[s(133)]}]})}[Mo(127)](){const t=Mo;super[t(127)]();for(const e of this[t(157)])this[t(136)](e);this[t(157)].on(t(168),(e,i)=>{this[t(136)](i)}),this[t(157)].on(t(119),(e,i)=>{this[t(114)](i)})}get[Mo(150)](){const t=Mo;return this[t(133)][t(120)](e=>e[t(150)][t(120)](t=>t))[t(145)]()}[Mo(121)](t){const e=Mo;for(const i of this[e(150)])t&&t.id===i.id?i[e(154)]():i[e(137)]()}[Mo(151)](t){const e=Mo;for(const i of this[e(150)])t[e(153)](({id:t})=>t===i.id)?i[e(116)]():i[e(140)]()}[Mo(136)](t){const e=Mo,i=go(t[e(166)],this[e(144)][e(165)])[e(164)];let n=this[e(133)][e(142)](0);n&&n[e(164)][e(146)]()===i[e(146)]()||(n=new Io(this[e(144)],i,this[e(148)],this[e(162)]),this[e(133)][e(168)](n)),n[e(115)](t)}[Mo(114)](t){const e=Mo,i=go(t[e(166)],this[e(144)][e(165)])[e(164)];this[e(135)](i)[e(167)](t)}[Mo(135)](t){const e=Mo;return this[e(133)][e(149)](i=>i[e(164)][e(146)]()===t[e(146)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=184]})(t,e)}function jo(){const t=["isEnabled","bind","locale","assign","add","isSelected","_revisionsRepository","Name this revision","compare","revisionHistory","_handleEditorDataReady","863500lRsXRh","element","diff","requires","appendChild","remove","3765WZLBaB","listenTo","defaultRevisionActions","4117460ohpNIb","_handleRevisionSetName","43141PVzsgL","664JCZuQM","getIndex","map","revisionHistory.requireRevisionName","select","_revisions","Restore this revision","data","_sidebarView","3yNbLBn","render","fieldView","getLaterVisibleRevision","_createRevisionActions","_handleRevisionSelected","compareAgainstSelected","repository","highlightRevisions","restoreRevisionCallback","newRevisionId","4428yjYsBW","plugins","revisionHistory.revisionActions","pluginName","getEarlierVisibleRevision","name","2179752PHvOrv","revisionSelected","availableRevisionActions","config","revisionHistory.viewerSidebarContainer","string","length","_handleDiffChange","restoreRevision","isVisible","get","setName","selectRevision","revisionSetName","focus","change:diff","getRevision","RevisionsSidebar","10203622athTHm","Compare against selected","revisionViews","nameRevision","editor","_revisionViewer","timePeriodViews","destroy","isPremiumPlugin","getRevisionsInDiff","action","ready","isOfficialPlugin","314409fZfZfu","18vlqxEe","init","isReady"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(482630===-parseInt(e(223))/1+parseInt(e(238))/2*(-parseInt(e(259))/3)+parseInt(e(192))/4+parseInt(e(244))/5*(-parseInt(e(186))/6)+parseInt(e(249))/7*(-parseInt(e(250))/8)+-parseInt(e(224))/9*(-parseInt(e(247))/10)+parseInt(e(210))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Co(215)];[Co(233)];[Co(258)];static[Co(246)]=[Co(265),Co(200),Co(213)];static[Co(194)]=function(){const t=Co;return{compareAgainstSelected:{name:t(211),action:({plugins:e},i)=>{const n=t,s=e[n(202)](ue),r=s[n(266)];let o=s[n(240)][n(185)],a=i.id;r[n(251)](o)>r[n(251)](a)&&([o,a]=[a,o]),s[n(235)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(202)](ue);return!(s[n(266)][n(219)](s[n(240)])[n(198)]>2||i[n(232)])}},restoreRevision:{name:t(256),action:(e,{id:i})=>{const n=t;e[n(195)][n(202)](n(236))[n(184)](i)},isVisible:({plugins:e},i)=>!!e[t(202)](ue)[t(266)][t(262)](i.id)},nameRevision:{name:t(234),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(202)](ue),o=r[s(266)][s(190)](i);r[s(235)](i,o),n[s(206)](),n[s(261)][s(254)]()}}}}();static get[Co(189)](){return Co(209)}static get[Co(222)](){return!0}static get[Co(218)](){return!0}static get[Co(241)](){return[ue]}constructor(t){const e=Co;super(t),this[e(215)]=t[e(187)][e(202)](ue),this[e(233)]=this[e(215)][e(266)],this[e(258)]=null}[Co(225)](){const t=Co,e=this[t(233)][t(255)],i=this[t(263)](),n=this[t(214)][t(195)][t(202)](t(196));this[t(258)]=new Eo(this[t(214)][t(229)],e,i,this[t(214)][t(195)][t(202)](t(253))),this[t(258)].on(t(193),this[t(264)][t(228)](this)),this[t(258)].on(t(205),this[t(248)][t(228)](this)),this[t(258)][t(228)](t(227)).to(this[t(215)]),this[t(258)][t(216)].on(t(231),(e,i)=>{const n=t;i[n(212)].on(n(231),(t,e)=>{const i=n;e[i(228)](i(227),i(226)).to(this[i(215)])})}),this[t(258)][t(260)](),this[t(245)](this[t(214)][t(257)],t(221),this[t(237)][t(228)](this)),this[t(245)](this[t(215)],t(207),this[t(199)][t(228)](this)),n[t(242)](this[t(258)][t(239)])}[Co(217)](){const t=Co;this[t(258)][t(239)][t(243)](),this[t(258)][t(217)]()}[Co(237)](){const t=Co,e=this[t(233)][t(208)](0);if(e){const i=this[t(233)][t(190)](e.id);this[t(215)][t(235)](e,i)}}[Co(264)](t,e){const i=Co,n=this[i(233)][i(208)](e.id),s=this[i(233)][i(190)](n.id);this[i(215)][i(235)](n,s)}[Co(248)](t,e){const i=Co;this[i(233)][i(208)](e.id)[i(203)](e[i(191)])}[Co(199)](t,e,i){const n=Co,s=this[n(233)][n(219)](i);s[n(198)]>2?(this[n(258)][n(267)](s),this[n(258)][n(204)](null)):(this[n(258)][n(267)]([]),this[n(258)][n(204)](s[0]))}[Co(263)](){const t=Co,e=this[t(214)],i=Lo[t(194)],n=e[t(195)][t(202)](t(188))||Lo[t(246)];if(n[t(198)])return n[t(252)](n=>{const s=t,r=s(197)==typeof n?Object[s(230)]({},i[n]):n;return r[s(220)]=r[s(220)][s(228)](this,e),r[s(201)]&&(r[s(201)]=r[s(201)][s(228)](this,e)),r})}}function Po(t,e){const i=Uo();return(Po=function(t,e){return i[t-=157]})(t,e)}const zo=Po;function Uo(){const t=["125946IVapyJ","186555tPwTZr","init","get","toolbar","1044BYfpMK","3004508yKicAL","viewportOffset","stickyPanel","componentFactory","editor","element","setEditableElement","view","6136636PVQPdY","render","addToolbar","name","rootName","815201mGPVfw","viewportTopOffset","fire","editing","_toolbarConfig","isFocused","_elementReplacer","getRoot","config","document","focusTracker","restore","attachDomRoot","limiterElement","14HdFOvp","destroy","isActive","fillFromConfig","45660udOwBw","3368024LizAFj","_view","bind","editable","detachDomRoot","ready","replace","18CtHKXX","_initToolbar","2DQeBmk"];return(Uo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(463515===-parseInt(e(171))/1*(-parseInt(e(199))/2)+parseInt(e(200))/3+-parseInt(e(158))/4+-parseInt(e(201))/5*(-parseInt(e(197))/6)+-parseInt(e(185))/7*(parseInt(e(190))/8)+-parseInt(e(157))/9*(-parseInt(e(189))/10)+parseInt(e(166))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends It.EditorUI{[zo(191)];[zo(175)];[zo(177)];get[zo(165)](){return this[zo(191)]}constructor(e,i){const n=zo;super(e),this[n(191)]=i,this[n(175)]=(0,It.normalizeToolbarConfig)(e[n(179)][n(203)](n(204))),this[n(177)]=new t.ElementReplacer}get[zo(163)](){const t=zo;return this[t(165)][t(163)]}[zo(202)](t){const e=zo,i=this[e(162)],n=this[e(165)],s=i[e(174)][e(165)],r=n[e(193)],o=s[e(180)][e(178)]();r[e(169)]=o[e(170)],n[e(167)]();const a=r[e(163)];this[e(164)](r[e(169)],a),n[e(193)][e(192)](e(176)).to(this[e(181)]),s[e(183)](a),this[e(177)][e(196)](t,this[e(163)]),this[e(198)](),this[e(173)](e(195))}[zo(186)](){const t=zo;super[t(186)]();const e=this[t(165)],i=this[t(162)][t(174)][t(165)];this[t(177)][t(182)](),i[t(194)](e[t(193)][t(169)]),e[t(186)]()}[zo(198)](){const t=zo,e=this[t(165)];e[t(160)][t(192)](t(187)).to(this[t(181)],t(176)),e[t(160)][t(184)]=e[t(163)],e[t(160)][t(192)](t(172)).to(this,t(159),({top:t})=>t),e[t(204)][t(188)](this[t(175)],this[t(161)]),this[t(168)](e[t(204)])}}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function $o(){var t=["toolbar","11892952GmpnfF","9bFIHSJ","632580UJHhwo","content","4225956UrokCf","18YhiZKf","4gqTNaF","stickyPanel","1825450dNflay","3399543vAPCuG","31395130KAgYcY","8984185mkbzoN","add","shouldToolbarGroupWhenFull","main","editable","render","_editable","top"];return($o=function(){return t})()}var qo=Bo;function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=463]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(982583===-parseInt(e(472))/1+-parseInt(e(470))/2*(parseInt(e(466))/3)+-parseInt(e(468))/4+-parseInt(e(475))/5+-parseInt(e(469))/6*(-parseInt(e(473))/7)+-parseInt(e(464))/8*(-parseInt(e(465))/9)+parseInt(e(474))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(481)];[qo(471)];[qo(463)];get[qo(479)](){return this[qo(481)]}constructor(t,e,i={}){var n=qo;super(t),this[n(471)]=new It.StickyPanelView(t),this[n(463)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(477)]}),this[n(481)]=new It.InlineEditableUIView(t,e)}[qo(480)](){var t=qo;super[t(480)](),this[t(471)][t(467)][t(476)](this[t(463)]),this[t(482)][t(476)](this[t(471)]),this[t(478)][t(476)](this[t(479)])}}const Jo=Ko;function Go(){const t=["555234wegoeP","11394790epPLDA","4IGINhP","view","destroy","locale","147042RFIDJB","340pHrCIy","initPlugins","fire","4223905fnNovM","updateSourceElement","create","9jRDMfL","editing","get","3926968ehZGEc","data","init","sourceElement","createRoot","5375667GQZMWA","model","document","336sRMein","ready","21006pravVt","initialData","config","_ui"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=476]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(705028===-parseInt(e(499))/1+-parseInt(e(476))/2*(parseInt(e(495))/3)+-parseInt(e(501))/4*(parseInt(e(479))/5)+-parseInt(e(493))/6*(-parseInt(e(505))/7)+parseInt(e(485))/8*(parseInt(e(482))/9)+parseInt(e(500))/10+parseInt(e(490))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(498)];get ui(){return this[Jo(498)]}constructor(t,e){const i=Jo;super(e),this[i(488)]=t,this[i(491)][i(492)][i(489)]();const n=new Yo(this[i(504)],this[i(483)][i(502)],{shouldToolbarGroupWhenFull:!0});this[i(498)]=new Wo(this,n)}[Jo(503)](){const t=Jo;return this[t(480)](),this.ui[t(503)](),super[t(503)]()}static async[Jo(481)](t,e){const i=Jo,n=new this(t,e);return await n[i(477)](),await n.ui[i(487)](t),await n[i(486)][i(487)](n[i(497)][i(484)](i(496))||""),n[i(478)](i(494)),n}}const Xo=ta;function ta(t,e){const i=na();return(ta=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(575457===-parseInt(e(307))/1+parseInt(e(352))/2*(-parseInt(e(348))/3)+parseInt(e(273))/4*(parseInt(e(262))/5)+-parseInt(e(289))/6*(parseInt(e(366))/7)+-parseInt(e(365))/8*(parseInt(e(260))/9)+-parseInt(e(363))/10*(-parseInt(e(370))/11)+parseInt(e(350))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na);const ea=[Xo(299),Xo(282)];class ia extends G.Plugin{[Xo(288)];static get[Xo(364)](){return Xo(315)}static get[Xo(311)](){return!0}static get[Xo(358)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(326)](t=>String[e(362)](t))[e(317)]("")}super(t),this[e(288)]=e(356),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function na(){const t=["90kVtqsQ","requires","from","_restoreRevision","end","fromVersion","isPremiumPlugin","revisionHistory.editorContainer","getUser","toVersion","fromCharCode","10WsFMfH","pluginName","112tRbhCV","28zHKFqa","toJSON","_closeRevisionViewer","getRevisionRootsAttributes","3500101vYXjyd","includes","revisionHistory.viewerContainer","revision-history-missing-configuration","view","parse","restrictedEditingException","addRevisionData","createdAt","create","data","closeRevisionViewerCallback","init","loadRevisionData","locale","roots","isRevisionViewerOpen","change","toLocaleDateString","Annotations","isAnonymous","isReady","long","enqueueChange","markers","isOpen","revisionHistory.restoreRevisionCallback","disableReadOnlyMode","remove","refreshPositioning","_update","refreshVisibility","toolbar","saveRevision","DocumentOutline","removeSelectionAttribute","revisionHistory.showRevisionViewerCallback","Autosave","revisionHistory","RevisionsRepository","_cleanUp","element","changesNavigation","insert","448479glGzdR","set","145SWSkKZ","addRoot","lazyRoots","users","selection","RevisionViewer","config","restoreRevision","commands","model","Users","43816VMHLsR","catch","addUser","RevisionTracker","_viewerEditor","PaginationLookup","revisionHistory.closeRevisionViewerCallback","save","_recalculatePageBreaks","RestrictedEditingMode","getRevision","indexOf","setAttribute","document","Dialog","result","1229652quNlIp","display","translations","enableReadOnlyMode","DocumentOutlineUI","editor","_showRevisionViewer","uiLanguage","isReadOnly","then","RevisionHistoryUI","getRevisions","revision-history-viewer-opened","none","setSelection","RevisionHistoryUtils","rootName","keys","890621LHMnuR","adapter","removeAttribute","has","isOfficialPlugin","getMarkersGroup","name","update","RevisionViewerIntegration","plugins","join","createRangeIn","detachRoot","revisionHistory.requireRevisionName","push","destroy","get","_enhanceShowRevisionViewerCallback","style","map","repository","_getRevisionViewerEditorConfig","revisionHistory.viewerEditorElement","_enhanceCloseRevisionViewerCallback","Restored","define","getRevisionDocumentData","toLocaleTimeString","showRevisionViewerCallback","removeMarker","getRoot","numeric","getAttributeKeys","RevisionHistory","creator","$graveyard","exitToEditing","isEnabled","block","hide","isAttached","33261jZfmEc","bind","34158456ySDhfp","error"];return(na=function(){return t})()}class sa extends G.Plugin{[Xo(277)];static get[Xo(364)](){return Xo(340)}static get[Xo(311)](){return!0}static get[Xo(358)](){return!0}static get[Xo(353)](){return[vt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(294)][i(268)][i(323)](i(408)))throw new t.CKEditorError(i(373),this);this[i(277)]=null,this[i(261)](i(386),!1),this[i(294)][i(268)][i(332)](i(406),t=>this[i(295)]({...t,translations:this[i(294)][i(384)][i(291)]})),this[i(294)][i(268)][i(332)](i(279),t=>this[i(368)](t)),this[i(294)][i(268)][i(332)](i(396),t=>this[i(355)](t)),this[i(294)][i(268)][i(332)](i(320),!1),this[i(324)](),this[i(330)]()}set[Xo(308)](t){const e=Xo;this[e(294)][e(316)][e(323)](e(276))[e(308)]=t}get[Xo(308)](){const t=Xo;return this[t(294)][t(316)][t(323)](t(276))[t(308)]}[Xo(377)](t){const e=Xo;return this[e(294)][e(316)][e(323)](e(276))[e(377)](t)}[Xo(283)](t){const e=Xo;return this[e(294)][e(316)][e(323)](e(409))[e(283)](t)}[Xo(300)](t){const e=Xo;return this[e(294)][e(316)][e(323)](e(409))[e(300)](t||{toJSON:!1})}[Xo(328)](){const e=Xo,i=this[e(294)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(316)][e(323)](e(276)),r=i[e(316)][e(323)](e(272))[e(265)];return n[e(402)]=[e(343),e(269),e(258)],delete n[e(264)],n[e(316)][e(321)](ia,ue,Ne,class extends G.Plugin{static get[e(353)](){return[ue,e(272)]}[e(382)](){const n=e,o=this[n(294)][n(316)][n(323)](n(272));for(const t of r)t[n(390)]||o[n(360)](t.id)||o[n(275)](t);const a=s[n(327)][n(300)]();let c=null;const u=this[n(294)][n(316)][n(323)](n(267));u[n(308)]=s[n(308)],u[n(349)](n(344)).to(s),this[n(294)][n(270)][n(323)](n(269))[n(349)](n(344)).to(i,n(297),t=>!t);for(const e of a){const i=null===e[n(341)];if(i&&e[n(361)]===e[n(357)])continue;const r=e[n(367)]();u[n(377)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(400)](r,o);else if(!o){const e=a[u(367)]();e.id=(0,t.uid)(),s[u(403)](e,a[u(361)])[u(298)](t=>{c=t})}}else e[u(400)](r,o)})}}},Lo),n}[Xo(324)](){const t=Xo,e=this[t(294)][t(268)][t(323)](t(408))[t(335)];this[t(294)][t(268)][t(261)](t(406),async()=>{const i=t;this[i(294)][i(292)](i(301));const n=this[i(294)][i(316)][i(323)](i(276));if(this[i(294)][i(316)][i(310)](i(407))){const t=this[i(294)][i(316)][i(323)](i(407));await t[i(280)]()}else await n[i(314)]();if(this[i(294)][i(316)][i(310)](i(278))&&this[i(294)][i(316)][i(323)](i(278))[i(281)](),this[i(294)][i(316)][i(310)](i(287))){const t=this[i(294)][i(316)][i(323)](i(287));t[i(395)]&&t[i(346)]()}const s=this[i(328)]();return e(s)[i(298)](t=>{const e=i;return this[e(277)]=t,this[e(294)][e(316)][e(310)](e(389))&&this[e(294)][e(316)][e(323)](e(389))[e(401)](),this[e(294)][e(316)][e(310)](e(404))&&(this[e(294)][e(316)][e(323)](e(293))[e(374)][e(257)][e(325)][e(290)]=e(302)),t})[i(274)](t=>(console[i(351)](t),this[i(294)][i(397)](i(301)),null))})}[Xo(330)](){const t=Xo,e=this[t(294)][t(268)][t(323)](t(408))[t(381)];this[t(294)][t(268)][t(261)](t(279),()=>(this[t(294)][t(316)][t(310)](t(278))&&this[t(294)][t(316)][t(323)](t(278))[t(281)](),this[t(294)][t(316)][t(310)](t(404))&&(this[t(294)][t(316)][t(323)](t(293))[t(374)][t(257)][t(325)][t(290)]=""),this[t(277)][t(316)][t(323)](t(267))[t(256)](),e(this[t(277)])[t(298)](()=>{const e=t;if(this[e(294)][e(397)](e(301)),this[e(277)]=null,this[e(294)][e(316)][e(310)](e(389))){const t=this[e(294)][e(316)][e(323)](e(389));t[e(401)](),t[e(399)]()}})))}[Xo(295)](t){const e=Xo,i=this[e(294)][e(268)][e(323)](e(359)),n=this[e(294)][e(268)][e(323)](e(372)),s=this[e(294)][e(268)][e(323)](e(329));return Qo[e(379)](s,t)[e(298)](t=>(n[e(325)][e(290)]=e(345),i[e(325)][e(290)]=e(302),this[e(386)]=!0,t))}[Xo(368)](t){const e=Xo,i=this[e(294)][e(268)][e(323)](e(359));return this[e(294)][e(268)][e(323)](e(372))[e(325)][e(290)]=e(302),i[e(325)][e(290)]="",this[e(386)]=!1,t[e(322)]()}async[Xo(355)](t){const e=Xo,i=this[e(294)],n=this[e(277)][e(316)][e(323)](e(267)),s=i[e(316)][e(323)](e(276)),r=i[e(316)][e(323)](e(304)),o=n[e(327)][e(283)](t);let a,c,u;try{await r[e(383)](o,this[e(308)]),a=r[e(333)](o),c=r[e(369)](o)}catch(t){return void console[e(351)](t)}i[e(271)][e(387)](t=>{const n=e;for(const e of Array[n(354)](i[n(271)][n(394)][n(312)](n(376))))t[n(336)](e)}),n[e(391)]=!1,i[e(271)][e(393)](t=>{const n=e;t[n(303)](null),t[n(405)](i[n(271)][n(286)][n(266)][n(339)]());const s=Object[n(306)](a);for(const e of i[n(271)][n(286)][n(385)])n(342)!=e[n(305)]&&e[n(347)]()&&!s[n(371)](e[n(305)])&&t[n(319)](e);for(const e of s){let s=i[n(271)][n(286)][n(337)](e);s&&s[n(347)]()||(s=t[n(263)](e));const r=c[e],o=Object[n(306)](r),u=a[e];for(const e of s[n(339)]())o[n(371)](e)||t[n(309)](e,s);for(const i of o)t[n(285)](i,c[e][i],s);t[n(398)](t[n(318)](s)),t[n(259)](i[n(380)][n(375)](u,s),s,0)}});const l=at(i[e(384)],e(331));return u=o[e(313)]?-1==o[e(313)][e(284)](l)?l+": "+o[e(313)]:o[e(313)]:l+": "+o[e(378)][e(388)](i[e(384)][e(296)],{month:e(392),day:e(338)})+", "+o[e(378)][e(334)](i[e(384)][e(296)],{hour:e(338),minute:e(338)}),await s[e(403)]({name:u}),n[e(391)]=!0,i[e(268)][e(323)](e(408))[e(381)]()}}function ra(){var t=["1001570XhEkoo","1049054zkQDKS","2460815ZpNsbB","10367KDRuPS","2635676LUyauB","168OXWycQ","291321UKKJIU","708LRJlSU","19139131qpFcKl","4xokdCz","3tWaNcR"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=217]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(762192===-parseInt(e(224))/1+parseInt(e(227))/2*(parseInt(e(222))/3)+parseInt(e(221))/4*(-parseInt(e(225))/5)+-parseInt(e(219))/6*(parseInt(e(226))/7)+parseInt(e(217))/8*(-parseInt(e(218))/9)+parseInt(e(223))/10+parseInt(e(220))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,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]",x="[object Float64Array]";function T(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]=T(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,T(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(T(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]=T(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 x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return 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]=T(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return T(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 E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?: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 V.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(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,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["fire","4185477NyYvcM","creator","authors","273edrYfP","setName","112zbdgxr","6686rqMBHo","removeAttribute","model","map","4387232HpnJZM","attributes","1132585CjkBHa","set","_update","16518310ztEYmX","setAttribute","creatorId","52285XOIpsL","252LOgArf","toJSON","name","404034fBqTHM","toVersion","authorsIds","fromVersion","createdAt","diffData"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(608631===parseInt(e(430))/1+-parseInt(e(424))/2*(parseInt(e(421))/3)+-parseInt(e(437))/4*(parseInt(e(436))/5)+parseInt(e(440))/6*(parseInt(e(423))/7)+parseInt(e(428))/8+parseInt(e(418))/9+-parseInt(e(433))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(419)];[B(420)];[B(416)];[B(441)];[B(443)];[B(426)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(419)]=e[i(419)]||null,this[i(420)]=e[i(420)]||[],this[i(416)]=e[i(416)]||null,this[i(441)]=e[i(441)]||0,this[i(443)]=e[i(443)]||0,this[i(431)](i(439),e[i(439)]||""),this[i(431)](i(444),e[i(444)]||new Date),this[i(431)](i(429),e[i(429)]||{})}[B(422)](t){this[B(432)]({name:t})}[B(434)](t,e){const i=B,n=A(this[i(429)]);W(n,t,e),this[i(432)]({attributes:n})}[B(425)](t){const e=B,i=A(this[e(429)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(432)]({attributes:i})}[B(432)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(439),i(444),i(416),i(420),i(429),i(441),i(443),i(435)];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(420)]&&(s[i(442)]=s[i(420)][i(427)](t=>t.id),delete s[i(420)]),this[i(417)](i(432),s,e))}[B(438)](){const t=B;return{id:this.id,name:this[t(439)],creatorId:this[t(419)]?this[t(419)].id:null,authorsIds:this[t(420)][t(427)](t=>t.id),diffData:this[t(416)],createdAt:this[t(444)],attributes:this[t(429)],fromVersion:this[t(443)],toVersion:this[t(441)]}}}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["earlier","attributes","toJSON","later","toVersion","RevisionsRepository","getRevisionsIterator","isOfficialPlugin","fromVersion","getRevision","requires","464974yXUNUE","getRevisions","get","join","add","getUser","length","88713izAWWU","getEarlierVisibleRevision","isNaN","getRevisionsInDiff","createdAt","24juxgvz","name","Users","pluginName","6665qXkFyl","oldRevisionId","_revisions","creatorId","fromCharCode","5058OXgyzf","push","540558fsueut","newRevisionId","getLaterVisibleRevision","map","136346gJcdHS","addRevision","505148PvbvxT","isPremiumPlugin","authorsIds","data","35845240yohUDk","getIndex","from","32dUjgfo","diffData","href","plugins","editor","afterInit","reverse","createRevision"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=396]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(710109===-parseInt(e(411))/1+-parseInt(e(437))/2+-parseInt(e(405))/3*(parseInt(e(449))/4)+-parseInt(e(398))/5*(parseInt(e(403))/6)+parseInt(e(409))/7*(parseInt(e(418))/8)+-parseInt(e(444))/9+parseInt(e(415))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(400)];static get[Q(436)](){return[K.Users]}static get[Q(397)](){return Q(431)}static get[Q(433)](){return!0}static get[Q(412)](){return!0}get[Q(443)](){const t=Q;return this[t(400)][t(443)]}constructor(e){const i=Q;super(e),this[i(400)]=new t.Collection}[Q(423)](){!async function(e){const i=k([82,114,88,113,52,66,81,104,100,54,55,79,77,118,110,98,120,105,89,101,103,65,90,71,69,51,119,109,111,50,102,49,70,122,67,97,72,78,56,87,115,117,107,68,108,53,106,80,76,112,83,116,86,75,99,73,57,121,74,85,84,48]),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(446)](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([82]);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(408)](t=>String[e(402)](t))[e(440)]("")}!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:1755561600;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(420)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(425)](t){const e=Q,i=this[e(422)][e(421)][e(439)](e(396));return new J({id:t.id,name:t[e(450)],creator:t[e(401)]?i[e(442)](t[e(401)]):null,diffData:t[e(419)]||t[e(414)],authors:t[e(413)][e(408)](t=>i[e(442)](t)),createdAt:new Date(t[e(448)]),attributes:t[e(427)],fromVersion:t[e(434)],toVersion:t[e(430)]})}[Q(410)](t,e=0){const i=Q;this[i(400)][i(441)](t,e)}[Q(435)](t){const e=Q;return this[e(400)][e(439)](t)}[Q(438)](t={toJSON:!1}){const e=Q,i=Array[e(417)](this[e(400)]);return i[e(424)](),t[e(428)]?i[e(408)](t=>t[e(428)]()):i}[Q(416)](t){const e=Q;return this[e(400)][e(416)](t)}[Q(445)](t){const e=Q,[,i]=this[e(432)](t,{direction:e(426)});return i}[Q(407)](t){const e=Q,[,i]=this[e(432)](t,{direction:e(429)});return i}[Q(447)](t){const e=Q,i=[];for(const n of this[e(432)](t[e(406)]))if(i[e(404)](n),n.id===t[e(399)])break;return i}*[Q(432)](t,{direction:e=Q(426),filter:i=()=>!0}={}){const n=Q,s=n(426)===e?1:-1;let r=this[n(400)][n(439)](t),o=this[n(416)](r);for(yield r;r;){if(o+=s,r=this[n(435)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=161]})(t,e)}const st=nt;function rt(){const t=["htmlProcessor","358260kJIvdm","string","36gLUhvh","toModel","_makeModelFromViewString","document","collaboration.channelId","div","insertions","getFillerOffset","revision-start","3951804vhhgQh","filter","data","7727500ZywHkE","isAttached","parse","1029168QfaysS","from","fillerOffset","forEach","map","name","1529272YMCqfS","innerHTML","attachChange","childNodes","_viewClassToTypeChar","type","get","customProperties","24boRxsn","toData","RevisionHistoryUtils","isPremiumPlugin","loadRevisionData","editor","createElement","config","isOfficialPlugin","domDocument","domConverter","getRevision","attributes","_getTypeCharForViewElement","1301069LHyvfj","data-revision-","default","append","marked","domChildrenToView","diffData","viewChildrenToDom","getRevisionDocumentData","_getViewFromDiffObj","editing","startsWith","2090310OXGuxg","_setCustomProperty","pluginName","attributesAfter","view","_removeRevisionMarkers","useFillerType","getRevisionRootsAttributes","_typeCharToViewClass","length","4tDIagp","constructor","children","processor","render","_appendChild","revision-end"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(935693===parseInt(e(175))/1+-parseInt(e(192))/2+-parseInt(e(186))/3*(-parseInt(e(167))/4)+parseInt(e(189))/5+-parseInt(e(206))/6*(parseInt(e(220))/7)+-parseInt(e(198))/8+-parseInt(e(177))/9*(parseInt(e(232))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(234)](){return st(208)}static get[st(214)](){return!0}static get[st(209)](){return!0}[st(202)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(165)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(210)](t,e){const i=st;if(t[i(226)]||!e)return;const n=this[i(211)][i(213)][i(204)](i(181)),s=await e[i(217)]({channelId:n,revisionId:t.id});t[i(226)]=s[i(226)]}[st(228)](t){const e=st,i={};for(const n in t[e(226)]){if(t[e(226)][n][e(200)]&&!t[e(226)][n][e(200)][e(190)])continue;const s=this[e(162)](JSON[e(191)](t[e(226)][n][e(183)])),r=this[e(211)][e(230)][e(161)][e(180)],o=new X.ViewDocumentFragment(r,s[e(196)](t=>this[e(229)](t,!1)));this[e(211)][e(188)][e(170)][e(163)](e(224)),i[n]=this[e(211)][e(188)][e(170)][e(207)](o),this[e(211)][e(188)][e(170)][e(163)](e(222))}return i}[st(164)](t){const e=st,i={};for(const n in t[e(226)])t[e(226)][n][e(200)]&&!t[e(226)][n][e(200)][e(190)]||(i[n]=t[e(226)][n][e(235)]||{});return i}[st(219)](t){const e=st;return this[e(202)][e(204)](t[e(168)])}[st(229)](t,e){const i=st,n=this[i(211)][i(230)][i(161)][i(180)];if(i(176)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(203)]||"r"==t[i(203)]?[]:t[i(169)][i(196)](t=>this[i(229)](t,e));const o=this[i(165)][i(204)](t[i(203)])||X.ViewElement,a=this[i(211)][i(188)][i(174)][i(216)];if(s=new o(n,t[i(197)],t[i(218)],r),"u"==t[i(203)]&&t[i(169)][0]){const r=t[i(169)][0];if(s[i(171)]=function(t){const e=i,n=t[e(212)](e(182));return n[e(199)]=r,n[e(201)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(172)](s);const e=Array[i(193)](a[i(227)](t,{bind:!1})),r=a[i(215)][i(212)](i(182));r[i(223)](...e),s=Array[i(193)](a[i(225)](r))[0]}}else if("r"==t[i(203)]&&t[i(169)][0]){const r=t[i(169)][0];if(s[i(171)]=function(t){t[i(199)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(172)](s);const e=Array[i(193)](a[i(227)](t,{bind:!1})),r=a[i(215)][i(212)](i(182));r[i(223)](...e);const o=Array[i(193)](a[i(225)](r));o[i(166)]>1?s[i(172)](o):s=o[0]}}if(t[i(205)])for(const[e,n]of t[i(205)])s[i(233)](e,n);const c=void 0===t[i(194)]?null:t[i(194)];return null!==c&&(s[i(184)]=()=>c),s}}[st(179)](t){const e=st,i=JSON[e(191)](t),n=this[e(211)][e(230)][e(161)][e(180)],s=new X.ViewDocumentFragment(n,i[e(196)](t=>this[e(229)](t,!0)));return this[e(211)][e(188)][e(178)](s)}[st(162)](t){const e=st;return(t=t[e(187)](t=>!t[e(197)]||e(185)!==t[e(197)]&&e(173)!==t[e(197)]))[e(195)](t=>{const i=e;i(176)!=typeof t&&(t[i(169)]=this[i(162)](t[i(169)]),t[i(218)]=t[i(218)][i(187)](t=>!t[0][i(231)](i(221))))}),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,T){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 E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(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,T))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,T));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 x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||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,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=kt();return(mt=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(898523===-parseInt(e(352))/1*(parseInt(e(450))/2)+parseInt(e(494))/3*(parseInt(e(223))/4)+-parseInt(e(294))/5+-parseInt(e(526))/6*(parseInt(e(468))/7)+-parseInt(e(315))/8+parseInt(e(214))/9*(parseInt(e(233))/10)+-parseInt(e(437))/11*(-parseInt(e(224))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class pt extends G.Plugin{[ft(241)];[ft(316)];[ft(521)]=null;[ft(251)];[ft(499)]=null;[ft(451)];[ft(257)];[ft(256)];[ft(454)];[ft(262)];[ft(476)];[ft(245)];[ft(463)];[ft(368)];static get[ft(345)](){return ft(529)}static get[ft(398)](){return!0}static get[ft(478)](){return!0}static get[ft(331)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(251)]=this[i(228)][i(276)][i(445)](i(218)),this[i(262)]=this[i(228)][i(276)][i(445)](i(206)),this[i(451)]=new vt(this[i(228)]),this[i(256)]=this[i(228)][i(238)][i(445)](i(239))||i(485),this[i(454)]=new Map,this[i(368)]=null;const n=(0,t.uid)();this[i(257)]={history:this[i(228)][i(292)][i(382)][i(249)],getLatestVersion:()=>Promise[i(403)](this[i(228)][i(292)][i(382)][i(227)]),getCurrentRevisionId:()=>n},this[i(320)](i(412),!1),this[i(320)](i(255),!0),this[i(320)](i(272),!1),this[i(228)][i(238)][i(497)](i(339),!0),this[i(228)][i(405)][i(401)](i(347))[i(264)]({view:i(269)})}[ft(480)](){const t=ft;this[t(369)](),this[t(228)][t(356)].on(t(358),()=>{const e=t,i=this[e(251)][e(426)](0),n=i&&null===i[e(414)]?i:null;if(this[e(245)]=!!n&&this[e(228)][e(238)][e(445)](e(339)),this[e(228)][e(276)][e(232)](e(287))){const t=this[e(257)][e(419)](),s=this[e(251)][e(426)](t);if(s)this[e(463)]=s[e(378)],this[e(245)]=!1;else{const t=this[e(257)][e(249)][e(211)][e(225)](t=>!t[e(415)]),s=t?t[e(377)]:this[e(257)][e(249)][e(227)];i?(i[e(399)]<s&&i[e(330)]({toVersion:s}),this[e(245)]?(this[e(257)][e(419)]=()=>n.id,this[e(463)]=n[e(378)]):(this[e(463)]=i[e(399)],this[e(245)]=!1)):(this[e(463)]=s,this[e(245)]=!1)}}else n&&(this[e(228)][e(292)][e(382)][e(249)][e(227)]=Math[e(289)](n[e(399)],this[e(228)][e(292)][e(382)][e(249)][e(227)]),n[e(378)]===n[e(399)]?(0!==n[e(378)]&&(this[e(257)][e(419)]=()=>n.id),this[e(245)]=!1):this[e(245)]&&(this[e(257)][e(419)]=()=>n.id,this[e(463)]=n[e(378)])),this[e(245)]||(this[e(463)]=this[e(228)][e(292)][e(382)][e(227)]);this[e(451)][e(480)](this[e(257)][e(249)]),this[e(429)](this[e(463)]),this[e(441)](this[e(463)]),this[e(499)]&&this[e(307)]()}),this[t(458)](t(412)).to(this,t(272),t=>!t),this[t(241)]=this[t(228)][t(238)][t(445)](t(241));const e=this[t(228)];this[t(316)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(510)==r||i(336)==r||i(295)==r||i(486)==r||i(353)==r||i(389)==r||i(462)==r||i(242)==r){delete e[s],n=r,clearInterval(this[i(316)]),this[i(316)]=void 0;break}}i(336)==n&&e[i(457)](i(460)),i(295)==n&&e[i(457)](i(283)),i(486)==n&&e[i(457)](i(440)),i(353)==n&&e[i(457)](i(342),i(423)),i(389)==n&&e[i(457)](i(367)),i(462)==n&&e[i(457)](i(444)),i(242)==n&&e[i(457)](i(519))},1e3)}async[ft(326)](){const t=ft;if(this[t(251)][t(236)]>0){const e=this[t(251)][t(426)](0),i=await this[t(210)](e),n=await this[t(509)](e);this[t(505)](i,n)}}[ft(379)](){const t=ft;super[t(379)](),this[t(316)]&&clearInterval(this[t(316)])}[ft(524)](t){this[ft(257)]=t}async[ft(254)](){const t=ft,e=await this[t(257)][t(436)]();if(e>this[t(521)][t(399)]){await this[t(332)]();const i=this[t(523)]({revision:this[t(521)],to:e});i[t(475)]=i[t(380)][t(500)](e=>this[t(228)][t(276)][t(445)](t(281))[t(456)](e)),this[t(521)][t(330)](i)}}async[ft(370)](e={},i=null){const n=ft,s=[];await this[n(332)](),this[n(245)]=!1,i>this[n(521)][n(399)]&&(i=null),null===i&&(i=await this[n(257)][n(436)]());const r=this[n(513)](i),o=this[n(523)]({from:r,to:i});if(this[n(521)][n(399)]<i){const t=this[n(523)]({revision:this[n(521)],from:i,to:i});t[n(475)]=[],t[n(380)]=[],t.id=this[n(521)].id,this[n(521)][n(330)](t,!0),delete t[n(475)],s[n(311)](t)}e[n(388)]=this[n(228)][n(276)][n(445)](n(281)).me.id,e[n(271)]=e[n(271)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(344)](e);s[n(311)](e);const c=this[n(251)][n(522)](a);if(0!==c){const t=this[n(251)][n(426)](c-1);if(t[n(378)]!==i){const r=this[n(451)][n(512)](i,t[n(399)]),o={id:t.id,diffData:r[n(514)],authorsIds:r[n(380)],authors:r[n(380)][n(500)](t=>this[n(228)][n(276)][n(445)](n(281))[n(456)](t)),fromVersion:i};t===this[n(521)]&&(o[n(337)]=new Date(e[n(337)][n(275)]()+10)),t[n(330)](o,!0),delete o[n(475)],s[n(311)](o)}}if(this[n(499)]){for(const t of s)this[n(507)](t.id,t,!0);this[n(307)]()}return a}[ft(344)](t){const e=ft,i=this[e(251)][e(520)](t);return this[e(499)]&&i.on(e(330),(t,i,n)=>{const s=e;n||(this[s(507)](i.id,i,!0),this[s(307)]())}),this[e(251)][e(270)](i,this[e(319)](i)),i}async[ft(210)](t){const e=ft;return await this[e(262)][e(473)](t,this[e(499)]),this[e(262)][e(210)](t)}async[ft(509)](t){const e=ft;return await this[e(262)][e(473)](t,this[e(499)]),this[e(262)][e(509)](t)}[ft(307)](){const t=ft;if(0===this[t(454)][t(408)])return;if(this[t(272)])return;let e=Array[t(418)](this[t(454)][t(293)]());this[t(454)][t(493)]();for(let i=0;i<e[t(236)];i++){const n=e[i];let s=!1;for(const e of Object[t(376)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(498)](t=>null!==t),!e[t(236)])return;for(let i=0;i<e[t(236)];i++){const n=e[i];void 0!==n[t(378)]&&void 0===n[t(399)]&&(n[t(399)]=this[t(251)][t(426)](n.id)[t(399)]),void 0!==n[t(399)]&&void 0===n[t(378)]&&(n[t(378)]=this[t(251)][t(426)](n.id)[t(378)])}const i=this[t(228)][t(238)][t(445)](t(239));this[t(272)]=!0,this[t(333)](),this[t(499)][t(439)](e,i)[t(391)](()=>{this[t(272)]=!1})[t(374)](e=>{const i=t;if(e)for(const t of e)this[i(420)]({id:t.id,createdAt:t[i(337)]});this[i(360)](),this[i(307)]()})}[ft(523)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(378)],i=null!==i?i:t[n(399)];const s=this[n(451)][n(512)](e,i),r={diffData:s[n(514)],authorsIds:s[n(380)],fromVersion:e,toVersion:i};if(!t||i!==t[n(399)]){const t=i-1,e=this[n(257)][n(249)][n(430)](t);r[n(337)]=e&&e[n(337)]||new Date}if(this[n(368)]&&e===this[n(368)][n(378)])for(const t of this[n(368)][n(475)])r[n(380)][n(321)](t.id)||r[n(380)][n(311)](t.id);return r}[ft(507)](t,e,i){const n=ft;if(this[n(454)][n(232)](t)){const s=this[n(454)][n(445)](t);e=i?{...s,...e}:{...e,...s}}this[n(454)][n(320)](t,e)}[ft(420)](t){const e=ft,i=this[e(251)][e(426)](t.id);if(t[e(337)]&&(t[e(337)]=new Date(t[e(337)])),t[e(380)]){const i=this[e(228)][e(276)][e(445)](e(281));t[e(475)]=t[e(380)][e(500)](t=>i[e(456)](t))}i[e(330)](t,!0)}[ft(429)](t){const e=ft,i=this[e(251)][e(426)](this[e(251)][e(236)]-1);if(i)this[e(256)]=i.id;else{const i=!this[e(228)][e(292)][e(382)][e(340)][e(225)](t=>this[e(228)][e(292)][e(364)](t)),n=this[e(228)][e(276)][e(445)](e(281)).me.id,s=at(this[e(228)][e(397)],e(i?265:355));this[e(504)]({from:t,to:t,id:this[e(256)],name:s,creatorId:n})}}[ft(441)](t){const e=ft,i=this[e(257)][e(419)]();this[e(521)]=this[e(251)][e(426)](i),this[e(521)]||(this[e(521)]=this[e(504)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(332)](){const t=ft;this[t(245)]&&!this[t(368)]&&(await this[t(262)][t(473)](this[t(521)],this[t(499)]),this[t(451)][t(212)](this[t(521)]),this[t(368)]={fromVersion:this[t(521)][t(378)],authors:this[t(521)][t(475)][t(302)]()})}[ft(505)](e,i){const n=ft;let s=this[n(228)][n(238)][n(445)](n(375)),r=this[n(228)][n(238)][n(445)](n(411));if(void 0===s){s={};for(const t of this[n(228)][n(292)][n(382)][n(220)]())s[t]=""}if(n(517)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(228)][n(292)][n(382)][n(220)]())r[t]={}}let o=!1;const a=Object[n(376)](s),c=Object[n(376)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(402)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(376)](r[t])[n(236)]>0){o=!0;break}}o||(o=c[n(495)](t=>!this[n(228)][n(292)][n(382)][n(501)](t))),o&&(0,t.logWarning)(n(309),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(228)][n(238)][n(320)](n(375),e),this[n(228)][n(238)][n(320)](n(411),i)}[ft(333)](){const t=ft;if(!this[t(476)]){const e=this[t(228)][t(276)][t(445)](t(488));this[t(476)]=e[t(394)](at(this[t(228)][t(397)],t(428)))}}[ft(360)](){const t=ft;this[t(476)]&&(this[t(228)][t(276)][t(445)](t(488))[t(390)](this[t(476)]),this[t(476)]=null)}[ft(319)](t){const e=ft,i=this[e(251)][e(288)]();i[e(474)]();let n=0;for(;n<i[e(236)];){const s=i[n];if(s===this[e(521)]){n++;continue}if(s.id===this[e(256)])break;const r=t[e(399)]-s[e(399)]||t[e(378)]-s[e(378)];if(r>0)break;if(r<0)n++;else{if(!t[e(414)]&&s[e(414)])break;if(s[e(414)]||!t[e(414)]){if(t[e(337)]>s[e(337)])break;n++}else n++}}return n}[ft(513)](t){const e=ft,i=this[e(251)][e(288)]();i[e(474)](),i[e(266)]();const n=i[e(225)](i=>i[e(399)]<=t)[e(399)];return n<this[e(463)]?this[e(463)]:n}[ft(504)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(523)]({from:e,to:i});o[r(271)]=t,o[r(388)]=n,o.id=s;const a=this[r(344)](o);return this[r(499)]&&this[r(507)](o.id,o,!0),a}[ft(369)](){const t=ft;this[t(228)][t(405)][t(401)](t(371))[t(503)]({model:t(269)})}}class vt{[ft(228)];[ft(422)];[ft(395)];[ft(231)];[ft(301)];[ft(427)];[ft(273)];[ft(527)];[ft(300)];[ft(525)];[ft(274)];[ft(511)];[ft(304)];[ft(392)];[ft(282)];[ft(482)];[ft(492)];constructor(t){const e=ft;this[e(228)]=t,this[e(395)]=new Map,this[e(231)]=-1,this[e(301)]=-1,this[e(427)]=new Map,this[e(273)]=new Map,this[e(527)]=new Map,this[e(300)]=new Map,this[e(525)]=new Map,this[e(274)]=new Map,this[e(511)]=new Map,this[e(304)]=new Map,this[e(392)]=new Map,this[e(282)]=new Map,this[e(482)]=1}[ft(480)](t){const e=ft;this[e(422)]=t;const i=new Map,n=new Map,s=this[e(228)][e(292)][e(382)][e(340)][e(500)](t=>t[e(297)]);for(const t of s){const s=this[e(228)][e(292)][e(382)][e(501)](t),r=gt(s);i[e(320)](t,r),n[e(320)](t,Object[e(260)](s[e(209)]()))}const r=Array[e(418)](this[e(228)][e(292)][e(327)])[e(500)](t=>[t[e(271)],t[e(303)]()]),o=this[e(422)][e(227)];this[e(335)](o,i,r,n),this[e(492)]=this[e(482)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(320)](t,i),c[e(320)](t,{})}this[e(335)](Number[e(453)],a,[],c)}[ft(512)](t,e){const i=ft;if(this[i(231)]===t&&this[i(301)]<=e)this[i(395)][i(408)]>1&&this[i(363)](this[i(301)]),this[i(237)](this[i(301)],e,!0);else{if(!this[i(395)][i(232)](t)){const e=this[i(452)](t);this[i(424)](e,t,!1)}this[i(424)](t,e,!0)}return this[i(231)]=t,this[i(301)]=e,this[i(216)]()}[ft(212)](t){const e=ft,i=this[e(228)][e(276)][e(445)](e(206));this[e(322)](),this[e(231)]=t[e(378)],this[e(301)]=t[e(399)];for(const n in t[e(514)]){const s=t[e(514)][n][e(359)],r=A(t[e(514)][n][e(362)])||{},o=i[e(253)](t[e(514)][n][e(393)]);o[e(297)]=n,o[e(373)]=!s||!s[e(383)],o[e(383)]=()=>o[e(373)],this[e(300)][e(320)](n,o),this[e(525)][e(320)](n,r),s&&this[e(282)][e(320)](n,s);const a=this[e(279)](o);this[e(511)][e(320)](n,a);for(const[t,i]of o[e(327)]){if(!t[e(372)](e(298)))continue;const n=t[e(267)](":")[2];for(const t of i[e(447)]({singleCharacters:!0})){const i=this[e(365)](t),s=e(434)==t[e(278)]?t[e(246)][e(306)][e(302)](0,-1):t[e(246)][e(306)],r=a[e(385)](s)[e(469)](i);this[e(304)][e(320)](r,{userId:n})}}}this[e(492)]=this[e(482)];const n=[...Array(this[e(482)])[e(376)]()][e(302)](1)[e(498)](t=>!this[e(304)][e(232)](t));let s=0;const r=new Map;for(const o in t[e(514)]){const a=t[e(514)][o][e(359)],c=A(t[e(514)][o][e(487)])||{},u=i[e(253)](t[e(514)][o][e(349)]);u[e(297)]=o,u[e(373)]=!a||a[e(383)],u[e(383)]=()=>u[e(373)],this[e(273)][e(320)](o,u),this[e(527)][e(320)](o,c);const l=this[e(279)](u,Number[e(453)]);this[e(274)][e(320)](o,l),r[e(320)](o,u[e(383)]()?c:{});for(const[t,i]of u[e(327)]){if(!t[e(372)](e(298)))continue;const n=t[e(267)](":")[2];for(const t of i[e(447)]({singleCharacters:!0})){const i=this[e(365)](t),s=this[e(482)]++,r=e(434)==t[e(278)]?t[e(246)][e(306)][e(302)](0,-1):t[e(246)][e(306)];l[e(385)](r)[e(240)](i,s),this[e(304)][e(320)](s,{userId:n})}}for(const t of this[e(228)][e(292)][e(404)](u)[e(447)]({singleCharacters:!0})){const i=this[e(365)](t),r=e(434)==t[e(278)]?t[e(246)][e(306)][e(302)](0,-1):t[e(246)][e(306)],o=l[e(385)](r);o[e(469)](i)>0||o[e(240)](i,n[s++])}for(const[t,i]of u[e(327)])t[e(372)](e(298))||this[e(427)][e(320)](t,i)}const o=yt(e(461));this[e(300)][e(320)](e(461),o),this[e(511)][e(320)](e(461),this[e(279)](o,1));const a=yt(e(461));this[e(273)][e(320)](e(461),a),this[e(274)][e(320)](e(461),this[e(279)](a,1));const c=Array[e(418)](this[e(273)])[e(500)](([t,e])=>[t,gt(e)]);this[e(335)](this[e(301)],c,this[e(427)],r)}[ft(432)](){const t=ft;this[t(322)](),this[t(231)]=-1,this[t(301)]=-1,this[t(395)][t(493)](),this[t(480)](this[t(422)])}[ft(335)](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(320)](t,{start:e[s(346)][s(464)](),end:e[s(508)][s(464)](),rootName:e[s(317)][s(297)]});this[s(395)][s(320)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(363)](t){const e=ft;this[e(395)][e(229)](t)}[ft(322)](){const t=ft;this[t(304)][t(493)](),this[t(392)][t(493)](),this[t(282)][t(493)](),this[t(273)][t(493)](),this[t(527)][t(493)](),this[t(300)][t(493)](),this[t(525)][t(493)](),this[t(274)][t(493)](),this[t(511)][t(493)](),this[t(427)][t(493)](),this[t(482)]=1,this[t(492)]=this[t(482)]}[ft(279)](t,e=null){const i=ft;let n=null;t.is(i(248))||(n=new X.ModelElement(t[i(271)],{vid_start:null===e?this[i(482)]++:e++}));const s=[];for(const n of t[i(530)]())if(n.is(i(207))){s[i(311)](this[i(279)](n,e));const t=s[s[i(236)]-1];null!==e&&(e=t.is(i(207),i(433))?t[i(469)](i(467))+1:t[i(469)](i(277))+1)}else for(let t=0;t<n[i(310)];t++)s[i(311)](new X.ModelElement(i(433),{vid:null===e?this[i(482)]++:e++}));if(t.is(i(248))){const e=yt(t[i(297)]);return e[i(384)](0,s),e}return n[i(240)](i(277),null===e?this[i(482)]++:e++),n[i(384)](0,s),n}[ft(424)](t,e,i){const n=ft;this[n(322)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(395)][n(445)](t);this[n(300)]=new Map(s),this[n(525)]=new Map(A(o));for(const[t,e]of this[n(300)])if(n(461)!==t&&(this[n(273)][n(320)](t,gt(e)),this[n(527)]=new Map(A(o)),i)){const i=this[n(482)];this[n(274)][n(320)](t,this[n(279)](e)),this[n(511)][n(320)](t,this[n(279)](e,i))}this[n(492)]=this[n(482)],this[n(273)][n(320)](n(461),gt(this[n(300)][n(445)](n(461)))),i&&this[n(274)][n(320)](n(461),this[n(279)](this[n(300)][n(445)](n(461))));for(const[t,e]of r){const i=this[n(300)][n(445)](e[n(297)]),s=this[n(273)][n(445)](e[n(297)]),r=new X.ModelRange(this[n(284)](e[n(346)],i),this[n(284)](e[n(508)],i)),o=this[n(449)](r,s);i[n(327)][n(320)](t,r),this[n(427)][n(320)](t,o)}this[n(237)](t,e,i)}[ft(237)](t,e,i){const n=ft;for(const s of this[n(422)][n(348)](t,e))this[n(528)](s,i);for(const t of this[n(273)][n(293)]())t[n(327)][n(493)]();for(const[t,e]of this[n(427)])this[n(273)][n(445)](e[n(317)][n(297)])[n(327)][n(320)](t,e[n(464)]());const s=new Map,r=new Map;for(const[t,e]of this[n(273)])s[n(320)](t,gt(e)),r[n(320)](t,this[n(527)][n(445)](t));this[n(335)](e,s,this[n(427)],r)}[ft(452)](t){const e=ft,i=Array[e(418)](this[e(395)][e(376)]());i[e(357)]((t,e)=>t-e),i[e(474)]();for(const e of i)if(e<t)return e;return Number[e(453)]}[ft(421)](t,e){const i=ft,n=Array[i(418)](e[i(327)])[i(500)](([e,n])=>[e,this[i(449)](n,t)]);t[i(327)]=new Map(n)}[ft(361)](t){const e=ft;for(const i of this[e(427)][e(293)]()){const n=i[e(230)](t),s=X.ModelRange[e(215)](n);i[e(346)]=s[e(346)],i[e(508)]=s[e(508)]}}[ft(528)](t,e){const i=ft;if(i(477)!=t[i(278)]&&i(250)!=t[i(278)]){if(i(471)==t[i(278)]){const n=t[i(409)][i(317)][i(297)];this[i(273)][i(232)](n)||(this[i(273)][i(320)](n,yt(n,!0)),this[i(527)][i(320)](n,{}),e&&this[i(274)][i(320)](n,yt(n,!0)))}else{if(i(318)==t[i(278)]||i(366)==t[i(278)]||i(502)==t[i(278)])return void this[i(483)](t);i(506)==t[i(278)]&&this[i(299)](t)}if(i(506)!==t[i(278)]){const e=this[i(263)](t,this[i(273)]);e[i(407)](),this[i(361)](e)}if(e)switch(t[i(278)]){case i(471):this[i(312)](t);break;case i(416):case i(390):case i(400):this[i(226)](t);break;case i(268):this[i(442)](t);break;case i(267):this[i(396)](t)}}else this[i(247)](t,e)}[ft(263)](t,e){const i=ft,n=t[i(464)]();return n[i(425)]=t[i(425)],this[i(334)](n,e),n}[ft(443)](t){const e=ft;return t[e(500)](t=>{const i=e,n=this[i(365)](t);return Number(t[i(259)][i(469)](n))})}[ft(350)](t,e){const i=ft;if(t.is(i(207),i(433)))e[i(311)]({item:t,type:i(435)});else{t.is(i(207))&&e[i(311)]({item:t,type:i(314)});for(const n of t[i(530)]())this[i(350)](n,e);t.is(i(207))&&e[i(311)]({item:t,type:i(434)})}return e}[ft(216)](){const t=ft,e=new Map(this[t(304)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(300)][t(376)](),...this[t(273)][t(376)]()]);a[t(229)](t(461));for(const e of a){const i=this[t(273)][t(445)](e)||yt(e,!1),n=this[t(300)][t(445)](e)||yt(e,!1);i[t(383)]()||n[t(383)]()?(s[t(349)][e]=gt(i),s[t(393)][e]=gt(n),this[t(421)](s[t(393)][e],n),this[t(421)](s[t(349)][e],i),r[t(349)][e]=this[t(350)](this[t(274)][t(445)](e),[]),r[t(393)][e]=this[t(350)](this[t(511)][t(445)](e)||yt(e,!1),[])):a[t(229)](e)}for(const s of a){const o=r[t(349)][s];for(const s of o){const r=this[t(365)](s),o=s[t(259)][t(469)](r);i[t(229)](o),o>=this[t(492)]&&n[t(320)](o,e[t(445)](o))}}for(const s of a){const a=r[t(349)][s],c=this[t(443)](r[t(393)][s]);let u=0;for(const s of a){const r=this[t(365)](s),a=s[t(259)][t(469)](r);if(!n[t(232)](a)&&!o[t(232)](a))if(i[t(232)](a))u++;else{if(a!=c[u]){const n=e[t(445)](a)||e[t(445)](c[u]);for(;a!=c[u];)i[t(232)](c[u])||(o[t(320)](c[u],n),e[t(320)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(349)][e];for(const e of s){const s=this[t(365)](e),r=e[t(259)][t(469)](s);if(o[t(232)](r)){const e=o[t(445)](r);i[t(232)](r)||i[t(320)](r,{...e}),n[t(320)](r,{...e})}}}for(const e of i[t(376)]())e>=this[t(492)]&&i[t(229)](e);const c=new Map;for(const e of a){let s=r[t(349)][e];for(const e of s)if(e[t(259)].is(t(207),t(446))){const i=this[t(365)](e),s=e[t(259)][t(469)](i);if(n[t(232)](s)){const i=e[t(259)][t(455)][t(455)][t(469)](t(381)),r=c[t(445)](i)||new Set;r[t(394)](n[t(445)](s)[t(496)]),c[t(320)](i,r)}}s=r[t(393)][e];for(const e of s)if(e[t(259)].is(t(207),t(446))){const n=this[t(365)](e),s=e[t(259)][t(469)](n);if(i[t(232)](s)){const n=e[t(259)][t(455)][t(455)][t(469)](t(381)),r=c[t(445)](n)||new Set;r[t(394)](i[t(445)](s)[t(496)]),c[t(320)](n,r)}}for(const e of c[t(376)]())(n[t(232)](e)||i[t(232)](e))&&c[t(229)](e)}for(const e of a){const s=r[t(349)][e];let o=null,a=null;for(const e of s){const s=this[t(365)](e),r=e[t(259)][t(469)](s),u=c[t(445)](r);u&&t(314)==e[t(278)]&&(o=Array[t(418)](u)[0],a=e[t(259)][t(469)](t(277))),o&&(i[t(320)](r,{userId:o}),n[t(320)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(393)][e],a=s[t(349)][e];for(const{userId:e}of this[t(392)][t(293)]())null!==e&&l[t(394)](e);for(const{userId:e}of this[t(282)][t(293)]())null!==e&&l[t(394)](e);this[t(219)](a,r[t(349)][e],n,t(258),l),this[t(219)](o,r[t(393)][e],i,t(465),l),u[e]={insertions:this[t(491)](a),deletions:this[t(491)](o),attachChange:this[t(282)][t(445)](e)||null,attributesBefore:A(this[t(525)][t(445)](e))||{},attributesAfter:A(this[t(527)][t(445)](e))}}return{diffData:u,authorsIds:Array[t(418)](l)}}[ft(518)](t){const e=ft;for(const[,i]of t[e(327)]){const t=i[e(346)][e(472)]()[e(498)](t=>e(446)==t[e(271)]);for(const i of t)1==i[e(313)]&&i[e(235)](0).is(e(207),e(386))&&i[e(235)](0)[e(240)](e(291),!0)}}[ft(491)](t){const e=ft;this[e(518)](t);const i=this[e(228)][e(356)][e(243)](t,{}),n=Array[e(418)](i[e(530)]())[e(500)](t=>this[e(479)](t));return JSON[e(324)](n)}[ft(479)](t){const e=ft;if(t.is(e(433)))return t[e(356)];{const i=this[e(228)][e(276)][e(445)](e(206)),n=t,s=this[e(228)][e(356)][e(261)][e(323)],r={type:i[e(481)](n),name:n[e(271)],attributes:Array[e(418)](n[e(209)]()),children:Array[e(418)](n[e(530)]())[e(500)](t=>this[e(479)](t))};if(t.is(e(221))&&e(222)!=t[e(271)]){const i=t[e(417)](s[e(459)],s);r[e(387)][e(311)](i[e(328)])}else if(t.is(e(354))){const i=s[e(459)][e(406)](n[e(271)]);t[e(417)](i,s),r[e(387)][e(311)](i[e(516)])}const o=Array[e(418)](n[e(325)]());o[e(236)]>0&&(r[e(213)]=o);const a=n[e(490)]();return null!==a&&(r[e(296)]=a),r}}[ft(219)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(228)][r(292)];for(let n=0;n<e[r(236)];n++){const s=this[r(365)](e[n]),c=e[n][r(259)][r(469)](s),h=i[r(445)](c),d=n==e[r(236)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(496)]!=o[r(496)])&&(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(496)],d=l(298)+n+":"+h+":"+c++,f=u[l(308)](i,a);t[l(327)][l(320)](d,f),null!==h&&s[l(394)](h)}}[ft(365)](t){const e=ft;switch(t[e(278)]){case e(314):return e(381);case e(434):return e(277);default:return e(467)}}[ft(334)](t,e){const i=ft;t[i(377)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(445)](s[i(317)][i(297)]);t[n]=this[i(284)](s,r)}if(s instanceof X.ModelRange){const r=e[i(445)](s[i(317)][i(297)]);t[n]=this[i(449)](s,r)}i(317)===n&&(t[i(317)]=e[i(445)](t[i(317)][i(297)]))}}[ft(449)](t,e){const i=ft;return this[i(228)][i(292)][i(308)](this[i(284)](t[i(346)],e),this[i(284)](t[i(508)],e))}[ft(284)](t,e){const i=ft;return this[i(228)][i(292)][i(208)](e,t[i(306)],t[i(489)])}[ft(312)](t){const e=ft,i=this[e(274)][e(445)](t[e(409)][e(317)][e(297)]),n=this[e(284)](t[e(409)],i),s=null===t[e(425)]?null:t[e(425)]||this[e(228)][e(276)][e(445)](e(281)).me.id,r=n[e(455)],o=this[e(482)],a=[];for(const i of t[e(341)])if(i.is(e(207)))a[e(311)](this[e(279)](i));else for(let t=0;t<i[e(310)];t++)a[e(311)](new X.ModelElement(e(433),{vid:this[e(482)]++}));const c=this[e(482)];for(let t=o;t<c;t++)this[e(304)][e(320)](t,{userId:s});r[e(384)](n[e(343)],a)}[ft(226)](t){const e=ft;(t=this[e(263)](t,this[e(274)]))[e(407)]();const i=null===t[e(425)]?null:t[e(425)]||this[e(228)][e(276)][e(445)](e(281)).me.id,n=t[e(286)](),s=n[e(455)],r=n[e(343)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(235)](e);r.is(a(207),a(433))?n[a(320)](r[a(469)](a(467)),{userId:i}):(n[a(320)](r[a(469)](a(381)),{userId:i}),t(n,r,0,r[a(313)]),n[a(320)](r[a(469)](a(277)),{userId:i}))}}(this[e(304)],s,r,r+t[e(285)])}[ft(442)](t){const e=ft,i=null===(t=this[e(263)](t,this[e(274)]))[e(425)]?null:t[e(425)]||this[e(228)][e(276)][e(445)](e(281)).me.id,n=t[e(329)][e(455)],s=t[e(280)][e(455)],r=n[e(469)](e(277)),o=s[e(469)](e(381));n[e(240)](e(277),s[e(469)](e(277))),s[e(240)](e(277),r),this[e(304)][e(320)](o,{userId:i}),this[e(304)][e(320)](r,{userId:i}),t[e(407)]()}[ft(396)](t){const e=ft,i=null===(t=this[e(263)](t,this[e(274)]))[e(425)]?null:t[e(425)]||this[e(228)][e(276)][e(445)](e(281)).me.id,n=t[e(290)],s=t[e(351)][e(455)];t[e(407)]();const r=s[e(469)](e(277)),o=t[e(484)][e(410)];if(n){const t=o[e(469)](e(277)),n=s[e(469)](e(277));s[e(240)](e(277),t),o[e(240)](e(277),n),this[e(304)][e(320)](s[e(469)](e(277)),{userId:i}),this[e(304)][e(320)](o[e(469)](e(381)),{userId:i})}else{const t=this[e(482)]++,n=this[e(482)]++;s[e(240)](e(277),t),o[e(240)](e(381),n),o[e(240)](e(277),r),this[e(304)][e(320)](t,{userId:i}),this[e(304)][e(320)](n,{userId:i})}}[ft(299)](t){const e=ft;if(!t[e(217)])return;const i=(t=this[e(263)](t,this[e(273)]))[e(244)]?t[e(244)][e(317)]:null,n=t[e(515)]?t[e(515)][e(317)]:null;i&&this[e(427)][e(229)](t[e(271)]),n&&this[e(427)][e(320)](t[e(271)],t[e(515)][e(464)]());const s=null===t[e(425)]?null:t[e(425)]||this[e(228)][e(276)][e(445)](e(281)).me.id,r=t[e(271)];if(!this[e(392)][e(232)](r))return void this[e(392)][e(320)](r,{range:t[e(244)],userId:s});const o=this[e(392)][e(445)](r),a=o[e(448)],c=t[e(515)];null==a&&null==c||a&&c&&a[e(252)](c)?this[e(392)][e(229)](t[e(271)]):o[e(496)]=s}[ft(247)](t,e){const i=ft;this[i(273)][i(232)](t[i(297)])?this[i(273)][i(445)](t[i(297)])[i(373)]=t[i(438)]:(this[i(273)][i(320)](t[i(297)],yt(t[i(297)],!0)),this[i(527)][i(320)](t[i(297)],{}),e&&this[i(274)][i(320)](t[i(297)],yt(t[i(297)],!0)));const n=null===t[i(425)]?null:t[i(425)]||this[i(228)][i(276)][i(445)](i(281)).me.id,s=this[i(282)][i(445)](t[i(297)]);s&&s[i(496)]===n?this[i(282)][i(229)](t[i(297)]):this[i(282)][i(320)](t[i(297)],{userId:n,isAttached:t[i(438)]})}[ft(483)](t){const e=ft,i=this[e(527)][e(445)](t[e(317)][e(297)]);null===t[e(470)]?delete i[t[e(413)]]:i[t[e(413)]]=t[e(470)]}}function gt(t){const e=ft,i=yt(t[e(297)],t[e(383)]());for(const n of t[e(530)]()){const t=n[e(431)](!0);i[e(234)](t)}return i}function yt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(297)]=t,n[i(373)]=e,n[i(383)]=()=>n[i(373)],n}function kt(){const t=["position","nodeAfter","rootsAttributes","isReady","key","creator","_isInit","move","render","from","getCurrentRevisionId","setRevisionData","_copyMarkers","source","RevisionHistory","_calculateMetaData","_authorId","getRevision","_markers","PENDING_ACTION_REVISION_HISTORY","_createInitialRevision","getOperation","_clone","reInit","$text","elementEnd","text","getLatestVersion","7920253VTNDtI","isAdd","updateRevisions","domainLimit","_createCurrentRevision","_handleMergeOperation","_getBaseVids","trialLimit","get","tableCell","getWalker","range","_fixRange","203494Ccayjr","_revisionDataBuilder","_getPreviousFrom","NEGATIVE_INFINITY","_bufferedUpdates","parent","getUser","_showLicenseError","bind","domDocument","invalid","$graveyard","revisionHistoryLicenseKeyTrialLimit","_startingVersion","clone","deletion","createPositionBefore","vid","14ytfTEt","getAttribute","newValue","insert","getAncestors","loadRevisionData","reverse","authors","_pendingAction","addRoot","isPremiumPlugin","_getViewJson","init","_getTypeCharForViewElement","_revisionId","_handleRootAttributeOperation","insertionPosition","initial","revisionHistoryLicenseKeyDomainLimit","attributesAfter","PendingActions","stickiness","getFillerOffset","_prepareViewToSave","_startingRevisionId","clear","63oLBweq","some","userId","define","filter","adapter","map","getRoot","changeRootAttribute","markerToData","_makeRevision","_replaceEditorDataWithRevisionData","marker","_bufferUpdate","end","getRevisionRootsAttributes","revisionHistoryLicenseKeyValid","_baseIdsRoots","getData","_getFromVersion","diffData","newRange","innerHTML","string","_processRootBeforeSave","usageLimit","createRevision","currentRevision","getIndex","buildRevisionData","setSource","_baseRootsAttributes","3704478cVNrAm","_diffRootsAttributes","_handleOperation","RevisionTracker","getChildren","RevisionHistoryUtils","element","createPositionFromPath","getAttributes","getRevisionDocumentData","_operations","loadState","customProperties","855xVbzxL","_createFromRanges","_getState","affectsData","RevisionsRepository","_markChanges","getRootNames","uiElement","$comment","274004fedZKr","36DJgIFO","find","_handleMoveOperation","version","editor","delete","getTransformedByOperation","_lastFrom","has","113830nOxUNK","_appendChild","getChild","length","_applyOperations","config","collaboration.channelId","_setAttribute","licenseKey","revisionHistoryLicenseKeyUsageLimit","toView","oldRange","_continueCurrentRevision","previousPosition","_handleRootOperation","documentFragment","history","detachRoot","repository","isEqual","_makeModelFromViewString","update","isEnabled","_initialRevisionId","_source","insertion","item","fromEntries","htmlProcessor","_utils","_cloneOperation","dataToMarker","Empty document","shift","split","merge","revision","addRevision","name","_isPendingUpdate","_diffRoots","_idsRoots","getTime","plugins","vid_end","type","_makeIdsRoot","sourcePosition","Users","_touchedRoots","expired","_fixPosition","howMany","getMovedRangeStart","RealTimeCollaborationClient","getRevisions","max","graveyardPosition","keepParagraph","model","values","1906985kTTpLn","revisionHistoryLicenseKeyExpired","fillerOffset","rootName","revision:","_handleMarkerOperation","_baseRoots","_lastTo","slice","getRange","_touched","createPositionAfter","path","sendBufferedUpdates","createRange","editor-initial-data-replaced-with-revision-data","offsetSize","push","_handleInsertOperation","childCount","elementStart","5926168HGpbCc","_licenseKeyCheckInterval","root","addRootAttribute","_findInsertionIndex","set","includes","_reset","domConverter","stringify","getCustomProperties","afterInit","markers","outerHTML","targetPosition","_update","requires","_loadState","_addPendingAction","_fixOperation","_saveMetaData","revisionHistoryLicenseKeyInvalid","createdAt","createPositionAt","revisionHistory.resumeUnsavedRevision","roots","nodes","featureNotAllowed","offset","addRevisionData","pluginName","start","upcast","getOperations","insertions","_generateTape","splitPosition","14pSsBhf","revisionHistoryLicenseKeyNotAllowed","rawElement","Initial revision","data","sort","ready","attachChange","_removePendingAction","_transformMarkers","attributesBefore","_removeMetaData","hasContent","_getVidAttributeName","removeRootAttribute","evaluationLimit","_loadedStateData","_setConversion","saveRevision","dataDowncast","startsWith","_isAttached","then","initialData","keys","baseVersion","fromVersion","destroy","authorsIds","vid_start","document","isAttached","_insertChild","getNodeByPath","paragraph","children","creatorId","revisionHistoryLicenseKeyEvaluationLimit","remove","finally","_touchedMarkers","deletions","add","_savedMetaData","_handleSplitOperation","locale","isOfficialPlugin","toVersion","reinsert","for","trim","resolve","createRangeIn","conversion","createElement","_execute","size"];return(kt=function(){return t})()}function bt(t,e,i){const n=ft,s=n(434)==t[n(278)]?i[n(338)](t[n(259)],n(508)):i[n(466)](t[n(259)]);return i[n(208)](e,s[n(306)],s[n(489)])}function wt(t,e,i){const n=ft,s=n(314)==t[n(278)]?i[n(338)](t[n(259)],0):i[n(305)](t[n(259)]);return i[n(208)](e,s[n(306)],s[n(489)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),xt=i(545),Tt=i.n(xt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Et=i(357),Dt=i.n(Et),Vt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ft=i(959),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=Rt().bind(null,"head"),Lt.domAPI=Tt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=zt;function Pt(){const t=["220","234ieGkgg","Name of the revision","locale","label","_createRevisionNameInput","arrowdown","render","form","revisionNameInputView","focus","1523695SqkBFa","revisionName","trim","9404171GGSecI","setTemplate","extendTemplate","input","reset","initializeCssTransitionDisablerMixin","840208AxjZWH","add","arrowright","focusTracker","ck-revision-history-save-revision-form","4674288EtMcLJ","errorText","94532KfHUMC","2564455hlTQNX","3993078cMFHBk","ck-responsive-form","keystrokes","set","optional","value","arrowup","6cgzuDx","element","listenTo","arrowleft","fieldView","stopPropagation","revisionNameInputValue"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(764551===parseInt(e(389))/1+-parseInt(e(405))/2+parseInt(e(407))/3+-parseInt(e(403))/4+parseInt(e(406))/5*(parseInt(e(371))/6)+parseInt(e(392))/7+-parseInt(e(398))/8*(parseInt(e(379))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(401)];[jt(409)];[jt(387)];constructor(e,i){const n=jt;super(e),this[n(401)]=new t.FocusTracker,this[n(409)]=new t.KeystrokeHandler,this[n(410)](n(377),""),this[n(387)]=this[n(383)](i),this[n(393)]({tag:n(386),attributes:{class:["ck",n(402),n(408)],tabindex:"-1"},children:[this[n(387)]]}),this[n(397)]()}[jt(385)](){const t=jt;super[t(385)](),(0,It.submitHandler)({view:this}),this[t(401)][t(399)](this[t(387)][t(372)]),this[t(409)][t(373)](this[t(372)]);const e=e=>e[t(376)]();this[t(409)][t(410)](t(400),e),this[t(409)][t(410)](t(374),e),this[t(409)][t(410)](t(413),e),this[t(409)][t(410)](t(384),e)}[jt(388)](){const t=jt;this[t(387)][t(388)]()}get[jt(390)](){const t=jt;return this[t(387)][t(375)][t(372)][t(412)][t(391)]()}set[jt(390)](t){const e=jt;this[e(387)][e(375)][e(372)][e(412)]=t[e(391)]()}[jt(396)](){const t=jt;this[t(387)][t(375)][t(372)][t(412)]="",this[t(387)][t(404)]=null}[jt(383)](t){const e=jt,i=new It.LabeledFieldView(this[e(381)],It.createLabeledInputText),n=i[e(375)];n[e(394)]({attributes:{maxlength:e(378)}});let s=at(this[e(381)],e(380));return!t&&(s+=" ("+at(this[e(381)],e(411))+")"),i[e(382)]=s,n.on(e(395),()=>{const t=e;this[t(377)]=n[t(372)][t(412)][t(391)]()}),i}}function Wt(t,e){const i=Zt();return(Wt=function(t,e){return i[t-=339]})(t,e)}const Ht=Wt;function Zt(){const t=["panelView","focus","requires","revisionHistory.requireRevisionName","reset","104736lAQpcg","revisionName","componentFactory","delegate","3614jAXWQy","Dialog","2LkwXQy","role","revisionNameInputView","bind","editing","pluginName","showRevisionViewerCallback","execute","174324vErSWH","273548yYeZko","_registerMenuComponent","isReadOnly","2323116PxVKVK","editor","_showDialog","set","Revision history","saveRevision","get","show","revisionSave","30omnewU","revisionHistory","_createSaveRevisionFormView","items","The revision name cannot be empty.","errorText","config","isEnabled","locale","children","Accept","isReady","addMany","Cancel","Save current revision","isOfficialPlugin","isPremiumPlugin","menuBar:revisionHistory","42OPvGEE","plugins","submit","view","1578040EbaNwM","Open revision history","70kykeyk","51QaaHYa","hide","menuitem","add","4021204XwNryK","init","buttonView","menu","_saveRevisionFormView","render","ck-button-action","isOpen","1749437bkJRwL","RevisionTracker","RevisionHistoryUI"];return(Zt=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(911202===-parseInt(e(387))/1*(parseInt(e(401))/2)+-parseInt(e(375))/3*(parseInt(e(410))/4)+-parseInt(e(372))/5*(parseInt(e(350))/6)+-parseInt(e(368))/7*(parseInt(e(395))/8)+-parseInt(e(341))/9*(-parseInt(e(374))/10)+-parseInt(e(379))/11+parseInt(e(409))/12*(parseInt(e(399))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ht(406)](){return Ht(389)}static get[Ht(365)](){return!0}static get[Ht(366)](){return!0}static get[Ht(392)](){return[pt]}[Ht(383)];[Ht(380)](){const t=Ht,e=this[t(342)],i=e[t(369)][t(347)](t(388));e.ui[t(397)][t(378)](t(351),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(390)][s(359)],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(357)).to(i,s(361),i,s(357),e,s(340),(t,e,i)=>t&&e&&!i),r[s(381)][s(344)]({icon:_t.IconHistory,label:at(n,s(345)),tooltip:!0}),u[s(344)]({label:at(n,s(364)),withText:!0,role:s(377)}),u[s(404)](s(357)).to(i,s(361),i,s(357),e,s(340),(t,e,i)=>t&&e&&!i),u.on(s(408),()=>this[s(343)]()),h[s(344)]({label:at(n,s(373)),withText:!0,role:s(377)}),h[s(404)](s(357)).to(i,s(361),e,s(340),(t,e)=>t&&!e),h.on(s(408),()=>{const t=s;e[t(356)][t(347)](t(351))[t(407)](),r[t(386)]=!1,e[t(405)][t(371)][t(391)]()}),c[s(359)][s(378)](u),l[s(359)][s(378)](h),a[s(402)]=s(382),a[s(353)][s(362)]([c,l]),o[s(378)](a),r}),e.ui[t(397)][t(378)](t(367),()=>this[t(339)]())}[Ht(339)](){const t=Ht,e=this[t(342)],i=e[t(358)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(381)][t(344)]({icon:_t.IconHistory,label:at(i,t(345))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(344)]({label:at(i,t(364))}),o[t(398)](t(408)).to(n),o.on(t(408),()=>{this[t(343)]()}),r[t(359)][t(378)](o),s[t(353)][t(378)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(344)]({label:at(i,t(373))}),c[t(398)](t(408)).to(n),c.on(t(408),()=>{const i=t;e[i(356)][i(347)](i(351))[i(407)]()}),a[t(359)][t(378)](c),s[t(353)][t(378)](a),n[t(390)][t(359)][t(378)](s),n}[Ht(343)](){const t=Ht,e=this[t(342)],i=e[t(358)],n=e[t(369)][t(347)](t(400)),s=e[t(369)][t(347)](t(388));function r(s){const r=t;e[r(356)][r(347)](r(393))&&""===s[r(396)]?s[r(403)][r(355)]=at(i,r(354)):(e[r(369)][r(347)](pt)[r(346)]({name:s[r(396)]}),n[r(376)]())}this[t(383)]||(this[t(352)](),this[t(383)].on(t(370),()=>r(this[t(383)]))),this[t(383)][t(394)](),n[t(348)]({id:t(349),title:at(i,t(364)),isModal:!0,content:this[t(383)],actionButtons:[{label:at(e[t(358)],t(363)),withText:!0,onExecute:()=>n[t(376)]()},{label:at(e[t(358)],t(360)),class:t(385),withText:!0,onCreate(i){const n=t;i[n(404)](n(357)).to(s,n(361),s,n(357),e,n(340),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(383)])}]})}[Ht(352)](){const t=Ht,e=this[t(342)],i=e[t(358)];this[t(383)]=new Ut(i,e[t(356)][t(347)](t(393))),this[t(383)][t(384)]()}}function $t(){const t=["focus","setTemplate","author","14101888uaSlcx","9bSxesh","4355358MgTDIQ","div","element","770yrxUhh","ck-revision-change__","isSuggestion","span","ck-revision-change__label","4pqGcPk","ck-annotation","name","Suggested by","add","7514715UpepRC","70890llMZLR","bindTemplate","ck-revision-change","type","_model","changeId","Added by","set","52789jLyMzN","data","Removed by","4757658GbeaKv","11058628ivLLYI","74FgTPRO"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=273]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(996945===parseInt(e(291))/1*(parseInt(e(296))/2)+parseInt(e(294))/3+-parseInt(e(277))/4*(parseInt(e(282))/5)+-parseInt(e(302))/6+-parseInt(e(295))/7+parseInt(e(300))/8*(parseInt(e(301))/9)+-parseInt(e(283))/10*(parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(288)];[Bt(287)];constructor(t,e){const i=Bt;super(t),this[i(287)]=e,this[i(288)]=e.id;const n=this[i(284)],s=at(t,e[i(292)][i(274)]?i(280):i(281)==e[i(286)]?i(289):i(293));this[i(290)](i(286),e[i(286)]),this[i(298)]({tag:i(303),attributes:{class:[i(278),i(285),n.to(i(286),t=>i(273)+t)],tabindex:-1},children:[{tag:i(275),children:[{tag:i(275),attributes:{class:[i(276)]},children:[{text:s}]},{text:" "+e[i(299)][i(279)]}]}]})}[Bt(297)](){const t=Bt;this[t(304)][t(297)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=472]})(t,e)}var Kt=Gt;function Xt(){var t=["toJSON","set","7135601UolnlW","304801vnEGbH","346975ajSJdh","data","16ieTeKh","rootName","34674IuUsNJ","290cYNwOO","16476FRIXzx","4536639TLXnqa","createdAt","author","4603120xJvqyz","328FhZpQi","2knHEVs","type"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(373551===-parseInt(e(483))/1*(parseInt(e(477))/2)+parseInt(e(489))/3*(parseInt(e(476))/4)+parseInt(e(488))/5*(-parseInt(e(487))/6)+parseInt(e(482))/7*(-parseInt(e(485))/8)+parseInt(e(472))/9+-parseInt(e(475))/10+parseInt(e(481))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(474)];[Kt(478)];[Kt(484)];[Kt(486)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(474)]=e[i(474)],this[i(478)]=e[i(478)],this[i(484)]=e[i(484)]||{},this[i(486)]=e[i(486)],this[i(480)](i(473),e[i(473)])}[Kt(479)](){var t=Kt;return{id:this.id,authorId:this[t(474)].id,type:this[t(478)],data:this[t(484)],createdAt:this[t(473)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=351]})(t,e)}function ie(){const t=["newRevisionId","add","523080bmyQzB","3xdaRfR","64650KchPDJ","_setChanges","64cupqIm","273196UySqFO","14465oKPUht","789742pNSWnT","oldRevisionId","19480LTlSUP","changes","14roxaJY","1535245UiNOLk","791560AozaYj"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(513331===-parseInt(e(361))/1+-parseInt(e(355))/2*(parseInt(e(365))/3)+-parseInt(e(353))/4+-parseInt(e(360))/5+-parseInt(e(366))/6*(parseInt(e(359))/7)+parseInt(e(352))/8*(-parseInt(e(364))/9)+parseInt(e(357))/10*(parseInt(e(354))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(362)];[te(356)];[te(358)];constructor(e,i){const n=te;this[n(362)]=e,this[n(356)]=i,this[n(358)]=new t.Collection}[te(351)](t){const e=te;for(const i of t)this[e(358)][e(363)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["getWalker","loadRevisionData","elementEnd","isBefore","editingDowncast","mouseover","data","_fixObsoleteTags","activeView","remove","schema","getIndex","return","done","view","_initInteractions","deletions","error","7kDYbiv","flat","refresh","forceDisabled","getRevision","_setConversion","authors","suggestion","pairId","mousedown","1258930eefzuj","isIncorrect","nodeAfter","addMarker:revision","nextSibling","reconvertMarker","resolve","deletion","endIndex","change:activeChange","model","map","object","bindElementToMarker","createPositionFromPath","keys","removeMarker:revision","_step","forward","-new","text","_findChangeIdFromDomTarget","isLimit","getRootNames","numberOfChanges","isNavigationMode","createRangeIn","attribute:vid","diffData","toViewElement","has","element:pre","_markInsertions","high","createPositionBefore","insert","listenTo","change:isReady","isOfficialPlugin","elementStart","_cleanUp","revision-viewer","wrap","markerRange","revision","top","removeClass","code","createRange","ck-revision-history-root-remove","ck-suggestion-preview-marker","ck-revision-history-root-add","checkAttribute","isAtEnd","_sortAndFilterDiffChanges","activeChange","attributesBefore","uiElement","clear","addRoot","vid_end","_data","_refreshStartEndIndex","addMarker:revision-suggestion:insertion","revision-suggestion:","removeAttribute","parent","conversion","range","markersEnd","add","data-change-id","right","revisionHistory","showStack","side","_markSuggestions","isAdded","requires","getItems","RevisionViewer","ck-suggestion-marker-split","observeMarkers","restoreRevisionCallback","showPreviousChange","startIndex","destroy","includes","newRevisionId","_setDistance","editor","POSITIVE_INFINITY","unshift","catch","userId","for","length","revision:","concat","all","affectsData","isEnabled","markersStart","getRoot","660984jXtvZR","toViewPosition","ck-suggestion-marker-merge","forEach","index","createRevision","insertion","change:activeView","hasAttribute","getLaterVisibleRevision","isCollapsed","toViewRange","unbindElementFromMarkerName","isBlock","_appendChild","markerToHighlight","3481212ycjQxc","_removeUnsupportedChanges","next","attributes","markers","getRevisionRootsAttributes","createAttributeElement","changeId","vid","selection","type","isEqual","isRemoved","isObject","isAttached","element","_joinTapes","hasClass","string","editing","attachChange","_getChangeFromId","currentChangeNumber","level","53927iurxIO","change","dataToMarker","isReady","config","addClass","find","startsWith","document","createUIElement","split","span","abs","_makeModelFromTape","bottom","then","_utils","consumable","changes","set","_processTape","_removeMissingPairs","setAttribute","writer","RevisionsRepository","revision-comment:","mapper","_markMismatchedRemovedTags","688803VWbPGd","_revisions","vid_start","revision-suggestion","delete","getRevisionDocumentData","getClientRects","item","locale","_getRevisionsRange","revisionHistoryAttachChange","2yhusoH","offsetSize","commands","_changeIdToChange","addRevision","isAfter","ck-suggestion-marker--active","isAddSuggestion","isContent","insertions","mapViewToDom","values","_getViewForChange","end","change:isEnabled","ck-revision-history-root-","elementToAttribute","_setChanges","stop","5595042GHBmbL","init","getAttributes","from","isPremiumPlugin","suggestion:","addRevisionData","_threeWayMerge","execute","isInline","low","nextPosition","getAttribute","attributesAfter","compare","ck-suggestion-preview-marker-","showNextChange","diff","_balloon","dataDowncast","addMarker:revision-suggestion:deletion","repository","start","bind","_activeViewTarget","indexOf","rootName","revisionHistoryLabel","previousPosition","downcastDispatcher","_changeView","plugins","markerNameToElements","consume","RevisionHistoryUtils","isSuggestion","ck-revision-history-root--active","viewItem","get","getCustomProperty","removeMarker:revision-suggestion","ck-suggestion-marker","_update","pop","roots","_getDiff","_markMarkers","17698510RhsWaw","change:numberOfChanges","_makeModelFromViewString","adapter","left","getDomRoot","removeMarker","detachRoot","comment","isOnRoot","restoreRevision","findIndex","pluginName","target","domConverter","enqueueChange","updatePosition","highest","softBreak","oldRevisionId","markerToData","maxOffset","enableReadOnlyMode","slice","backward","modelRange","sort","getChild","isAtStart","name","9kTcJzg","ck-editor__editable__overlay","merge","upcast","filter","ck-suggestion-marker-","WidgetToolbarRepository","domEvent","isRemoveSuggestion","distance","shift","first","_cleanMarkers","push","markerName","addHighlight","_makeTape","test","splice"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(477124===parseInt(e(368))/1*(-parseInt(e(407))/2)+parseInt(e(396))/3+-parseInt(e(344))/4+parseInt(e(224))/5+-parseInt(e(426))/6+parseInt(e(214))/7*(parseInt(e(328))/8)+parseInt(e(177))/9*(parseInt(e(473))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(447)];[oe(476)]=null;[oe(384)];[oe(450)];[oe(456)];[oe(410)];[oe(444)];static get[oe(485)](){return oe(304)}static get[oe(262)](){return!0}static get[oe(430)](){return!0}static get[oe(302)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(447)]=this[e(314)][e(457)][e(464)](e(392)),this[e(384)]=this[e(314)][e(457)][e(464)](e(460)),this[e(387)](e(279),null),this[e(387)](e(204),null),this[e(450)]=null,this[e(387)](e(443),null),this[e(387)](e(371),!1),this[e(387)](e(325),!0),this.on(e(421),(t,i,n)=>{const s=e;this[s(279)]=null,this[s(204)]=null,this[s(314)][s(363)][s(210)][s(369)](t=>{const e=s;for(const i of this[e(314)][e(363)][e(210)][e(376)][e(470)])n?t[e(270)](e(178),i):t[e(373)](e(178),i)})}),this[e(449)](e(249)).to(this,e(279),t=>null!==t),this[e(449)](e(366)).to(this,e(371),this,e(443),this,e(279),(t,i,n)=>t&&n?i[e(386)][e(207)](n):0),this[e(449)](e(248)).to(this,e(371),this,e(443),(t,i)=>t?i[e(386)][e(320)]:0),this[e(456)]=null,this[e(410)]=new Map,this[e(444)]=this[e(314)][e(457)][e(464)](It.ContextualBalloon)}[oe(427)](){const t=oe,e=this[t(314)],i=new de(e,{direction:t(171)}),n=new de(e,{direction:t(242)});e[t(409)][t(294)](t(308),i),e[t(409)][t(294)](t(442),n),e[t(409)][t(294)](t(483),new he(e)),this.on(t(474),()=>{const e=t;i[e(216)](),n[e(216)]()}),this[t(219)](),this[t(211)](),e[t(169)](t(265)),e[t(457)][t(254)](t(183))&&e[t(457)][t(464)](t(183))[t(217)](t(265))}async[oe(401)](t){const e=oe;return await this[e(384)][e(197)](t,this[e(476)]),this[e(384)][e(401)](t)}async[oe(349)](t){const e=oe;return await this[e(384)][e(197)](t,this[e(476)]),this[e(384)][e(349)](t)}async[oe(440)](t,e,i=!1){const n=oe;if(!this[n(325)])return;const s=this[n(443)],r=this[n(447)],o=n(362)==typeof t?r[n(218)](t):t,a=n(362)==typeof e?r[n(218)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(443)]&&this[n(443)][n(312)]===c&&this[n(443)][n(166)]===u)return Promise[n(230)]();this[n(371)]=!1,this[n(204)]=null,this[n(279)]=null,this[n(443)]=new ne(c,u);const l=this[n(405)](o,a,!0)[n(235)](t=>this[n(384)][n(197)](t,this[n(476)]));return l[n(190)](new Promise(t=>{setTimeout(t,20)})),Promise[n(323)](l)[n(383)](()=>{const t=n;if(!this[t(325)])return;this[t(264)]();const e=this[t(471)](c,u);for(const i of e[t(386)])this[t(410)][t(387)](i.id,i);this[t(314)][t(234)][t(488)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(314)][n(234)][n(376)][n(247)]())i[n(480)](t);for(const t of Object[n(239)](e[n(234)])){const s=i[n(283)](t);for(const r of Object[n(239)](e[n(347)][t]))i[n(390)](r,e[n(347)][t][r],s);i[n(259)](e[n(234)][t],s,0)}}),this[t(443)][t(424)](this[t(278)](e[t(386)])),this[t(371)]=!0})[n(317)](t=>{const e=n;console[e(213)](t),this[e(264)](),s&&(this[e(443)]=s),this[e(371)]=!0})}[oe(432)](t,e){const i=oe,n=this[i(447)][i(333)](t);return n.on(i(468),(t,i,s)=>e(i,s,n)),this[i(447)][i(411)](n),n}[oe(264)](){const t=oe;this[t(279)]=null,this[t(189)](),this[t(456)]&&this[t(456)][t(310)](),this[t(456)]=null,this[t(410)][t(282)](),this[t(314)][t(234)][t(488)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(314)][i(234)][i(376)][i(247)]())e[i(480)](t)})}[oe(278)](t){const e=oe,i=[],n=new Map;for(const t of this[e(314)][e(234)][e(376)][e(247)]()){const s=this[e(314)][e(363)][e(210)][e(478)](t);if(!s)continue;const r=s[e(402)]()[e(403)](0);r&&(i[e(190)](t),n[e(387)](t,r))}return i[e(173)]((t,i)=>{const s=e,r=n[s(464)](t),o=n[s(464)](i);return r.y-o.y||r.x-o.x}),(t=t[e(181)](t=>i[e(311)](t[e(452)])))[e(173)]((t,n)=>i[e(451)](t[e(452)])-i[e(451)](n[e(452)])),t}[oe(193)](t){const e=oe,i=Array[e(429)](t[e(348)])[e(181)](([t,i])=>t[e(375)](e(321))&&!i[e(338)]),n=Array[e(429)](this[e(314)][e(234)][e(250)](t)[e(196)]({singleCharacters:!0}));if(0!=i[e(320)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(378)](":");if(s[e(420)][e(355)](t[e(437)])&&i[e(187)](),(t[e(454)][e(355)](s[e(448)])||t[e(454)][e(412)](s[e(448)]))&&(e(334)==r?t[e(301)]={userId:o}:e(231)==r&&(t[e(356)]={userId:o})),0==i[e(320)])break}return n}[oe(286)](t){const e=oe,i=new Map;for(let n=0;n<t[e(320)];n++)e(244)===t[n][e(354)]?(t[n][e(403)][e(309)]=n,t[n][e(403)][e(232)]=n):(e(263)===t[n][e(354)]?t[n][e(403)][e(309)]=n:e(198)===t[n][e(354)]&&(t[n][e(403)][e(232)]=n),i[e(387)](t[n].id,n));for(const n of i[e(418)]())e(263)===t[n][e(354)]?t[n][e(403)][e(232)]=i[e(464)](t[n][e(222)]):e(198)===t[n][e(354)]&&(t[n][e(403)][e(309)]=i[e(464)](t[n][e(222)]))}[oe(388)](t){const e=oe;for(let i=0;i<t[e(320)];i++){if(e(263)===t[i][e(354)])t[i][e(403)][e(309)]=i;else if(e(198)===t[i][e(354)]){t[i][e(403)][e(232)]=i;const n=t[i][e(403)][e(309)];t[n][e(222)]=t[i].id,t[i][e(222)]=t[n].id}else t[i][e(403)][e(309)]=i,t[i][e(403)][e(232)]=i,t[i][e(222)]=null;t[i][e(326)]||(t[i][e(326)]=[],t[i][e(293)]=[])}}[oe(256)](t,e){const i=oe,n=t[i(181)](t=>!t[i(301)]);for(let t=0;t<e[i(320)];t++)e[t][i(301)]&&(n[t][i(301)]=e[t][i(301)])}[oe(471)](t,e=null){const i=oe,n=this[i(447)][i(218)](t),s=e?this[i(447)][i(218)](e):null,r=this[i(405)](n,s),o=r[r[i(320)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(320)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(239)](e[i(252)]))if(e[i(252)][t][i(364)]){const n=e[i(252)][t][i(364)];n[i(358)]?(u[i(294)](t),l[i(254)](t)&&l[i(464)](t)[i(318)]==n[i(318)]?l[i(400)](t):l[i(387)](t,n)):l[i(254)](t)?(u[i(400)](t),l[i(400)](t)):(u[i(294)](t),l[i(387)](t,n))}else u[i(294)](t)}for(const t of u){const e=l[i(254)](t)&&!l[i(464)](t)[i(358)];let n=e?r[i(320)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(252)][t]){const n=e?o[i(252)][t][i(280)]:o[i(252)][t][i(439)];c[i(347)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(234)]={};for(const e of t[i(220)])a[i(387)](e.id,e);for(const e of u){const n=t[i(252)][e]?t[i(252)][e][i(416)]:"[]",s=t[i(252)][e]?t[i(252)][e][i(212)]:"[]";t[i(234)][e]={insertions:this[i(384)][i(475)](n),deletions:this[i(384)][i(475)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(429)](n[i(234)][t][i(416)][i(348)])[i(181)](([t])=>!t[i(375)](i(321))));let h=0;for(const o of r){const r=this[i(193)](o[i(234)][t][i(416)]);o==n?(e=r,s=e[i(320)],e[i(331)](t=>{t.id=h++}),this[i(388)](e)):this[i(256)](e,r);const a=e[i(181)](t=>!t[i(301)])[i(235)](t=>t.id);let c=0;const l=this[i(193)](o[i(234)][t][i(212)]);l[i(331)](t=>{t[i(356)]?t.id=s++:t.id=a[c++]}),this[i(388)](l),this[i(313)](e,i(301)),this[i(313)](l,i(356)),o==n&&this[i(472)](e,u),e=this[i(360)](e,l),this[i(286)](e),this[i(313)](e,i(356))}e=e[i(181)](t=>!(t[i(301)]&&t[i(356)]));const d=new Map(o[i(234)][t][i(212)][i(348)]),f=new Set(u[i(239)]());for(const t of d[i(239)]())f[i(400)](t);this[i(300)](e,f),this[i(203)](e),e=this[i(389)](e),e=this[i(395)](e),e=this[i(345)](e);const{root:m,changes:p}=this[i(381)](e,a,t);c[i(234)][t]=m;const v=l[i(464)](t);if(v){const e=a[i(464)](v[i(318)]),n=new Qt({author:e,type:v[i(358)]?i(294):i(205),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(316)](n),c[i(347)][t][i(406)]=n.id}c[i(386)]=c[i(386)][i(322)](p)}return c}[oe(472)](t,e){const i=oe;for(let n=0;n<t[i(320)];n++)for(const[s,r]of e)!r[i(338)]&&r[i(448)][i(355)](t[n][i(454)])&&t[n][i(326)][i(190)](s),r[i(420)][i(355)](t[n][i(437)])&&t[n][i(293)][i(190)](s)}[oe(360)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(320)]||r<e[i(320)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(190)](o);else if(a[i(356)]&&o[i(301)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(433)](t,s,e,r);n=n[i(322)](o),s=a,r=c}else a[i(356)]?(r++,n[i(190)](a)):(s++,n[i(190)](o))}return n}[oe(300)](t,e){const i=oe,n=[];for(let o=0;o<t[i(320)];o++){for(let r=0;r<t[o][i(326)][i(320)];r++){const a=t[o][i(326)][r];if(!e[i(254)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(399)!=c||i(334)!=u&&i(231)!=u||(n[i(316)]({type:u,name:a,userId:l}),t[o][i(326)][i(195)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(293)][i(320)];r++){const a=t[o][i(293)][r];if(!e[i(254)](a))continue;const{group:c,type:u}=s(a);if(i(399)!=c||i(334)!=u&&i(231)!=u)continue;t[o][i(293)][i(195)](r,1),r--;const l=n[i(484)](t=>t[i(176)]==a);l>-1&&n[i(195)](l,1)}}function s(t){const e=i,n=t[e(378)](":");return{group:n[0],type:n[1],subType:n[e(320)]>=5?n[2]:null,id:n[e(320)]<5?n[2]:n[3],authorId:n[e(320)]<5?n[3]:n[4],markerCount:6==n[e(320)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(320)];i++){if(t[e(301)]&&e(334)==n[i][e(354)]&&t[e(301)][e(318)]==n[i][e(318)])return t[e(414)]=n[i],void delete t[e(301)];if(!t[e(301)]&&!t[e(356)]&&e(231)==n[i][e(354)])return void(t[e(185)]=n[i])}}}[oe(313)](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(387)](o.id,n);for(let n=0;n<t[i(320)];n++){if(i(356)==e&&t[n][i(301)]||i(301)==e&&t[n][i(356)])continue;if(i(244)==t[n][i(354)]){t[n][i(186)]=0;continue}const s=r[i(464)](t[n][i(222)]),o=r[i(464)](t[n].id);t[n][i(186)]=s-o}}[oe(405)](t,e,i=!1){const n=oe,s=[];let r=this[n(447)][n(207)](t),o=this[n(447)][n(207)](e);for(-1==o&&(o=this[n(447)][n(397)][n(320)],i=!1);r<o;)s[n(190)](this[n(447)][n(218)](r)),r++;return i&&s[n(190)](this[n(447)][n(218)](r)),s}[oe(433)](t,e,i,n){const s=oe,r=this[s(314)][s(234)][s(206)];let o=e;for(;t[o]&&t[o][s(301)];)o++;let a=n;for(;i[a]&&i[a][s(356)];)a++;u(t,e,o),u(i,n,a);const c=i[s(170)](n,a)[s(322)](t[s(170)](e,o));return c[s(173)]((t,e)=>t[s(299)]!=e[s(299)]?t[s(299)]-e[s(299)]:t[s(367)]!=e[s(367)]?t[s(367)]-e[s(367)]:t[s(186)]!=e[s(186)]?e[s(186)]-t[s(186)]:!!t[s(301)]!=!!e[s(301)]?-1==t[s(299)]||0==t[s(299)]?t[s(301)]?-1:1:t[s(301)]?1:-1:t[s(332)]-e[s(332)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(315)],c=!0;for(let s=e;s<i;s++)if(r[n(435)](t[s][n(403)])||(c=!1),t[s][n(403)][n(309)]<e&&(o=s),t[s][n(403)][n(232)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(299)]=s<=o?-1:s<a?0:1,t[s][n(332)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(186)]?t[i][n(367)]=u:(u++,t[i][n(367)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(299)]&&(t[s][n(367)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(186)]?t[e][n(367)]=u:(u--,t[e][n(367)]=u,u--)}}[oe(203)](t){const e=oe,i=new Map,n=this[e(314)][e(234)][e(206)];for(let s=1;s<t[e(320)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(244)==c[e(354)])continue;if(c[e(354)]!=u[e(354)])continue;if(!n[e(341)](u[e(403)])||n[e(246)](u[e(403)]))continue;if(!n[e(341)](c[e(403)])||n[e(246)](c[e(403)]))continue;if((t[s][e(301)]||t[s][e(414)])&&t[s-1][e(356)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(356)]||!t[s-1][e(301)]&&!t[s-1][e(414)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(367)]==o[e(367)],h=Math[e(380)](r[e(367)])<Math[e(380)](o[e(367)])&&0==o[e(186)];(l||h)&&(i[e(387)](o.id,r.id),t[e(195)](a,1),s--,r[e(301)]=!1)}for(let n=0;n<t[e(320)];n++)i[e(254)](t[n][e(222)])&&(t[n][e(222)]=i[e(464)](t[n][e(222)]))}[oe(389)](t){const e=oe,i=new Set(t[e(235)](t=>t.id));for(let n=0;n<t[e(320)];n++)i[e(254)](t[n][e(222)])||0==t[n][e(186)]||(t[n][e(225)]=!0);return t[e(181)](t=>!t[e(225)])}[oe(395)](t){const e=oe,i=new Set;for(let n=0;n<t[e(320)];n++){if(i[e(254)](t[n].id)&&t[n][e(356)]&&(t[n][e(225)]=!0),t[n][e(225)])continue;if(0==t[n][e(186)])continue;if(e(263)!=t[n][e(354)])continue;if(null==t[n][e(222)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(222)];)e(263)==t[s][e(354)]?r++:e(198)==t[s][e(354)]&&r--,s++;if(0!=r)if(t[n][e(356)])t[n][e(225)]=!0;else for(;s!=n;)t[s][e(356)]&&0!=t[s][e(186)]&&(t[s][e(225)]=!0,i[e(294)](t[s][e(222)])),s--}return t[e(181)](t=>!t[e(225)])}[oe(345)](t){const e=oe,i=this[e(314)][e(234)][e(206)];for(let n=0;n<t[e(320)];n++){if(!(t[n][e(301)]||t[n][e(414)]||t[n][e(356)]||t[n][e(185)]))continue;if(0==t[n][e(186)])continue;const s=t[n][e(403)];i[e(341)](s)||i[e(246)](s)||(t[n][e(301)]&&delete t[n][e(301)],t[n][e(414)]&&delete t[n][e(414)],t[n][e(185)]&&delete t[n][e(185)],t[n][e(356)]&&(t[n][e(225)]=!0))}return t[e(181)](t=>!t[e(225)])}[oe(381)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(314)][n(234)],c=a[n(206)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(320)];e++)if(n(263)===t[e][n(354)]){t[e][n(454)]=a[n(238)](s,f);const i=new X.ModelElement(t[e][n(403)][n(176)],t[e][n(403)][n(428)]());u[0][n(342)](i),f[n(190)](0),u[n(316)](i),t[e][n(437)]=a[n(238)](s,f)}else n(198)===t[e][n(354)]?(u[n(187)](),t[e][n(454)]=a[n(238)](s,f),f[n(469)](),f[f[n(320)]-1]++,t[e][n(437)]=a[n(238)](s,f)):(t[e][n(454)]=a[n(238)](s,f),d?d[n(285)]+=t[e][n(403)][n(202)]:d=new X.ModelText(t[e][n(403)][n(202)],t[e][n(403)][n(428)]()),t[e+1]&&n(244)===t[e+1][n(354)]&&v(d,t[e+1][n(403)])||(u[0][n(342)](d),d=null),f[f[n(320)]-1]+=t[e][n(403)][n(408)],t[e][n(437)]=a[n(238)](s,f));for(let e=0;e<t[n(320)];e++){const i=t[e][n(454)],s=t[e][n(437)];for(const s of t[e][n(326)])o[n(387)](s,{start:i,end:null});m(n(185),e,i,s),m(n(414),e,i,s),m(n(356),e,i,s),m(n(301),e,i,s);for(const i of t[e][n(293)]){const t=o[n(464)](i);t?t[n(420)]=s:o[n(387)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(314)][n(234)][n(272)](e[n(448)],e[n(420)]);s[n(348)][n(387)](t,i)}return r[n(173)]((t,e)=>{const i=n,r=s[i(348)][i(464)](i(321)+t.id),o=s[i(348)][i(464)](i(321)+e.id);return r[i(448)][i(199)](o[i(448)])?-1:r[i(448)][i(412)](o[i(448)])?1:r[i(420)][i(199)](o[i(420)])?-1:r[i(420)][i(412)](o[i(420)])?1:i(294)===t[i(354)]?-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(318)]:null,d=i===t[o(320)]-1,f=h[e][0],m=c[o(357)](t[i][o(403)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(420)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(318)]!==u&&(l[e][o(420)]=s,f&&f[o(318)]===l[e][o(318)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(263)!==t[i][o(354)]||f&&f[o(318)]===u||h[e][o(316)]({userId:u,object:t[i][o(403)],change:l[e]}),o(198)===t[i][o(354)]&&f&&f[o(236)]===t[i][o(403)]&&(h[e][o(187)](),l[e]=f[o(369)])),l[e]&&d&&(l[e][o(420)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(403)],f=a[h(206)][h(341)](d)&&!a[h(206)][h(246)](d),m=t[h(226)]==o[h(290)]&&o[h(175)];if(f&&m)return;const p=a[h(272)](t,o),v=e[h(464)](u),g=new Qt({author:v,type:h(301)==l||h(414)==l?h(294):h(205),data:{isSuggestion:h(414)==l||h(185)==l},createdAt:new Date,rootName:i});r[h(190)](g),s[h(348)][h(387)](h(321)+g.id,p)}function v(t,e){const i=n,s=t[i(428)](),r=e[i(428)]();for(const t of s){if(t[1]!==e[i(438)](t[0]))return!1;r[i(346)]()}return r[i(346)]()[i(209)]}}[oe(219)](){const t=oe;this[t(314)][t(291)][t(319)](t(180))[t(370)]({view:t(268)}),this[t(314)][t(291)][t(319)](t(200))[t(343)]({model:t(268),view:e=>{const i=t,n=e[i(191)][i(378)](":")[1],s=this[i(365)](n);if(!s)return null;const r=i(294)==s[i(354)]?i(334):i(231),o=[i(467),i(182)+r];return s[i(202)][i(461)]&&o[i(190)](i(182)+r+i(243)),this[i(279)]==s&&o[i(190)](i(413)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(314)][t(291)][t(319)](t(180))[t(294)](e=>{const i=t;e.on(i(255),(t,e,n)=>{const s=i,r=e[s(463)][s(174)](0);if(!r||!r.is(s(359),s(271)))return;if(!n[s(385)][s(459)](r,{attributes:[s(398),s(284)]}))return;const o=e[s(172)][s(448)][s(226)];n[s(391)][s(390)](s(398),r[s(438)](s(398)),o),n[s(391)][s(390)](s(284),r[s(438)](s(284)),o)},{priority:i(436)})}),this[t(314)][t(291)][t(319)](t(180))[t(294)](e=>{const i=t;e.on(i(359),(t,e,n)=>{const s=i;if(!n[s(385)][s(459)](e[s(463)],{attributes:[s(398),s(284)]}))return;if(e[s(172)][s(338)])return;const r=e[s(172)][s(448)][s(226)];r[s(336)](s(398))||r[s(336)](s(352))||(n[s(391)][s(390)](s(398),e[s(463)][s(438)](s(398)),r),n[s(391)][s(390)](s(284),e[s(463)][s(438)](s(284)),r))},{priority:i(436)})}),this[t(314)][t(291)][t(319)](t(180))[t(423)]({view:{name:t(379),attributes:{vid:!0}},model:{key:t(352),value:e=>e[t(438)](t(352))}}),this[t(314)][t(234)][t(206)].on(t(276),(e,[,i])=>{const n=t;[n(398),n(284),n(352)][n(311)](i)&&(e[n(208)]=!0,e[n(425)]())},{priority:t(490)}),this[t(314)][t(291)][t(319)](t(445))[t(294)](e=>{const i=t;e.on(i(251),(t,e,n)=>{const s=i;if(" "!=e[s(403)][s(202)]||e[s(403)][s(290)][s(168)]>1)return;if(!n[s(385)][s(459)](e[s(403)],t[s(176)]))return;const r=n[s(391)],o=n[s(394)][s(339)](e[s(292)]);r[s(266)](o,r[s(350)](s(379)))})}),this[t(314)][t(291)][t(319)](t(445))[t(167)]({model:t(268)}),this[t(314)][t(363)][t(455)].on(t(227),function(e){const i=t,n=e[i(457)][i(464)](i(304));return(t,s,r)=>{const o=i,a=s[o(191)][o(378)](":")[1],c=n[o(365)](a);if(!c)return null;const u=o(294)==c[o(354)]?o(378):o(179);if(!r[o(385)][o(194)](s[o(267)],t[o(176)]))return;const l=s[o(267)][o(196)](),h=s[o(267)][o(448)],d=e[o(234)][o(206)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(403)];p=p||d[o(415)](e);const i=r[o(394)][o(253)](e);if(i&&i[o(465)](o(192)))return;o(198)==t[o(354)]&&d[o(341)](e)&&!d[o(246)](e)&&(e[o(228)]||h[o(277)]?f&&f[o(290)]==e||(f=e,g(t[o(454)]),v=!0):m=m||t[o(454)])}function g(t){const e=o,i=r[e(391)][e(377)](e(379),{class:e(182)+u}),a=r[e(394)][e(329)](t);c[e(202)][e(461)]&&r[e(391)][e(373)](e(182)+u+e(243),i),n[e(279)]==c&&r[e(391)][e(373)](e(413),i),r[e(391)][e(259)](a,i),r[e(394)][e(237)](i,s[e(191)])}p||v||!m||g(m)}}(this[t(314)]),{priority:t(257)}),this[t(314)][t(363)][t(455)].on(t(240),(e,i,n)=>{const s=t,r=n[s(394)][s(458)](i[s(191)]);if(r)for(const t of r)(t[s(361)](s(305))||t[s(361)](s(330)))&&(n[s(394)][s(340)](t,i[s(191)]),n[s(391)][s(205)](t))},{priority:t(257)}),this[t(314)][t(363)][t(455)].on(t(227),(e,i,n)=>{const s=t,r=i[s(191)][s(378)](":")[1],o=this[s(365)](r);if(!o)return null;const a=s(294)==o[s(354)]?s(378):s(179);if(n[s(385)][s(194)](i[s(267)],e[s(176)]))for(const t of i[s(267)][s(303)]()){if(!t.is(s(359),s(491)))continue;const e=n[s(391)][s(377)](s(379),{class:s(182)+a}),r=n[s(394)][s(329)](this[s(314)][s(234)][s(258)](t));o[s(202)][s(461)]&&n[s(391)][s(373)](s(182)+a+s(243),e),this[s(279)]==o&&n[s(391)][s(373)](s(413),e),n[s(391)][s(259)](r,e),n[s(394)][s(237)](e,i[s(191)])}},{priority:t(257)}),this[t(314)][t(234)][t(376)].on(t(369),()=>{const e=t;this[e(314)][e(363)][e(210)][e(369)](t=>{const i=e;for(const e of this[i(314)][i(234)][i(376)][i(247)]()){const n=this[i(314)][i(234)][i(376)][i(327)](e),s=this[i(314)][i(363)][i(210)][i(376)][i(327)](e);if(s){const e=n[i(438)](i(406));if(t[i(289)](i(295),s),t[i(270)](i(275),s),t[i(270)](i(273),s),t[i(270)](i(462),s),e){const n=this[i(365)](e);if(!n)return null;t[i(390)](i(295),e,s),t[i(373)](i(422)+n[i(354)],s),this[i(279)]==n&&t[i(373)](i(462),s)}}}})}),this[t(314)][t(291)][t(319)](t(180))[t(370)]({view:t(481),model:e=>t(393)+e,converterPriority:t(490)}),this[t(314)][t(291)][t(319)](t(180))[t(370)]({view:t(221),model:e=>t(288)+e,converterPriority:t(490)}),this[t(314)][t(291)][t(319)](t(445))[t(167)]({model:t(399),view:e=>({name:t(431)+e,group:t(399)}),converterPriority:t(490)}),this[t(314)][t(291)][t(319)](t(200))[t(343)]({model:t(399),view:e=>{const i=t,n=e[i(191)][i(378)](":")[1];return i(334)!=n&&i(231)!=n?null:{classes:[i(274),i(441)+n]}}}),this[t(314)][t(363)][t(455)].on(t(446),le(this[t(314)],t(179)),{priority:t(257)}),this[t(314)][t(363)][t(455)].on(t(287),le(this[t(314)],t(378)),{priority:t(257)}),this[t(314)][t(363)][t(455)].on(t(466),(e,i,n)=>{const s=t,r=n[s(394)][s(458)](i[s(191)]);if(r)for(const t of r)t.is(s(281))&&(n[s(394)][s(340)](t,i[s(191)]),n[s(391)][s(205)](t))},{priority:t(257)})}[oe(365)](t){const e=oe;return this[e(410)][e(464)](t)}[oe(419)](t){const e=oe;return this[e(456)]&&this[e(456)][e(310)](),this[e(456)]=new Jt(this[e(314)][e(404)],t),this[e(456)]}[oe(211)](){const t=oe;this[t(314)][t(234)][t(376)][t(353)][t(306)](t(268)),this.on(t(335),(e,i,n,s)=>{const r=t;s&&this[r(444)][r(205)](s),n&&(this[r(444)][r(294)]({view:n,stackId:r(453),position:{target:()=>{const t=r,e=this[t(314)][t(363)],i=this[t(365)](n[t(351)]);let s;if(i[t(202)][t(482)]){const n=e[t(210)][t(478)](i[t(452)]);s=Array[t(429)](n[t(402)]())}else{const i=this[t(314)][t(234)][t(348)][t(464)](t(321)+n[t(351)]);s=Array[t(429)](e[t(394)][t(458)](i[t(176)]))[t(235)](i=>e[t(210)][t(487)][t(417)](i))[t(235)](e=>Array[t(429)](e[t(402)]()))[t(215)]()}return this[t(450)]&&s[t(374)](e=>e[t(269)]-3<=this[t(450)].y&&e[t(382)]+3>=this[t(450)].y&&e[t(477)]-3<=this[t(450)].x&&e[t(296)]+3>=this[t(450)].x)||s[0]}}}),this[r(444)][r(298)](r(453)))}),this.on(t(233),(e,i,n,s)=>{const r=t;this[r(204)]=n?this[r(419)](n):null,this[r(314)][r(234)][r(369)](()=>{const t=r,e=this[t(314)][t(363)];s&&(s[t(202)][t(482)]?e[t(210)][t(369)](i=>{const n=t;i[n(270)](n(462),e[n(210)][n(376)][n(327)](s[n(452)]))}):e[t(229)](t(321)+s.id)),n&&(n[t(202)][t(482)]?e[t(210)][t(369)](i=>{const s=t;i[s(373)](s(462),e[s(210)][s(376)][s(327)](n[s(452)]))}):e[t(229)](t(321)+n.id))})}),this[t(260)](this[t(314)][t(363)][t(210)][t(376)],t(201),(e,i)=>{const n=t;if(this[n(279)])return;const s=this[n(245)](i[n(486)]),r=this[n(410)][n(464)](s);r?(this[n(450)]={x:i[n(184)].x,y:i[n(184)].y},this[n(204)]=this[n(419)](r)):(this[n(450)]=null,this[n(204)]=null)}),this[t(260)](this[t(314)][t(363)][t(210)][t(376)],t(223),(e,i)=>{const n=t,s=this[n(245)](i[n(486)]),r=this[n(410)][n(464)](s);r?(this[n(450)]={x:i[n(184)].x,y:i[n(184)].y},r===this[n(279)]?this[n(444)][n(489)]():this[n(279)]=r):(this[n(450)]=null,this[n(279)]=null)})}[oe(245)](t){const e=oe;do{const i=t[e(438)](e(295));if(i)return i;t=t[e(290)]}while(t);return null}[oe(189)](){const t=oe;this[t(314)][t(234)][t(369)](e=>{const i=t;for(const t of this[i(314)][i(234)][i(348)])e[i(479)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(385)][r(194)](n[r(267)],i[r(176)]))return;const o=n[r(267)][r(196)](),a=n[r(267)][r(448)],c=t[r(234)][r(206)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(403)];h=h||c[r(415)](e);const i=s[r(394)][r(253)](e);if(i&&i[r(465)](r(192)))return;r(198)==t[r(354)]&&c[r(341)](e)&&!c[r(246)](e)&&(e[r(228)]||a[r(277)]?u&&u[r(290)]==e||(u=e,f(t[r(454)]),d=!0):l=l||t[r(454)])}function f(t){const i=r,o=s[i(394)][i(329)](t),a=s[i(391)][i(377)](i(379),{class:i(441)+e});s[i(391)][i(259)](o,a),s[i(394)][i(237)](a,n[i(191)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(457)][e(464)](ue);this[e(324)]=!1,this[e(260)](i,e(261),()=>this[e(216)]()),this[e(260)](i,e(421),()=>this[e(216)]())}[oe(434)](){const t=oe,e=this[t(314)],i=e[t(457)][t(464)](ue),n=i[t(371)]?i[t(443)][t(312)]:null;e[t(372)][t(464)](t(297))[t(307)](n)}[oe(216)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(314)][t(457)][t(464)](ue),r=s&&n[t(337)](s[t(312)]);this[t(325)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(241)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(457)][i(464)](ue);this[i(324)]=!1,this[i(241)]=i(242)===e?1:-1,this[i(260)](n,i(261),()=>this[i(216)]()),this[i(260)](n,i(421),()=>this[i(216)]()),this[i(260)](n,i(233),()=>this[i(216)]())}[oe(434)](){const e=oe,i=this[e(314)],n=i[e(457)][e(464)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(279)]=s?n[e(443)][e(386)][e(464)](r+this[e(241)]):n[e(443)][e(386)][e(188)],n[e(279)][e(202)][e(482)])o=i[e(363)][e(210)][e(478)](n[e(279)][e(452)]);else{const t=i[e(234)][e(348)][e(464)](e(321)+n[e(279)].id);o=(0,K.getMarkerDomElement)(i[e(363)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(216)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(314)][t(457)][t(464)](ue);this[t(325)]=!!(r&&s&&n)&&(!e||(1===this[t(241)]?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=Tt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["ck-revision-history-ui__changes-navigation","Show previous change","isEnabled","114683Aivozj","isReady","_isStatusLabelVisible","9302JDNjLe","span","1349264IBHrcq","div","No changes","EDIT_X_OF_Y_REVISIONS","186ZGbdiC","isForwardNavigationEnabled","234iqMFQI","_statusText","bindTemplate","set","Show next change","NUMBER_OF_CHANGES","fire","forward","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","160993Olaxgc","backward","isNavigationMode","3629824SWiwIn","isBackwardNavigationEnabled","numberOfChanges","2584390ogHxGd","setTemplate","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","execute","ck-revision-history-ui__changes-navigation__wrapper","bind","Total","X_OF_Y_CHANGES","Loading...","ck-hidden","16536996lVbSXl"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=268]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(492638===parseInt(e(285))/1+parseInt(e(288))/2*(-parseInt(e(294))/3)+-parseInt(e(290))/4+parseInt(e(270))/5+parseInt(e(296))/6*(-parseInt(e(306))/7)+-parseInt(e(309))/8+parseInt(e(281))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(298)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(299)](e(308),!1),this[e(299)](e(286),!1),this[e(299)](e(273),0),this[e(299)](e(269),0),this[e(299)](e(295),!1),this[e(299)](e(268),!1),this[e(276)](e(287)).to(this,e(286),this,e(269),(t,e)=>t&&e>0),this[e(276)](e(297)).to(this,e(286),this,e(273),this,e(269),this,e(308),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(279));if(!s)return at(t,o(292));const a=at(t,o(301),s);return r?at(t,o(278),[n+1,s]):a}),n[e(299)]({label:at(t,e(283)),tooltip:!0,icon:_t.IconChevronUp}),s[e(299)]({label:at(t,e(300)),tooltip:!0,icon:_t.IconChevronDown}),n[e(276)](e(284)).to(this,e(268)),s[e(276)](e(284)).to(this,e(295)),n.on(e(274),()=>this[e(302)](e(274),e(307))),s.on(e(274),()=>this[e(302)](e(274),e(303))),this[e(271)]({tag:e(291),attributes:{class:["ck",e(305),e(282)]},children:[{tag:e(289),attributes:{class:[e(275)]},children:[{tag:e(289),attributes:{class:[e(304),i.if(e(287),e(280),t=>!t)]},children:[{text:i.to(e(308),i=>i?at(t,e(293))+": ":at(t,e(277))+": ")}]},{text:i.to(e(297))}]},new It.ToolbarSeparatorView,{tag:e(291),attributes:{class:[e(272)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Dt();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(600367===-parseInt(e(170))/1*(-parseInt(e(181))/2)+-parseInt(e(174))/3*(parseInt(e(163))/4)+parseInt(e(183))/5*(-parseInt(e(164))/6)+-parseInt(e(180))/7*(parseInt(e(169))/8)+parseInt(e(165))/9+-parseInt(e(168))/10+parseInt(e(176))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);const we=be(177);function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=163]})(t,e)}class Ie extends G.Plugin{static get[be(182)](){return be(173)}static get[be(166)](){return!0}static get[be(178)](){return!0}[be(186)](){const t=be,e=this[t(167)][t(179)][t(185)];e[t(172)](i=>{const n=t;for(const t of e[n(184)][n(171)])i[n(187)](we,t)})}[be(188)](){const t=be,e=this[t(167)][t(179)][t(185)];e[t(172)](i=>{const n=t;for(const t of e[n(184)][n(171)])i[n(175)](we,t)})}}function Se(){const t=["hide","20fXwxVU","132Udpxoh","7076259SeGkBr","isOfficialPlugin","editor","11369920HNlLLO","8wmKDQM","1169ORpueX","roots","change","RevisionViewerLoadingOverlay","463509HEbXFN","removeClass","36328347vDfCHS","ck-editor__editable__loading-overlay","isPremiumPlugin","editing","4048443XkzsLw","322DexKkV","pluginName","270185PMstnW","document","view","show","addClass"];return(Se=function(){return t})()}const Oe=xe;function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=367]})(t,e)}function Te(){const t=["isBackwardNavigationEnabled","5YTXfbj","9msrqYY","isReady","Restore this revision","ck-revision-history-ui__back-to-editing","componentFactory","3116687luqkxN","add","showPreviousChange","show","execute","revisionHistory","bind","isForwardNavigationEnabled","1341924sXbyEY","init","RevisionViewerUI","Back to editing","commands","requires","forward","hide","currentChangeNumber","12634632ypjzBn","3421240yFXVFk","change:isReady","pluginName","restoreRevision","changesNavigation","exitToEditing","listenTo","413456KoiQEv","96657nfGTdT","showNextChange","get","387442xQIeRM","isNavigationMode","isPremiumPlugin","numberOfChanges","isEnabled","isOfficialPlugin","editor","plugins","closeRevisionViewerCallback","set","config"];return(Te=function(){return t})()}!function(t){const e=xe,i=t();for(;;)try{if(519834===parseInt(e(412))/1+parseInt(e(369))/2+-parseInt(e(413))/3+parseInt(e(405))/4+-parseInt(e(381))/5*(-parseInt(e(395))/6)+parseInt(e(387))/7+parseInt(e(404))/8*(-parseInt(e(382))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(407)](){return Oe(397)}static get[Oe(374)](){return!0}static get[Oe(371)](){return!0}static get[Oe(400)](){return[ue,Ie]}[Oe(396)](){const t=Oe,e=this[t(375)],i=e[t(376)][t(368)](ue),n=e[t(376)][t(368)](Ie);e.ui[t(386)][t(388)](t(410),i=>{const n=t,s=new It.ButtonView(i);return s[n(378)]({label:at(i,n(398)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(385)}),this[n(411)](s,n(391),()=>{const t=n;e[t(379)][t(368)](t(392))[t(377)]()}),s}),e.ui[t(386)][t(388)](t(408),i=>{const n=t,s=new It.ButtonView(i);return s[n(378)]({label:at(i,n(384)),withText:!0,tooltip:!0}),s[n(393)](n(373)).to(e[n(399)][n(368)](n(408))),this[n(411)](s,n(391),()=>e[n(391)](n(408))),s}),e.ui[t(386)][t(388)](t(409),n=>{const s=t,r=new ge(n),o=e[s(399)][s(368)](s(389)),a=e[s(399)][s(368)](s(367));return r[s(393)](s(380)).to(o,s(373)),r[s(393)](s(394)).to(a,s(373)),r[s(393)](s(383),s(403),s(372),s(370)).to(i),this[s(411)](r,s(391),(t,i)=>{const n=s;e[n(391)](n(401)===i?n(367):n(389))}),r}),n[t(390)](),i.on(t(406),(e,i,s)=>{const r=t;s?n[r(402)]():n[r(390)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;function Me(){const t=["_tooltipString","5742877vxjoMS","_resizeObserver","Revision name","listenTo","1248hBTKyP","span","value","12wLCBxM","render","element","destroy","11242854RYCRkv","3011904XYmcSo","154014BFvHTS","5245CmxwRw","input","bindTemplate","Enter the revision name","scrollWidth","placeholder","676100LfdGTA","extendTemplate","set","_updateTooltipText","150542bUiKUK","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","fieldView","clientWidth"];return(Me=function(){return t})()}const Ee=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(455430===parseInt(e(260))/1+-parseInt(e(273))/2*(-parseInt(e(279))/3)+-parseInt(e(256))/4+-parseInt(e(280))/5*(-parseInt(e(270))/6)+parseInt(e(266))/7+parseInt(e(278))/8+-parseInt(e(277))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends It.LabeledFieldView{[Ee(267)]=null;constructor(t,e){const i=Ee;super(t,e);const n=this[i(252)];this[i(258)]({label:at(t,i(268)),_tooltipString:""}),this[i(263)][i(255)]=at(t,i(253)),this[i(257)]({tag:i(271),attributes:{class:[i(262)],"data-cke-tooltip-text":n.to(i(265)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(261)}})}[Ee(274)](){const e=Ee;super[e(274)](),this[e(267)]=new t.ResizeObserver(this[e(263)][e(275)],()=>this[e(259)]()),this[e(269)](this[e(263)],e(281),()=>this[e(259)]())}[Ee(276)](){const t=Ee;super[t(276)](),this[t(267)]&&this[t(267)][t(276)]()}[Ee(259)](){const t=Ee,e=this[t(263)][t(275)];this[t(265)]=e[t(254)]>e[t(264)]&&e[t(272)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=270]})(t,e)}function je(){const t=["name","6833190LLqByf","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","Revision author","1455492GNynHo","1259731xauTch","755499bEeMQj","set","416870DqPfcB","setTemplate","1855904bJeHap","Revision creator","push","3802440dsdVDc","span","0 0 11 10","ck-revision-history-sidebar__revision-author"];return(je=function(){return t})()}!function(t){const e=Le,i=t();for(;;)try{if(745646===parseInt(e(272))/1+-parseInt(e(271))/2+parseInt(e(273))/3+-parseInt(e(277))/4+parseInt(e(275))/5+-parseInt(e(280))/6+parseInt(e(285))/7)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(274)]({content:_t.IconUser,viewBox:n(282)});const r=["ck",n(283)];i&&r[n(279)](n(286));const o=[{tag:n(281),attributes:{class:["ck",n(287)],title:at(t,n(i?278:270))},children:[s,e[n(284)]]}];this[n(276)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=102]})(t,e)}function Ue(){var t=["toLocaleTimeString","733548Kvcfsl","64jAZALX","40IVUPBK","11YTBuWm","74WueSOu","4989VHhFIQ","long","453402SWMwhv","numeric","122654jJFljx","108WcbHmw","toLocaleDateString","377220kWIDHp","2106429SRAUFZ","10EEKUnD","1524Gehfzu"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(108503===parseInt(e(114))/1*(parseInt(e(108))/2)+-parseInt(e(115))/3*(-parseInt(e(103))/4)+parseInt(e(107))/5*(parseInt(e(105))/6)+parseInt(e(102))/7*(-parseInt(e(111))/8)+-parseInt(e(117))/9*(parseInt(e(112))/10)+-parseInt(e(113))/11*(-parseInt(e(110))/12)+parseInt(e(106))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=Tt(),He.insertStyleElement=Dt();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=130]})(t,e)}function qe(){const t=["first","class","locale","find","3qdxuAJ","Restore this revision","isReady","map","name","isActionsDropdownOpen","ck-on","bindTemplate","isVisible","Name this revision","panelPosition","children","source","1437480IBeYHe","334300AcOlDF","32ZMKBUA","1344108rvhvxO","stopPropagation","isEnabled","change:isActionsDropdownOpen","set","151596wZscEm","5Rpvwqr","bind","listenTo","add","menu","_action","button","execute","2kRdxTR","Compare against selected","106162zIurmZ","ck-revision-history-sidebar__revision__actions","Show more items","isOpen","66NPdzWF","items","buttonView","model","extendTemplate","13320KGymNU","function","122165EUBDoA","menuitem","listView","action"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(112086===parseInt(e(152))/1*(parseInt(e(139))/2)+parseInt(e(160))/3*(-parseInt(e(174))/4)+-parseInt(e(131))/5*(parseInt(e(176))/6)+-parseInt(e(141))/7*(-parseInt(e(175))/8)+parseInt(e(173))/9+parseInt(e(150))/10+-parseInt(e(145))/11*(-parseInt(e(130))/12))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=Tt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;function Ye(t,e){const i=Ge();return(Ye=function(t,e){return i[t-=463]})(t,e)}const Je=Ye;function Ge(){const t=["isConfirm","uiLanguage","length","deselect","ck-revision-history-sidebar__actions_dropdown_open","230062hTTyDQ","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision__date","175rBrXsc",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision_selected","setTemplate","1944944ahGBoa","ck-revision-history-sidebar__revision_highlighted","from","9uFrEIQ","name","select","_requireRevisionName","filter","isReady","listenTo","isActionsDropdownOpen","1622740kxaTay","851942TPqZWJ","114654givRlD","revisionActionsView","setName","value","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","highlight","isHighlighted","ck-disabled","_createdAtFormatted","srcElement","ck-revision-history-sidebar__revision","fire","createdAt","span","render","1794516RzsUol","220","closest","authors","ck-reset","element","creator","isEnabled","bind","bindTemplate","isSelected","unshift","ck-revision-history-sidebar__revision-authors","revisionNameView","244418frOnRw","unhighlight","set","ck-revision-history-sidebar__revision-wrapper","21hLuSkV","change","extendTemplate","_revision","fieldView","map"];return(Ge=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(543163===-parseInt(e(465))/1+-parseInt(e(480))/2*(-parseInt(e(469))/3)+parseInt(e(516))/4+-parseInt(e(483))/5*(parseInt(e(500))/6)+parseInt(e(499))/7+parseInt(e(487))/8*(parseInt(e(490))/9)+-parseInt(e(498))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(464)];[Je(501)];[Je(472)];[Je(493)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(525)],a=function(t,e){const i=r,n=Array[i(489)](e[i(519)])[i(494)](t=>t!=e[i(522)]);return e[i(522)]&&n[i(527)](e[i(522)]),n[i(474)](n=>new Pe(t,n,n==e[i(522)]))}(e,i);this.id=i.id,this[r(472)]=i,this[r(493)]=s,this[r(524)](r(491),r(513)).to(i),this[r(524)](r(509)).to(this,r(513),t=>{return i=e[r(476)],(n=t)[(s=ze)(104)](i,{month:s(116),day:s(118)})+", "+n[s(109)](i,{hour:s(118),minute:s(118)});var i,n,s}),this[r(467)](r(526),!1),this[r(467)](r(507),!1),this[r(467)](r(497),!1),this[r(467)](r(495),!1),this[r(467)](r(523),!1),this[r(464)]=new Ve(e,It.createLabeledInputText),this[r(464)][r(473)][r(471)]({attributes:{maxlength:r(517)}}),this[r(464)][r(473)][r(524)](r(503)).to(this,r(491),t=>t||this[r(509)]),this[r(464)][r(524)](r(523)).to(this,r(526),this,r(523),(t,e)=>t&&e),this[r(501)]=n&&n[r(477)]?function(e,i){const n=Ze,s=e[n(167)],r=e[n(158)],o=(0,It.createDropdown)(r);o[n(170)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(158)],s={"Compare against selected":at(n,i(140)),"Name this revision":at(n,i(169)),"Restore this revision":at(n,i(161))};return e[i(163)](t=>{const e=i,n=s[t[e(164)]];return n&&n!==t[e(164)]&&(t[e(164)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(137),model:new It.UIModel({label:t[s(164)],class:t[s(157)],withText:!0,role:s(153),_action:t[s(155)]})};i[s(148)][s(132)](s(178)).to(e,s(165),i=>s(151)!=typeof t[s(178)]||!i||t[s(178)](e)),o[s(134)](i)}return o}(e,i);return e[n(132)](n(165)).to(o,n(144)),o[n(147)][n(180)]({label:at(r,n(143)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(149)]({attributes:{class:[n(142),s.if(n(165),n(166))]},on:{click:s.to(t=>t[n(177)]())}}),o.on(n(138),t=>{const i=n;e[i(162)]&&i(151)==typeof t[i(172)][i(136)]&&t[i(172)][i(136)](e)}),(0,It.addListToDropdown)(o,a,{role:n(135)}),o[n(133)](e,n(179),(t,s,r)=>{const a=n;if(r)for(const t of o[a(154)][a(146)]){const n=t[a(171)][a(156)],s=i[a(159)](t=>t[a(155)]===n[a(136)])[a(168)];t[a(168)]=void 0===s||s(e)}}),o}(this,n):"",this[r(501)]&&this[r(501)][r(524)](r(523)).to(this),this[r(486)]({tag:r(504),attributes:{class:["ck",r(520),r(468),o.if(r(475),r(505))]},children:[{tag:r(504),attributes:{class:["ck",r(520),r(511),o.if(r(523),r(508),t=>!t),o.if(r(526),r(485)),o.if(r(507),r(488)),o.if(r(497),r(479))]},children:[this[r(464)],{tag:r(514),attributes:{class:["ck",r(482)]},children:[{text:o.to(r(509))}]},{tag:r(504),attributes:{class:["ck",r(481)]},children:[{tag:"ul",attributes:{class:["ck",r(463)]},children:a}]},this[r(501)]],on:{click:o.to(t=>{const e=r;t[e(510)][e(518)](e(484))||this[e(495)]&&this[e(523)]&&this[e(512)](e(492),{id:this.id})})}}]})}[Je(515)](){const t=Je;super[t(515)]();const e=this[t(464)][t(473)][t(521)];this[t(496)](e,t(470),()=>{const i=t;this[i(493)]&&!e[i(503)]||this[i(512)](i(502),{id:this.id,name:e[i(503)]}),e[i(503)]||(e[i(503)]=this[i(491)]?this[i(491)]:this[i(509)])})}[Je(492)](){this[Je(526)]=!0}[Je(478)](){this[Je(526)]=!1}[Je(506)](){this[Je(507)]=!0}[Je(466)](){this[Je(507)]=!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},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={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 Ei=null;class Di extends Mi{static get instance(){return null===Ei&&(Ei=new Di),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Vi.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.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"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function 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 Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,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=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ln()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Li.create(t)}return Vn(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(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function xn(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 Tn(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=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(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 Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,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 Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function xs(...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 Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Es=xs("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ls(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),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 Us(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 Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const 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?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,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,Ls,js),ir=Ss(Ms,Fs,Ls,js),nr=Ss(Es,Fs,Ls,js),sr=Ss(Fs,Ls,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Ds),cr=Ss(Fs,Ls,js);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(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,Us])}(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;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Ln()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const 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 Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}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 Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Qn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(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 xr(c);case"ooo":case"SSS":return xr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=Li.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=xn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!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:Wr(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=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Ur||t>Ur?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(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=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=xn(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=Un(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Un(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=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?Tn(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,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=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=Tn({...xn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Lr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}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&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["1472895fpltwr","local","weekdayLong","monthLong","week","month","setLocale","2hcGBev","6GxrAZa","startOf","day","toJSDate","5196653MByBhe","13578hiiNMI","year","51514AwdgRK","minus","10wkdWNT","hasSame","1618920oVYAtT","fromJSDate","720685oBeFRP","8EOgOSB","246572BrBcxJ","toRelativeCalendar"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=386]})(t,e)}function go(t,e){const i=vo,n=fo[i(389)](t)[i(400)](e),s=fo[i(395)](),r=s[i(410)]({days:1})[i(403)](i(404));let o,a;return n[i(387)](s,i(404))?(o=n[i(403)](i(404))[i(405)](),a=n[i(393)]()):n[i(387)](r,i(404))?(o=r[i(405)](),a=n[i(393)]()):n[i(387)](s,i(398))?(o=n[i(403)](i(398))[i(405)](),a=n[i(396)]||""):n[i(387)](s,i(408))?(o=n[i(403)](i(399))[i(405)](),a=n[i(397)]||""):(o=n[i(403)](i(408))[i(405)](),a=String(n[i(408)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(111167===parseInt(e(401))/1*(-parseInt(e(409))/2)+-parseInt(e(407))/3+parseInt(e(392))/4*(parseInt(e(386))/5)+-parseInt(e(402))/6*(parseInt(e(390))/7)+parseInt(e(391))/8*(-parseInt(e(394))/9)+-parseInt(e(388))/10+parseInt(e(406))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["10176JzMLEE","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","span","locale","add","2011025tFvyAO","165864FusdYS","1031286gxHqHH","4XxJVHl","startDate","addRevision","23474GcLWEC","13zyZKiz","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","find","revisionViews","setTemplate","delegate","select","63bTWRjE","902XSvkKY","14496828sgpZJU","remove","createCollection","_revisionActions","1988IIsVYQ","setName","div","uiLanguage","21yccEYY","_requireRevisionName","removeRevision","60670YsLImM"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(344926===parseInt(e(191))/1*(-parseInt(e(207))/2)+-parseInt(e(203))/3*(parseInt(e(204))/4)+-parseInt(e(201))/5+parseInt(e(195))/6*(parseInt(e(187))/7)+parseInt(e(202))/8*(parseInt(e(216))/9)+parseInt(e(194))/10*(-parseInt(e(217))/11)+-parseInt(e(183))/12*(-parseInt(e(208))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(205)];[bo(212)];[bo(186)];[bo(192)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(199)][s(190)])[s(209)];this[s(205)]=e,this[s(212)]=this[s(185)](),this[s(186)]=i,this[s(192)]=n,this[s(212)][s(214)](s(215)).to(this),this[s(212)][s(214)](s(188)).to(this),this[s(213)]({tag:s(189),attributes:{class:["ck",s(196)]},children:[{tag:s(198),attributes:{class:["ck",s(197)]},children:[{text:r}]},{tag:s(189),attributes:{class:["ck",s(210)]},children:this[s(212)]}]})}[bo(206)](t){const e=bo,i=new Ke(this[e(199)],t,this[e(186)],this[e(192)]);this[e(212)][e(200)](i)}[bo(193)](t){const e=bo,i=this[e(212)][e(211)](e=>e.id===t.id);this[e(212)][e(184)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=No();return(xo=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(576031===parseInt(e(309))/1*(-parseInt(e(295))/2)+-parseInt(e(300))/3+-parseInt(e(294))/4*(-parseInt(e(306))/5)+-parseInt(e(303))/6*(parseInt(e(301))/7)+parseInt(e(305))/8+-parseInt(e(291))/9*(-parseInt(e(310))/10)+parseInt(e(292))/11*(parseInt(e(302))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(299)]=_t.IconHistory,this[e(298)]({tag:e(308),attributes:{class:["ck",e(307),e(297)]},children:[i,{tag:e(293),attributes:{class:["ck",e(304)]},children:[at(t,e(296))]}]})}}function No(){const t=["setTemplate","content","3327183kQLqjU","86933kVZpuo","417468JMWzod","30NyyYoI","ck-revision-history-sidebar__header__label","60056tnCBjk","233195QwpEFC","ck-reset_all","div","68105xiCvFc","14770CoaJpN","5607DUIYeK","22YJTQxM","span","76vxaPSU","4AKGoME","Revision history","ck-revision-history-sidebar__header"];return(No=function(){return t})()}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Eo(t,e){const i=Do();return(Eo=function(t,e){return i[t-=119]})(t,e)}function Do(){const t=["highlight","deselect","bindTemplate","23431958BdHoSx","flat","3558DlUrqH","1306187XCTvWc","ck-revision-history-sidebar__timeline","_requireRevisionName","_getTimePeriodViewByStartDate","setTemplate","_removeRevision","uiLanguage","revisionSetName","5789CWGWZy","_revisions","_revisionActions","5248944FZMvwT","_addRevision","div","16RSlbqn","locale","set","ck-disabled","find","ck-revision-history-sidebar","selectRevision","ck-rounded-corners","62dcrqRu","some","createdAt","map","get","remove","createCollection","fire","timePeriodViews","highlightRevisions","startDate","add","addRevision","isEnabled","9122400OOMgoR","75360jjPapC","unhighlight","10DqCCpx","ck-reset","render","select","12490ULxqND","getTime","revisionViews","setName","delegate","revisionSelected","removeRevision"];return(Do=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(883172===-parseInt(e(162))/1+parseInt(e(128))/2*(-parseInt(e(143))/3)+-parseInt(e(120))/4*(parseInt(e(149))/5)+parseInt(e(161))/6*(parseInt(e(170))/7)+-parseInt(e(173))/8+parseInt(e(142))/9+parseInt(e(145))/10*(parseInt(e(159))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends It.View{[Mo(136)];[Mo(171)];[Mo(172)];[Mo(164)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(158)];this[s(136)]=this[s(134)](),this[s(136)][s(153)](s(148)).to(this),this[s(136)][s(153)](s(152)).to(this),this[s(171)]=e,this[s(172)]=i,this[s(164)]=n,this.on(s(148),(t,e)=>{const i=s;this[i(135)](i(154),e)}),this.on(s(152),(t,e)=>{const i=s;this[i(135)](i(169),e)}),this[s(122)](s(141),!1),this[s(166)]({tag:s(119),attributes:{class:["ck",s(146),s(127),s(125)]},children:[new To(t),{tag:s(119),attributes:{class:["ck",s(163),r.if(s(141),s(123),t=>!t)]},children:this[s(136)]}]})}[Mo(147)](){const t=Mo;super[t(147)]();for(const e of this[t(171)])this[t(174)](e);this[t(171)].on(t(139),(e,i)=>{this[t(174)](i)}),this[t(171)].on(t(133),(e,i)=>{this[t(167)](i)})}get[Mo(151)](){const t=Mo;return this[t(136)][t(131)](e=>e[t(151)][t(131)](t=>t))[t(160)]()}[Mo(126)](t){const e=Mo;for(const i of this[e(151)])t&&t.id===i.id?i[e(148)]():i[e(157)]()}[Mo(137)](t){const e=Mo;for(const i of this[e(151)])t[e(129)](({id:t})=>t===i.id)?i[e(156)]():i[e(144)]()}[Mo(174)](t){const e=Mo,i=go(t[e(130)],this[e(121)][e(168)])[e(138)];let n=this[e(136)][e(132)](0);n&&n[e(138)][e(150)]()===i[e(150)]()||(n=new Io(this[e(121)],i,this[e(172)],this[e(164)]),this[e(136)][e(139)](n)),n[e(140)](t)}[Mo(167)](t){const e=Mo,i=go(t[e(130)],this[e(121)][e(168)])[e(138)];this[e(165)](i)[e(155)](t)}[Mo(165)](t){const e=Mo;return this[e(136)][e(124)](i=>i[e(138)][e(150)]()===t[e(150)]())}}function Co(t,e){const i=jo();return(Co=function(t,e){return i[t-=454]})(t,e)}const Fo=Co;!function(t){const e=Co,i=t();for(;;)try{if(968476===-parseInt(e(471))/1*(parseInt(e(488))/2)+-parseInt(e(461))/3*(-parseInt(e(517))/4)+parseInt(e(484))/5+parseInt(e(487))/6+-parseInt(e(496))/7*(-parseInt(e(510))/8)+-parseInt(e(527))/9+parseInt(e(490))/10*(-parseInt(e(525))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Fo(523)];[Fo(498)];[Fo(458)];static[Fo(493)]=[Fo(531),Fo(470),Fo(512)];static[Fo(486)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(460),action:({plugins:e},i)=>{const n=t,s=e[n(515)](ue),r=s[n(509)];let o=s[n(472)][n(457)],a=i.id;r[n(476)](o)>r[n(476)](a)&&([o,a]=[a,o]),s[n(462)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(515)](ue);return!(s[n(509)][n(506)](s[n(472)])[n(456)]>2||i[n(518)])}},restoreRevision:{name:t(520),action:(e,{id:i})=>{const n=t;e[n(513)][n(515)](n(454))[n(469)](i)},isVisible:({plugins:e},i)=>!!e[t(515)](ue)[t(509)][t(499)](i.id)},nameRevision:{name:t(465),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(515)](ue),o=r[s(509)][s(507)](i);r[s(462)](i,o),n[s(455)](),n[s(479)][s(500)]()}}}}();static get[Fo(483)](){return Fo(532)}static get[Fo(521)](){return!0}static get[Fo(533)](){return!0}static get[Fo(502)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(523)]=t[e(514)][e(515)](ue),this[e(498)]=this[e(523)][e(509)],this[e(458)]=null}[Fo(536)](){const t=Fo,e=this[t(498)][t(475)],i=this[t(516)](),n=this[t(491)][t(513)][t(515)](t(477));this[t(458)]=new Vo(this[t(491)][t(459)],e,i,this[t(491)][t(513)][t(515)](t(481))),this[t(458)].on(t(480),this[t(522)][t(535)](this)),this[t(458)].on(t(524),this[t(519)][t(535)](this)),this[t(458)][t(535)](t(494)).to(this[t(523)]),this[t(458)][t(528)].on(t(526),(e,i)=>{const n=t;i[n(489)].on(n(526),(t,e)=>{const i=n;e[i(535)](i(494),i(530)).to(this[i(523)])})}),this[t(458)][t(485)](),this[t(497)](this[t(491)][t(463)],t(534),this[t(495)][t(535)](this)),this[t(497)](this[t(523)],t(473),this[t(537)][t(535)](this)),n[t(464)](this[t(458)][t(505)])}[Fo(508)](){const t=Fo;this[t(458)][t(505)][t(511)](),this[t(458)][t(508)]()}[Fo(495)](){const t=Fo,e=this[t(498)][t(478)](0);if(e){const i=this[t(498)][t(507)](e.id);this[t(523)][t(462)](e,i)}}[Fo(522)](t,e){const i=Fo,n=this[i(498)][i(478)](e.id),s=this[i(498)][i(507)](n.id);this[i(523)][i(462)](n,s)}[Fo(519)](t,e){const i=Fo;this[i(498)][i(478)](e.id)[i(503)](e[i(501)])}[Fo(537)](t,e,i){const n=Fo,s=this[n(498)][n(506)](i);s[n(456)]>2?(this[n(458)][n(466)](s),this[n(458)][n(474)](null)):(this[n(458)][n(466)]([]),this[n(458)][n(474)](s[0]))}[Fo(516)](){const t=Fo,e=this[t(491)],i=Lo[t(486)],n=e[t(513)][t(515)](t(468))||Lo[t(493)];if(n[t(456)])return n[t(467)](n=>{const s=t,r=s(529)==typeof n?Object[s(492)]({},i[n]):n;return r[s(482)]=r[s(482)][s(535)](this,e),r[s(504)]&&(r[s(504)]=r[s(504)][s(535)](this,e)),r})}}function jo(){const t=["select","name","requires","setName","isVisible","element","getRevisionsInDiff","getEarlierVisibleRevision","destroy","repository","1695968TThAce","remove","nameRevision","config","plugins","get","_createRevisionActions","20cSmwpq","isSelected","_handleRevisionSetName","Restore this revision","isOfficialPlugin","_handleRevisionSelected","_revisionViewer","revisionSetName","11FYrsOC","add","1705347GcusQX","timePeriodViews","string","isReady","compareAgainstSelected","RevisionsSidebar","isPremiumPlugin","ready","bind","init","_handleDiffChange","revisionHistory","focus","length","newRevisionId","_sidebarView","locale","Compare against selected","338853jzWiYz","compare","data","appendChild","Name this revision","highlightRevisions","map","revisionHistory.revisionActions","restoreRevisionCallback","restoreRevision","139463BOqSFZ","diff","change:diff","selectRevision","_revisions","getIndex","revisionHistory.viewerSidebarContainer","getRevision","fieldView","revisionSelected","revisionHistory.requireRevisionName","action","pluginName","1835630vfzLqi","render","availableRevisionActions","7391460zgAJLp","2AqexXU","revisionViews","12903610BYOGvR","editor","assign","defaultRevisionActions","isEnabled","_handleEditorDataReady","14HNLKMl","listenTo","_revisionsRepository","getLaterVisibleRevision"];return(jo=function(){return t})()}function Po(){const t=["5898340REUFLr","198YLaNsF","document","_elementReplacer","detachDomRoot","name","editable","1670154fftMGS","element","getRoot","focusTracker","editing","destroy","fillFromConfig","rootName","201201QCLsxi","37685eNjgXn","isActive","init","576ZdUuKH","get","componentFactory","_initToolbar","_toolbarConfig","config","fire","viewportOffset","_view","restore","ready","setEditableElement","view","stickyPanel","4171685SGxnhV","4eollGo","bind","8433tIVjBK","editor","toolbar","isFocused","addToolbar","viewportTopOffset","867702jcTngm","replace","render","limiterElement","attachDomRoot"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=315]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(400640===parseInt(e(332))/1+parseInt(e(359))/2+-parseInt(e(324))/3*(parseInt(e(351))/4)+-parseInt(e(333))/5*(-parseInt(e(318))/6)+parseInt(e(350))/7+-parseInt(e(336))/8*(-parseInt(e(353))/9)+-parseInt(e(317))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[Uo(344)];[Uo(340)];[Uo(320)];get[Uo(348)](){return this[Uo(344)]}constructor(e,i){const n=Uo;super(e),this[n(344)]=i,this[n(340)]=(0,It.normalizeToolbarConfig)(e[n(341)][n(337)](n(355))),this[n(320)]=new t.ElementReplacer}get[Uo(325)](){const t=Uo;return this[t(348)][t(325)]}[Uo(335)](t){const e=Uo,i=this[e(354)],n=this[e(348)],s=i[e(328)][e(348)],r=n[e(323)],o=s[e(319)][e(326)]();r[e(322)]=o[e(331)],n[e(361)]();const a=r[e(325)];this[e(347)](r[e(322)],a),n[e(323)][e(352)](e(356)).to(this[e(327)]),s[e(316)](a),this[e(320)][e(360)](t,this[e(325)]),this[e(339)](),this[e(342)](e(346))}[Uo(329)](){const t=Uo;super[t(329)]();const e=this[t(348)],i=this[t(354)][t(328)][t(348)];this[t(320)][t(345)](),i[t(321)](e[t(323)][t(322)]),e[t(329)]()}[Uo(339)](){const t=Uo,e=this[t(348)];e[t(349)][t(352)](t(334)).to(this[t(327)],t(356)),e[t(349)][t(315)]=e[t(325)],e[t(349)][t(352)](t(358)).to(this,t(343),({top:t})=>t),e[t(355)][t(330)](this[t(340)],this[t(338)]),this[t(357)](e[t(355)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["content","66865JMrcrj","3402MhCzlB","856600pXcJVW","679GDQYmw","stickyPanel","950252efLWVj","714918fuzKkP","_editable","5pmTyQQ","main","add","shouldToolbarGroupWhenFull","200FKvHIc","266238jtPQQz","editable","top","render","163106bpWmve","toolbar"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=289]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(129427===-parseInt(e(289))/1+-parseInt(e(306))/2+-parseInt(e(295))/3+parseInt(e(294))/4*(-parseInt(e(297))/5)+-parseInt(e(290))/6*(-parseInt(e(292))/7)+parseInt(e(291))/8+-parseInt(e(302))/9*(-parseInt(e(301))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(296)];[qo(293)];[qo(307)];get[qo(303)](){return this[qo(296)]}constructor(t,e,i={}){var n=qo;super(t),this[n(293)]=new It.StickyPanelView(t),this[n(307)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(300)]}),this[n(296)]=new It.InlineEditableUIView(t,e)}[qo(305)](){var t=qo;super[t(305)](),this[t(293)][t(308)][t(299)](this[t(307)]),this[t(304)][t(299)](this[t(293)]),this[t(298)][t(299)](this[t(303)])}}function Jo(){const t=["model","locale","415080JxcDDc","504699ZDQCcW","destroy","init","sourceElement","initialData","_ui","updateSourceElement","266861NXemKn","config","4JGQBzM","createRoot","132qJZTXX","data","89rNnbwb","fire","457847klvxEX","56OwAvLX","385Umwwzb","ready","24yPxUoE","1742lDDTFz","243549SmKAGH","27070yBOYCu","editing","get","create","view","initPlugins","document"];return(Jo=function(){return t})()}const Go=Ko;function Ko(t,e){const i=Jo();return(Ko=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(113481===parseInt(e(453))/1*(parseInt(e(460))/2)+-parseInt(e(440))/3*(-parseInt(e(449))/4)+-parseInt(e(439))/5+parseInt(e(459))/6*(-parseInt(e(447))/7)+-parseInt(e(456))/8*(parseInt(e(461))/9)+parseInt(e(462))/10*(-parseInt(e(457))/11)+-parseInt(e(451))/12*(-parseInt(e(455))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Go(445)];get ui(){return this[Go(445)]}constructor(t,e){const i=Go;super(e),this[i(443)]=t,this[i(437)][i(436)][i(450)]();const n=new Yo(this[i(438)],this[i(431)][i(434)],{shouldToolbarGroupWhenFull:!0});this[i(445)]=new Wo(this,n)}[Go(441)](){const t=Go;return this[t(446)](),this.ui[t(441)](),super[t(441)]()}static async[Go(433)](t,e){const i=Go,n=new this(t,e);return await n[i(435)](),await n.ui[i(442)](t),await n[i(452)][i(442)](n[i(448)][i(432)](i(444))||""),n[i(454)](i(458)),n}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=139]})(t,e)}function ea(){const t=["translations","addUser","users","_getRevisionViewerEditorConfig","setSelection","isOpen","toolbar","bind","insert","revisionHistory.closeRevisionViewerCallback","revision-history-viewer-opened","_restoreRevision","toLocaleTimeString","showRevisionViewerCallback","RevisionHistoryUtils","set","2260QMkgdw","revisionHistory.restoreRevisionCallback","roots","toLocaleDateString","style","removeMarker","data","plugins","disableReadOnlyMode","isAttached","revisionHistory.viewerEditorElement","isReady","6rAQHoj","requires","lazyRoots","refreshVisibility","enableReadOnlyMode","init","fromVersion","commands","263136ubtiBQ","editor","getRevision","refreshPositioning","Autosave","define","update","model","hide","RevisionViewer","_showRevisionViewer","restoreRevision","destroy","create","restrictedEditingException","getMarkersGroup","locale","RevisionViewerIntegration","isAnonymous","Annotations","12033688HUyynA","toVersion","rootName","createdAt","getRevisionRootsAttributes","uiLanguage","_enhanceCloseRevisionViewerCallback","isOfficialPlugin","has","DocumentOutline","numeric","713136GmpdDp","4526883cINpFe","isPremiumPlugin","then","setAttribute","getRevisions","name","Restored","isRevisionViewerOpen","change","isReadOnly","keys","Dialog","_closeRevisionViewer","_cleanUp","markers","getRevisionDocumentData","saveRevision","removeSelectionAttribute","Users","block","revisionHistory.viewerContainer","180405cgtUeE","revisionHistory","_viewerEditor","display","result","getRoot","closeRevisionViewerCallback","get","push","revisionHistory.showRevisionViewerCallback","parse","revisionHistory.requireRevisionName","none","changesNavigation","addRevisionData","loadRevisionData","getUser","4340PNABix","247037OXhtjf","RestrictedEditingMode","revisionHistory.editorContainer","DocumentOutlineUI","RevisionTracker","remove","join","getAttributeKeys","from","RevisionHistory","save","detachRoot","_recalculatePageBreaks","$graveyard","addRoot","repository","createRangeIn","end","_enhanceShowRevisionViewerCallback","long","_update","toJSON","adapter","catch","fromCharCode","removeAttribute","pluginName","PaginationLookup","indexOf","config","error","document","RevisionsRepository","isEnabled","revision-history-missing-configuration","260CKpytd","includes","enqueueChange","view","RevisionHistoryUI","element","selection","map","creator","exitToEditing"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(918423===-parseInt(e(195))/1+-parseInt(e(226))/2+-parseInt(e(227))/3+parseInt(e(149))/4*(parseInt(e(265))/5)+parseInt(e(187))/6*(-parseInt(e(266))/7)+-parseInt(e(215))/8+parseInt(e(248))/9*(parseInt(e(175))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(153),Qo(267)];class na extends G.Plugin{[Qo(252)];static get[Qo(140)](){return Qo(212)}static get[Qo(222)](){return!0}static get[Qo(228)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(156)](t=>String[e(290)](t))[e(272)]("")}super(t),this[e(252)]=e(283),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Qo(250)];static get[Qo(140)](){return Qo(275)}static get[Qo(222)](){return!0}static get[Qo(228)](){return!0}static get[Qo(188)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(196)][i(143)][i(255)](i(249)))throw new t.CKEditorError(i(148),this);this[i(250)]=null,this[i(174)](i(234),!1),this[i(196)][i(143)][i(200)](i(257),t=>this[i(205)]({...t,translations:this[i(196)][i(211)][i(159)]})),this[i(196)][i(143)][i(200)](i(168),t=>this[i(239)](t)),this[i(196)][i(143)][i(200)](i(176),t=>this[i(170)](t)),this[i(196)][i(143)][i(200)](i(259),!1),this[i(284)](),this[i(221)]()}set[Qo(288)](t){const e=Qo;this[e(196)][e(182)][e(255)](e(270))[e(288)]=t}get[Qo(288)](){const t=Qo;return this[t(196)][t(182)][t(255)](t(270))[t(288)]}[Qo(262)](t){const e=Qo;return this[e(196)][e(182)][e(255)](e(270))[e(262)](t)}[Qo(197)](t){const e=Qo;return this[e(196)][e(182)][e(255)](e(146))[e(197)](t)}[Qo(231)](t){const e=Qo;return this[e(196)][e(182)][e(255)](e(146))[e(231)](t||{toJSON:!1})}[Qo(162)](){const e=Qo,i=this[e(196)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(182)][e(255)](e(270)),r=i[e(182)][e(255)](e(245))[e(161)];return n[e(165)]=[e(158),e(206),e(261)],delete n[e(189)],n[e(182)][e(256)](na,ue,Ne,class extends G.Plugin{static get[e(188)](){return[ue,e(245)]}[e(192)](){const n=e,o=this[n(196)][n(182)][n(255)](n(245));for(const t of r)t[n(213)]||o[n(264)](t.id)||o[n(160)](t);const a=s[n(281)][n(231)]();let c=null;const u=this[n(196)][n(182)][n(255)](n(204));u[n(288)]=s[n(288)],u[n(166)](n(147)).to(s),this[n(196)][n(194)][n(255)](n(206))[n(166)](n(147)).to(i,n(236),t=>!t);for(const e of a){const i=null===e[n(157)];if(i&&e[n(216)]===e[n(193)])continue;const r=e[n(287)]();u[n(262)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(286)](r,o);else if(!o){const e=a[u(287)]();e.id=(0,t.uid)(),s[u(243)](e,a[u(216)])[u(229)](t=>{c=t})}}else e[u(286)](r,o)})}}},Lo),n}[Qo(284)](){const t=Qo,e=this[t(196)][t(143)][t(255)](t(249))[t(172)];this[t(196)][t(143)][t(174)](t(257),async()=>{const i=t;this[i(196)][i(191)](i(169));const n=this[i(196)][i(182)][i(255)](i(270));if(this[i(196)][i(182)][i(223)](i(199))){const t=this[i(196)][i(182)][i(255)](i(199));await t[i(276)]()}else await n[i(201)]();if(this[i(196)][i(182)][i(223)](i(141))&&this[i(196)][i(182)][i(255)](i(141))[i(278)](),this[i(196)][i(182)][i(223)](i(238))){const t=this[i(196)][i(182)][i(255)](i(238));t[i(164)]&&t[i(203)]()}const s=this[i(162)]();return e(s)[i(229)](t=>{const e=i;return this[e(250)]=t,this[e(196)][e(182)][e(223)](e(214))&&this[e(196)][e(182)][e(255)](e(214))[e(190)](),this[e(196)][e(182)][e(223)](e(224))&&(this[e(196)][e(182)][e(255)](e(269))[e(152)][e(154)][e(179)][e(251)]=e(260)),t})[i(289)](t=>(console[i(144)](t),this[i(196)][i(183)](i(169)),null))})}[Qo(221)](){const t=Qo,e=this[t(196)][t(143)][t(255)](t(249))[t(254)];this[t(196)][t(143)][t(174)](t(168),()=>(this[t(196)][t(182)][t(223)](t(141))&&this[t(196)][t(182)][t(255)](t(141))[t(278)](),this[t(196)][t(182)][t(223)](t(224))&&(this[t(196)][t(182)][t(255)](t(269))[t(152)][t(154)][t(179)][t(251)]=""),this[t(250)][t(182)][t(255)](t(204))[t(240)](),e(this[t(250)])[t(229)](()=>{const e=t;if(this[e(196)][e(183)](e(169)),this[e(250)]=null,this[e(196)][e(182)][e(223)](e(214))){const t=this[e(196)][e(182)][e(255)](e(214));t[e(190)](),t[e(198)]()}})))}[Qo(205)](t){const e=Qo,i=this[e(196)][e(143)][e(255)](e(268)),n=this[e(196)][e(143)][e(255)](e(247)),s=this[e(196)][e(143)][e(255)](e(185));return Xo[e(208)](s,t)[e(229)](t=>(n[e(179)][e(251)]=e(246),i[e(179)][e(251)]=e(260),this[e(234)]=!0,t))}[Qo(239)](t){const e=Qo,i=this[e(196)][e(143)][e(255)](e(268));return this[e(196)][e(143)][e(255)](e(247))[e(179)][e(251)]=e(260),i[e(179)][e(251)]="",this[e(234)]=!1,t[e(207)]()}async[Qo(170)](t){const e=Qo,i=this[e(196)],n=this[e(250)][e(182)][e(255)](e(204)),s=i[e(182)][e(255)](e(270)),r=i[e(182)][e(255)](e(173)),o=n[e(281)][e(197)](t);let a,c,u;try{await r[e(263)](o,this[e(288)]),a=r[e(242)](o),c=r[e(219)](o)}catch(t){return void console[e(144)](t)}i[e(202)][e(235)](t=>{const n=e;for(const e of Array[n(274)](i[n(202)][n(241)][n(210)](n(209))))t[n(180)](e)}),n[e(186)]=!1,i[e(202)][e(151)](t=>{const n=e;t[n(163)](null),t[n(244)](i[n(202)][n(145)][n(155)][n(273)]());const s=Object[n(237)](a);for(const e of i[n(202)][n(145)][n(177)])n(279)!=e[n(217)]&&e[n(184)]()&&!s[n(150)](e[n(217)])&&t[n(277)](e);for(const e of s){let s=i[n(202)][n(145)][n(253)](e);s&&s[n(184)]()||(s=t[n(280)](e));const r=c[e],o=Object[n(237)](r),u=a[e];for(const e of s[n(273)]())o[n(150)](e)||t[n(139)](e,s);for(const i of o)t[n(230)](i,c[e][i],s);t[n(271)](t[n(282)](s)),t[n(167)](i[n(181)][n(258)](u,s),s,0)}});const l=at(i[e(211)],e(233));return u=o[e(232)]?-1==o[e(232)][e(142)](l)?l+": "+o[e(232)]:o[e(232)]:l+": "+o[e(218)][e(178)](i[e(211)][e(220)],{month:e(285),day:e(225)})+", "+o[e(218)][e(171)](i[e(211)][e(220)],{hour:e(225),minute:e(225)}),await s[e(243)]({name:u}),n[e(186)]=!0,i[e(143)][e(255)](e(249))[e(254)]()}}function ra(){var t=["3dbopwU","407juwlOP","1tzPIYB","13YENPVo","40760OXFZeJ","633940wFuRDu","2264792snUAYq","103250GTRrWA","390846xvXbAb","8475696bdWJQf","514988bkMojM","9MbZIBS","5EbegWj"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=487]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(223779===-parseInt(e(498))/1*(parseInt(e(493))/2)+-parseInt(e(496))/3*(-parseInt(e(488))/4)+-parseInt(e(495))/5*(-parseInt(e(491))/6)+-parseInt(e(490))/7+-parseInt(e(489))/8*(parseInt(e(494))/9)+parseInt(e(487))/10*(-parseInt(e(497))/11)+parseInt(e(492))/12*(parseInt(e(499))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|