@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250622.0 → 0.0.0-nightly-20250624.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Go,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Te,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});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,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&M(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=j(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:E(s[t+1])?[]:{}}V(r,e,o),r=r[e]}return t}(t,e,()=>i,()=>{})}function W(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":{const n=t[e];return void 0===n?W(e)?Z(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function H(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=B;function q(){const t=["fromVersion","1195649AOaWBk","432729DMZwUr","toJSON","_update","set","4261150KNwDyu","922510xPCTgL","519277yxWhgg","map","authors","toVersion","setAttribute","diffData","3427470dXIsQH","creatorId","createdAt","fire","creator","authorsIds","534pNhnQv","6LUNjXH","name","model","8184cpJRFE","attributes","setName","40sPtexr","removeAttribute"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=153]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(520481===parseInt(e(168))/1+-parseInt(e(167))/2+-parseInt(e(180))/3*(-parseInt(e(155))/4)+parseInt(e(166))/5*(parseInt(e(181))/6)+-parseInt(e(161))/7+-parseInt(e(158))/8*(parseInt(e(162))/9)+-parseInt(e(174))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class J extends((0,t.ObservableMixin)()){id;[$(178)];[$(170)];[$(173)];[$(171)];[$(160)];[$(154)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(178)]=e[i(178)]||null,this[i(170)]=e[i(170)]||[],this[i(173)]=e[i(173)]||null,this[i(171)]=e[i(171)]||0,this[i(160)]=e[i(160)]||0,this[i(165)](i(153),e[i(153)]||""),this[i(165)](i(176),e[i(176)]||new Date),this[i(165)](i(156),e[i(156)]||{})}[$(157)](t){this[$(164)]({name:t})}[$(172)](t,e){const i=$,n=A(this[i(156)]);U(n,t,e),this[i(164)]({attributes:n})}[$(159)](t){const e=$,i=A(this[e(156)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return H(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(164)]({attributes:i})}[$(164)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(153),i(176),i(173),i(170),i(156),i(171),i(160),i(175)];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(170)]&&(s[i(179)]=s[i(170)][i(169)](t=>t.id),delete s[i(170)]),this[i(177)](i(164),s,e))}[$(163)](){const t=$;return{id:this.id,name:this[t(153)],creatorId:this[t(178)]?this[t(178)].id:null,authorsIds:this[t(170)][t(169)](t=>t.id),diffData:this[t(173)],createdAt:this[t(176)],attributes:this[t(156)],fromVersion:this[t(160)],toVersion:this[t(171)]}}}var Y=i(782),G=i(211),K=i(783);const X=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=406]})(t,e)}function tt(){const t=["name","later","isOfficialPlugin","4972032lNJEZe","pluginName","length","isNaN","919158LrFHBS","addRevision","requires","attributes","creatorId","afterInit","_revisions","fromCharCode","toJSON","data","map","oldRevisionId","fromVersion","30VMDDiS","newRevisionId","3248pSgiOj","getUser","isPremiumPlugin","11HCtnZv","push","getLaterVisibleRevision","reverse","diffData","117wkDjyr","createdAt","get","RevisionsRepository","earlier","getIndex","getEarlierVisibleRevision","plugins","40249260IVKxZR","join","getRevisionsIterator","77bjZKeG","Users","add","createRevision","5ZQPgVp","toVersion","getRevision","href","6166237OxZQgZ","335306ACCDLA","getRevisions","4366396uOkgUp","getRevisionsInDiff","from","editor","authorsIds"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(952877===-parseInt(e(434))/1*(parseInt(e(459))/2)+-parseInt(e(412))/3+-parseInt(e(461))/4*(-parseInt(e(454))/5)+parseInt(e(416))/6*(parseInt(e(450))/7)+-parseInt(e(431))/8*(-parseInt(e(439))/9)+parseInt(e(429))/10*(-parseInt(e(458))/11)+parseInt(e(447))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends Y.Plugin{[X(422)];static get[X(418)](){return[G.Users]}static get[X(413)](){return X(442)}static get[X(411)](){return!0}static get[X(433)](){return!0}get[X(414)](){const t=X;return this[t(422)][t(414)]}constructor(e){const i=X;super(e),this[i(422)]=new t.Collection}[X(421)](){!async function(e){const i=k([73,115,101,69,103,108,52,67,81,80,113,79,106,51,50,104,97,100,55,102,65,88,116,86,121,98,49,53,110,57,84,82,109,111,48,54,117,90,83,119,78,118,114,85,77,74,120,56,70,68,75,66,71,89,107,99,105,122,76,72,87,112]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(415)](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([73]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(426)](t=>String[e(423)](t))[e(448)]("")}!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:1750550400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(457)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(453)](t){const e=X,i=this[e(407)][e(446)][e(441)](e(451));return new J({id:t.id,name:t[e(409)],creator:t[e(420)]?i[e(432)](t[e(420)]):null,diffData:t[e(438)]||t[e(425)],authors:t[e(408)][e(426)](t=>i[e(432)](t)),createdAt:new Date(t[e(440)]),attributes:t[e(419)],fromVersion:t[e(428)],toVersion:t[e(455)]})}[X(417)](t,e=0){const i=X;this[i(422)][i(452)](t,e)}[X(456)](t){const e=X;return this[e(422)][e(441)](t)}[X(460)](t={toJSON:!1}){const e=X,i=Array[e(406)](this[e(422)]);return i[e(437)](),t[e(424)]?i[e(426)](t=>t[e(424)]()):i}[X(444)](t){const e=X;return this[e(422)][e(444)](t)}[X(445)](t){const e=X,[,i]=this[e(449)](t,{direction:e(443)});return i}[X(436)](t){const e=X,[,i]=this[e(449)](t,{direction:e(410)});return i}[X(462)](t){const e=X,i=[];for(const n of this[e(449)](t[e(430)]))if(i[e(435)](n),n.id===t[e(427)])break;return i}*[X(449)](t,{direction:e=X(443),filter:i=()=>!0}={}){const n=X,s=n(443)===e?1:-1;let r=this[n(422)][n(441)](t),o=this[n(444)](r);for(yield r;r;){if(o+=s,r=this[n(456)](o),!r)return;i(r)&&(yield r)}}}const it=nt;function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=485]})(t,e)}function st(){const t=["div","isAttached","collaboration.channelId","map","8QEBBCf","_getViewFromDiffObj","append","data-revision-","default","6vFZaxz","isOfficialPlugin","string","customProperties","editing","7029835YQUinO","startsWith","isPremiumPlugin","toData","get","name","_viewClassToTypeChar","attributes","domDocument","15849548TKRjaM","processor","marked","toModel","data","2dZaVRC","2226648icTvlx","471190dhSpUV","createElement","filter","parse","8694749fFPrgr","revision-end","useFillerType","348802bpqawO","loadRevisionData","editor","childNodes","_getTypeCharForViewElement","getRevisionRootsAttributes","htmlProcessor","constructor","getFillerOffset","children","_makeModelFromViewString","attachChange","_typeCharToViewClass","view","6qFUhcd","type","from","render","diffData","12909717Heymdy","_appendChild","RevisionHistoryUtils","pluginName","_setCustomProperty","innerHTML","insertions","viewChildrenToDom","revision-start","config","getRevisionDocumentData","getRevision","forEach","attributesAfter","document","domChildrenToView","fillerOffset","length","domConverter","_removeRevisionMarkers"];return(st=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(969046===-parseInt(e(521))/1*(parseInt(e(530))/2)+-parseInt(e(502))/3*(-parseInt(e(522))/4)+-parseInt(e(507))/5*(-parseInt(e(544))/6)+-parseInt(e(527))/7+parseInt(e(497))/8*(parseInt(e(549))/9)+parseInt(e(523))/10+-parseInt(e(516))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class rt extends Y.Plugin{static get[it(552)](){return it(551)}static get[it(503)](){return!0}static get[it(509)](){return!0}[it(513)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(542)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(531)](t,e){const i=it;if(t[i(548)]||!e)return;const n=this[i(532)][i(558)][i(511)](i(495)),s=await e[i(560)]({channelId:n,revisionId:t.id});t[i(548)]=s[i(548)]}[it(559)](t){const e=it,i={};for(const n in t[e(548)]){if(t[e(548)][n][e(541)]&&!t[e(548)][n][e(541)][e(494)])continue;const s=this[e(492)](JSON[e(526)](t[e(548)][n][e(555)])),r=this[e(532)][e(506)][e(543)][e(487)],o=new K.ViewDocumentFragment(r,s[e(496)](t=>this[e(498)](t,!1)));this[e(532)][e(520)][e(517)][e(529)](e(518)),i[n]=this[e(532)][e(520)][e(517)][e(510)](o),this[e(532)][e(520)][e(517)][e(529)](e(501))}return i}[it(535)](t){const e=it,i={};for(const n in t[e(548)])t[e(548)][n][e(541)]&&!t[e(548)][n][e(541)][e(494)]||(i[n]=t[e(548)][n][e(486)]||{});return i}[it(534)](t){const e=it;return this[e(513)][e(511)](t[e(537)])}[it(498)](t,e){const i=it,n=this[i(532)][i(506)][i(543)][i(487)];if(i(504)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(545)]||"r"==t[i(545)]?[]:t[i(539)][i(496)](t=>this[i(498)](t,e));const o=this[i(542)][i(511)](t[i(545)])||K.ViewElement,a=this[i(532)][i(520)][i(536)][i(491)];if(s=new o(n,t[i(512)],t[i(514)],r),"u"==t[i(545)]&&t[i(539)][0]){const r=t[i(539)][0];if(s[i(547)]=function(t){const e=i,n=t[e(524)](e(493));return n[e(554)]=r,n[e(533)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(550)](s);const e=Array[i(546)](a[i(556)](t,{bind:!1})),r=a[i(515)][i(524)](i(493));r[i(499)](...e),s=Array[i(546)](a[i(488)](r))[0]}}else if("r"==t[i(545)]&&t[i(539)][0]){const r=t[i(539)][0];if(s[i(547)]=function(t){t[i(554)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(550)](s);const e=Array[i(546)](a[i(556)](t,{bind:!1})),r=a[i(515)][i(524)](i(493));r[i(499)](...e);const o=Array[i(546)](a[i(488)](r));o[i(490)]>1?s[i(550)](o):s=o[0]}}if(t[i(505)])for(const[e,n]of t[i(505)])s[i(553)](e,n);const c=void 0===t[i(489)]?null:t[i(489)];return null!==c&&(s[i(538)]=()=>c),s}}[it(540)](t){const e=it,i=JSON[e(526)](t),n=this[e(532)][e(506)][e(543)][e(487)],s=new K.ViewDocumentFragment(n,i[e(496)](t=>this[e(498)](t,!0)));return this[e(532)][e(520)][e(519)](s)}[it(492)](t){const e=it;return(t=t[e(525)](t=>!t[e(512)]||e(557)!==t[e(512)]&&e(528)!==t[e(512)]))[e(485)](t=>{const i=e;i(504)!=typeof t&&(t[i(539)]=this[i(492)](t[i(539)]),t[i(514)]=t[i(514)][i(525)](t=>!t[0][i(508)](i(500))))}),t}}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(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 M(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),V=n.get(i);if(null!=A&&null!=V)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)||!ct(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=>ct(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(!ct(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,T)||at(t)&&at(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(!ct(o,i[r],r,t,i,n,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=kt;function ft(){const t=["config","_startingVersion","stickiness","revisionHistoryLicenseKeyUsageLimit","getChildren","element","slice","isAdd","revisionHistoryLicenseKeyEvaluationLimit","children","history","text","insertions","_processRootBeforeSave","sort","markerToData","_loadedStateData","end","attributesAfter","addRevisionData","createPositionAfter","_insertChild","_getBaseVids","collaboration.channelId","RealTimeCollaborationClient","revisionHistoryLicenseKeyTrialLimit","getCustomProperties","rootName","getRevisionRootsAttributes","authorsIds","_makeModelFromViewString","_savedMetaData","bind","dataToMarker","getNodeByPath","filter","start","newValue","set","30SfPIsF","_fixRange","$text","initialData","move","htmlProcessor","_markChanges","parent","remove","sendBufferedUpdates","max","getMovedRangeStart","revisionHistoryLicenseKeyDomainLimit","8275530UtlDRk","_operations","invalid","ready","addRootAttribute","_findInsertionIndex","_authorId","elementEnd","map","currentRevision","createdAt","offset","getOperations","1751787PRpwtn","_utils","_getVidAttributeName","_copyMarkers","init","_createCurrentRevision","540099yPChCb","fromEntries","loadRevisionData","model","markers","targetPosition","featureNotAllowed","conversion","_pendingAction","size","4695921GlPKEX","_calculateMetaData","fillerOffset","vid_start","item","key","_addPendingAction","_isAttached","_createInitialRevision","_setAttribute","_appendChild","_fixOperation","_baseRootsAttributes","vid","_transformMarkers","_replaceEditorDataWithRevisionData","affectsData","changeRootAttribute","split","loadState","_handleRootAttributeOperation","_source","trim","_handleRootOperation","insert","getIndex","previousPosition","domConverter","_generateTape","$graveyard","afterInit","oldRange","_revisionId","from","plugins","domDocument","creatorId","setSource","getChild","_lastTo","Empty document","add","360747FlfaGs","clear","destroy","version","values","some","RevisionHistory","revision:","getAttributes","attachChange","keys","_touchedRoots","_licenseKeyCheckInterval","_removeMetaData","getUser","editor","getRevisionDocumentData","isAttached","_createFromRanges","_getState","newRange","Initial revision","_baseIdsRoots","define","evaluationLimit","keepParagraph","deletion","_handleMoveOperation","NEGATIVE_INFINITY","_isInit","reinsert","_bufferedUpdates","name","_idsRoots","PENDING_ACTION_REVISION_HISTORY","revisionHistoryLicenseKeyInvalid","clone","repository","attributesBefore","updateRevisions","getRevision","buildRevisionData","data","reInit","stringify","RevisionHistoryUtils","createElement","getCurrentRevisionId","_prepareViewToSave","find","source","shift","startsWith","toVersion","nodeAfter","type","saveRevision","get","adapter","createPositionBefore","_diffRootsAttributes","hasContent","getRoot","diffData","delete","innerHTML","locale","toView","isPremiumPlugin","3554331LkakJz","addRevision","_startingRevisionId","render","sourcePosition","addRoot","8OXIOhB","isEnabled","_applyOperations","2GsHRtp","_saveMetaData","_execute","upcast","includes","licenseKey","_removePendingAction","createPositionFromPath","_clone","4cIDwgo","insertion","getTime","revision","roots","_reset","_revisionDataBuilder","removeRootAttribute","position","getLatestVersion","_fixPosition","rawElement","isEqual","insertionPosition","RevisionsRepository","revisionHistoryLicenseKeyExpired","_cloneOperation","_markers","_makeIdsRoot","dataDowncast","_showLicenseError","path","_handleOperation","isReady","revisionHistoryLicenseKeyValid","createRange","getFillerOffset","_lastFrom","setRevisionData","resolve","rootsAttributes","initial","merge","update","_getFromVersion","2462115zEtapW","pluginName","_loadState","requires","marker","_setConversion","range","detachRoot","reverse","_handleSplitOperation","RevisionTracker","howMany","expired","_isPendingUpdate","getWalker","creator","deletions","baseVersion","_getPreviousFrom","isOfficialPlugin","editor-initial-data-replaced-with-revision-data","splitPosition","nodes","elementStart","graveyardPosition","_initialRevisionId","getRevisions","userId","PendingActions","then","_update","_bufferUpdate","has","fromVersion","paragraph","usageLimit","tableCell","createPositionAt","getRange","createRangeIn","document","childCount","_diffRoots","createRevision","for","getAncestors","push","offsetSize","_getTypeCharForViewElement","getData","vid_end","finally","revisionHistoryLicenseKeyNotAllowed","_continueCurrentRevision","uiElement","outerHTML","root","_handleInsertOperation","_baseRoots","$comment","_handleMergeOperation","string","revisionHistory.resumeUnsavedRevision","authors","Users","_touched","getAttribute","length","_makeRevision","trialLimit","_touchedMarkers","domainLimit","_handleMarkerOperation","getOperation","_getViewJson","customProperties","getTransformedByOperation","documentFragment","getRootNames"];return(ft=function(){return t})()}!function(t){const e=kt,i=t();for(;;)try{if(422409===parseInt(e(345))/1*(parseInt(e(423))/2)+-parseInt(e(287))/3*(-parseInt(e(432))/4)+parseInt(e(467))/5+parseInt(e(585))/6*(-parseInt(e(293))/7)+-parseInt(e(420))/8*(-parseInt(e(303))/9)+-parseInt(e(274))/10+-parseInt(e(414))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class mt extends Y.Plugin{[dt(428)];[dt(357)];[dt(283)]=null;[dt(382)];[dt(403)]=null;[dt(438)];[dt(324)];[dt(492)];[dt(376)];[dt(288)];[dt(301)];[dt(520)];[dt(547)];[dt(562)];static get[dt(468)](){return dt(477)}static get[dt(486)](){return!0}static get[dt(413)](){return!0}static get[dt(470)](){return[G.Users,et,rt,Y.PendingActions]}constructor(e){const i=dt;super(e),this[i(382)]=this[i(360)][i(337)][i(402)](i(446)),this[i(288)]=this[i(360)][i(337)][i(402)](i(390)),this[i(438)]=new pt(this[i(360)]),this[i(492)]=this[i(360)][i(546)][i(402)](i(569))||i(463),this[i(376)]=new Map,this[i(562)]=null;const n=(0,t.uid)();this[i(324)]={history:this[i(360)][i(296)][i(507)][i(556)],getLatestVersion:()=>Promise[i(461)](this[i(360)][i(296)][i(507)][i(348)]),getCurrentRevisionId:()=>n},this[i(584)](i(455),!1),this[i(584)](i(421),!0),this[i(584)](i(480),!1),this[i(360)][i(546)][i(368)](i(529),!0),this[i(360)][i(300)][i(511)](i(426))[i(579)]({view:i(435)})}[dt(291)](){const t=dt;this[t(472)](),this[t(360)][t(387)].on(t(277),()=>{const e=t,i=this[e(382)][e(385)](0),n=i&&null===i[e(482)]?i:null;if(this[e(520)]=!!n&&this[e(360)][e(546)][e(402)](e(529)),this[e(360)][e(337)][e(499)](e(570))){const t=this[e(324)][e(392)](),s=this[e(382)][e(385)](t);if(s)this[e(547)]=s[e(500)],this[e(520)]=!1;else{const t=this[e(324)][e(556)][e(275)][e(394)](t=>!t[e(374)]),s=t?t[e(484)]:this[e(324)][e(556)][e(348)];i?(i[e(398)]<s&&i[e(497)]({toVersion:s}),this[e(520)]?(this[e(324)][e(392)]=()=>n.id,this[e(547)]=n[e(500)]):(this[e(547)]=i[e(398)],this[e(520)]=!1)):(this[e(547)]=s,this[e(520)]=!1)}}else n&&(this[e(360)][e(296)][e(507)][e(556)][e(348)]=Math[e(271)](n[e(398)],this[e(360)][e(296)][e(507)][e(556)][e(348)]),n[e(500)]===n[e(398)]?(0!==n[e(500)]&&(this[e(324)][e(392)]=()=>n.id),this[e(520)]=!1):this[e(520)]&&(this[e(324)][e(392)]=()=>n.id,this[e(547)]=n[e(500)])),this[e(520)]||(this[e(547)]=this[e(360)][e(296)][e(507)][e(348)]);this[e(438)][e(291)](this[e(324)][e(556)]),this[e(311)](this[e(547)]),this[e(292)](this[e(547)]),this[e(403)]&&this[e(270)]()}),this[t(578)](t(455)).to(this,t(480),t=>!t),this[t(428)]=this[t(360)][t(546)][t(402)](t(428));const e=this[t(360)];this[t(357)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(456)==r||i(380)==r||i(447)==r||i(273)==r||i(519)==r||i(554)==r||i(571)==r||i(549)==r){delete e[s],n=r,clearInterval(this[i(357)]),this[i(357)]=void 0;break}}i(380)==n&&e[i(452)](i(276)),i(447)==n&&e[i(452)](i(479)),i(273)==n&&e[i(452)](i(538)),i(519)==n&&e[i(452)](i(299),i(351)),i(554)==n&&e[i(452)](i(369)),i(571)==n&&e[i(452)](i(536)),i(549)==n&&e[i(452)](i(502))},1e3)}async[dt(333)](){const t=dt;if(this[t(382)][t(534)]>0){const e=this[t(382)][t(385)](0),i=await this[t(361)](e),n=await this[t(574)](e);this[t(318)](i,n)}}[dt(347)](){const t=dt;super[t(347)](),this[t(357)]&&clearInterval(this[t(357)])}[dt(340)](t){this[dt(324)]=t}async[dt(465)](){const t=dt,e=await this[t(324)][t(441)]();if(e>this[t(283)][t(398)]){await this[t(469)]();const i=this[t(386)]({revision:this[t(283)],to:e});i[t(530)]=i[t(575)][t(282)](e=>this[t(360)][t(337)][t(402)](t(531))[t(359)](e)),this[t(283)][t(497)](i)}}async[dt(401)](e={},i=null){const n=dt,s=[];await this[n(469)](),this[n(520)]=!1,i>this[n(283)][n(398)]&&(i=null),null===i&&(i=await this[n(324)][n(441)]());const r=this[n(466)](i),o=this[n(386)]({from:r,to:i});if(this[n(283)][n(398)]<i){const t=this[n(386)]({revision:this[n(283)],from:i,to:i});t[n(530)]=[],t[n(575)]=[],t.id=this[n(283)].id,this[n(283)][n(497)](t,!0),delete t[n(530)],s[n(513)](t)}e[n(339)]=this[n(360)][n(337)][n(402)](n(531)).me.id,e[n(377)]=e[n(377)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(565)](e);s[n(513)](e);const c=this[n(382)][n(328)](a);if(0!==c){const t=this[n(382)][n(385)](c-1);if(t[n(500)]!==i){const r=this[n(438)][n(516)](i,t[n(398)]),o={id:t.id,diffData:r[n(408)],authorsIds:r[n(575)],authors:r[n(575)][n(282)](t=>this[n(360)][n(337)][n(402)](n(531))[n(359)](t)),fromVersion:i};t===this[n(283)]&&(o[n(284)]=new Date(e[n(284)][n(434)]()+10)),t[n(497)](o,!0),delete o[n(530)],s[n(513)](o)}}if(this[n(403)]){for(const t of s)this[n(498)](t.id,t,!0);this[n(270)]()}return a}[dt(565)](t){const e=dt,i=this[e(382)][e(510)](t);return this[e(403)]&&i.on(e(497),(t,i,n)=>{const s=e;n||(this[s(498)](i.id,i,!0),this[s(270)]())}),this[e(382)][e(415)](i,this[e(279)](i)),i}async[dt(361)](t){const e=dt;return await this[e(288)][e(295)](t,this[e(403)]),this[e(288)][e(361)](t)}async[dt(574)](t){const e=dt;return await this[e(288)][e(295)](t,this[e(403)]),this[e(288)][e(574)](t)}[dt(270)](){const t=dt;if(0===this[t(376)][t(302)])return;if(this[t(480)])return;let e=Array[t(336)](this[t(376)][t(349)]());this[t(376)][t(346)]();for(let i=0;i<e[t(534)];i++){const n=e[i];let s=!1;for(const e of Object[t(355)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(581)](t=>null!==t),!e[t(534)])return;for(let i=0;i<e[t(534)];i++){const n=e[i];void 0!==n[t(500)]&&void 0===n[t(398)]&&(n[t(398)]=this[t(382)][t(385)](n.id)[t(398)]),void 0!==n[t(398)]&&void 0===n[t(500)]&&(n[t(500)]=this[t(382)][t(385)](n.id)[t(500)])}const i=this[t(360)][t(546)][t(402)](t(569));this[t(480)]=!0,this[t(309)](),this[t(403)][t(384)](e,i)[t(518)](()=>{this[t(480)]=!1})[t(496)](e=>{const i=t;if(e)for(const t of e)this[i(460)]({id:t.id,createdAt:t[i(284)]});this[i(429)](),this[i(270)]()})}[dt(386)]({revision:t=null,from:e=null,to:i=null}){const n=dt;e=null!==e?e:t[n(500)],i=null!==i?i:t[n(398)];const s=this[n(438)][n(516)](e,i),r={diffData:s[n(408)],authorsIds:s[n(575)],fromVersion:e,toVersion:i};if(!t||i!==t[n(398)]){const t=i-1,e=this[n(324)][n(556)][n(540)](t);r[n(284)]=e&&e[n(284)]||new Date}if(this[n(562)]&&e===this[n(562)][n(500)])for(const t of this[n(562)][n(530)])r[n(575)][n(427)](t.id)||r[n(575)][n(513)](t.id);return r}[dt(498)](t,e,i){const n=dt;if(this[n(376)][n(499)](t)){const s=this[n(376)][n(402)](t);e=i?{...s,...e}:{...e,...s}}this[n(376)][n(584)](t,e)}[dt(460)](t){const e=dt,i=this[e(382)][e(385)](t.id);if(t[e(284)]&&(t[e(284)]=new Date(t[e(284)])),t[e(575)]){const i=this[e(360)][e(337)][e(402)](e(531));t[e(530)]=t[e(575)][e(282)](t=>i[e(359)](t))}i[e(497)](t,!0)}[dt(311)](t){const e=dt,i=this[e(382)][e(385)](this[e(382)][e(534)]-1);if(i)this[e(492)]=i.id;else{const i=!this[e(360)][e(296)][e(507)][e(436)][e(394)](t=>this[e(360)][e(296)][e(406)](t)),n=this[e(360)][e(337)][e(402)](e(531)).me.id,s=ot(this[e(360)][e(411)],e(i?343:366));this[e(535)]({from:t,to:t,id:this[e(492)],name:s,creatorId:n})}}[dt(292)](t){const e=dt,i=this[e(324)][e(392)]();this[e(283)]=this[e(382)][e(385)](i),this[e(283)]||(this[e(283)]=this[e(535)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(469)](){const t=dt;this[t(520)]&&!this[t(562)]&&(await this[t(288)][t(295)](this[t(283)],this[t(403)]),this[t(438)][t(322)](this[t(283)]),this[t(562)]={fromVersion:this[t(283)][t(500)],authors:this[t(283)][t(530)][t(552)]()})}[dt(318)](e,i){const n=dt;let s=this[n(360)][n(546)][n(402)](n(588)),r=this[n(360)][n(546)][n(402)](n(462));if(void 0===s){s={};for(const t of this[n(360)][n(296)][n(507)][n(545)]())s[t]=""}if(n(528)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(360)][n(296)][n(507)][n(545)]())r[t]={}}let o=!1;const a=Object[n(355)](s),c=Object[n(355)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(325)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(355)](r[t])[n(534)]>0){o=!0;break}}o||(o=c[n(350)](t=>!this[n(360)][n(296)][n(507)][n(407)](t))),o&&(0,t.logWarning)(n(487),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(360)][n(546)][n(584)](n(588),e),this[n(360)][n(546)][n(584)](n(462),i)}[dt(309)](){const t=dt;if(!this[t(301)]){const e=this[t(360)][t(337)][t(402)](t(495));this[t(301)]=e[t(344)](ot(this[t(360)][t(411)],t(379)))}}[dt(429)](){const t=dt;this[t(301)]&&(this[t(360)][t(337)][t(402)](t(495))[t(269)](this[t(301)]),this[t(301)]=null)}[dt(279)](t){const e=dt,i=this[e(382)][e(493)]();i[e(475)]();let n=0;for(;n<i[e(534)];){const s=i[n];if(s===this[e(283)]){n++;continue}if(s.id===this[e(492)])break;const r=t[e(398)]-s[e(398)]||t[e(500)]-s[e(500)];if(r>0)break;if(r<0)n++;else{if(!t[e(482)]&&s[e(482)])break;if(s[e(482)]||!t[e(482)]){if(t[e(284)]>s[e(284)])break;n++}else n++}}return n}[dt(466)](t){const e=dt,i=this[e(382)][e(493)]();i[e(475)](),i[e(396)]();const n=i[e(394)](i=>i[e(398)]<=t)[e(398)];return n<this[e(547)]?this[e(547)]:n}[dt(535)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=dt,o=this[r(386)]({from:e,to:i});o[r(377)]=t,o[r(339)]=n,o.id=s;const a=this[r(565)](o);return this[r(403)]&&this[r(498)](o.id,o,!0),a}[dt(472)](){const t=dt;this[t(360)][t(300)][t(511)](t(451))[t(561)]({model:t(435)})}}class pt{[dt(360)];[dt(395)];[dt(577)];[dt(459)];[dt(342)];[dt(449)];[dt(509)];[dt(405)];[dt(525)];[dt(315)];[dt(378)];[dt(367)];[dt(532)];[dt(537)];[dt(356)];[dt(335)];[dt(416)];constructor(t){const e=dt;this[e(360)]=t,this[e(577)]=new Map,this[e(459)]=-1,this[e(342)]=-1,this[e(449)]=new Map,this[e(509)]=new Map,this[e(405)]=new Map,this[e(525)]=new Map,this[e(315)]=new Map,this[e(378)]=new Map,this[e(367)]=new Map,this[e(532)]=new Map,this[e(537)]=new Map,this[e(356)]=new Map,this[e(335)]=1}[dt(291)](t){const e=dt;this[e(395)]=t;const i=new Map,n=new Map,s=this[e(360)][e(296)][e(507)][e(436)][e(282)](t=>t[e(573)]);for(const t of s){const s=this[e(360)][e(296)][e(507)][e(407)](t),r=vt(s);i[e(584)](t,r),n[e(584)](t,Object[e(294)](s[e(353)]()))}const r=Array[e(336)](this[e(360)][e(296)][e(297)])[e(282)](t=>[t[e(377)],t[e(505)]()]),o=this[e(395)][e(348)];this[e(424)](o,i,r,n),this[e(416)]=this[e(335)];const a=new Map,c=new Map;for(const t of s){const i=gt(t);a[e(584)](t,i),c[e(584)](t,{})}this[e(424)](Number[e(373)],a,[],c)}[dt(516)](t,e){const i=dt;if(this[i(459)]===t&&this[i(342)]<=e)this[i(577)][i(302)]>1&&this[i(358)](this[i(342)]),this[i(422)](this[i(342)],e,!0);else{if(!this[i(577)][i(499)](t)){const e=this[i(485)](t);this[i(304)](e,t,!1)}this[i(304)](t,e,!0)}return this[i(459)]=t,this[i(342)]=e,this[i(364)]()}[dt(322)](t){const e=dt,i=this[e(360)][e(337)][e(402)](e(390));this[e(437)](),this[e(459)]=t[e(500)],this[e(342)]=t[e(398)];for(const n in t[e(408)]){const s=t[e(408)][n][e(354)],r=A(t[e(408)][n][e(383)])||{},o=i[e(576)](t[e(408)][n][e(483)]);o[e(573)]=n,o[e(310)]=!s||!s[e(362)],o[e(362)]=()=>o[e(310)],this[e(525)][e(584)](n,o),this[e(315)][e(584)](n,r),s&&this[e(356)][e(584)](n,s);const a=this[e(450)](o);this[e(367)][e(584)](n,a);for(const[t,i]of o[e(297)]){if(!t[e(397)](e(352)))continue;const n=t[e(321)](":")[2];for(const t of i[e(481)]({singleCharacters:!0})){const i=this[e(289)](t),s=e(281)==t[e(400)]?t[e(329)][e(453)][e(552)](0,-1):t[e(329)][e(453)],r=a[e(580)](s)[e(533)](i);this[e(532)][e(584)](r,{userId:n})}}}this[e(416)]=this[e(335)];const n=[...Array(this[e(335)])[e(355)]()][e(552)](1)[e(581)](t=>!this[e(532)][e(499)](t));let s=0;const r=new Map;for(const o in t[e(408)]){const a=t[e(408)][o][e(354)],c=A(t[e(408)][o][e(564)])||{},u=i[e(576)](t[e(408)][o][e(558)]);u[e(573)]=o,u[e(310)]=!a||a[e(362)],u[e(362)]=()=>u[e(310)],this[e(509)][e(584)](o,u),this[e(405)][e(584)](o,c);const l=this[e(450)](u,Number[e(373)]);this[e(378)][e(584)](o,l),r[e(584)](o,u[e(362)]()?c:{});for(const[t,i]of u[e(297)]){if(!t[e(397)](e(352)))continue;const n=t[e(321)](":")[2];for(const t of i[e(481)]({singleCharacters:!0})){const i=this[e(289)](t),s=this[e(335)]++,r=e(281)==t[e(400)]?t[e(329)][e(453)][e(552)](0,-1):t[e(329)][e(453)];l[e(580)](r)[e(312)](i,s),this[e(532)][e(584)](s,{userId:n})}}for(const t of this[e(360)][e(296)][e(506)](u)[e(481)]({singleCharacters:!0})){const i=this[e(289)](t),r=e(281)==t[e(400)]?t[e(329)][e(453)][e(552)](0,-1):t[e(329)][e(453)],o=l[e(580)](r);o[e(533)](i)>0||o[e(312)](i,n[s++])}for(const[t,i]of u[e(297)])t[e(397)](e(352))||this[e(449)][e(584)](t,i)}const o=gt(e(332));this[e(525)][e(584)](e(332),o),this[e(367)][e(584)](e(332),this[e(450)](o,1));const a=gt(e(332));this[e(509)][e(584)](e(332),a),this[e(378)][e(584)](e(332),this[e(450)](a,1));const c=Array[e(336)](this[e(509)])[e(282)](([t,e])=>[t,vt(e)]);this[e(424)](this[e(342)],c,this[e(449)],r)}[dt(388)](){const t=dt;this[t(437)](),this[t(459)]=-1,this[t(342)]=-1,this[t(577)][t(346)](),this[t(291)](this[t(395)])}[dt(424)](t,e,i,n){const s=dt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(584)](t,{start:e[s(582)][s(381)](),end:e[s(563)][s(381)](),rootName:e[s(523)][s(573)]});this[s(577)][s(584)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(358)](t){const e=dt;this[e(577)][e(409)](t)}[dt(437)](){const t=dt;this[t(532)][t(346)](),this[t(537)][t(346)](),this[t(356)][t(346)](),this[t(509)][t(346)](),this[t(405)][t(346)](),this[t(525)][t(346)](),this[t(315)][t(346)](),this[t(378)][t(346)](),this[t(367)][t(346)](),this[t(449)][t(346)](),this[t(335)]=1,this[t(416)]=this[t(335)]}[dt(450)](t,e=null){const i=dt;let n=null;t.is(i(544))||(n=new K.ModelElement(t[i(377)],{vid_start:null===e?this[i(335)]++:e++}));const s=[];for(const n of t[i(550)]())if(n.is(i(551))){s[i(513)](this[i(450)](n,e));const t=s[s[i(534)]-1];null!==e&&(e=t.is(i(551),i(587))?t[i(533)](i(316))+1:t[i(533)](i(517))+1)}else for(let t=0;t<n[i(514)];t++)s[i(513)](new K.ModelElement(i(587),{vid:null===e?this[i(335)]++:e++}));if(t.is(i(544))){const e=gt(t[i(573)]);return e[i(567)](0,s),e}return n[i(312)](i(517),null===e?this[i(335)]++:e++),n[i(567)](0,s),n}[dt(304)](t,e,i){const n=dt;this[n(437)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(577)][n(402)](t);this[n(525)]=new Map(s),this[n(315)]=new Map(A(o));for(const[t,e]of this[n(525)])if(n(332)!==t&&(this[n(509)][n(584)](t,vt(e)),this[n(405)]=new Map(A(o)),i)){const i=this[n(335)];this[n(378)][n(584)](t,this[n(450)](e)),this[n(367)][n(584)](t,this[n(450)](e,i))}this[n(416)]=this[n(335)],this[n(509)][n(584)](n(332),vt(this[n(525)][n(402)](n(332)))),i&&this[n(378)][n(584)](n(332),this[n(450)](this[n(525)][n(402)](n(332))));for(const[t,e]of r){const i=this[n(525)][n(402)](e[n(573)]),s=this[n(509)][n(402)](e[n(573)]),r=new K.ModelRange(this[n(442)](e[n(582)],i),this[n(442)](e[n(563)],i)),o=this[n(586)](r,s);i[n(297)][n(584)](t,r),this[n(449)][n(584)](t,o)}this[n(422)](t,e,i)}[dt(422)](t,e,i){const n=dt;for(const s of this[n(395)][n(286)](t,e))this[n(454)](s,i);for(const t of this[n(509)][n(349)]())t[n(297)][n(346)]();for(const[t,e]of this[n(449)])this[n(509)][n(402)](e[n(523)][n(573)])[n(297)][n(584)](t,e[n(381)]());const s=new Map,r=new Map;for(const[t,e]of this[n(509)])s[n(584)](t,vt(e)),r[n(584)](t,this[n(405)][n(402)](t));this[n(424)](e,s,this[n(449)],r)}[dt(485)](t){const e=dt,i=Array[e(336)](this[e(577)][e(355)]());i[e(560)]((t,e)=>t-e),i[e(475)]();for(const e of i)if(e<t)return e;return Number[e(373)]}[dt(290)](t,e){const i=dt,n=Array[i(336)](e[i(297)])[i(282)](([e,n])=>[e,this[i(586)](n,t)]);t[i(297)]=new Map(n)}[dt(317)](t){const e=dt;for(const i of this[e(449)][e(349)]()){const n=i[e(543)](t),s=K.ModelRange[e(363)](n);i[e(582)]=s[e(582)],i[e(563)]=s[e(563)]}}[dt(454)](t,e){const i=dt;if(i(419)!=t[i(400)]&&i(474)!=t[i(400)]){if(i(327)==t[i(400)]){const n=t[i(440)][i(523)][i(573)];this[i(509)][i(499)](n)||(this[i(509)][i(584)](n,gt(n,!0)),this[i(405)][i(584)](n,{}),e&&this[i(378)][i(584)](n,gt(n,!0)))}else{if(i(278)==t[i(400)]||i(439)==t[i(400)]||i(320)==t[i(400)])return void this[i(323)](t);i(471)==t[i(400)]&&this[i(539)](t)}if(i(471)!==t[i(400)]){const e=this[i(448)](t,this[i(509)]);e[i(425)](),this[i(317)](e)}if(e)switch(t[i(400)]){case i(327):this[i(524)](t);break;case i(589):case i(269):case i(375):this[i(372)](t);break;case i(464):this[i(527)](t);break;case i(321):this[i(476)](t)}}else this[i(326)](t,e)}[dt(448)](t,e){const i=dt,n=t[i(381)]();return n[i(280)]=t[i(280)],this[i(314)](n,e),n}[dt(568)](t){const e=dt;return t[e(282)](t=>{const i=e,n=this[i(289)](t);return Number(t[i(307)][i(533)](n))})}[dt(331)](t,e){const i=dt;if(t.is(i(551),i(587)))e[i(513)]({item:t,type:i(557)});else{t.is(i(551))&&e[i(513)]({item:t,type:i(490)});for(const n of t[i(550)]())this[i(331)](n,e);t.is(i(551))&&e[i(513)]({item:t,type:i(281)})}return e}[dt(364)](){const t=dt,e=new Map(this[t(532)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(525)][t(355)](),...this[t(509)][t(355)]()]);a[t(409)](t(332));for(const e of a){const i=this[t(509)][t(402)](e)||gt(e,!1),n=this[t(525)][t(402)](e)||gt(e,!1);i[t(362)]()||n[t(362)]()?(s[t(558)][e]=vt(i),s[t(483)][e]=vt(n),this[t(290)](s[t(483)][e],n),this[t(290)](s[t(558)][e],i),r[t(558)][e]=this[t(331)](this[t(378)][t(402)](e),[]),r[t(483)][e]=this[t(331)](this[t(367)][t(402)](e)||gt(e,!1),[])):a[t(409)](e)}for(const s of a){const o=r[t(558)][s];for(const s of o){const r=this[t(289)](s),o=s[t(307)][t(533)](r);i[t(409)](o),o>=this[t(416)]&&n[t(584)](o,e[t(402)](o))}}for(const s of a){const a=r[t(558)][s],c=this[t(568)](r[t(483)][s]);let u=0;for(const s of a){const r=this[t(289)](s),a=s[t(307)][t(533)](r);if(!n[t(499)](a)&&!o[t(499)](a))if(i[t(499)](a))u++;else{if(a!=c[u]){const n=e[t(402)](a)||e[t(402)](c[u]);for(;a!=c[u];)i[t(499)](c[u])||(o[t(584)](c[u],n),e[t(584)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(558)][e];for(const e of s){const s=this[t(289)](e),r=e[t(307)][t(533)](s);if(o[t(499)](r)){const e=o[t(402)](r);i[t(499)](r)||i[t(584)](r,{...e}),n[t(584)](r,{...e})}}}for(const e of i[t(355)]())e>=this[t(416)]&&i[t(409)](e);const c=new Map;for(const e of a){let s=r[t(558)][e];for(const e of s)if(e[t(307)].is(t(551),t(503))){const i=this[t(289)](e),s=e[t(307)][t(533)](i);if(n[t(499)](s)){const i=e[t(307)][t(592)][t(592)][t(533)](t(306)),r=c[t(402)](i)||new Set;r[t(344)](n[t(402)](s)[t(494)]),c[t(584)](i,r)}}s=r[t(483)][e];for(const e of s)if(e[t(307)].is(t(551),t(503))){const n=this[t(289)](e),s=e[t(307)][t(533)](n);if(i[t(499)](s)){const n=e[t(307)][t(592)][t(592)][t(533)](t(306)),r=c[t(402)](n)||new Set;r[t(344)](i[t(402)](s)[t(494)]),c[t(584)](n,r)}}for(const e of c[t(355)]())(n[t(499)](e)||i[t(499)](e))&&c[t(409)](e)}for(const e of a){const s=r[t(558)][e];let o=null,a=null;for(const e of s){const s=this[t(289)](e),r=e[t(307)][t(533)](s),u=c[t(402)](r);u&&t(490)==e[t(400)]&&(o=Array[t(336)](u)[0],a=e[t(307)][t(533)](t(517))),o&&(i[t(584)](r,{userId:o}),n[t(584)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(483)][e],a=s[t(558)][e];for(const{userId:e}of this[t(537)][t(349)]())null!==e&&l[t(344)](e);for(const{userId:e}of this[t(356)][t(349)]())null!==e&&l[t(344)](e);this[t(591)](a,r[t(558)][e],n,t(433),l),this[t(591)](o,r[t(483)][e],i,t(371),l),u[e]={insertions:this[t(393)](a),deletions:this[t(393)](o),attachChange:this[t(356)][t(402)](e)||null,attributesBefore:A(this[t(315)][t(402)](e))||{},attributesAfter:A(this[t(405)][t(402)](e))}}return{diffData:u,authorsIds:Array[t(336)](l)}}[dt(559)](t){const e=dt;for(const[,i]of t[e(297)]){const t=i[e(582)][e(512)]()[e(581)](t=>e(503)==t[e(377)]);for(const i of t)1==i[e(508)]&&i[e(341)](0).is(e(551),e(501))&&i[e(341)](0)[e(312)](e(370),!0)}}[dt(393)](t){const e=dt;this[e(559)](t);const i=this[e(360)][e(387)][e(412)](t,{}),n=Array[e(336)](i[e(550)]())[e(282)](t=>this[e(541)](t));return JSON[e(389)](n)}[dt(541)](t){const e=dt;if(t.is(e(587)))return t[e(387)];{const i=this[e(360)][e(337)][e(402)](e(390)),n=t,s=this[e(360)][e(387)][e(590)][e(330)],r={type:i[e(515)](n),name:n[e(377)],attributes:Array[e(336)](n[e(353)]()),children:Array[e(336)](n[e(550)]())[e(282)](t=>this[e(541)](t))};if(t.is(e(521))&&e(526)!=t[e(377)]){const i=t[e(417)](s[e(338)],s);r[e(555)][e(513)](i[e(522)])}else if(t.is(e(443))){const i=s[e(338)][e(391)](n[e(377)]);t[e(417)](i,s),r[e(555)][e(513)](i[e(410)])}const o=Array[e(336)](n[e(572)]());o[e(534)]>0&&(r[e(542)]=o);const a=n[e(458)]();return null!==a&&(r[e(305)]=a),r}}[dt(591)](t,e,i,n,s){const r=dt;let o=null,a=null,c=0;const u=this[r(360)][r(296)];for(let n=0;n<e[r(534)];n++){const s=this[r(289)](e[n]),c=e[n][r(307)][r(533)](s),h=i[r(402)](c),d=n==e[r(534)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(494)]!=o[r(494)])&&(l(h,yt(a,t,u),yt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,yt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(494)],d=l(352)+n+":"+h+":"+c++,f=u[l(457)](i,a);t[l(297)][l(584)](d,f),null!==h&&s[l(344)](h)}}[dt(289)](t){const e=dt;switch(t[e(400)]){case e(490):return e(306);case e(281):return e(517);default:return e(316)}}[dt(314)](t,e){const i=dt;t[i(484)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(402)](s[i(523)][i(573)]);t[n]=this[i(442)](s,r)}if(s instanceof K.ModelRange){const r=e[i(402)](s[i(523)][i(573)]);t[n]=this[i(586)](s,r)}i(523)===n&&(t[i(523)]=e[i(402)](t[i(523)][i(573)]))}}[dt(586)](t,e){const i=dt;return this[i(360)][i(296)][i(457)](this[i(442)](t[i(582)],e),this[i(442)](t[i(563)],e))}[dt(442)](t,e){const i=dt;return this[i(360)][i(296)][i(430)](e,t[i(453)],t[i(548)])}[dt(524)](t){const e=dt,i=this[e(378)][e(402)](t[e(440)][e(523)][e(573)]),n=this[e(442)](t[e(440)],i),s=null===t[e(280)]?null:t[e(280)]||this[e(360)][e(337)][e(402)](e(531)).me.id,r=n[e(592)],o=this[e(335)],a=[];for(const i of t[e(489)])if(i.is(e(551)))a[e(513)](this[e(450)](i));else for(let t=0;t<i[e(514)];t++)a[e(513)](new K.ModelElement(e(587),{vid:this[e(335)]++}));const c=this[e(335)];for(let t=o;t<c;t++)this[e(532)][e(584)](t,{userId:s});r[e(567)](n[e(285)],a)}[dt(372)](t){const e=dt;(t=this[e(448)](t,this[e(378)]))[e(425)]();const i=null===t[e(280)]?null:t[e(280)]||this[e(360)][e(337)][e(402)](e(531)).me.id,n=t[e(272)](),s=n[e(592)],r=n[e(285)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(341)](e);r.is(a(551),a(587))?n[a(584)](r[a(533)](a(316)),{userId:i}):(n[a(584)](r[a(533)](a(306)),{userId:i}),t(n,r,0,r[a(508)]),n[a(584)](r[a(533)](a(517)),{userId:i}))}}(this[e(532)],s,r,r+t[e(478)])}[dt(527)](t){const e=dt,i=null===(t=this[e(448)](t,this[e(378)]))[e(280)]?null:t[e(280)]||this[e(360)][e(337)][e(402)](e(531)).me.id,n=t[e(298)][e(592)],s=t[e(418)][e(592)],r=n[e(533)](e(517)),o=s[e(533)](e(306));n[e(312)](e(517),s[e(533)](e(517))),s[e(312)](e(517),r),this[e(532)][e(584)](o,{userId:i}),this[e(532)][e(584)](r,{userId:i}),t[e(425)]()}[dt(476)](t){const e=dt,i=null===(t=this[e(448)](t,this[e(378)]))[e(280)]?null:t[e(280)]||this[e(360)][e(337)][e(402)](e(531)).me.id,n=t[e(491)],s=t[e(488)][e(592)];t[e(425)]();const r=s[e(533)](e(517)),o=t[e(445)][e(399)];if(n){const t=o[e(533)](e(517)),n=s[e(533)](e(517));s[e(312)](e(517),t),o[e(312)](e(517),n),this[e(532)][e(584)](s[e(533)](e(517)),{userId:i}),this[e(532)][e(584)](o[e(533)](e(306)),{userId:i})}else{const t=this[e(335)]++,n=this[e(335)]++;s[e(312)](e(517),t),o[e(312)](e(306),n),o[e(312)](e(517),r),this[e(532)][e(584)](t,{userId:i}),this[e(532)][e(584)](n,{userId:i})}}[dt(539)](t){const e=dt;if(!t[e(319)])return;const i=(t=this[e(448)](t,this[e(509)]))[e(334)]?t[e(334)][e(523)]:null,n=t[e(365)]?t[e(365)][e(523)]:null;i&&this[e(449)][e(409)](t[e(377)]),n&&this[e(449)][e(584)](t[e(377)],t[e(365)][e(381)]());const s=null===t[e(280)]?null:t[e(280)]||this[e(360)][e(337)][e(402)](e(531)).me.id,r=t[e(377)];if(!this[e(537)][e(499)](r))return void this[e(537)][e(584)](r,{range:t[e(334)],userId:s});const o=this[e(537)][e(402)](r),a=o[e(473)],c=t[e(365)];null==a&&null==c||a&&c&&a[e(444)](c)?this[e(537)][e(409)](t[e(377)]):o[e(494)]=s}[dt(326)](t,e){const i=dt;this[i(509)][i(499)](t[i(573)])?this[i(509)][i(402)](t[i(573)])[i(310)]=t[i(553)]:(this[i(509)][i(584)](t[i(573)],gt(t[i(573)],!0)),this[i(405)][i(584)](t[i(573)],{}),e&&this[i(378)][i(584)](t[i(573)],gt(t[i(573)],!0)));const n=null===t[i(280)]?null:t[i(280)]||this[i(360)][i(337)][i(402)](i(531)).me.id,s=this[i(356)][i(402)](t[i(573)]);s&&s[i(494)]===n?this[i(356)][i(409)](t[i(573)]):this[i(356)][i(584)](t[i(573)],{userId:n,isAttached:t[i(553)]})}[dt(323)](t){const e=dt,i=this[e(405)][e(402)](t[e(523)][e(573)]);null===t[e(583)]?delete i[t[e(308)]]:i[t[e(308)]]=t[e(583)]}}function vt(t){const e=dt,i=gt(t[e(573)],t[e(362)]());for(const n of t[e(550)]()){const t=n[e(431)](!0);i[e(313)](t)}return i}function gt(t,e=!0){const i=dt,n=new K.ModelDocumentFragment;return n[i(573)]=t,n[i(310)]=e,n[i(362)]=()=>n[i(310)],n}function yt(t,e,i){const n=dt,s=n(281)==t[n(400)]?i[n(504)](t[n(307)],n(563)):i[n(404)](t[n(307)]);return i[n(430)](e,s[n(453)],s[n(548)])}function kt(t,e){const i=ft();return(kt=function(t,e){return i[t-=269]})(t,e)}function bt(t,e,i){const n=dt,s=n(490)==t[n(400)]?i[n(504)](t[n(307)],0):i[n(566)](t[n(307)]);return i[n(430)](e,s[n(453)],s[n(548)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),xt=i.n(Ot),Tt=i(262),Nt=i.n(Tt),Rt=i(667),At=i.n(Rt),Mt=i(357),Vt=i.n(Mt),Dt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=At(),Et.insert=Nt().bind(null,"head"),Et.domAPI=xt(),Et.insertStyleElement=Vt();St()(Dt.A,Et);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Vt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=jt;function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(702418===-parseInt(e(310))/1*(parseInt(e(336))/2)+parseInt(e(324))/3*(parseInt(e(322))/4)+parseInt(e(300))/5+-parseInt(e(303))/6+parseInt(e(331))/7+-parseInt(e(313))/8+parseInt(e(317))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Pt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(302)];[Lt(334)];[Lt(320)];constructor(e,i){const n=Lt;super(e),this[n(302)]=new t.FocusTracker,this[n(334)]=new t.KeystrokeHandler,this[n(319)](n(299),""),this[n(320)]=this[n(323)](i),this[n(301)]({tag:n(332),attributes:{class:["ck",n(316),n(306)],tabindex:"-1"},children:[this[n(320)]]}),this[n(311)]()}[Lt(312)](){const t=Lt;super[t(312)](),(0,_t.submitHandler)({view:this}),this[t(302)][t(330)](this[t(320)][t(333)]),this[t(334)][t(335)](this[t(333)]);const e=e=>e[t(337)]();this[t(334)][t(319)](t(327),e),this[t(334)][t(319)](t(297),e),this[t(334)][t(319)](t(326),e),this[t(334)][t(319)](t(309),e)}[Lt(315)](){const t=Lt;this[t(320)][t(315)]()}get[Lt(305)](){const t=Lt;return this[t(320)][t(308)][t(333)][t(328)][t(298)]()}set[Lt(305)](t){const e=Lt;this[e(320)][e(308)][e(333)][e(328)]=t[e(298)]()}[Lt(338)](){const t=Lt;this[t(320)][t(308)][t(333)][t(328)]="",this[t(320)][t(325)]=null}[Lt(323)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(307)],_t.createLabeledInputText),n=i[e(308)];n[e(321)]({attributes:{maxlength:e(318)}});let s=ot(this[e(307)],e(314));return!t&&(s+=" ("+ot(this[e(307)],e(304))+")"),i[e(296)]=s,n.on(e(329),()=>{const t=e;this[t(299)]=n[t(333)][t(328)][t(298)]()}),i}}function zt(){const t=["label","arrowleft","trim","revisionNameInputValue","6844055nvQCPw","setTemplate","focusTracker","8156730GosEOa","optional","revisionName","ck-responsive-form","locale","fieldView","arrowdown","5978mnkUKf","initializeCssTransitionDisablerMixin","render","6002288suRBei","Name of the revision","focus","ck-revision-history-save-revision-form","11351790KMURkp","220","set","revisionNameInputView","extendTemplate","8gxmhti","_createRevisionNameInput","1187895lnFgdI","errorText","arrowup","arrowright","value","input","add","1505504dPySeq","form","element","keystrokes","listenTo","276plqBQo","stopPropagation","reset"];return(zt=function(){return t})()}const Ut=Wt;function Wt(t,e){const i=Zt();return(Wt=function(t,e){return i[t-=354]})(t,e)}function Zt(){const t=["buttonView","64LMBgLe","6GChNLV","editor","revisionNameInputView","isReady","menuitem","submit","33HMNPVQ","view","RevisionHistoryUI","render","159888SSrwvu","ck-button-action","init","revisionSave","role","pluginName","isPremiumPlugin","Dialog","isEnabled","menu","revisionHistory","Open revision history","items","2tcWDJJ","187IvOkrT","_saveRevisionFormView","Save current revision","Revision history","children","menuBar:revisionHistory","locale","The revision name cannot be empty.","_showDialog","saveRevision","isOpen","errorText","isReadOnly","isOfficialPlugin","_createSaveRevisionFormView","bind","panelView","addMany","add","config","get","Accept","requires","269556XZFAXb","editing","364280aSFvkY","_registerMenuComponent","componentFactory","1307740xeXTOu","delegate","showRevisionViewerCallback","356700rtRVAS","plugins","Cancel","revisionHistory.requireRevisionName","execute","show","hide","revisionName","reset","set","76588dTDiDk","82404gHWcOJ","focus","RevisionTracker"];return(Zt=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(108260===parseInt(e(406))/1*(parseInt(e(419))/2)+parseInt(e(402))/3*(-parseInt(e(390))/4)+parseInt(e(374))/5+-parseInt(e(396))/6*(parseInt(e(377))/7)+parseInt(e(395))/8*(-parseInt(e(391))/9)+-parseInt(e(380))/10+-parseInt(e(420))/11*(-parseInt(e(372))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends Y.Plugin{static get[Ut(411)](){return Ut(404)}static get[Ut(362)](){return!0}static get[Ut(412)](){return!0}static get[Ut(371)](){return[mt]}[Ut(421)];[Ut(408)](){const t=Ut,e=this[t(397)],i=e[t(381)][t(369)](t(393));e.ui[t(376)][t(367)](t(416),n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(365)][s(424)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(364)](s(414)).to(i,s(399),i,s(414),e,s(361),(t,e,i)=>t&&e&&!i),r[s(394)][s(389)]({icon:wt.IconHistory,label:ot(n,s(423)),tooltip:!0}),u[s(389)]({label:ot(n,s(422)),withText:!0,role:s(400)}),u[s(364)](s(414)).to(i,s(399),i,s(414),e,s(361),(t,e,i)=>t&&e&&!i),u.on(s(384),()=>this[s(357)]()),h[s(389)]({label:ot(n,s(417)),withText:!0,role:s(400)}),h[s(364)](s(414)).to(i,s(399),e,s(361),(t,e)=>t&&!e),h.on(s(384),()=>{const t=s;e[t(368)][t(369)](t(416))[t(379)](),r[t(359)]=!1,e[t(373)][t(403)][t(392)]()}),c[s(424)][s(367)](u),l[s(424)][s(367)](h),a[s(410)]=s(415),a[s(418)][s(366)]([c,l]),o[s(367)](a),r}),e.ui[t(376)][t(367)](t(354),()=>this[t(375)]())}[Ut(375)](){const t=Ut,e=this[t(397)],i=e[t(355)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(394)][t(389)]({icon:wt.IconHistory,label:ot(i,t(423))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(389)]({label:ot(i,t(422))}),o[t(378)](t(384)).to(n),o.on(t(384),()=>{this[t(357)]()}),r[t(424)][t(367)](o),s[t(418)][t(367)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(389)]({label:ot(i,t(417))}),c[t(378)](t(384)).to(n),c.on(t(384),()=>{const i=t;e[i(368)][i(369)](i(416))[i(379)]()}),a[t(424)][t(367)](c),s[t(418)][t(367)](a),n[t(365)][t(424)][t(367)](s),n}[Ut(357)](){const t=Ut,e=this[t(397)],i=e[t(355)],n=e[t(381)][t(369)](t(413)),s=e[t(381)][t(369)](t(393));function r(s){const r=t;e[r(368)][r(369)](r(383))&&""===s[r(387)]?s[r(398)][r(360)]=ot(i,r(356)):(e[r(381)][r(369)](mt)[r(358)]({name:s[r(387)]}),n[r(386)]())}this[t(421)]||(this[t(363)](),this[t(421)].on(t(401),()=>r(this[t(421)]))),this[t(421)][t(388)](),n[t(385)]({id:t(409),title:ot(i,t(422)),isModal:!0,content:this[t(421)],actionButtons:[{label:ot(e[t(355)],t(382)),withText:!0,onExecute:()=>n[t(386)]()},{label:ot(e[t(355)],t(370)),class:t(407),withText:!0,onCreate(i){const n=t;i[n(364)](n(414)).to(s,n(399),s,n(414),e,n(361),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(421)])}]})}[Ut(363)](){const t=Ut,e=this[t(397)],i=e[t(355)];this[t(421)]=new Pt(i,e[t(368)][t(369)](t(383))),this[t(421)][t(405)]()}}function $t(){const t=["6400QBFdOD","3522SrjSqK","setTemplate","20VRAMcP","3446048PpMZOD","isSuggestion","Added by","set","ck-revision-change__label","ck-revision-change","22722MvKRlS","focus","bindTemplate","Removed by","div","_model","8tTvstP","2655tDpMvF","3236807ViUlAV","3700926OGEDaV","24hnCxqu","4992229hmUGuK","type","span","name","add","ck-annotation","element","changeId","712Ategcu","author","data","ck-revision-change__","Suggested by"];return($t=function(){return t})()}const qt=Bt;function Bt(t,e){const i=$t();return(Bt=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(775281===parseInt(e(223))/1+-parseInt(e(242))/2*(-parseInt(e(230))/3)+-parseInt(e(251))/4+parseInt(e(247))/5*(parseInt(e(248))/6)+-parseInt(e(231))/7*(-parseInt(e(229))/8)+parseInt(e(232))/9*(-parseInt(e(250))/10)+parseInt(e(234))/11*(parseInt(e(233))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends _t.View{[qt(241)];[qt(228)];constructor(t,e){const i=qt;super(t),this[i(228)]=e,this[i(241)]=e.id;const n=this[i(225)],s=ot(t,e[i(244)][i(252)]?i(246):i(238)==e[i(235)]?i(253):i(226));this[i(254)](i(235),e[i(235)]),this[i(249)]({tag:i(227),attributes:{class:[i(239),i(222),n.to(i(235),t=>i(245)+t)],tabindex:-1},children:[{tag:i(236),children:[{tag:i(236),attributes:{class:[i(221)]},children:[{text:s}]},{text:" "+e[i(243)][i(237)]}]}]})}[qt(224)](){const t=qt;this[t(240)][t(224)]()}}var Yt=Gt;function Gt(t,e){var i=Kt();return(Gt=function(t,e){return i[t-=325]})(t,e)}function Kt(){var t=["set","7325318YMIWMt","8159315zVrpgk","539670XKPGdy","data","type","22365ACBDqX","createdAt","88IUOxGI","2GpGiIQ","rootName","303469HWzDgY","author","toJSON","14852czAHpo","1209lSrupO","3608qiJsQq","5296374DVtdzB"];return(Kt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(964247===-parseInt(e(341))/1*(-parseInt(e(339))/2)+parseInt(e(327))/3*(-parseInt(e(326))/4)+parseInt(e(332))/5+parseInt(e(329))/6+-parseInt(e(331))/7+parseInt(e(328))/8*(parseInt(e(336))/9)+-parseInt(e(333))/10*(parseInt(e(338))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Yt(342)];[Yt(335)];[Yt(334)];[Yt(340)];constructor(e){var i=Yt;super(),this.id=e.id||(0,t.uid)(),this[i(342)]=e[i(342)],this[i(335)]=e[i(335)],this[i(334)]=e[i(334)]||{},this[i(340)]=e[i(340)],this[i(330)](i(337),e[i(337)])}[Yt(325)](){var t=Yt;return{id:this.id,authorId:this[t(342)].id,type:this[t(335)],data:this[t(334)],createdAt:this[t(337)]}}}const Qt=ee;function te(){const t=["1837636cMxmxd","add","2KGwtYm","oldRevisionId","11802DEhhAw","2325657DPaXqb","5458095LlAmid","5520FXAVDp","7915854RoGHPc","7561755xzeuiU","_setChanges","changes","1075877YCxsrZ","newRevisionId"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=259]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(709586===-parseInt(e(271))/1+parseInt(e(261))/2*(parseInt(e(264))/3)+parseInt(e(259))/4+-parseInt(e(265))/5+parseInt(e(267))/6+parseInt(e(263))/7*(parseInt(e(266))/8)+-parseInt(e(268))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Qt(272)];[Qt(262)];[Qt(270)];constructor(e,i){const n=Qt;this[n(272)]=e,this[n(262)]=i,this[n(270)]=new t.Collection}[Qt(269)](t){const e=Qt;for(const i of t)this[e(270)][e(260)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=At(),se.insert=Nt().bind(null,"head"),se.domAPI=xt(),se.insertStyleElement=Vt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=oe;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=295]})(t,e)}function ae(){const t=["isBlock","add","has","comment","createPositionFromPath","reconvertMarker","removeMarker:revision-suggestion","ck-suggestion-preview-marker-","attributesBefore","delete","isAttached","_sortAndFilterDiffChanges","diff","RevisionsRepository","test","change:isEnabled","type","then","vid_start","target","currentChangeNumber","removeClass","filter","_removeUnsupportedChanges","_getViewForChange","nodeAfter","selection","restoreRevisionCallback","isOfficialPlugin","_cleanMarkers","shift","observeMarkers","mapViewToDom","RevisionHistoryUtils","addRevision","softBreak","suggestion:","compare","getRevision","uiElement","elementStart","merge","forceDisabled","-new","pluginName","locale","_activeViewTarget","next","removeMarker","nextSibling","return","2318892hxlXZv","object","_findChangeIdFromDomTarget","getRoot","clear","all","insertions","hasClass","editing","start","startIndex","getDomRoot","_changeView","concat","maxOffset","document","createAttributeElement","getChild","ck-editor__editable__overlay","newRevisionId","consume","name","_markInsertions","mapper","change:activeView","change:activeChange","isCollapsed","set","_setChanges","revision-comment:","string","userId","markerNameToElements","elementEnd","plugins","addMarker:revision","addHighlight","markersEnd","change:isReady","getRevisionRootsAttributes","createUIElement","showStack","offsetSize","revisionHistory","forward","revision-suggestion","attributesAfter","config","removeAttribute","endIndex","first","isPremiumPlugin","mousedown","markerToHighlight","isLimit","authors","pairId","isAtEnd","POSITIVE_INFINITY","isAdded","parent","isAddSuggestion","getIndex","diffData","bind","startsWith","element:pre","get","createRevision","rootName","revision:","item","1740390ZWcWWz","8477yhahUp","_update","isContent","oldRevisionId","isAfter","isEqual","8216DRSNBp","createRangeIn","vid","bindElementToMarker","length","_joinTapes","ck-suggestion-marker-merge","ck-revision-history-root--active","findIndex","bottom","model","mouseover","code","distance","isSuggestion","getRootNames","includes","modelRange","_processTape","viewItem","downcastDispatcher","ck-suggestion-marker--active","getLaterVisibleRevision","roots","2JeQDhn","backward","low","nextPosition","revision","addMarker:revision-suggestion:insertion","markerToData","_setDistance","range","_step","attachChange","attribute:vid","insertion","310lYILbZ","domEvent","resolve","dataDowncast","addMarker:revision-suggestion:deletion","isAtStart","_makeModelFromTape","deletion","1590849mucPNq","restoreRevision","change","toViewElement","wrap","_utils","_data","dataToMarker","isOnRoot","consumable","split","upcast","_markMismatchedRemovedTags","pop","_getChangeFromId","detachRoot","numberOfChanges","removeMarker:revision","done","sort","setAttribute","requires","adapter","ck-suggestion-marker","unshift","_removeMissingPairs","refresh","span","_appendChild","showPreviousChange","for","abs","forEach","checkAttribute","data-change-id","affectsData","text","getWalker","enableReadOnlyMode","end","addRoot","elementToAttribute","insert","highest","ck-suggestion-marker-","_getDiff","writer","catch","_initInteractions","repository","_makeTape","attributes","isNavigationMode","_getRevisionsRange","splice","error","ck-revision-history-root-add","revisionHistoryLabel","enqueueChange","isRemoved","_changeIdToChange","ck-revision-history-root-","getRevisionDocumentData","destroy","find","_cleanUp","ck-suggestion-marker-split","6051765HYvTMJ","right","revision-viewer","commands","high","flat","_revisions","index","ck-revision-history-root-remove","addRevisionData","getAttribute","changeId","from","isInline","showNextChange","execute","schema","indexOf","updatePosition","revisionHistoryAttachChange","isIncorrect","init","_refreshStartEndIndex","changes","markerName","_balloon","loadRevisionData","conversion","values","revision-suggestion:","isObject","isReady","editor","1931874ZQnINO","slice","element","keys","listenTo","hasAttribute","markersStart","unbindElementFromMarkerName","level","markers","stop","getClientRects","change:numberOfChanges","top","side","remove","previousPosition","getItems","suggestion","vid_end","_fixObsoleteTags","createRange","_threeWayMerge","markerRange","_makeModelFromViewString","isRemoveSuggestion","_setConversion","_markMarkers","domConverter","toViewPosition","getCustomProperty","data","activeView","editingDowncast","ck-suggestion-preview-marker","isEnabled","push","_markSuggestions","getAttributes","toViewRange","deletions","625419OHnyfo","WidgetToolbarRepository","view","addClass","RevisionViewer","isBefore","map","activeChange","left","createPositionBefore"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(852414===-parseInt(e(316))/1*(parseInt(e(295))/2)+parseInt(e(590))/3+-parseInt(e(518))/4+parseInt(e(383))/5+parseInt(e(416))/6+parseInt(e(591))/7*(-parseInt(e(597))/8)+-parseInt(e(457))/9*(-parseInt(e(308))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends Y.Plugin{[re(365)];[re(338)]=null;[re(321)];[re(513)];[re(530)];[re(376)];[re(408)];static get[re(511)](){return re(461)}static get[re(495)](){return!0}static get[re(569)](){return!0}static get[re(337)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(365)]=this[e(415)][e(552)][e(585)](e(480)),this[e(321)]=this[e(415)][e(552)][e(585)](e(500)),this[e(545)](e(464),null),this[e(545)](e(448),null),this[e(513)]=null,this[e(545)](e(479),null),this[e(545)](e(414),!1),this[e(545)](e(451),!0),this.on(e(482),(t,i,n)=>{const s=e;this[s(464)]=null,this[s(448)]=null,this[s(415)][s(526)][s(459)][s(318)](t=>{const e=s;for(const i of this[e(415)][e(526)][e(459)][e(533)][e(620)])n?t[e(488)](e(536),i):t[e(460)](e(536),i)})}),this[e(582)](e(368)).to(this,e(464),t=>null!==t),this[e(582)](e(487)).to(this,e(414),this,e(479),this,e(464),(t,i,n)=>t&&n?i[e(406)][e(580)](n):0),this[e(582)](e(332)).to(this,e(414),this,e(479),(t,i)=>t?i[e(406)][e(601)]:0),this[e(530)]=null,this[e(376)]=new Map,this[e(408)]=this[e(415)][e(552)][e(585)](_t.ContextualBalloon)}[re(404)](){const t=re,e=this[t(415)],i=new he(e,{direction:t(296)}),n=new he(e,{direction:t(562)});e[t(386)][t(468)](t(345),i),e[t(386)][t(468)](t(397),n),e[t(386)][t(468)](t(317),new le(e)),this.on(t(428),()=>{const e=t;i[e(342)](),n[e(342)]()}),this[t(442)](),this[t(364)](),e[t(354)](t(385)),e[t(552)][t(469)](t(458))&&e[t(552)][t(585)](t(458))[t(509)](t(385))}async[re(378)](t){const e=re;return await this[e(321)][e(409)](t,this[e(338)]),this[e(321)][e(378)](t)}async[re(557)](t){const e=re;return await this[e(321)][e(409)](t,this[e(338)]),this[e(321)][e(557)](t)}async[re(504)](t,e,i=!1){const n=re;if(!this[n(451)])return;const s=this[n(479)],r=this[n(365)],o=n(548)==typeof t?r[n(505)](t):t,a=n(548)==typeof e?r[n(505)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(479)]&&this[n(479)][n(537)]===c&&this[n(479)][n(594)]===u)return Promise[n(310)]();this[n(414)]=!1,this[n(448)]=null,this[n(464)]=null,this[n(479)]=new ie(c,u);const l=this[n(369)](o,a,!0)[n(463)](t=>this[n(321)][n(409)](t,this[n(338)]));return l[n(452)](new Promise(t=>{setTimeout(t,20)})),Promise[n(523)](l)[n(484)](()=>{const t=n;if(!this[t(451)])return;this[t(381)]();const e=this[t(361)](c,u);for(const i of e[t(406)])this[t(376)][t(545)](i.id,i);this[t(415)][t(607)][t(374)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(415)][n(607)][n(533)][n(612)]())i[n(331)](t);for(const t of Object[n(419)](e[n(607)])){const s=i[n(356)](t);for(const r of Object[n(419)](e[n(367)][t]))i[n(336)](r,e[n(367)][t][r],s);i[n(358)](e[n(607)][t],s,0)}}),this[t(479)][t(546)](this[t(478)](e[t(406)])),this[t(414)]=!0})[n(363)](t=>{const e=n;console[e(371)](t),this[e(381)](),s&&(this[e(479)]=s),this[e(414)]=!0})}[re(392)](t,e){const i=re,n=this[i(365)][i(586)](t);return n.on(i(592),(t,i,s)=>e(i,s,n)),this[i(365)][i(501)](n),n}[re(381)](){const t=re;this[t(464)]=null,this[t(496)](),this[t(530)]&&this[t(530)][t(379)](),this[t(530)]=null,this[t(376)][t(522)](),this[t(415)][t(607)][t(374)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(415)][i(607)][i(533)][i(612)]())e[i(331)](t)})}[re(478)](t){const e=re,i=[],n=new Map;for(const t of this[e(415)][e(607)][e(533)][e(612)]()){const s=this[e(415)][e(526)][e(459)][e(529)](t);if(!s)continue;const r=s[e(427)]()[e(589)](0);r&&(i[e(452)](t),n[e(545)](t,r))}return i[e(335)]((t,i)=>{const s=e,r=n[s(585)](t),o=n[s(585)](i);return r.y-o.y||r.x-o.x}),(t=t[e(489)](t=>i[e(613)](t[e(587)])))[e(335)]((t,n)=>i[e(400)](t[e(587)])-i[e(400)](n[e(587)])),t}[re(366)](t){const e=re,i=Array[e(395)](t[e(425)])[e(489)](([t,i])=>t[e(583)](e(588))&&!i[e(544)]),n=Array[e(395)](this[e(415)][e(607)][e(598)](t)[e(353)]({singleCharacters:!0}));if(0!=i[e(601)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(326)](":");if(s[e(355)][e(596)](t[e(298)])&&i[e(497)](),(t[e(432)][e(596)](s[e(527)])||t[e(432)][e(595)](s[e(527)]))&&(e(307)==r?t[e(577)]={userId:o}:e(315)==r&&(t[e(375)]={userId:o})),0==i[e(601)])break}return n}[re(405)](t){const e=re,i=new Map;for(let n=0;n<t[e(601)];n++)e(352)===t[n][e(483)]?(t[n][e(589)][e(528)]=n,t[n][e(589)][e(567)]=n):(e(507)===t[n][e(483)]?t[n][e(589)][e(528)]=n:e(551)===t[n][e(483)]&&(t[n][e(589)][e(567)]=n),i[e(545)](t[n].id,n));for(const n of i[e(411)]())e(507)===t[n][e(483)]?t[n][e(589)][e(567)]=i[e(585)](t[n][e(574)]):e(551)===t[n][e(483)]&&(t[n][e(589)][e(528)]=i[e(585)](t[n][e(574)]))}[re(615)](t){const e=re;for(let i=0;i<t[e(601)];i++){if(e(507)===t[i][e(483)])t[i][e(589)][e(528)]=i;else if(e(551)===t[i][e(483)]){t[i][e(589)][e(567)]=i;const n=t[i][e(589)][e(528)];t[n][e(574)]=t[i].id,t[i][e(574)]=t[n].id}else t[i][e(589)][e(528)]=i,t[i][e(589)][e(567)]=i,t[i][e(574)]=null;t[i][e(422)]||(t[i][e(422)]=[],t[i][e(555)]=[])}}[re(540)](t,e){const i=re,n=t[i(489)](t=>!t[i(577)]);for(let t=0;t<e[i(601)];t++)e[t][i(577)]&&(n[t][i(577)]=e[t][i(577)])}[re(361)](t,e=null){const i=re,n=this[i(365)][i(505)](t),s=e?this[i(365)][i(505)](e):null,r=this[i(369)](n,s),o=r[r[i(601)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(601)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(419)](e[i(581)]))if(e[i(581)][t][i(305)]){const n=e[i(581)][t][i(305)];n[i(477)]?(u[i(468)](t),l[i(469)](t)&&l[i(585)](t)[i(549)]==n[i(549)]?l[i(476)](t):l[i(545)](t,n)):l[i(469)](t)?(u[i(476)](t),l[i(476)](t)):(u[i(468)](t),l[i(545)](t,n))}else u[i(468)](t)}for(const t of u){const e=l[i(469)](t)&&!l[i(585)](t)[i(477)];let n=e?r[i(601)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(581)][t]){const n=e?o[i(581)][t][i(475)]:o[i(581)][t][i(564)];c[i(367)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(607)]={};for(const e of t[i(573)])a[i(545)](e.id,e);for(const e of u){const n=t[i(581)][e]?t[i(581)][e][i(524)]:"[]",s=t[i(581)][e]?t[i(581)][e][i(456)]:"[]";t[i(607)][e]={insertions:this[i(321)][i(440)](n),deletions:this[i(321)][i(440)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(395)](n[i(607)][t][i(524)][i(425)])[i(489)](([t])=>!t[i(583)](i(588))));let h=0;for(const o of r){const r=this[i(366)](o[i(607)][t][i(524)]);o==n?(e=r,s=e[i(601)],e[i(348)](t=>{t.id=h++}),this[i(615)](e)):this[i(540)](e,r);const a=e[i(489)](t=>!t[i(577)])[i(463)](t=>t.id);let c=0;const l=this[i(366)](o[i(607)][t][i(456)]);l[i(348)](t=>{t[i(375)]?t.id=s++:t.id=a[c++]}),this[i(615)](l),this[i(302)](e,i(577)),this[i(302)](l,i(375)),o==n&&this[i(443)](e,u),e=this[i(602)](e,l),this[i(405)](e),this[i(302)](e,i(375))}e=e[i(489)](t=>!(t[i(577)]&&t[i(375)]));const d=new Map(o[i(607)][t][i(456)][i(425)]),f=new Set(u[i(419)]());for(const t of d[i(419)]())f[i(476)](t);this[i(453)](e,f),this[i(436)](e),e=this[i(341)](e),e=this[i(328)](e),e=this[i(490)](e);const{root:m,changes:p}=this[i(314)](e,a,t);c[i(607)][t]=m;const v=l[i(585)](t);if(v){const e=a[i(585)](v[i(549)]),n=new Xt({author:e,type:v[i(477)]?i(468):i(431),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(340)](n),c[i(367)][t][i(402)]=n.id}c[i(406)]=c[i(406)][i(531)](p)}return c}[re(443)](t,e){const i=re;for(let n=0;n<t[i(601)];n++)for(const[s,r]of e)!r[i(544)]&&r[i(527)][i(596)](t[n][i(432)])&&t[n][i(422)][i(452)](s),r[i(355)][i(596)](t[n][i(298)])&&t[n][i(555)][i(452)](s)}[re(602)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(601)]||r<e[i(601)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(452)](o);else if(a[i(375)]&&o[i(577)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(438)](t,s,e,r);n=n[i(531)](o),s=a,r=c}else a[i(375)]?(r++,n[i(452)](a)):(s++,n[i(452)](o))}return n}[re(453)](t,e){const i=re,n=[];for(let o=0;o<t[i(601)];o++){for(let r=0;r<t[o][i(422)][i(601)];r++){const a=t[o][i(422)][r];if(!e[i(469)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(563)!=c||i(307)!=u&&i(315)!=u||(n[i(340)]({type:u,name:a,userId:l}),t[o][i(422)][i(370)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(555)][i(601)];r++){const a=t[o][i(555)][r];if(!e[i(469)](a))continue;const{group:c,type:u}=s(a);if(i(563)!=c||i(307)!=u&&i(315)!=u)continue;t[o][i(555)][i(370)](r,1),r--;const l=n[i(605)](t=>t[i(539)]==a);l>-1&&n[i(370)](l,1)}}function s(t){const e=i,n=t[e(326)](":");return{group:n[0],type:n[1],subType:n[e(601)]>=5?n[2]:null,id:n[e(601)]<5?n[2]:n[3],authorId:n[e(601)]<5?n[3]:n[4],markerCount:6==n[e(601)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(601)];i++){if(t[e(577)]&&e(307)==n[i][e(483)]&&t[e(577)][e(549)]==n[i][e(549)])return t[e(579)]=n[i],void delete t[e(577)];if(!t[e(577)]&&!t[e(375)]&&e(315)==n[i][e(483)])return void(t[e(441)]=n[i])}}}[re(302)](t,e){const i=re;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(545)](o.id,n);for(let n=0;n<t[i(601)];n++){if(i(375)==e&&t[n][i(577)]||i(577)==e&&t[n][i(375)])continue;if(i(352)==t[n][i(483)]){t[n][i(610)]=0;continue}const s=r[i(585)](t[n][i(574)]),o=r[i(585)](t[n].id);t[n][i(610)]=s-o}}[re(369)](t,e,i=!1){const n=re,s=[];let r=this[n(365)][n(580)](t),o=this[n(365)][n(580)](e);for(-1==o&&(o=this[n(365)][n(389)][n(601)],i=!1);r<o;)s[n(452)](this[n(365)][n(505)](r)),r++;return i&&s[n(452)](this[n(365)][n(505)](r)),s}[re(438)](t,e,i,n){const s=re,r=this[s(415)][s(607)][s(399)];let o=e;for(;t[o]&&t[o][s(577)];)o++;let a=n;for(;i[a]&&i[a][s(375)];)a++;u(t,e,o),u(i,n,a);const c=i[s(417)](n,a)[s(531)](t[s(417)](e,o));return c[s(335)]((t,e)=>t[s(430)]!=e[s(430)]?t[s(430)]-e[s(430)]:t[s(424)]!=e[s(424)]?t[s(424)]-e[s(424)]:t[s(610)]!=e[s(610)]?e[s(610)]-t[s(610)]:!!t[s(577)]!=!!e[s(577)]?-1==t[s(430)]||0==t[s(430)]?t[s(577)]?-1:1:t[s(577)]?1:-1:t[s(390)]-e[s(390)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(576)],c=!0;for(let s=e;s<i;s++)if(r[n(396)](t[s][n(589)])||(c=!1),t[s][n(589)][n(528)]<e&&(o=s),t[s][n(589)][n(567)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(430)]=s<=o?-1:s<a?0:1,t[s][n(390)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(610)]?t[i][n(424)]=u:(u++,t[i][n(424)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(430)]&&(t[s][n(424)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(610)]?t[e][n(424)]=u:(u--,t[e][n(424)]=u,u--)}}[re(436)](t){const e=re,i=new Map,n=this[e(415)][e(607)][e(399)];for(let s=1;s<t[e(601)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(352)==c[e(483)])continue;if(c[e(483)]!=u[e(483)])continue;if(!n[e(467)](u[e(589)])||n[e(572)](u[e(589)]))continue;if(!n[e(467)](c[e(589)])||n[e(572)](c[e(589)]))continue;if((t[s][e(577)]||t[s][e(579)])&&t[s-1][e(375)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(375)]||!t[s-1][e(577)]&&!t[s-1][e(579)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(424)]==o[e(424)],h=Math[e(347)](r[e(424)])<Math[e(347)](o[e(424)])&&0==o[e(610)];(l||h)&&(i[e(545)](o.id,r.id),t[e(370)](a,1),s--,r[e(577)]=!1)}for(let n=0;n<t[e(601)];n++)i[e(469)](t[n][e(574)])&&(t[n][e(574)]=i[e(585)](t[n][e(574)]))}[re(341)](t){const e=re,i=new Set(t[e(463)](t=>t.id));for(let n=0;n<t[e(601)];n++)i[e(469)](t[n][e(574)])||0==t[n][e(610)]||(t[n][e(403)]=!0);return t[e(489)](t=>!t[e(403)])}[re(328)](t){const e=re,i=new Set;for(let n=0;n<t[e(601)];n++){if(i[e(469)](t[n].id)&&t[n][e(375)]&&(t[n][e(403)]=!0),t[n][e(403)])continue;if(0==t[n][e(610)])continue;if(e(507)!=t[n][e(483)])continue;if(null==t[n][e(574)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(574)];)e(507)==t[s][e(483)]?r++:e(551)==t[s][e(483)]&&r--,s++;if(0!=r)if(t[n][e(375)])t[n][e(403)]=!0;else for(;s!=n;)t[s][e(375)]&&0!=t[s][e(610)]&&(t[s][e(403)]=!0,i[e(468)](t[s][e(574)])),s--}return t[e(489)](t=>!t[e(403)])}[re(490)](t){const e=re,i=this[e(415)][e(607)][e(399)];for(let n=0;n<t[e(601)];n++){if(!(t[n][e(577)]||t[n][e(579)]||t[n][e(375)]||t[n][e(441)]))continue;if(0==t[n][e(610)])continue;const s=t[n][e(589)];i[e(467)](s)||i[e(572)](s)||(t[n][e(577)]&&delete t[n][e(577)],t[n][e(579)]&&delete t[n][e(579)],t[n][e(441)]&&delete t[n][e(441)],t[n][e(375)]&&(t[n][e(403)]=!0))}return t[e(489)](t=>!t[e(403)])}[re(314)](t,e,i){const n=re,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(415)][n(607)],c=a[n(399)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(601)];e++)if(n(507)===t[e][n(483)]){t[e][n(432)]=a[n(471)](s,f);const i=new K.ModelElement(t[e][n(589)][n(539)],t[e][n(589)][n(454)]());u[0][n(344)](i),f[n(452)](0),u[n(340)](i),t[e][n(298)]=a[n(471)](s,f)}else n(551)===t[e][n(483)]?(u[n(497)](),t[e][n(432)]=a[n(471)](s,f),f[n(329)](),f[f[n(601)]-1]++,t[e][n(298)]=a[n(471)](s,f)):(t[e][n(432)]=a[n(471)](s,f),d?d[n(322)]+=t[e][n(589)][n(447)]:d=new K.ModelText(t[e][n(589)][n(447)],t[e][n(589)][n(454)]()),t[e+1]&&n(352)===t[e+1][n(483)]&&v(d,t[e+1][n(589)])||(u[0][n(344)](d),d=null),f[f[n(601)]-1]+=t[e][n(589)][n(560)],t[e][n(298)]=a[n(471)](s,f));for(let e=0;e<t[n(601)];e++){const i=t[e][n(432)],s=t[e][n(298)];for(const s of t[e][n(422)])o[n(545)](s,{start:i,end:null});m(n(441),e,i,s),m(n(579),e,i,s),m(n(375),e,i,s),m(n(577),e,i,s);for(const i of t[e][n(555)]){const t=o[n(585)](i);t?t[n(355)]=s:o[n(545)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(415)][n(607)][n(437)](e[n(527)],e[n(355)]);s[n(425)][n(545)](t,i)}return r[n(335)]((t,e)=>{const i=n,r=s[i(425)][i(585)](i(588)+t.id),o=s[i(425)][i(585)](i(588)+e.id);return r[i(527)][i(462)](o[i(527)])?-1:r[i(527)][i(595)](o[i(527)])?1:r[i(355)][i(462)](o[i(355)])?-1:r[i(355)][i(595)](o[i(355)])?1:i(468)===t[i(483)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(549)]:null,d=i===t[o(601)]-1,f=h[e][0],m=c[o(413)](t[i][o(589)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(355)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(549)]!==u&&(l[e][o(355)]=s,f&&f[o(549)]===l[e][o(549)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(507)!==t[i][o(483)]||f&&f[o(549)]===u||h[e][o(340)]({userId:u,object:t[i][o(589)],change:l[e]}),o(551)===t[i][o(483)]&&f&&f[o(519)]===t[i][o(589)]&&(h[e][o(497)](),l[e]=f[o(318)])),l[e]&&d&&(l[e][o(355)]=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(589)],f=a[h(399)][h(467)](d)&&!a[h(399)][h(572)](d),m=t[h(492)]==o[h(578)]&&o[h(313)];if(f&&m)return;const p=a[h(437)](t,o),v=e[h(585)](u),g=new Xt({author:v,type:h(577)==l||h(579)==l?h(468):h(431),data:{isSuggestion:h(579)==l||h(441)==l},createdAt:new Date,rootName:i});r[h(452)](g),s[h(425)][h(545)](h(588)+g.id,p)}function v(t,e){const i=n,s=t[i(454)](),r=e[i(454)]();for(const t of s){if(t[1]!==e[i(393)](t[0]))return!1;r[i(514)]()}return r[i(514)]()[i(334)]}}[re(442)](){const t=re;this[t(415)][t(410)][t(346)](t(327))[t(323)]({view:t(299)}),this[t(415)][t(410)][t(346)](t(449))[t(571)]({model:t(299),view:e=>{const i=t,n=e[i(407)][i(326)](":")[1],s=this[i(330)](n);if(!s)return null;const r=i(468)==s[i(483)]?i(307):i(315),o=[i(339),i(360)+r];return s[i(447)][i(611)]&&o[i(452)](i(360)+r+i(510)),this[i(464)]==s&&o[i(452)](i(618)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(415)][t(410)][t(346)](t(327))[t(468)](e=>{const i=t;e.on(i(584),(t,e,n)=>{const s=i,r=e[s(616)][s(535)](0);if(!r||!r.is(s(418),s(609)))return;if(!n[s(325)][s(538)](r,{attributes:[s(485),s(435)]}))return;const o=e[s(614)][s(527)][s(492)];n[s(362)][s(336)](s(485),r[s(393)](s(485)),o),n[s(362)][s(336)](s(435),r[s(393)](s(435)),o)},{priority:i(297)})}),this[t(415)][t(410)][t(346)](t(327))[t(468)](e=>{const i=t;e.on(i(418),(t,e,n)=>{const s=i;if(!n[s(325)][s(538)](e[s(616)],{attributes:[s(485),s(435)]}))return;if(e[s(614)][s(544)])return;const r=e[s(614)][s(527)][s(492)];r[s(421)](s(485))||r[s(421)](s(599))||(n[s(362)][s(336)](s(485),e[s(616)][s(393)](s(485)),r),n[s(362)][s(336)](s(435),e[s(616)][s(393)](s(435)),r))},{priority:i(297)})}),this[t(415)][t(410)][t(346)](t(327))[t(357)]({view:{name:t(343),attributes:{vid:!0}},model:{key:t(599),value:e=>e[t(393)](t(599))}}),this[t(415)][t(607)][t(399)].on(t(349),(e,[,i])=>{const n=t;[n(485),n(435),n(599)][n(613)](i)&&(e[n(517)]=!0,e[n(426)]())},{priority:t(359)}),this[t(415)][t(410)][t(346)](t(311))[t(468)](e=>{const i=t;e.on(i(306),(t,e,n)=>{const s=i;if(" "!=e[s(589)][s(447)]||e[s(589)][s(578)][s(532)]>1)return;if(!n[s(325)][s(538)](e[s(589)],t[s(539)]))return;const r=n[s(362)],o=n[s(541)][s(455)](e[s(303)]);r[s(320)](o,r[s(534)](s(343)))})}),this[t(415)][t(410)][t(346)](t(311))[t(301)]({model:t(299)}),this[t(415)][t(526)][t(617)].on(t(553),function(e){const i=t,n=e[i(552)][i(585)](i(461));return(t,s,r)=>{const o=i,a=s[o(407)][o(326)](":")[1],c=n[o(330)](a);if(!c)return null;const u=o(468)==c[o(483)]?o(326):o(508);if(!r[o(325)][o(481)](s[o(439)],t[o(539)]))return;const l=s[o(439)][o(353)](),h=s[o(439)][o(527)],d=e[o(607)][o(399)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(589)];p=p||d[o(593)](e);const i=r[o(541)][o(319)](e);if(i&&i[o(446)](o(554)))return;o(551)==t[o(483)]&&d[o(467)](e)&&!d[o(572)](e)&&(e[o(516)]||h[o(575)]?f&&f[o(578)]==e||(f=e,g(t[o(432)]),v=!0):m=m||t[o(432)])}function g(t){const e=o,i=r[e(362)][e(558)](e(343),{class:e(360)+u}),a=r[e(541)][e(445)](t);c[e(447)][e(611)]&&r[e(362)][e(460)](e(360)+u+e(510),i),n[e(464)]==c&&r[e(362)][e(460)](e(618),i),r[e(362)][e(358)](a,i),r[e(541)][e(600)](i,s[e(407)])}p||v||!m||g(m)}}(this[t(415)]),{priority:t(387)}),this[t(415)][t(526)][t(617)].on(t(333),(e,i,n)=>{const s=t,r=n[s(541)][s(550)](i[s(407)]);if(r)for(const t of r)(t[s(525)](s(382))||t[s(525)](s(603)))&&(n[s(541)][s(423)](t,i[s(407)]),n[s(362)][s(431)](t))},{priority:t(387)}),this[t(415)][t(526)][t(617)].on(t(553),(e,i,n)=>{const s=t,r=i[s(407)][s(326)](":")[1],o=this[s(330)](r);if(!o)return null;const a=s(468)==o[s(483)]?s(326):s(508);if(n[s(325)][s(481)](i[s(439)],e[s(539)]))for(const t of i[s(439)][s(433)]()){if(!t.is(s(418),s(502)))continue;const e=n[s(362)][s(558)](s(343),{class:s(360)+a}),r=n[s(541)][s(445)](this[s(415)][s(607)][s(466)](t));o[s(447)][s(611)]&&n[s(362)][s(460)](s(360)+a+s(510),e),this[s(464)]==o&&n[s(362)][s(460)](s(618),e),n[s(362)][s(358)](r,e),n[s(541)][s(600)](e,i[s(407)])}},{priority:t(387)}),this[t(415)][t(607)][t(533)].on(t(318),()=>{const e=t;this[e(415)][e(526)][e(459)][e(318)](t=>{const i=e;for(const e of this[i(415)][i(607)][i(533)][i(612)]()){const n=this[i(415)][i(607)][i(533)][i(521)](e),s=this[i(415)][i(526)][i(459)][i(533)][i(521)](e);if(s){const e=n[i(393)](i(402));if(t[i(566)](i(350),s),t[i(488)](i(372),s),t[i(488)](i(391),s),t[i(488)](i(604),s),e){const n=this[i(330)](e);if(!n)return null;t[i(336)](i(350),e,s),t[i(460)](i(377)+n[i(483)],s),this[i(464)]==n&&t[i(460)](i(604),s)}}}})}),this[t(415)][t(410)][t(346)](t(327))[t(323)]({view:t(470),model:e=>t(547)+e,converterPriority:t(359)}),this[t(415)][t(410)][t(346)](t(327))[t(323)]({view:t(434),model:e=>t(412)+e,converterPriority:t(359)}),this[t(415)][t(410)][t(346)](t(311))[t(301)]({model:t(563),view:e=>({name:t(503)+e,group:t(563)}),converterPriority:t(359)}),this[t(415)][t(410)][t(346)](t(449))[t(571)]({model:t(563),view:e=>{const i=t,n=e[i(407)][i(326)](":")[1];return i(307)!=n&&i(315)!=n?null:{classes:[i(450),i(474)+n]}}}),this[t(415)][t(526)][t(617)].on(t(312),ue(this[t(415)],t(508)),{priority:t(387)}),this[t(415)][t(526)][t(617)].on(t(300),ue(this[t(415)],t(326)),{priority:t(387)}),this[t(415)][t(526)][t(617)].on(t(473),(e,i,n)=>{const s=t,r=n[s(541)][s(550)](i[s(407)]);if(r)for(const t of r)t.is(s(506))&&(n[s(541)][s(423)](t,i[s(407)]),n[s(362)][s(431)](t))},{priority:t(387)})}[re(330)](t){const e=re;return this[e(376)][e(585)](t)}[re(491)](t){const e=re;return this[e(530)]&&this[e(530)][e(379)](),this[e(530)]=new Jt(this[e(415)][e(512)],t),this[e(530)]}[re(364)](){const t=re;this[t(415)][t(607)][t(533)][t(493)][t(498)](t(299)),this.on(t(542),(e,i,n,s)=>{const r=t;s&&this[r(408)][r(431)](s),n&&(this[r(408)][r(468)]({view:n,stackId:r(373),position:{target:()=>{const t=r,e=this[t(415)][t(526)],i=this[t(330)](n[t(394)]);let s;if(i[t(447)][t(324)]){const n=e[t(459)][t(529)](i[t(587)]);s=Array[t(395)](n[t(427)]())}else{const i=this[t(415)][t(607)][t(425)][t(585)](t(588)+n[t(394)]);s=Array[t(395)](e[t(541)][t(550)](i[t(539)]))[t(463)](i=>e[t(459)][t(444)][t(499)](i))[t(463)](e=>Array[t(395)](e[t(427)]()))[t(388)]()}return this[t(513)]&&s[t(380)](e=>e[t(429)]-3<=this[t(513)].y&&e[t(606)]+3>=this[t(513)].y&&e[t(465)]-3<=this[t(513)].x&&e[t(384)]+3>=this[t(513)].x)||s[0]}}}),this[r(408)][r(559)](r(373)))}),this.on(t(543),(e,i,n,s)=>{const r=t;this[r(448)]=n?this[r(491)](n):null,this[r(415)][r(607)][r(318)](()=>{const t=r,e=this[t(415)][t(526)];s&&(s[t(447)][t(324)]?e[t(459)][t(318)](i=>{const n=t;i[n(488)](n(604),e[n(459)][n(533)][n(521)](s[n(587)]))}):e[t(472)](t(588)+s.id)),n&&(n[t(447)][t(324)]?e[t(459)][t(318)](i=>{const s=t;i[s(460)](s(604),e[s(459)][s(533)][s(521)](n[s(587)]))}):e[t(472)](t(588)+n.id))})}),this[t(420)](this[t(415)][t(526)][t(459)][t(533)],t(608),(e,i)=>{const n=t;if(this[n(464)])return;const s=this[n(520)](i[n(486)]),r=this[n(376)][n(585)](s);r?(this[n(513)]={x:i[n(309)].x,y:i[n(309)].y},this[n(448)]=this[n(491)](r)):(this[n(513)]=null,this[n(448)]=null)}),this[t(420)](this[t(415)][t(526)][t(459)][t(533)],t(570),(e,i)=>{const n=t,s=this[n(520)](i[n(486)]),r=this[n(376)][n(585)](s);r?(this[n(513)]={x:i[n(309)].x,y:i[n(309)].y},r===this[n(464)]?this[n(408)][n(401)]():this[n(464)]=r):(this[n(513)]=null,this[n(464)]=null)})}[re(520)](t){const e=re;do{const i=t[e(393)](e(350));if(i)return i;t=t[e(578)]}while(t);return null}[re(496)](){const t=re;this[t(415)][t(607)][t(318)](e=>{const i=t;for(const t of this[i(415)][i(607)][i(425)])e[i(515)](t)})}}function ue(t,e){return(i,n,s)=>{const r=oe;if(!s[r(325)][r(481)](n[r(439)],i[r(539)]))return;const o=n[r(439)][r(353)](),a=n[r(439)][r(527)],c=t[r(607)][r(399)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(589)];h=h||c[r(593)](e);const i=s[r(541)][r(319)](e);if(i&&i[r(446)](r(554)))return;r(551)==t[r(483)]&&c[r(467)](e)&&!c[r(572)](e)&&(e[r(516)]||a[r(575)]?u&&u[r(578)]==e||(u=e,f(t[r(432)]),d=!0):l=l||t[r(432)])}function f(t){const i=r,o=s[i(541)][i(445)](t),a=s[i(362)][i(558)](i(343),{class:i(474)+e});s[i(362)][i(358)](o,a),s[i(541)][i(600)](a,n[i(407)])}h||d||!l||f(l)}}class le extends Y.Command{constructor(t){const e=re;super(t);const i=t[e(552)][e(585)](ce);this[e(351)]=!1,this[e(420)](i,e(556),()=>this[e(342)]()),this[e(420)](i,e(482),()=>this[e(342)]())}[re(398)](){const t=re,e=this[t(415)],i=e[t(552)][t(585)](ce),n=i[t(414)]?i[t(479)][t(537)]:null;e[t(565)][t(585)](t(561))[t(494)](n)}[re(342)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(415)][t(552)][t(585)](ce),r=s&&n[t(619)](s[t(537)]);this[t(451)]=e&&i&&Boolean(r)}}class he extends Y.Command{[re(304)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(552)][i(585)](ce);this[i(351)]=!1,this[i(304)]=i(562)===e?1:-1,this[i(420)](n,i(556),()=>this[i(342)]()),this[i(420)](n,i(482),()=>this[i(342)]()),this[i(420)](n,i(543),()=>this[i(342)]())}[re(398)](){const e=re,i=this[e(415)],n=i[e(552)][e(585)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(464)]=s?n[e(479)][e(406)][e(585)](r+this[e(304)]):n[e(479)][e(406)][e(568)],n[e(464)][e(447)][e(324)])o=i[e(526)][e(459)][e(529)](n[e(464)][e(587)]);else{const t=i[e(607)][e(425)][e(585)](e(588)+n[e(464)].id);o=(0,G.getMarkerDomElement)(i[e(526)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(342)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(415)][t(552)][t(585)](ce);this[t(451)]=!!(r&&s&&n)&&(!e||(1===this[t(304)]?i<n-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=xt(),fe.insertStyleElement=Vt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=ve();return(me=function(t,e){return i[t-=243]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(643828===-parseInt(e(263))/1+parseInt(e(270))/2*(parseInt(e(269))/3)+-parseInt(e(245))/4*(parseInt(e(255))/5)+parseInt(e(267))/6*(parseInt(e(258))/7)+-parseInt(e(282))/8+parseInt(e(275))/9+-parseInt(e(273))/10*(-parseInt(e(284))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class pe extends _t.View{constructor(t){const e=me;super(t);const i=this[e(278)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(250)](e(261),!1),this[e(250)](e(247),!1),this[e(250)](e(265),0),this[e(250)](e(246),0),this[e(250)](e(249),!1),this[e(250)](e(257),!1),this[e(274)](e(243)).to(this,e(247),this,e(246),(t,e)=>t&&e>0),this[e(274)](e(264)).to(this,e(247),this,e(265),this,e(246),this,e(261),(i,n,s,r)=>{const o=e;if(!i)return ot(t,o(285));if(!s)return ot(t,o(279));const a=ot(t,o(256),s);return r?ot(t,o(262),[n+1,s]):a}),n[e(250)]({label:ot(t,e(260)),tooltip:!0,icon:wt.IconChevronUp}),s[e(250)]({label:ot(t,e(281)),tooltip:!0,icon:wt.IconChevronDown}),n[e(274)](e(277)).to(this,e(257)),s[e(274)](e(277)).to(this,e(249)),n.on(e(252),()=>this[e(268)](e(252),e(272))),s.on(e(252),()=>this[e(268)](e(252),e(266))),this[e(286)]({tag:e(244),attributes:{class:["ck",e(248),e(283)]},children:[{tag:e(254),attributes:{class:[e(253)]},children:[{tag:e(254),attributes:{class:[e(271),i.if(e(243),e(251),t=>!t)]},children:[{text:i.to(e(261),i=>i?ot(t,e(276))+": ":ot(t,e(280))+": ")}]},{text:i.to(e(264))}]},new _t.ToolbarSeparatorView,{tag:e(244),attributes:{class:[e(259)]},children:[n,s]}]})}}function ve(){const t=["forward","1768806ajhTFI","fire","2008956hChiOo","2gdbYPW","ck-revision-history-ui__changes-navigation__label","backward","5350wwDrjV","bind","7035507qImqJq","EDIT_X_OF_Y_REVISIONS","isEnabled","bindTemplate","No changes","Total","Show next change","3442680MqijnB","ck-revision-history-ui__changes-navigation","25223GHAely","Loading...","setTemplate","_isStatusLabelVisible","div","962260Arbgcy","numberOfChanges","isReady","ck-revision-history-ui","isForwardNavigationEnabled","set","ck-hidden","execute","ck-revision-history-ui__changes-navigation__wrapper","span","20doyKlR","NUMBER_OF_CHANGES","isBackwardNavigationEnabled","7wHUxcA","ck-revision-history-ui__changes-navigation__navigation","Show previous change","isNavigationMode","X_OF_Y_CHANGES","936508OkNtsk","_statusText","currentChangeNumber"];return(ve=function(){return t})()}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=xt(),ye.insertStyleElement=Vt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=be,i=t();for(;;)try{if(794715===-parseInt(e(330))/1+parseInt(e(334))/2*(parseInt(e(349))/3)+-parseInt(e(346))/4+-parseInt(e(337))/5*(parseInt(e(340))/6)+parseInt(e(347))/7+-parseInt(e(338))/8*(-parseInt(e(328))/9)+parseInt(e(350))/10*(-parseInt(e(333))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=ke(331);function _e(){const t=["589462JrTAcl","editing","change","6490985lmnZCs","2384FJXanp","isPremiumPlugin","6KveYRz","RevisionViewerLoadingOverlay","document","roots","removeClass","pluginName","575264iOnylp","7156870dZkPzU","addClass","6KJLvln","6960880jFGHrt","hide","isOfficialPlugin","view","41967RKbbGK","show","68630cJHQNP","ck-editor__editable__loading-overlay","editor","11OLxbJI"];return(_e=function(){return t})()}class Ie extends Y.Plugin{static get[ke(345)](){return ke(341)}static get[ke(326)](){return!0}static get[ke(339)](){return!0}[ke(329)](){const t=ke,e=this[t(332)][t(335)][t(327)];e[t(336)](i=>{const n=t;for(const t of e[n(342)][n(343)])i[n(348)](we,t)})}[ke(351)](){const t=ke,e=this[t(332)][t(335)][t(327)];e[t(336)](i=>{const n=t;for(const t of e[n(342)][n(343)])i[n(344)](we,t)})}}const Se=xe;function Oe(){const t=["194380gkQUcd","showNextChange","showPreviousChange","set","isNavigationMode","RevisionViewerUI","16580fqRHBB","bind","isBackwardNavigationEnabled","componentFactory","isForwardNavigationEnabled","requires","execute","listenTo","closeRevisionViewerCallback","isEnabled","hide","isOfficialPlugin","restoreRevision","156636lkvDkp","6nHOGkV","change:isReady","isReady","pluginName","187313VkEaaj","forward","currentChangeNumber","editor","242sVBgRf","changesNavigation","Restore this revision","ck-revision-history-ui__back-to-editing","isPremiumPlugin","489386pyYqco","revisionHistory","184JQevqx","5417586oWNKen","180SLTeJZ","Back to editing","add","commands","plugins","1350bBdGtB","exitToEditing","998231wZaXdQ","init","get","numberOfChanges","show","config"];return(Oe=function(){return t})()}function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=455]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(566319===-parseInt(e(476))/1+-parseInt(e(465))/2*(-parseInt(e(502))/3)+parseInt(e(488))/4*(-parseInt(e(474))/5)+parseInt(e(468))/6+parseInt(e(456))/7*(parseInt(e(467))/8)+parseInt(e(469))/9*(parseInt(e(482))/10)+-parseInt(e(460))/11*(-parseInt(e(501))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends Y.Plugin{static get[Se(455)](){return Se(487)}static get[Se(499)](){return!0}static get[Se(464)](){return!0}static get[Se(493)](){return[ce,Ie]}[Se(477)](){const t=Se,e=this[t(459)],i=e[t(473)][t(478)](ce),n=e[t(473)][t(478)](Ie);e.ui[t(491)][t(471)](t(475),i=>{const n=t,s=new _t.ButtonView(i);return s[n(485)]({label:ot(i,n(470)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(463)}),this[n(495)](s,n(494),()=>{const t=n;e[t(481)][t(478)](t(466))[t(496)]()}),s}),e.ui[t(491)][t(471)](t(500),i=>{const n=t,s=new _t.ButtonView(i);return s[n(485)]({label:ot(i,n(462)),withText:!0,tooltip:!0}),s[n(489)](n(497)).to(e[n(472)][n(478)](n(500))),this[n(495)](s,n(494),()=>e[n(494)](n(500))),s}),e.ui[t(491)][t(471)](t(461),n=>{const s=t,r=new pe(n),o=e[s(472)][s(478)](s(484)),a=e[s(472)][s(478)](s(483));return r[s(489)](s(490)).to(o,s(497)),r[s(489)](s(492)).to(a,s(497)),r[s(489)](s(504),s(458),s(479),s(486)).to(i),this[s(495)](r,s(494),(t,i)=>{const n=s;e[n(494)](n(457)===i?n(483):n(484))}),r}),n[t(480)](),i.on(t(503),(e,i,s)=>{const r=t;s?n[r(498)]():n[r(480)]()})}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=Me;function Me(t,e){const i=De();return(Me=function(t,e){return i[t-=416]})(t,e)}!function(t){const e=Me,i=t();for(;;)try{if(521570===-parseInt(e(435))/1+parseInt(e(420))/2*(parseInt(e(428))/3)+-parseInt(e(424))/4+-parseInt(e(419))/5*(parseInt(e(438))/6)+-parseInt(e(423))/7*(-parseInt(e(440))/8)+-parseInt(e(437))/9+parseInt(e(443))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends _t.LabeledFieldView{[Ae(416)]=null;constructor(t,e){const i=Ae;super(t,e);const n=this[i(421)];this[i(427)]({label:ot(t,i(439)),_tooltipString:""}),this[i(418)][i(425)]=ot(t,i(444)),this[i(432)]({tag:i(431),attributes:{class:[i(445)],"data-cke-tooltip-text":n.to(i(434)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(422)}})}[Ae(433)](){const e=Ae;super[e(433)](),this[e(416)]=new t.ResizeObserver(this[e(418)][e(442)],()=>this[e(417)]()),this[e(429)](this[e(418)],e(446),()=>this[e(417)]())}[Ae(426)](){const t=Ae;super[t(426)](),this[t(416)]&&this[t(416)][t(426)]()}[Ae(417)](){const t=Ae,e=this[t(418)][t(442)];this[t(434)]=e[t(441)]>e[t(436)]&&e[t(430)]||""}}function De(){const t=["ck-revision-history-sidebar__revision-name","input","_resizeObserver","_updateTooltipText","fieldView","65REyVyf","2UjbZtn","bindTemplate","ck-tooltip_multi-line","44527lTeuNI","124296DZDlBE","placeholder","destroy","set","1329990BOhEhJ","listenTo","value","span","extendTemplate","render","_tooltipString","582228RYxhnZ","clientWidth","7327251APJTXy","19242jGhJZM","Revision name","1032hxGfff","scrollWidth","element","7268030gwTgBS","Enter the revision name"];return(De=function(){return t})()}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=xt(),Ce.insertStyleElement=Vt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["410oCRCdL","push","24VhgrLL","101144DuCQUk","330039iEDFxJ","name","16341930QVhULh","Revision creator","4091442YszEIj","925768cBHCxL","5sJzVDz","272xgmOIx","46711MeQchv","span","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","3998364LJxlOE","set","setTemplate","ck-revision-history-sidebar__revision-author__name","0 0 11 10","Revision author"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=495]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(829801===parseInt(e(507))/1*(-parseInt(e(506))/2)+parseInt(e(512))/3+-parseInt(e(513))/4+-parseInt(e(514))/5*(-parseInt(e(498))/6)+-parseInt(e(516))/7*(-parseInt(e(515))/8)+-parseInt(e(508))/9*(-parseInt(e(504))/10)+-parseInt(e(510))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const n=Le;super(t);const s=new _t.IconView;s[n(499)]({content:wt.IconUser,viewBox:n(502)});const r=["ck",n(496)];i&&r[n(505)](n(497));const o=[{tag:n(495),attributes:{class:["ck",n(501)],title:ot(t,n(i?511:503))},children:[s,e[n(509)]]}];this[n(500)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=435]})(t,e)}function ze(){var t=["724576BVpyXF","toLocaleTimeString","5580743vVroWv","long","152WJMYbP","2181065aZFGHt","43830NwPKFv","toLocaleDateString","36753NhHZkm","numeric","6ZCLVbB","118nmRufX","40568160EtbKAN","2941100yOquUv"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(548164===-parseInt(e(442))/1+-parseInt(e(439))/2*(parseInt(e(436))/3)+-parseInt(e(441))/4+-parseInt(e(447))/5*(parseInt(e(438))/6)+-parseInt(e(444))/7+-parseInt(e(446))/8*(parseInt(e(448))/9)+parseInt(e(440))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(11),We={attributes:{"data-cke":!0}};We.setAttributes=At(),We.insert=Nt().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Vt();St()(Ue.A,We);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=161]})(t,e)}function He(){const t=["map","Show more items","items","129813qyWJNK","_action","isVisible","18WGWhGv","extendTemplate","Name this revision","menuitem","panelPosition","class","menu","function","buttonView","find","locale","set","listView","2103206IGPPqn","model","isOpen","execute","add","424750BUqcMm","isActionsDropdownOpen","bind","87984HeXCbf","children","Restore this revision","stopPropagation","action","38285cJbqwf","name","first","button","8IVdrMy","change:isActionsDropdownOpen","source","ck-revision-history-sidebar__revision__actions","listenTo","isEnabled","ck-on","220247Wyixhb","630784ceYJXy","isReady","Compare against selected","bindTemplate"];return(He=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(172605===parseInt(e(200))/1+parseInt(e(181))/2+parseInt(e(208))/3*(parseInt(e(193))/4)+parseInt(e(189))/5*(parseInt(e(163))/6)+-parseInt(e(176))/7+-parseInt(e(201))/8+parseInt(e(184))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=At(),qe.insert=Nt().bind(null,"head"),qe.domAPI=xt(),qe.insertStyleElement=Vt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(106439===parseInt(e(385))/1+parseInt(e(370))/2+parseInt(e(397))/3+parseInt(e(382))/4*(-parseInt(e(375))/5)+parseInt(e(412))/6*(-parseInt(e(414))/7)+-parseInt(e(419))/8*(-parseInt(e(409))/9)+parseInt(e(432))/10*(parseInt(e(400))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ye extends((0,G.ConfirmMixin)(_t.View)){id;[Be(430)];[Be(386)];[Be(417)];[Be(428)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(404)],a=function(t,e){const i=r,n=Array[i(418)](e[i(376)])[i(422)](t=>t!=e[i(413)]);return e[i(413)]&&n[i(411)](e[i(413)]),n[i(391)](n=>new je(t,n,n==e[i(413)]))}(e,i);this.id=i.id,this[r(417)]=i,this[r(428)]=s,this[r(429)](r(427),r(378)).to(i),this[r(429)](r(394)).to(this,r(378),t=>{return i=e[r(425)],(n=t)[(s=Pe)(435)](i,{month:s(445),day:s(437)})+", "+n[s(443)](i,{hour:s(437),minute:s(437)});var i,n,s}),this[r(384)](r(373),!1),this[r(384)](r(396),!1),this[r(384)](r(371),!1),this[r(384)](r(408),!1),this[r(384)](r(381),!1),this[r(430)]=new Ve(e,_t.createLabeledInputText),this[r(430)][r(399)][r(387)]({attributes:{maxlength:r(388)}}),this[r(430)][r(399)][r(429)](r(420)).to(this,r(427),t=>t||this[r(394)]),this[r(430)][r(429)](r(381)).to(this,r(373),this,r(381),(t,e)=>t&&e),this[r(386)]=n&&n[r(379)]?function(e,i){const n=Ze,s=e[n(204)],r=e[n(173)],o=(0,_t.createDropdown)(r);o[n(167)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(173)],s={"Compare against selected":ot(n,i(203)),"Name this revision":ot(n,i(165)),"Restore this revision":ot(n,i(186))};return e[i(205)](t=>{const e=i,n=s[t[e(190)]];return n&&n!==t[e(190)]&&(t[e(190)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(192),model:new _t.UIModel({label:t[s(190)],class:t[s(168)],withText:!0,role:s(166),_action:t[s(188)]})};i[s(177)][s(183)](s(198)).to(e,s(182),i=>s(170)!=typeof t[s(198)]||!i||t[s(198)](e)),o[s(180)](i)}return o}(e,i);return e[n(183)](n(182)).to(o,n(178)),o[n(171)][n(174)]({label:ot(r,n(206)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(164)]({attributes:{class:[n(196),s.if(n(182),n(199))]},on:{click:s.to(t=>t[n(187)]())}}),o.on(n(179),t=>{const i=n;e[i(202)]&&i(170)==typeof t[i(195)][i(161)]&&t[i(195)][i(161)](e)}),(0,_t.addListToDropdown)(o,a,{role:n(169)}),o[n(197)](e,n(194),(t,s,r)=>{const a=n;if(r)for(const t of o[a(175)][a(207)]){const n=t[a(185)][a(191)],s=i[a(172)](t=>t[a(188)]===n[a(161)])[a(162)];t[a(162)]=void 0===s||s(e)}}),o}(this,n):"",this[r(386)]&&this[r(386)][r(429)](r(381)).to(this),this[r(368)]({tag:r(431),attributes:{class:["ck",r(372),r(377),o.if(r(405),r(407))]},children:[{tag:r(431),attributes:{class:["ck",r(372),r(389),o.if(r(381),r(402),t=>!t),o.if(r(373),r(421)),o.if(r(396),r(390)),o.if(r(371),r(369))]},children:[this[r(430)],{tag:r(415),attributes:{class:["ck",r(423)]},children:[{text:o.to(r(394))}]},{tag:r(431),attributes:{class:["ck",r(367)]},children:[{tag:"ul",attributes:{class:["ck",r(410)]},children:a}]},this[r(386)]],on:{click:o.to(t=>{const e=r;t[e(395)][e(374)](e(383))||this[e(408)]&&this[e(381)]&&this[e(426)](e(406),{id:this.id})})}}]})}[Be(392)](){const t=Be;super[t(392)]();const e=this[t(430)][t(399)][t(401)];this[t(424)](e,t(416),()=>{const i=t;this[i(428)]&&!e[i(420)]||this[i(426)](i(398),{id:this.id,name:e[i(420)]}),e[i(420)]||(e[i(420)]=this[i(427)]?this[i(427)]:this[i(394)])})}[Be(406)](){this[Be(373)]=!0}[Be(403)](){this[Be(373)]=!1}[Be(393)](){this[Be(396)]=!0}[Be(380)](){this[Be(396)]=!1}}function Ge(){const t=["ck-disabled","deselect","bindTemplate","isConfirm","select","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isReady","81YKoSCD","ck-revision-history-sidebar__revision-authors","unshift","54OkJzMi","creator","5026IYLNlw","span","change","_revision","from","81176xFdJqu","value","ck-revision-history-sidebar__revision_selected","filter","ck-revision-history-sidebar__revision__date","listenTo","uiLanguage","fire","name","_requireRevisionName","bind","revisionNameView","div","1770AktDoF","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","ck-revision-history-sidebar__actions_dropdown_open","3394pXTFWc","isActionsDropdownOpen","ck-reset","isSelected","closest","42865AAyJbg","authors","ck-revision-history-sidebar__revision-wrapper","createdAt","length","unhighlight","isEnabled","92pLjzPd",".ck-thread__remove-confirm","set","104465ZRAWOW","revisionActionsView","extendTemplate","220","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_highlighted","map","render","highlight","_createdAtFormatted","srcElement","isHighlighted","19716xXPIdV","setName","fieldView","6589stJOWX","element"];return(Ge=function(){return t})()}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class si extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Mi=null;class Vi extends Ai{static get instance(){return null===Mi&&(Mi=new Vi),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i,this.name)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ei[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,(Yn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=ji.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),ji.set(i,n)),n}const zi=new Map;const Ui=new Map;let Wi=null;const Zi=new Map;function Hi(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 qi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.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=Pi(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 Yi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Wi=null,ji.clear(),zi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(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"===Hi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(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 qi(this,t,cs,()=>{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=ho.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 qi(this,t,ds,()=>{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=ho.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return qi(this,void 0,()=>fs,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return qi(this,t,gs,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Yi(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()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?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={...Gi,...e}),$i.set(t,e)}return e}(this.locale):Gi}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 Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn extends Ai{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function en(t,e){if(Vn(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Dn(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Vi.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(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 _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function Tn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function Rn(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function An(t){const e=En(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Jn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Mn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function En(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function jn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return En(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Wn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function Hn(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(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?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Yn(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 Gn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Gn(t,e,i),s=Gn(t+1,e,i);return(Bn(t)-n+s)/7}function Xn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Qn(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 ts(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 es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(jn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:xi,ffff:Ni,F:_i,FF:Si,FFF:Ti,FFFF:Ri};class bs{static create(t,e={}){return new bs(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 ks[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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=bs.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ys(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 ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Is(...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 Ss(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 Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Wn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ts=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${Ts.source}${`(?:${xs.source}?(?:\\[(${ws.source})\\])?)?`}`),Rs=RegExp(`(?:T${Ns.source})?`),As=Os("weekYear","weekNumber","weekDay"),Ms=Os("year","ordinal"),Vs=RegExp(`${Ts.source} ?(?:${xs.source}|(${ws.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Es(t,e,i){const n=t[e];return Vn(n)?i:Wn(n)}function Cs(t,e){return[{hours:Es(t,e,0),minutes:Es(t,e+1,0),seconds:Es(t,e+2,0),milliseconds:Hn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Qi.instance(n),e+3]}function Ls(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const js=RegExp(`^T?${Ts.source}$`),Ps=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function zs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(Hn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ws(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Wn(e)):Wn(e),month:os.indexOf(i)+1,day:Wn(n),hour:Wn(s),minute:Wn(r)};return o&&(a.second=Wn(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.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 Hs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Ws(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:ts(l,h),[d,new Qi(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$/,qs=/^(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$/,Bs=/^(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[Ws(e,s,n,i,r,o,a),Qi.utcInstance]}function Ys(t){const[,e,i,n,s,r,o,a]=t;return[Ws(e,a,i,n,s,r,o),Qi.utcInstance]}const Gs=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=_s(/(\d{4})-?(\d{3})/,Rs),Qs=_s(Ns),tr=Is(function(t,e){return[{year:Es(t,e),month:Es(t,e+1,1),day:Es(t,e+2,1)},null,e+3]},Cs,Fs,Ls),er=Is(As,Cs,Fs,Ls),ir=Is(Ms,Cs,Fs,Ls),nr=Is(Cs,Fs,Ls);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Ds),or=_s(Vs),ar=Is(Cs,Fs,Ls);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.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),mr.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 kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,zs])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[js,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map(e=>{const i=this.values[e];return Vn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(jn(e.values,t)||jn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return yr(this.matrix,e),vr(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 vr(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 mr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const br="Invalid Interval";class wr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.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=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Cn(),localeWeek:Fn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(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(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Tr=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Tr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Tr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Er=null;function Cr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(bs.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bs.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Xn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(jn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=Fi.create(t.z)),Vn(t.Z)||(i||(i=new Qi(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=Hn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(jn(i,"a")&&jn(i,"H"))throw new ei("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 Fr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Pr="Invalid DateTime",zr=864e13;function Ur(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...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 qr(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 Br(t,e,i){return $r(Yn(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=kr.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=Yn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Yr(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=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Gr(t,e,i=!0){return t.isValid?bs.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const n=Ki.fromObject(e);let s,r;if(Vn(t.year))s=vn.now();else{for(const e of io)Vn(t[e])&&(t[e]=Qr[e]);const e=An(t)||Mn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vn(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({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 ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Ki.fromObject(e)}):ho.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const n=Ki.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=vn.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 ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=Tn(g)):(p=io,v=Qr);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=En(t.weekYear),s=zn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=En(t.year),i=zn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):An(s),b=k||Mn(s);if(b)return ho.invalid(b);const w=m?xn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Gs,tr],[Ks,er],[Xs,ir],[Qs,nr])}(t);return Yr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Hs])}(t);return Yr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Js],[qs,Js],[Bs,Ys])}(t);return Yr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?ho.invalid(u):Yr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Yr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){uo=void 0,lo.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?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(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?Tn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Yn(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=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.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]=Br(i,e,t)}return Hr(this,{ts:n,zone:t})}return ho.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=xn({...On(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=Nn({...Tn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Jr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Jr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(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 Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Gr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?ho.invalid(u):Yr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ti}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=vo();return(mo=function(t,e){return i[t-=152]})(t,e)}function po(t,e){const i=mo,n=ho[i(174)](t)[i(163)](e),s=ho[i(157)](),r=s[i(161)]({days:1})[i(166)](i(164));let o,a;return n[i(159)](s,i(164))?(o=n[i(166)](i(164))[i(158)](),a=n[i(170)]()):n[i(159)](r,i(164))?(o=r[i(158)](),a=n[i(170)]()):n[i(159)](s,i(162))?(o=n[i(166)](i(162))[i(158)](),a=n[i(171)]||""):n[i(159)](s,i(152))?(o=n[i(166)](i(156))[i(158)](),a=n[i(172)]||""):(o=n[i(166)](i(152))[i(158)](),a=String(n[i(152)])),{startDate:o,localizedPeriodName:a}}function vo(){const t=["23552cQSPHi","fromJSDate","846225HBEwNP","year","5dXQMyh","88JoJLEe","4636050BiSzRX","month","local","toJSDate","hasSame","2710948pnCQif","minus","week","setLocale","day","35LBZQPC","startOf","2095818cYWeri","2215365JAQXji","9707696iUKbvy","toRelativeCalendar","weekdayLong","monthLong"];return(vo=function(){return t})()}!function(t){const e=mo,i=t();for(;;)try{if(877077===parseInt(e(173))/1*(-parseInt(e(154))/2)+-parseInt(e(168))/3+parseInt(e(160))/4*(-parseInt(e(153))/5)+-parseInt(e(167))/6*(-parseInt(e(165))/7)+parseInt(e(169))/8+-parseInt(e(175))/9+parseInt(e(155))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=xt(),yo.insertStyleElement=Vt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=466]})(t,e)}function wo(){const t=["find","remove","ck-revision-history-sidebar__time-period","localizedPeriodName","747101XSvmBn","setTemplate","4KhPKao","6LAcVHw","setName","removeRevision","select","2903435pQnLEU","9pQQiek","add","revisionViews","delegate","ck-revision-history-sidebar__time-period__revisions","_revisionActions","ck-revision-history-sidebar__time-period__label","34045008IHQnnN","4682790MFCZhs","11IkCKSe","_requireRevisionName","uiLanguage","locale","startDate","2juNKlK","1247500IvJPrb","span","createCollection","1661025XboHVn","8045424NcysgY","div","addRevision"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(650425===parseInt(e(483))/1*(parseInt(e(471))/2)+parseInt(e(475))/3*(-parseInt(e(485))/4)+parseInt(e(490))/5*(-parseInt(e(486))/6)+-parseInt(e(499))/7+parseInt(e(476))/8*(-parseInt(e(491))/9)+parseInt(e(472))/10*(-parseInt(e(466))/11)+parseInt(e(498))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(470)];[ko(493)];[ko(496)];[ko(467)];constructor(t,e,i,n){const s=ko;super(t);const r=po(e,this[s(469)][s(468)])[s(482)];this[s(470)]=e,this[s(493)]=this[s(474)](),this[s(496)]=i,this[s(467)]=n,this[s(493)][s(494)](s(489)).to(this),this[s(493)][s(494)](s(487)).to(this),this[s(484)]({tag:s(477),attributes:{class:["ck",s(481)]},children:[{tag:s(473),attributes:{class:["ck",s(497)]},children:[{text:r}]},{tag:s(477),attributes:{class:["ck",s(495)]},children:this[s(493)]}]})}[ko(478)](t){const e=ko,i=new Ye(this[e(469)],t,this[e(496)],this[e(467)]);this[e(493)][e(492)](i)}[ko(488)](t){const e=ko,i=this[e(493)][e(479)](e=>e.id===t.id);this[e(493)][e(480)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=xt(),So.insertStyleElement=Vt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["1161HGIKRO","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","setTemplate","79410Xjzvvd","content","210sUQdMY","span","3503916NuayVp","ck-reset_all","3576yTpkCR","908JRrnnU","2423659Ydrboq","45788koudNZ","430701kyiZnJ","div","Revision history","469sXSLjC"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(317696===-parseInt(e(480))/1*(parseInt(e(492))/2)+parseInt(e(495))/3+parseInt(e(494))/4*(parseInt(e(487))/5)+parseInt(e(489))/6+parseInt(e(493))/7+parseInt(e(491))/8+-parseInt(e(481))/9*(parseInt(e(485))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class To extends _t.View{constructor(t){const e=xo;super(t);const i=new _t.IconView;i[e(486)]=wt.IconHistory,this[e(484)]({tag:e(478),attributes:{class:["ck",e(490),e(483)]},children:[i,{tag:e(488),attributes:{class:["ck",e(482)]},children:[ot(t,e(479))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Ao=Mo;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=282]})(t,e)}function Vo(){const t=["map","highlight","isEnabled","add","ck-disabled","799198iiigDr","6NWRIAN","div","deselect","createCollection","delegate","find","some","set","setTemplate","removeRevision","uiLanguage","16293hxvuGh","select","ck-revision-history-sidebar","get","828rOxAmz","revisionSetName","highlightRevisions","ck-revision-history-sidebar__timeline","setName","bindTemplate","createdAt","_revisionActions","startDate","6627392sHnxJV","_revisions","fire","locale","render","_getTimePeriodViewByStartDate","flat","getTime","timePeriodViews","5404413KzTMsE","selectRevision","794300zYzhnF","ck-reset","unhighlight","revisionViews","1856075aEXSHo","addRevision","109280wsfrWu","48IXIYnW","ck-rounded-corners","revisionSelected","_addRevision","_requireRevisionName","remove","_removeRevision"];return(Vo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(438201===parseInt(e(309))/1+parseInt(e(328))/2+parseInt(e(285))/3*(-parseInt(e(316))/4)+parseInt(e(313))/5+-parseInt(e(329))/6*(-parseInt(e(307))/7)+-parseInt(e(298))/8+parseInt(e(289))/9*(-parseInt(e(315))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends _t.View{[Ao(306)];[Ao(299)];[Ao(296)];[Ao(320)];constructor(t,e,i,n){const s=Ao;super(t);const r=this[s(294)];this[s(306)]=this[s(332)](),this[s(306)][s(333)](s(286)).to(this),this[s(306)][s(333)](s(293)).to(this),this[s(299)]=e,this[s(296)]=i,this[s(320)]=n,this.on(s(286),(t,e)=>{const i=s;this[i(300)](i(318),e)}),this.on(s(293),(t,e)=>{const i=s;this[i(300)](i(290),e)}),this[s(336)](s(325),!1),this[s(282)]({tag:s(330),attributes:{class:["ck",s(310),s(317),s(287)]},children:[new To(t),{tag:s(330),attributes:{class:["ck",s(292),r.if(s(325),s(327),t=>!t)]},children:this[s(306)]}]})}[Ao(302)](){const t=Ao;super[t(302)]();for(const e of this[t(299)])this[t(319)](e);this[t(299)].on(t(326),(e,i)=>{this[t(319)](i)}),this[t(299)].on(t(321),(e,i)=>{this[t(322)](i)})}get[Ao(312)](){const t=Ao;return this[t(306)][t(323)](e=>e[t(312)][t(323)](t=>t))[t(304)]()}[Ao(308)](t){const e=Ao;for(const i of this[e(312)])t&&t.id===i.id?i[e(286)]():i[e(331)]()}[Ao(291)](t){const e=Ao;for(const i of this[e(312)])t[e(335)](({id:t})=>t===i.id)?i[e(324)]():i[e(311)]()}[Ao(319)](t){const e=Ao,i=po(t[e(295)],this[e(301)][e(284)])[e(297)];let n=this[e(306)][e(288)](0);n&&n[e(297)][e(305)]()===i[e(305)]()||(n=new _o(this[e(301)],i,this[e(296)],this[e(320)]),this[e(306)][e(326)](n)),n[e(314)](t)}[Ao(322)](t){const e=Ao,i=po(t[e(295)],this[e(301)][e(284)])[e(297)];this[e(303)](i)[e(283)](t)}[Ao(303)](t){const e=Ao;return this[e(306)][e(334)](i=>i[e(297)][e(305)]()===t[e(305)]())}}const Eo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=198]})(t,e)}function Fo(){const t=["render","getEarlierVisibleRevision","requires","isVisible","repository","nameRevision","fieldView","change:diff","pluginName","map","ready","editor","focus","restoreRevision","name","plugins","locale","compareAgainstSelected","select","1161252DIYUxK","RevisionsSidebar","revisionHistory.viewerSidebarContainer","isPremiumPlugin","element","defaultRevisionActions","revisionHistory","listenTo","getIndex","revisionHistory.revisionActions","compare","_handleEditorDataReady","action","config","isOfficialPlugin","8TUMxHr","length","_revisionViewer","init","Name this revision","_sidebarView","getRevision","40081spcmzL","_createRevisionActions","timePeriodViews","selectRevision","getRevisionsInDiff","isReady","diff","isEnabled","assign","revisionSetName","isSelected","bind","_handleRevisionSelected","Compare against selected","data","438140ycvzcZ","add","get","_revisions","revisionSelected","newRevisionId","_handleDiffChange","setName","remove","_handleRevisionSetName","22aUDLjJ","Restore this revision","10lRdrVT","string","highlightRevisions","1253166DcKuwg","999220hKGGma","revisionViews","1193577YBGlDi","revisionHistory.requireRevisionName","24PEMEYL","680715wNzLkk","_revisionsRepository","availableRevisionActions","destroy","restoreRevisionCallback","appendChild","getLaterVisibleRevision"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(217709===parseInt(e(274))/1*(parseInt(e(267))/2)+parseInt(e(223))/3+-parseInt(e(221))/4+-parseInt(e(217))/5*(-parseInt(e(220))/6)+parseInt(e(226))/7*(-parseInt(e(225))/8)+-parseInt(e(252))/9+-parseInt(e(205))/10*(parseInt(e(215))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends Y.Plugin{[Eo(269)];[Eo(227)];[Eo(272)];static[Eo(257)]=[Eo(250),Eo(246),Eo(238)];static[Eo(228)]=function(){const t=Eo;return{compareAgainstSelected:{name:t(203),action:({plugins:e},i)=>{const n=t,s=e[n(207)](ce),r=s[n(237)];let o=s[n(280)][n(210)],a=i.id;r[n(260)](o)>r[n(260)](a)&&([o,a]=[a,o]),s[n(262)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(207)](ce);return!(s[n(237)][n(278)](s[n(280)])[n(268)]>2||i[n(200)])}},restoreRevision:{name:t(216),action:(e,{id:i})=>{const n=t;e[n(265)][n(207)](n(258))[n(230)](i)},isVisible:({plugins:e},i)=>!!e[t(207)](ce)[t(237)][t(232)](i.id)},nameRevision:{name:t(271),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(207)](ce),o=r[s(237)][s(234)](i);r[s(262)](i,o),n[s(245)](),n[s(239)][s(251)]()}}}}();static get[Eo(241)](){return Eo(253)}static get[Eo(266)](){return!0}static get[Eo(255)](){return!0}static get[Eo(235)](){return[ce]}constructor(t){const e=Eo;super(t),this[e(269)]=t[e(248)][e(207)](ce),this[e(227)]=this[e(269)][e(237)],this[e(272)]=null}[Eo(270)](){const t=Eo,e=this[t(227)][t(208)],i=this[t(275)](),n=this[t(244)][t(265)][t(207)](t(254));this[t(272)]=new Do(this[t(244)][t(249)],e,i,this[t(244)][t(265)][t(207)](t(224))),this[t(272)].on(t(209),this[t(202)][t(201)](this)),this[t(272)].on(t(199),this[t(214)][t(201)](this)),this[t(272)][t(201)](t(281)).to(this[t(269)]),this[t(272)][t(276)].on(t(206),(e,i)=>{const n=t;i[n(222)].on(n(206),(t,e)=>{const i=n;e[i(201)](i(281),i(279)).to(this[i(269)])})}),this[t(272)][t(233)](),this[t(259)](this[t(244)][t(204)],t(243),this[t(263)][t(201)](this)),this[t(259)](this[t(269)],t(240),this[t(211)][t(201)](this)),n[t(231)](this[t(272)][t(256)])}[Eo(229)](){const t=Eo;this[t(272)][t(256)][t(213)](),this[t(272)][t(229)]()}[Eo(263)](){const t=Eo,e=this[t(227)][t(273)](0);if(e){const i=this[t(227)][t(234)](e.id);this[t(269)][t(262)](e,i)}}[Eo(202)](t,e){const i=Eo,n=this[i(227)][i(273)](e.id),s=this[i(227)][i(234)](n.id);this[i(269)][i(262)](n,s)}[Eo(214)](t,e){const i=Eo;this[i(227)][i(273)](e.id)[i(212)](e[i(247)])}[Eo(211)](t,e,i){const n=Eo,s=this[n(227)][n(278)](i);s[n(268)]>2?(this[n(272)][n(219)](s),this[n(272)][n(277)](null)):(this[n(272)][n(219)]([]),this[n(272)][n(277)](s[0]))}[Eo(275)](){const t=Eo,e=this[t(244)],i=Lo[t(228)],n=e[t(265)][t(207)](t(261))||Lo[t(257)];if(n[t(268)])return n[t(242)](n=>{const s=t,r=s(218)==typeof n?Object[s(198)]({},i[n]):n;return r[s(264)]=r[s(264)][s(201)](this,e),r[s(236)]&&(r[s(236)]=r[s(236)][s(201)](this,e)),r})}}const jo=zo;function Po(){const t=["1923MRILlX","attachDomRoot","focusTracker","toolbar","416690gCezBb","limiterElement","name","config","element","_view","23216BMeLUS","3914960CMQkEt","42qXLlkx","document","_initToolbar","editor","viewportOffset","setEditableElement","isFocused","isActive","get","view","init","fire","componentFactory","stickyPanel","restore","196054JNhKIc","detachDomRoot","getRoot","20mIDlxR","addToolbar","editable","5202714NNDBhp","replace","2872igJEDU","_elementReplacer","viewportTopOffset","fillFromConfig","ready","rootName","editing","_toolbarConfig","55140dLBUeg","destroy","bind","2862UsUVPY","render"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(464549===parseInt(e(341))/1+-parseInt(e(325))/2+parseInt(e(298))/3*(parseInt(e(333))/4)+parseInt(e(302))/5*(parseInt(e(310))/6)+-parseInt(e(309))/7+-parseInt(e(308))/8*(parseInt(e(296))/9)+-parseInt(e(328))/10*(-parseInt(e(331))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends _t.EditorUI{[jo(307)];[jo(340)];[jo(334)];get[jo(319)](){return this[jo(307)]}constructor(e,i){const n=jo;super(e),this[n(307)]=i,this[n(340)]=(0,_t.normalizeToolbarConfig)(e[n(305)][n(318)](n(301))),this[n(334)]=new t.ElementReplacer}get[jo(306)](){const t=jo;return this[t(319)][t(306)]}[jo(320)](t){const e=jo,i=this[e(313)],n=this[e(319)],s=i[e(339)][e(319)],r=n[e(330)],o=s[e(311)][e(327)]();r[e(304)]=o[e(338)],n[e(297)]();const a=r[e(306)];this[e(315)](r[e(304)],a),n[e(330)][e(343)](e(316)).to(this[e(300)]),s[e(299)](a),this[e(334)][e(332)](t,this[e(306)]),this[e(312)](),this[e(321)](e(337))}[jo(342)](){const t=jo;super[t(342)]();const e=this[t(319)],i=this[t(313)][t(339)][t(319)];this[t(334)][t(324)](),i[t(326)](e[t(330)][t(304)]),e[t(342)]()}[jo(312)](){const t=jo,e=this[t(319)];e[t(323)][t(343)](t(317)).to(this[t(300)],t(316)),e[t(323)][t(303)]=e[t(306)],e[t(323)][t(343)](t(335)).to(this,t(314),({top:t})=>t),e[t(301)][t(336)](this[t(340)],this[t(322)]),this[t(329)](e[t(301)])}}var Wo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=At(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();St()(Wo.A,Zo);Wo.A&&Wo.A.locals&&Wo.A.locals;function Ho(){var t=["shouldToolbarGroupWhenFull","4068528nazIBh","13848440rmTTsv","11RIajET","30567uyphfR","306372mFrTjZ","1854VjcHxR","add","_editable","1277766bjUWqQ","content","top","toolbar","editable","stickyPanel","304LsbAVE","33929aQLzfR","6664850GjAxGr","main","render"];return(Ho=function(){return t})()}var $o=qo;function qo(t,e){var i=Ho();return(qo=function(t,e){return i[t-=344]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(901759===parseInt(e(348))/1*(-parseInt(e(350))/2)+-parseInt(e(349))/3*(-parseInt(e(360))/4)+parseInt(e(362))/5+parseInt(e(351))/6*(parseInt(e(361))/7)+parseInt(e(346))/8+-parseInt(e(354))/9+-parseInt(e(347))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Bo extends _t.BoxedEditorUIView{[$o(353)];[$o(359)];[$o(357)];get[$o(358)](){return this[$o(353)]}constructor(t,e,i={}){var n=$o;super(t),this[n(359)]=new _t.StickyPanelView(t),this[n(357)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(345)]}),this[n(353)]=new _t.InlineEditableUIView(t,e)}[$o(344)](){var t=$o;super[t(344)](),this[t(359)][t(355)][t(352)](this[t(357)]),this[t(356)][t(352)](this[t(359)]),this[t(363)][t(352)](this[t(358)])}}const Jo=Yo;function Yo(t,e){const i=Ko();return(Yo=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Yo,i=t();for(;;)try{if(475821===parseInt(e(146))/1+-parseInt(e(144))/2+parseInt(e(145))/3+parseInt(e(149))/4*(-parseInt(e(171))/5)+parseInt(e(167))/6+-parseInt(e(168))/7*(-parseInt(e(155))/8)+-parseInt(e(152))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Go extends((0,Y.ElementApiMixin)(Y.Editor)){[Jo(158)];get ui(){return this[Jo(158)]}constructor(t,e){const i=Jo;super(e),this[i(162)]=t,this[i(156)][i(159)][i(160)]();const n=new Bo(this[i(165)],this[i(163)][i(157)],{shouldToolbarGroupWhenFull:!0});this[i(158)]=new Uo(this,n)}[Jo(161)](){const t=Jo;return this[t(166)](),this.ui[t(161)](),super[t(161)]()}static async[Jo(147)](t,e){const i=Jo,n=new this(t,e);return await n[i(150)](),await n.ui[i(170)](t),await n[i(151)][i(170)](n[i(164)][i(153)](i(148))||""),n[i(169)](i(154)),n}}function Ko(){const t=["231RfhKZL","fire","init","4780qejfUb","995134ydukoJ","2291907kmocBB","767218kMKDXr","create","initialData","180rBGLjC","initPlugins","data","11092059cpkTRf","get","ready","87928csZobL","model","view","_ui","document","createRoot","destroy","sourceElement","editing","config","locale","updateSourceElement","2129814raCMGP"];return(Ko=function(){return t})()}const Xo=Qo;function Qo(t,e){const i=ta();return(Qo=function(t,e){return i[t-=498]})(t,e)}function ta(){const t=["toLocaleDateString","_recalculatePageBreaks","1956076HhXwFi","push","fromVersion","RevisionHistoryUtils","repository","enqueueChange","saveRevision","restoreRevision","markers","block","long","uiLanguage","change","creator","Autosave","parse","remove","RevisionsRepository","getRevisionRootsAttributes","toJSON","display","addUser","config","exitToEditing","bind","RestrictedEditingMode","data","commands","document","revisionHistory","setSelection","error","isAttached","rootName","767054QbsoVY","RevisionHistory","Dialog","requires","PaginationLookup","catch","4550685dLJyQa","_cleanUp","pluginName","translations","hide","isReadOnly","revisionHistory.requireRevisionName","_enhanceShowRevisionViewerCallback","save","createRangeIn","closeRevisionViewerCallback","isAnonymous","revisionHistory.editorContainer","plugins","from","loadRevisionData","adapter","addRoot","revisionHistory.closeRevisionViewerCallback","getRevisionDocumentData","locale","toLocaleTimeString","users","create","then","name","set","16vWIBQe","revision-history-viewer-opened","toolbar","refreshVisibility","Annotations","revision-history-missing-configuration","has","disableReadOnlyMode","refreshPositioning","DocumentOutline","revisionHistory.viewerContainer","getRevision","isEnabled","map","revisionHistory.showRevisionViewerCallback","detachRoot","changesNavigation","element","view","4hMDTYK","createdAt","toVersion","end","Restored","showRevisionViewerCallback","model","insert","update","addRevisionData","removeAttribute","setAttribute","5780908ezquUO","_showRevisionViewer","get","getRevisions","isReady","removeMarker","_viewerEditor","editor","revisionHistory.viewerEditorElement","lazyRoots","_update","4397091XsAjVS","enableReadOnlyMode","selection","RevisionViewerIntegration","RevisionViewer","roots","_closeRevisionViewer","$graveyard","getRoot","_getRevisionViewerEditorConfig","numeric","isPremiumPlugin","getUser","style","destroy","isOfficialPlugin","9082038JmPVkx","fromCharCode","removeSelectionAttribute","isOpen","keys","indexOf","restrictedEditingException","result","getMarkersGroup","join","includes","_enhanceCloseRevisionViewerCallback","none","revisionHistory.restoreRevisionCallback","_restoreRevision","init","RevisionTracker","Users","isRevisionViewerOpen","RevisionHistoryUI","1205532FzzAZL","define","getAttributeKeys","DocumentOutlineUI"];return(ta=function(){return t})()}!function(t){const e=Qo,i=t();for(;;)try{if(769599===parseInt(e(620))/1+parseInt(e(586))/2+-parseInt(e(544))/3+parseInt(e(521))/4*(parseInt(e(626))/5)+-parseInt(e(560))/6+parseInt(e(533))/7+-parseInt(e(502))/8*(-parseInt(e(580))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Xo(579),Xo(611)];class ia extends Y.Plugin{[Xo(567)];static get[Xo(628)](){return Xo(547)}static get[Xo(559)](){return!0}static get[Xo(555)](){return!0}constructor(t){const e=Xo;function i(t){const e=Qo;return t[e(515)](t=>String[e(561)](t))[e(569)]("")}super(t),this[e(567)]=e(524),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends Y.Plugin{[Xo(539)];static get[Xo(628)](){return Xo(621)}static get[Xo(559)](){return!0}static get[Xo(555)](){return!0}static get[Xo(623)](){return[mt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(540)][i(608)][i(535)](i(615)))throw new t.CKEditorError(i(507),this);this[i(539)]=null,this[i(501)](i(578),!1),this[i(540)][i(608)][i(581)](i(516),t=>this[i(534)]({...t,translations:this[i(540)][i(646)][i(629)]})),this[i(540)][i(608)][i(581)](i(644),t=>this[i(550)](t)),this[i(540)][i(608)][i(581)](i(573),t=>this[i(574)](t)),this[i(540)][i(608)][i(581)](i(632),!1),this[i(633)](),this[i(571)]()}set[Xo(642)](t){const e=Xo;this[e(540)][e(639)][e(535)](e(576))[e(642)]=t}get[Xo(642)](){const t=Xo;return this[t(540)][t(639)][t(535)](t(576))[t(642)]}[Xo(530)](t){const e=Xo;return this[e(540)][e(639)][e(535)](e(576))[e(530)](t)}[Xo(513)](t){const e=Xo;return this[e(540)][e(639)][e(535)](e(603))[e(513)](t)}[Xo(536)](t){const e=Xo;return this[e(540)][e(639)][e(535)](e(603))[e(536)](t||{toJSON:!1})}[Xo(553)](){const e=Xo,i=this[e(540)],n=(0,G.sanitizeEditorConfig)(i,ea),s=i[e(639)][e(535)](e(576)),r=i[e(639)][e(535)](e(577))[e(648)];return n[e(504)]=[e(609),e(593),e(518)],delete n[e(542)],n[e(639)][e(587)](ia,ce,Te,class extends Y.Plugin{static get[e(623)](){return[ce,e(577)]}[e(575)](){const n=e,o=this[n(540)][n(639)][n(535)](n(577));for(const t of r)t[n(637)]||o[n(556)](t.id)||o[n(607)](t);const a=s[n(590)][n(536)]();let c=null;const u=this[n(540)][n(639)][n(535)](n(548));u[n(642)]=s[n(642)],u[n(610)](n(514)).to(s),this[n(540)][n(613)][n(535)](n(593))[n(610)](n(514)).to(i,n(631),t=>!t);for(const e of a){const i=null===e[n(599)];if(i&&e[n(523)]===e[n(588)])continue;const r=e[n(605)]();u[n(530)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(543)](r,o);else if(!o){const e=a[u(605)]();e.id=(0,t.uid)(),s[u(592)](e,a[u(523)])[u(499)](t=>{c=t})}}else e[u(543)](r,o)})}}},Lo),n}[Xo(633)](){const t=Xo,e=this[t(540)][t(608)][t(535)](t(615))[t(526)];this[t(540)][t(608)][t(501)](t(516),async()=>{const i=t;this[i(540)][i(545)](i(503));const n=this[i(540)][i(639)][i(535)](i(576));if(this[i(540)][i(639)][i(508)](i(600))){const t=this[i(540)][i(639)][i(535)](i(600));await t[i(634)]()}else await n[i(529)]();if(this[i(540)][i(639)][i(508)](i(624))&&this[i(540)][i(639)][i(535)](i(624))[i(585)](),this[i(540)][i(639)][i(508)](i(622))){const t=this[i(540)][i(639)][i(535)](i(622));t[i(563)]&&t[i(630)]()}const s=this[i(553)]();return e(s)[i(499)](t=>{const e=i;return this[e(539)]=t,this[e(540)][e(639)][e(508)](e(506))&&this[e(540)][e(639)][e(535)](e(506))[e(505)](),this[e(540)][e(639)][e(508)](e(511))&&(this[e(540)][e(639)][e(535)](e(583))[e(520)][e(519)][e(557)][e(606)]=e(572)),t})[i(625)](t=>(console[i(617)](t),this[i(540)][i(509)](i(503)),null))})}[Xo(571)](){const t=Xo,e=this[t(540)][t(608)][t(535)](t(615))[t(636)];this[t(540)][t(608)][t(501)](t(644),()=>(this[t(540)][t(639)][t(508)](t(624))&&this[t(540)][t(639)][t(535)](t(624))[t(585)](),this[t(540)][t(639)][t(508)](t(511))&&(this[t(540)][t(639)][t(535)](t(583))[t(520)][t(519)][t(557)][t(606)]=""),this[t(539)][t(639)][t(535)](t(548))[t(627)](),e(this[t(539)])[t(499)](()=>{const e=t;if(this[e(540)][e(509)](e(503)),this[e(539)]=null,this[e(540)][e(639)][e(508)](e(506))){const t=this[e(540)][e(639)][e(535)](e(506));t[e(505)](),t[e(510)]()}})))}[Xo(534)](t){const e=Xo,i=this[e(540)][e(608)][e(535)](e(638)),n=this[e(540)][e(608)][e(535)](e(512)),s=this[e(540)][e(608)][e(535)](e(541));return Go[e(498)](s,t)[e(499)](t=>(n[e(557)][e(606)]=e(595),i[e(557)][e(606)]=e(572),this[e(578)]=!0,t))}[Xo(550)](t){const e=Xo,i=this[e(540)][e(608)][e(535)](e(638));return this[e(540)][e(608)][e(535)](e(512))[e(557)][e(606)]=e(572),i[e(557)][e(606)]="",this[e(578)]=!1,t[e(558)]()}async[Xo(574)](t){const e=Xo,i=this[e(540)],n=this[e(539)][e(639)][e(535)](e(548)),s=i[e(639)][e(535)](e(576)),r=i[e(639)][e(535)](e(589)),o=n[e(590)][e(513)](t);let a,c,u;try{await r[e(641)](o,this[e(642)]),a=r[e(645)](o),c=r[e(604)](o)}catch(t){return void console[e(617)](t)}i[e(527)][e(598)](t=>{const n=e;for(const e of Array[n(640)](i[n(527)][n(594)][n(568)](n(566))))t[n(538)](e)}),n[e(537)]=!1,i[e(527)][e(591)](t=>{const n=e;t[n(616)](null),t[n(562)](i[n(527)][n(614)][n(546)][n(582)]());const s=Object[n(564)](a);for(const e of i[n(527)][n(614)][n(549)])n(551)!=e[n(619)]&&e[n(618)]()&&!s[n(570)](e[n(619)])&&t[n(517)](e);for(const e of s){let s=i[n(527)][n(614)][n(552)](e);s&&s[n(618)]()||(s=t[n(643)](e));const r=c[e],o=Object[n(564)](r),u=a[e];for(const e of s[n(582)]())o[n(570)](e)||t[n(531)](e,s);for(const i of o)t[n(532)](i,c[e][i],s);t[n(602)](t[n(635)](s)),t[n(528)](i[n(612)][n(601)](u,s),s,0)}});const l=ot(i[e(646)],e(525));return u=o[e(500)]?-1==o[e(500)][e(565)](l)?l+": "+o[e(500)]:o[e(500)]:l+": "+o[e(522)][e(584)](i[e(646)][e(597)],{month:e(596),day:e(554)})+", "+o[e(522)][e(647)](i[e(646)][e(597)],{hour:e(554),minute:e(554)}),await s[e(592)]({name:u}),n[e(537)]=!0,i[e(608)][e(535)](e(615))[e(636)]()}}function sa(t,e){var i=ra();return(sa=function(t,e){return i[t-=420]})(t,e)}function ra(){var t=["5046849VwnOMz","4597494wqFCce","3187640inOCjV","5601xDhViC","931201swFnmG","16WLcrwL","382poaqvY","1637993cKdkOR","2987185daYxVG"];return(ra=function(){return t})()}!function(t){for(var e=sa,i=t();;)try{if(483881===-parseInt(e(421))/1+parseInt(e(423))/2*(parseInt(e(420))/3)+parseInt(e(428))/4+-parseInt(e(425))/5+parseInt(e(427))/6+-parseInt(e(424))/7*(parseInt(e(422))/8)+parseInt(e(426))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Go,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function E(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 C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function j(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function W(t,e,i){return function(t,e,i,s){if(null==t&&!j(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=L(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:j(i)?i:E(n[t+1])?[]:{}}D(r,e,o),r=r[e]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?U(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function Z(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function q(t,e){const i=B();return(q=function(t,e){return i[t-=437]})(t,e)}const $=q;function B(){const t=["fire","392094gcaefq","1006515KlkASG","49OOPEGZ","creatorId","map","146563HeekZt","set","authorsIds","1077032ojAipi","model","fromVersion","authors","createdAt","diffData","setName","creator","_update","7231928ZQlHUJ","name","removeAttribute","setAttribute","toVersion","attributes","1075479oAXiOS","868436wGtOao","toJSON"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(354722===parseInt(e(463))/1+parseInt(e(439))/2+-parseInt(e(454))/3+-parseInt(e(455))/4+-parseInt(e(459))/5+-parseInt(e(458))/6*(parseInt(e(460))/7)+parseInt(e(448))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends((0,t.ObservableMixin)()){id;[$(446)];[$(442)];[$(444)];[$(452)];[$(441)];[$(440)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(446)]=e[i(446)]||null,this[i(442)]=e[i(442)]||[],this[i(444)]=e[i(444)]||null,this[i(452)]=e[i(452)]||0,this[i(441)]=e[i(441)]||0,this[i(437)](i(449),e[i(449)]||""),this[i(437)](i(443),e[i(443)]||new Date),this[i(437)](i(453),e[i(453)]||{})}[$(445)](t){this[$(447)]({name:t})}[$(451)](t,e){const i=$,s=A(this[i(453)]);W(s,t,e),this[i(447)]({attributes:s})}[$(450)](t){const e=$,i=A(this[e(453)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(447)]({attributes:i})}[$(447)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(449),i(443),i(444),i(442),i(453),i(452),i(441),i(461)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(442)]&&(n[i(438)]=n[i(442)][i(462)](t=>t.id),delete n[i(442)]),this[i(457)](i(447),n,e))}[$(456)](){const t=$;return{id:this.id,name:this[t(449)],creatorId:this[t(446)]?this[t(446)].id:null,authorsIds:this[t(442)][t(462)](t=>t.id),diffData:this[t(444)],createdAt:this[t(443)],attributes:this[t(453)],fromVersion:this[t(441)],toVersion:this[t(452)]}}}var G=i(782),J=i(211),X=i(783);const K=tt;function Q(){const t=["href","createdAt","getRevisionsIterator","get","editor","isPremiumPlugin","plugins","isOfficialPlugin","300tLMcdP","RevisionsRepository","later","isNaN","map","join","length","2383288rrPHSi","25BhCTIS","1593933cLNrDN","14974584SsJjHR","9IfDcIA","afterInit","getLaterVisibleRevision","getRevision","Users","attributes","2497730tpWUXt","fromCharCode","creatorId","push","toJSON","getRevisionsInDiff","getRevisions","diffData","earlier","authorsIds","613253wyTtSp","11xXkjFG","31451yEHDOD","oldRevisionId","2WOjtVm","data","toVersion","getEarlierVisibleRevision","newRevisionId","requires","name","pluginName","from","reverse","getUser","286784GgJpCP","getIndex","_revisions","fromVersion","createRevision","add","addRevision"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(534672===parseInt(e(151))/1*(-parseInt(e(155))/2)+parseInt(e(133))/3+parseInt(e(109))/4*(-parseInt(e(132))/5)+-parseInt(e(124))/6*(parseInt(e(153))/7)+parseInt(e(131))/8*(-parseInt(e(135))/9)+parseInt(e(141))/10+parseInt(e(152))/11*(parseInt(e(134))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class et extends G.Plugin{[K(111)];static get[K(160)](){return[J.Users]}static get[K(162)](){return K(125)}static get[K(123)](){return!0}static get[K(121)](){return!0}get[K(130)](){const t=K;return this[t(111)][t(130)]}constructor(e){const i=K;super(e),this[i(111)]=new t.Collection}[K(136)](){!async function(e){const i=k([117,88,118,67,54,109,49,71,84,85,107,119,77,101,75,115,52,73,102,105,55,122,112,69,50,104,57,89,106,120,110,90,53,68,82,86,103,72,98,51,111,83,108,87,74,80,78,79,76,97,48,116,65,66,70,100,113,99,56,121,81,114]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(127)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([117]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(128)](t=>String[e(142)](t))[e(129)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1750723200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(116)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[K(113)](t){const e=K,i=this[e(120)][e(122)][e(119)](e(139));return new Y({id:t.id,name:t[e(161)],creator:t[e(143)]?i[e(108)](t[e(143)]):null,diffData:t[e(148)]||t[e(156)],authors:t[e(150)][e(128)](t=>i[e(108)](t)),createdAt:new Date(t[e(117)]),attributes:t[e(140)],fromVersion:t[e(112)],toVersion:t[e(157)]})}[K(115)](t,e=0){const i=K;this[i(111)][i(114)](t,e)}[K(138)](t){const e=K;return this[e(111)][e(119)](t)}[K(147)](t={toJSON:!1}){const e=K,i=Array[e(163)](this[e(111)]);return i[e(164)](),t[e(145)]?i[e(128)](t=>t[e(145)]()):i}[K(110)](t){const e=K;return this[e(111)][e(110)](t)}[K(158)](t){const e=K,[,i]=this[e(118)](t,{direction:e(149)});return i}[K(137)](t){const e=K,[,i]=this[e(118)](t,{direction:e(126)});return i}[K(146)](t){const e=K,i=[];for(const s of this[e(118)](t[e(159)]))if(i[e(144)](s),s.id===t[e(154)])break;return i}*[K(118)](t,{direction:e=K(149),filter:i=()=>!0}={}){const s=K,n=s(149)===e?1:-1;let r=this[s(111)][s(119)](t),o=this[s(110)](r);for(yield r;r;){if(o+=n,r=this[s(138)](o),!r)return;i(r)&&(yield r)}}}const it=nt;function st(){const t=["editing","1870790talqHP","isPremiumPlugin","collaboration.channelId","childNodes","data-revision-","5996uaqUfH","revision-start","createElement","name","editor","29XbMiDW","diffData","574937WqdYzk","div","parse","render","customProperties","RevisionHistoryUtils","length","1730964TgcRPj","9BGxORP","attributes","config","76Xqxeri","isOfficialPlugin","insertions","_setCustomProperty","forEach","constructor","type","pluginName","fillerOffset","419450QtjQgZ","domConverter","htmlProcessor","loadRevisionData","attachChange","824446rLhpRu","45615QWYUxe","_typeCharToViewClass","children","innerHTML","from","useFillerType","getFillerOffset","get","marked","getRevisionDocumentData","viewChildrenToDom","getRevisionRootsAttributes","append","filter","toModel","_viewClassToTypeChar","domChildrenToView","_getViewFromDiffObj","domDocument","_getTypeCharForViewElement","startsWith","_appendChild","isAttached","data","string","map","toData","attributesAfter","16JIAYLu","getRevision","revision-end","default","_removeRevisionMarkers","_makeModelFromViewString","document","processor","view"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=385]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(175023===-parseInt(e(415))/1*(-parseInt(e(410))/2)+parseInt(e(443))/3*(parseInt(e(428))/4)+parseInt(e(437))/5+-parseInt(e(424))/6+parseInt(e(442))/7*(-parseInt(e(395))/8)+-parseInt(e(425))/9*(-parseInt(e(405))/10)+parseInt(e(417))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class rt extends G.Plugin{static get[it(435)](){return it(422)}static get[it(429)](){return!0}static get[it(406)](){return!0}[it(458)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[it(444)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[it(440)](t,e){const i=it;if(t[i(416)]||!e)return;const s=this[i(414)][i(427)][i(450)](i(407)),n=await e[i(396)]({channelId:s,revisionId:t.id});t[i(416)]=n[i(416)]}[it(452)](t){const e=it,i={};for(const s in t[e(416)]){if(t[e(416)][s][e(441)]&&!t[e(416)][s][e(441)][e(389)])continue;const n=this[e(399)](JSON[e(419)](t[e(416)][s][e(430)])),r=this[e(414)][e(404)][e(403)][e(401)],o=new X.ViewDocumentFragment(r,n[e(392)](t=>this[e(460)](t,!1)));this[e(414)][e(390)][e(402)][e(448)](e(451)),i[s]=this[e(414)][e(390)][e(402)][e(393)](o),this[e(414)][e(390)][e(402)][e(448)](e(398))}return i}[it(454)](t){const e=it,i={};for(const s in t[e(416)])t[e(416)][s][e(441)]&&!t[e(416)][s][e(441)][e(389)]||(i[s]=t[e(416)][s][e(394)]||{});return i}[it(386)](t){const e=it;return this[e(458)][e(450)](t[e(433)])}[it(460)](t,e){const i=it,s=this[i(414)][i(404)][i(403)][i(401)];if(i(391)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(434)]||"r"==t[i(434)]?[]:t[i(445)][i(392)](t=>this[i(460)](t,e));const o=this[i(444)][i(450)](t[i(434)])||X.ViewElement,a=this[i(414)][i(390)][i(439)][i(438)];if(n=new o(s,t[i(413)],t[i(426)],r),"u"==t[i(434)]&&t[i(445)][0]){const r=t[i(445)][0];if(n[i(420)]=function(t){const e=i,s=t[e(412)](e(418));return s[e(446)]=r,s[e(408)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(388)](n);const e=Array[i(447)](a[i(453)](t,{bind:!1})),r=a[i(385)][i(412)](i(418));r[i(455)](...e),n=Array[i(447)](a[i(459)](r))[0]}}else if("r"==t[i(434)]&&t[i(445)][0]){const r=t[i(445)][0];if(n[i(420)]=function(t){t[i(446)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(388)](n);const e=Array[i(447)](a[i(453)](t,{bind:!1})),r=a[i(385)][i(412)](i(418));r[i(455)](...e);const o=Array[i(447)](a[i(459)](r));o[i(423)]>1?n[i(388)](o):n=o[0]}}if(t[i(421)])for(const[e,s]of t[i(421)])n[i(431)](e,s);const c=void 0===t[i(436)]?null:t[i(436)];return null!==c&&(n[i(449)]=()=>c),n}}[it(400)](t){const e=it,i=JSON[e(419)](t),s=this[e(414)][e(404)][e(403)][e(401)],n=new X.ViewDocumentFragment(s,i[e(392)](t=>this[e(460)](t,!0)));return this[e(414)][e(390)][e(457)](n)}[it(399)](t){const e=it;return(t=t[e(456)](t=>!t[e(413)]||e(411)!==t[e(413)]&&e(397)!==t[e(413)]))[e(432)](t=>{const i=e;i(391)!=typeof t&&(t[i(445)]=this[i(399)](t[i(445)]),t[i(426)]=t[i(426)][i(456)](t=>!t[0][i(387)](i(409))))}),t}}function ot(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function at(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 ct(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(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 M(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(s=s??new Map).get(t),D=s.get(i);if(null!=A&&null!=D)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ct(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ct(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,x)||at(t)&&at(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=vt;function ft(){const t=["editor","206001psUJvI","_cloneOperation","customProperties","domDocument","getChildren","_execute","revision:","createPositionFromPath","_isAttached","12CGpgrw","baseVersion","dataDowncast","render","_insertChild","toVersion","_isPendingUpdate","_touchedMarkers","addRoot","plugins","attributesAfter","_loadState","2359364haDUDD","_diffRootsAttributes","setRevisionData","_addPendingAction","paragraph","RevisionHistory","newRange","newValue","marker","name","Users","rootsAttributes","getAncestors","getFillerOffset","reInit","_getState","howMany","revisionHistoryLicenseKeyValid","saveRevision","innerHTML","documentFragment","_makeModelFromViewString","parent","fromEntries","getData","clone","_generateTape","find","stringify","userId","featureNotAllowed","conversion","data","move","createPositionAt","RevisionsRepository","sendBufferedUpdates","getMovedRangeStart","_getViewJson","isAttached","from","remove","trialLimit","end","$text","toView","authorsIds","setSource","_makeIdsRoot","targetPosition","RealTimeCollaborationClient","_createInitialRevision","has","revisionHistoryLicenseKeyNotAllowed","_showLicenseError","14452230kaAdvU","Empty document","evaluationLimit","trim","_authorId","getIndex","bind","_bufferUpdate","_initialRevisionId","root","_markChanges","attachChange","version","_findInsertionIndex","roots","htmlProcessor","createRevision","_isInit","_reset","isReady","define","then","afterInit","upcast","_bufferedUpdates","addRootAttribute","RevisionTracker","dataToMarker","domainLimit","adapter","includes","children","_source","_getVidAttributeName","_replaceEditorDataWithRevisionData","_createCurrentRevision","getLatestVersion","position","_fixOperation","start","offsetSize","keys","_removePendingAction","sort","finally","getAttribute","filter","vid","isPremiumPlugin","attributesBefore","elementEnd","element","rawElement","childCount","affectsData","_getFromVersion","clear","item","Initial revision","_licenseKeyCheckInterval","insertionPosition","2461188bHgmhR","detachRoot","values","requires","isAdd","_transformMarkers","_copyMarkers","_calculateMetaData","$comment","insertions","string","createPositionBefore","usageLimit","init","split","initialData","_utils","creatorId","history","isEqual","currentRevision","_applyOperations","deletion","locale","_getPreviousFrom","licenseKey","_fixPosition","_handleOperation","fillerOffset","createRange","_handleRootAttributeOperation","resolve","set","fromVersion","_startingRevisionId","getRevision","repository","getRevisionDocumentData","revisionHistoryLicenseKeyInvalid","createRangeIn","62867GTIDQf","_clone","removeRootAttribute","splitPosition","getWalker","hasContent","buildRevisionData","getRoot","_handleRootOperation","revision","_update","revisionHistoryLicenseKeyUsageLimit","delete","getTime","_getBaseVids","slice","PENDING_ACTION_REVISION_HISTORY","ready","key","startsWith","addRevisionData","_handleMergeOperation","reinsert","path","loadState","_lastTo","stickiness","_diffRoots","offset","_startingVersion","$graveyard","nodes","8MNcsGw","loadRevisionData","_pendingAction","markerToData","sourcePosition","config","_handleMoveOperation","pluginName","expired","editor-initial-data-replaced-with-revision-data","diffData","updateRevisions","revisionHistoryLicenseKeyTrialLimit","PendingActions","1921248zHzudn","getNodeByPath","authors","_revisionDataBuilder","domConverter","83618meGWpE","merge","10UfcPCD","_baseRootsAttributes","previousPosition","_revisionId","deletions","_savedMetaData","_handleMarkerOperation","_touched","length","revisionHistory.resumeUnsavedRevision","vid_end","destroy","createPositionAfter","_fixRange","_baseRoots","createElement","range","revisionHistoryLicenseKeyExpired","elementStart","document","_operations","max","add","_saveMetaData","getChild","getUser","initial","_processRootBeforeSave","_appendChild","insertion","_markers","creator","map","getOperation","_baseIdsRoots","for","isEnabled","some","shift","type","_loadedStateData","getAttributes","changeRootAttribute","getTransformedByOperation","insert","push","size","NEGATIVE_INFINITY","model","getOperations","invalid","getRange","_getTypeCharForViewElement","_prepareViewToSave","_continueCurrentRevision","vid_start","_touchedRoots","text","revisionHistoryLicenseKeyDomainLimit","addRevision","rootName","getCustomProperties","_handleInsertOperation","getRootNames","source","revisionHistoryLicenseKeyEvaluationLimit","oldRange","getCurrentRevisionId","_makeRevision","isOfficialPlugin","_lastFrom","createdAt","update","uiElement","tableCell","collaboration.channelId","_setConversion","markers","keepParagraph","reverse","getRevisionRootsAttributes","outerHTML","_handleSplitOperation","_removeMetaData","nodeAfter","_createFromRanges","get","RevisionHistoryUtils","graveyardPosition","_setAttribute","getRevisions","_idsRoots"];return(ft=function(){return t})()}!function(t){const e=vt,i=t();for(;;)try{if(560704===parseInt(e(542))/1+parseInt(e(447))/2*(parseInt(e(551))/3)+parseInt(e(563))/4+parseInt(e(449))/5*(parseInt(e(356))/6)+-parseInt(e(396))/7*(-parseInt(e(428))/8)+parseInt(e(442))/9+-parseInt(e(618))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class mt extends G.Plugin{[dt(381)];[dt(354)];[dt(376)]=null;[dt(392)];[dt(647)]=null;[dt(445)];[dt(650)];[dt(626)];[dt(642)];[dt(372)];[dt(430)];[dt(503)];[dt(425)];[dt(489)];static get[dt(435)](){return dt(644)}static get[dt(518)](){return!0}static get[dt(343)](){return!0}static get[dt(359)](){return[J.Users,et,rt,G.PendingActions]}constructor(e){const i=dt;super(e),this[i(392)]=this[i(541)][i(560)][i(535)](i(598)),this[i(372)]=this[i(541)][i(560)][i(535)](i(536)),this[i(445)]=new pt(this[i(541)]),this[i(626)]=this[i(541)][i(433)][i(535)](i(524))||i(475),this[i(642)]=new Map,this[i(489)]=null;const s=(0,t.uid)();this[i(650)]={history:this[i(541)][i(497)][i(468)][i(374)],getLatestVersion:()=>Promise[i(387)](this[i(541)][i(497)][i(468)][i(630)]),getCurrentRevisionId:()=>s},this[i(388)](i(637),!1),this[i(388)](i(485),!0),this[i(388)](i(557),!1),this[i(541)][i(433)][i(638)](i(458),!0),this[i(541)][i(594)][i(484)](i(641))[i(645)]({view:i(405)})}[dt(369)](){const t=dt;this[t(525)](),this[t(541)][t(595)].on(t(413),()=>{const e=t,i=this[e(392)][e(391)](0),s=i&&null===i[e(480)]?i:null;if(this[e(503)]=!!s&&this[e(541)][e(433)][e(535)](e(458)),this[e(541)][e(560)][e(615)](e(613))){const t=this[e(650)][e(516)](),n=this[e(392)][e(391)](t);if(n)this[e(425)]=n[e(389)],this[e(503)]=!1;else{const t=this[e(650)][e(374)][e(469)][e(590)](t=>!t[e(635)]),n=t?t[e(552)]:this[e(650)][e(374)][e(630)];i?(i[e(556)]<n&&i[e(406)]({toVersion:n}),this[e(503)]?(this[e(650)][e(516)]=()=>s.id,this[e(425)]=s[e(389)]):(this[e(425)]=i[e(556)],this[e(503)]=!1)):(this[e(425)]=n,this[e(503)]=!1)}}else s&&(this[e(541)][e(497)][e(468)][e(374)][e(630)]=Math[e(470)](s[e(556)],this[e(541)][e(497)][e(468)][e(374)][e(630)]),s[e(389)]===s[e(556)]?(0!==s[e(389)]&&(this[e(650)][e(516)]=()=>s.id),this[e(503)]=!1):this[e(503)]&&(this[e(650)][e(516)]=()=>s.id,this[e(425)]=s[e(389)])),this[e(503)]||(this[e(425)]=this[e(541)][e(497)][e(468)][e(630)]);this[e(445)][e(369)](this[e(650)][e(374)]),this[e(614)](this[e(425)]),this[e(653)](this[e(425)]),this[e(647)]&&this[e(599)]()}),this[t(624)](t(637)).to(this,t(557),t=>!t),this[t(381)]=this[t(541)][t(433)][t(535)](t(381));const e=this[t(541)];this[t(354)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(580)==r||i(394)==r||i(466)==r||i(507)==r||i(616)==r||i(514)==r||i(440)==r||i(407)==r){delete e[n],s=r,clearInterval(this[i(354)]),this[i(354)]=void 0;break}}i(394)==s&&e[i(617)](i(499)),i(466)==s&&e[i(617)](i(436)),i(507)==s&&e[i(617)](i(646)),i(616)==s&&e[i(617)](i(593),i(568)),i(514)==s&&e[i(617)](i(620)),i(440)==s&&e[i(617)](i(605)),i(407)==s&&e[i(617)](i(368))},1e3)}async[dt(640)](){const t=dt;if(this[t(392)][t(457)]>0){const e=this[t(392)][t(391)](0),i=await this[t(393)](e),s=await this[t(529)](e);this[t(652)](i,s)}}[dt(460)](){const t=dt;super[t(460)](),this[t(354)]&&clearInterval(this[t(354)])}[dt(610)](t){this[dt(650)]=t}async[dt(521)](){const t=dt,e=await this[t(650)][t(654)]();if(e>this[t(376)][t(556)]){await this[t(562)]();const i=this[t(402)]({revision:this[t(376)],to:e});i[t(444)]=i[t(609)][t(481)](e=>this[t(541)][t(560)][t(535)](t(573))[t(474)](e)),this[t(376)][t(406)](i)}}async[dt(581)](e={},i=null){const s=dt,n=[];await this[s(562)](),this[s(503)]=!1,i>this[s(376)][s(556)]&&(i=null),null===i&&(i=await this[s(650)][s(654)]());const r=this[s(350)](i),o=this[s(402)]({from:r,to:i});if(this[s(376)][s(556)]<i){const t=this[s(402)]({revision:this[s(376)],from:i,to:i});t[s(444)]=[],t[s(609)]=[],t.id=this[s(376)].id,this[s(376)][s(406)](t,!0),delete t[s(444)],n[s(494)](t)}e[s(373)]=this[s(541)][s(560)][s(535)](s(573)).me.id,e[s(572)]=e[s(572)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(416)](e);n[s(494)](e);const c=this[s(392)][s(623)](a);if(0!==c){const t=this[s(392)][s(391)](c-1);if(t[s(389)]!==i){const r=this[s(445)][s(587)](i,t[s(556)]),o={id:t.id,diffData:r[s(438)],authorsIds:r[s(609)],authors:r[s(609)][s(481)](t=>this[s(541)][s(560)][s(535)](s(573))[s(474)](t)),fromVersion:i};t===this[s(376)]&&(o[s(520)]=new Date(e[s(520)][s(409)]()+10)),t[s(406)](o,!0),delete o[s(444)],n[s(494)](o)}}if(this[s(647)]){for(const t of n)this[s(625)](t.id,t,!0);this[s(599)]()}return a}[dt(416)](t){const e=dt,i=this[e(392)][e(634)](t);return this[e(647)]&&i.on(e(406),(t,i,s)=>{const n=e;s||(this[n(625)](i.id,i,!0),this[n(599)]())}),this[e(392)][e(508)](i,this[e(631)](i)),i}async[dt(393)](t){const e=dt;return await this[e(372)][e(429)](t,this[e(647)]),this[e(372)][e(393)](t)}async[dt(529)](t){const e=dt;return await this[e(372)][e(429)](t,this[e(647)]),this[e(372)][e(529)](t)}[dt(599)](){const t=dt;if(0===this[t(642)][t(495)])return;if(this[t(557)])return;let e=Array[t(603)](this[t(642)][t(358)]());this[t(642)][t(351)]();for(let i=0;i<e[t(457)];i++){const s=e[i];let n=!1;for(const e of Object[t(659)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(664)](t=>null!==t),!e[t(457)])return;for(let i=0;i<e[t(457)];i++){const s=e[i];void 0!==s[t(389)]&&void 0===s[t(556)]&&(s[t(556)]=this[t(392)][t(391)](s.id)[t(556)]),void 0!==s[t(556)]&&void 0===s[t(389)]&&(s[t(389)]=this[t(392)][t(391)](s.id)[t(389)])}const i=this[t(541)][t(433)][t(535)](t(524));this[t(557)]=!0,this[t(566)](),this[t(647)][t(439)](e,i)[t(662)](()=>{this[t(557)]=!1})[t(639)](e=>{const i=t;if(e)for(const t of e)this[i(565)]({id:t.id,createdAt:t[i(520)]});this[i(660)](),this[i(599)]()})}[dt(402)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(389)],i=null!==i?i:t[s(556)];const n=this[s(445)][s(587)](e,i),r={diffData:n[s(438)],authorsIds:n[s(609)],fromVersion:e,toVersion:i};if(!t||i!==t[s(556)]){const t=i-1,e=this[s(650)][s(374)][s(482)](t);r[s(520)]=e&&e[s(520)]||new Date}if(this[s(489)]&&e===this[s(489)][s(389)])for(const t of this[s(489)][s(444)])r[s(609)][s(648)](t.id)||r[s(609)][s(494)](t.id);return r}[dt(625)](t,e,i){const s=dt;if(this[s(642)][s(615)](t)){const n=this[s(642)][s(535)](t);e=i?{...n,...e}:{...e,...n}}this[s(642)][s(388)](t,e)}[dt(565)](t){const e=dt,i=this[e(392)][e(391)](t.id);if(t[e(520)]&&(t[e(520)]=new Date(t[e(520)])),t[e(609)]){const i=this[e(541)][e(560)][e(535)](e(573));t[e(444)]=t[e(609)][e(481)](t=>i[e(474)](t))}i[e(406)](t,!0)}[dt(614)](t){const e=dt,i=this[e(392)][e(391)](this[e(392)][e(457)]-1);if(i)this[e(626)]=i.id;else{const i=!this[e(541)][e(497)][e(468)][e(632)][e(590)](t=>this[e(541)][e(497)][e(401)](t)),s=this[e(541)][e(560)][e(535)](e(573)).me.id,n=ot(this[e(541)][e(379)],e(i?619:353));this[e(517)]({from:t,to:t,id:this[e(626)],name:n,creatorId:s})}}[dt(653)](t){const e=dt,i=this[e(650)][e(516)]();this[e(376)]=this[e(392)][e(391)](i),this[e(376)]||(this[e(376)]=this[e(517)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(562)](){const t=dt;this[t(503)]&&!this[t(489)]&&(await this[t(372)][t(429)](this[t(376)],this[t(647)]),this[t(445)][t(420)](this[t(376)]),this[t(489)]={fromVersion:this[t(376)][t(389)],authors:this[t(376)][t(444)][t(411)]()})}[dt(652)](e,i){const s=dt;let n=this[s(541)][s(433)][s(535)](s(371)),r=this[s(541)][s(433)][s(535)](s(574));if(void 0===n){n={};for(const t of this[s(541)][s(497)][s(468)][s(512)]())n[t]=""}if(s(366)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(541)][s(497)][s(468)][s(512)]())r[t]={}}let o=!1;const a=Object[s(659)](n),c=Object[s(659)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(621)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(659)](r[t])[s(457)]>0){o=!0;break}}o||(o=c[s(486)](t=>!this[s(541)][s(497)][s(468)][s(403)](t))),o&&(0,t.logWarning)(s(437),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(541)][s(433)][s(388)](s(371),e),this[s(541)][s(433)][s(388)](s(574),i)}[dt(566)](){const t=dt;if(!this[t(430)]){const e=this[t(541)][t(560)][t(535)](t(441));this[t(430)]=e[t(471)](ot(this[t(541)][t(379)],t(412)))}}[dt(660)](){const t=dt;this[t(430)]&&(this[t(541)][t(560)][t(535)](t(441))[t(604)](this[t(430)]),this[t(430)]=null)}[dt(631)](t){const e=dt,i=this[e(392)][e(539)]();i[e(528)]();let s=0;for(;s<i[e(457)];){const n=i[s];if(n===this[e(376)]){s++;continue}if(n.id===this[e(626)])break;const r=t[e(556)]-n[e(556)]||t[e(389)]-n[e(389)];if(r>0)break;if(r<0)s++;else{if(!t[e(480)]&&n[e(480)])break;if(n[e(480)]||!t[e(480)]){if(t[e(520)]>n[e(520)])break;s++}else s++}}return s}[dt(350)](t){const e=dt,i=this[e(392)][e(539)]();i[e(528)](),i[e(487)]();const s=i[e(590)](i=>i[e(556)]<=t)[e(556)];return s<this[e(425)]?this[e(425)]:s}[dt(517)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(402)]({from:e,to:i});o[r(572)]=t,o[r(373)]=s,o.id=n;const a=this[r(416)](o);return this[r(647)]&&this[r(625)](o.id,o,!0),a}[dt(525)](){const t=dt;this[t(541)][t(594)][t(484)](t(553))[t(431)]({model:t(405)})}}class pt{[dt(541)];[dt(513)];[dt(454)];[dt(519)];[dt(421)];[dt(479)];[dt(423)];[dt(564)];[dt(463)];[dt(450)];[dt(540)];[dt(483)];[dt(456)];[dt(558)];[dt(505)];[dt(452)];[dt(390)];constructor(t){const e=dt;this[e(541)]=t,this[e(454)]=new Map,this[e(519)]=-1,this[e(421)]=-1,this[e(479)]=new Map,this[e(423)]=new Map,this[e(564)]=new Map,this[e(463)]=new Map,this[e(450)]=new Map,this[e(540)]=new Map,this[e(483)]=new Map,this[e(456)]=new Map,this[e(558)]=new Map,this[e(505)]=new Map,this[e(452)]=1}[dt(369)](t){const e=dt;this[e(513)]=t;const i=new Map,s=new Map,n=this[e(541)][e(497)][e(468)][e(632)][e(481)](t=>t[e(509)]);for(const t of n){const n=this[e(541)][e(497)][e(468)][e(403)](t),r=gt(n);i[e(388)](t,r),s[e(388)](t,Object[e(586)](n[e(490)]()))}const r=Array[e(603)](this[e(541)][e(497)][e(526)])[e(481)](t=>[t[e(572)],t[e(500)]()]),o=this[e(513)][e(630)];this[e(472)](o,i,r,s),this[e(390)]=this[e(452)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(388)](t,i),c[e(388)](t,{})}this[e(472)](Number[e(496)],a,[],c)}[dt(587)](t,e){const i=dt;if(this[i(519)]===t&&this[i(421)]<=e)this[i(454)][i(495)]>1&&this[i(532)](this[i(421)]),this[i(377)](this[i(421)],e,!0);else{if(!this[i(454)][i(615)](t)){const e=this[i(380)](t);this[i(363)](e,t,!1)}this[i(363)](t,e,!0)}return this[i(519)]=t,this[i(421)]=e,this[i(578)]()}[dt(420)](t){const e=dt,i=this[e(541)][e(560)][e(535)](e(536));this[e(636)](),this[e(519)]=t[e(389)],this[e(421)]=t[e(556)];for(const s in t[e(438)]){const n=t[e(438)][s][e(629)],r=A(t[e(438)][s][e(344)])||{},o=i[e(584)](t[e(438)][s][e(453)]);o[e(509)]=s,o[e(550)]=!n||!n[e(602)],o[e(602)]=()=>o[e(550)],this[e(463)][e(388)](s,o),this[e(450)][e(388)](s,r),n&&this[e(505)][e(388)](s,n);const a=this[e(611)](o);this[e(483)][e(388)](s,a);for(const[t,i]of o[e(526)]){if(!t[e(415)](e(548)))continue;const s=t[e(370)](":")[2];for(const t of i[e(400)]({singleCharacters:!0})){const i=this[e(651)](t),n=e(345)==t[e(488)]?t[e(451)][e(419)][e(411)](0,-1):t[e(451)][e(419)],r=a[e(443)](n)[e(663)](i);this[e(456)][e(388)](r,{userId:s})}}}this[e(390)]=this[e(452)];const s=[...Array(this[e(452)])[e(659)]()][e(411)](1)[e(664)](t=>!this[e(456)][e(615)](t));let n=0;const r=new Map;for(const o in t[e(438)]){const a=t[e(438)][o][e(629)],c=A(t[e(438)][o][e(561)])||{},u=i[e(584)](t[e(438)][o][e(365)]);u[e(509)]=o,u[e(550)]=!a||a[e(602)],u[e(602)]=()=>u[e(550)],this[e(423)][e(388)](o,u),this[e(564)][e(388)](o,c);const l=this[e(611)](u,Number[e(496)]);this[e(540)][e(388)](o,l),r[e(388)](o,u[e(602)]()?c:{});for(const[t,i]of u[e(526)]){if(!t[e(415)](e(548)))continue;const s=t[e(370)](":")[2];for(const t of i[e(400)]({singleCharacters:!0})){const i=this[e(651)](t),n=this[e(452)]++,r=e(345)==t[e(488)]?t[e(451)][e(419)][e(411)](0,-1):t[e(451)][e(419)];l[e(443)](r)[e(538)](i,n),this[e(456)][e(388)](n,{userId:s})}}for(const t of this[e(541)][e(497)][e(395)](u)[e(400)]({singleCharacters:!0})){const i=this[e(651)](t),r=e(345)==t[e(488)]?t[e(451)][e(419)][e(411)](0,-1):t[e(451)][e(419)],o=l[e(443)](r);o[e(663)](i)>0||o[e(538)](i,s[n++])}for(const[t,i]of u[e(526)])t[e(415)](e(548))||this[e(479)][e(388)](t,i)}const o=yt(e(426));this[e(463)][e(388)](e(426),o),this[e(483)][e(388)](e(426),this[e(611)](o,1));const a=yt(e(426));this[e(423)][e(388)](e(426),a),this[e(540)][e(388)](e(426),this[e(611)](a,1));const c=Array[e(603)](this[e(423)])[e(481)](([t,e])=>[t,gt(e)]);this[e(472)](this[e(421)],c,this[e(479)],r)}[dt(577)](){const t=dt;this[t(636)](),this[t(519)]=-1,this[t(421)]=-1,this[t(454)][t(351)](),this[t(369)](this[t(513)])}[dt(472)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(388)](t,{start:e[n(657)][n(588)](),end:e[n(606)][n(588)](),rootName:e[n(627)][n(509)]});this[n(454)][n(388)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(532)](t){const e=dt;this[e(454)][e(408)](t)}[dt(636)](){const t=dt;this[t(456)][t(351)](),this[t(558)][t(351)](),this[t(505)][t(351)](),this[t(423)][t(351)](),this[t(564)][t(351)](),this[t(463)][t(351)](),this[t(450)][t(351)](),this[t(540)][t(351)](),this[t(483)][t(351)](),this[t(479)][t(351)](),this[t(452)]=1,this[t(390)]=this[t(452)]}[dt(611)](t,e=null){const i=dt;let s=null;t.is(i(583))||(s=new X.ModelElement(t[i(572)],{vid_start:null===e?this[i(452)]++:e++}));const n=[];for(const s of t[i(546)]())if(s.is(i(346))){n[i(494)](this[i(611)](s,e));const t=n[n[i(457)]-1];null!==e&&(e=t.is(i(346),i(607))?t[i(663)](i(342))+1:t[i(663)](i(459))+1)}else for(let t=0;t<s[i(658)];t++)n[i(494)](new X.ModelElement(i(607),{vid:null===e?this[i(452)]++:e++}));if(t.is(i(583))){const e=yt(t[i(509)]);return e[i(555)](0,n),e}return s[i(538)](i(459),null===e?this[i(452)]++:e++),s[i(555)](0,n),s}[dt(363)](t,e,i){const s=dt;this[s(636)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(454)][s(535)](t);this[s(463)]=new Map(n),this[s(450)]=new Map(A(o));for(const[t,e]of this[s(463)])if(s(426)!==t&&(this[s(423)][s(388)](t,gt(e)),this[s(564)]=new Map(A(o)),i)){const i=this[s(452)];this[s(540)][s(388)](t,this[s(611)](e)),this[s(483)][s(388)](t,this[s(611)](e,i))}this[s(390)]=this[s(452)],this[s(423)][s(388)](s(426),gt(this[s(463)][s(535)](s(426)))),i&&this[s(540)][s(388)](s(426),this[s(611)](this[s(463)][s(535)](s(426))));for(const[t,e]of r){const i=this[s(463)][s(535)](e[s(509)]),n=this[s(423)][s(535)](e[s(509)]),r=new X.ModelRange(this[s(382)](e[s(657)],i),this[s(382)](e[s(606)],i)),o=this[s(462)](r,n);i[s(526)][s(388)](t,r),this[s(479)][s(388)](t,o)}this[s(377)](t,e,i)}[dt(377)](t,e,i){const s=dt;for(const n of this[s(513)][s(498)](t,e))this[s(383)](n,i);for(const t of this[s(423)][s(358)]())t[s(526)][s(351)]();for(const[t,e]of this[s(479)])this[s(423)][s(535)](e[s(627)][s(509)])[s(526)][s(388)](t,e[s(588)]());const n=new Map,r=new Map;for(const[t,e]of this[s(423)])n[s(388)](t,gt(e)),r[s(388)](t,this[s(564)][s(535)](t));this[s(472)](e,n,this[s(479)],r)}[dt(380)](t){const e=dt,i=Array[e(603)](this[e(454)][e(659)]());i[e(661)]((t,e)=>t-e),i[e(528)]();for(const e of i)if(e<t)return e;return Number[e(496)]}[dt(362)](t,e){const i=dt,s=Array[i(603)](e[i(526)])[i(481)](([e,s])=>[e,this[i(462)](s,t)]);t[i(526)]=new Map(s)}[dt(361)](t){const e=dt;for(const i of this[e(479)][e(358)]()){const s=i[e(492)](t),n=X.ModelRange[e(534)](s);i[e(657)]=n[e(657)],i[e(606)]=n[e(606)]}}[dt(383)](t,e){const i=dt;if(i(559)!=t[i(488)]&&i(357)!=t[i(488)]){if(i(493)==t[i(488)]){const s=t[i(655)][i(627)][i(509)];this[i(423)][i(615)](s)||(this[i(423)][i(388)](s,yt(s,!0)),this[i(564)][i(388)](s,{}),e&&this[i(540)][i(388)](s,yt(s,!0)))}else{if(i(643)==t[i(488)]||i(398)==t[i(488)]||i(491)==t[i(488)])return void this[i(386)](t);i(571)==t[i(488)]&&this[i(455)](t)}if(i(571)!==t[i(488)]){const e=this[i(543)](t,this[i(423)]);e[i(547)](),this[i(361)](e)}if(e)switch(t[i(488)]){case i(493):this[i(511)](t);break;case i(596):case i(604):case i(418):this[i(434)](t);break;case i(448):this[i(417)](t);break;case i(370):this[i(531)](t)}}else this[i(404)](t,e)}[dt(543)](t,e){const i=dt,s=t[i(588)]();return s[i(622)]=t[i(622)],this[i(656)](s,e),s}[dt(410)](t){const e=dt;return t[e(481)](t=>{const i=e,s=this[i(651)](t);return Number(t[i(352)][i(663)](s))})}[dt(589)](t,e){const i=dt;if(t.is(i(346),i(607)))e[i(494)]({item:t,type:i(506)});else{t.is(i(346))&&e[i(494)]({item:t,type:i(467)});for(const s of t[i(546)]())this[i(589)](s,e);t.is(i(346))&&e[i(494)]({item:t,type:i(345)})}return e}[dt(578)](){const t=dt,e=new Map(this[t(456)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(463)][t(659)](),...this[t(423)][t(659)]()]);a[t(408)](t(426));for(const e of a){const i=this[t(423)][t(535)](e)||yt(e,!1),s=this[t(463)][t(535)](e)||yt(e,!1);i[t(602)]()||s[t(602)]()?(n[t(365)][e]=gt(i),n[t(453)][e]=gt(s),this[t(362)](n[t(453)][e],s),this[t(362)](n[t(365)][e],i),r[t(365)][e]=this[t(589)](this[t(540)][t(535)](e),[]),r[t(453)][e]=this[t(589)](this[t(483)][t(535)](e)||yt(e,!1),[])):a[t(408)](e)}for(const n of a){const o=r[t(365)][n];for(const n of o){const r=this[t(651)](n),o=n[t(352)][t(663)](r);i[t(408)](o),o>=this[t(390)]&&s[t(388)](o,e[t(535)](o))}}for(const n of a){const a=r[t(365)][n],c=this[t(410)](r[t(453)][n]);let u=0;for(const n of a){const r=this[t(651)](n),a=n[t(352)][t(663)](r);if(!s[t(615)](a)&&!o[t(615)](a))if(i[t(615)](a))u++;else{if(a!=c[u]){const s=e[t(535)](a)||e[t(535)](c[u]);for(;a!=c[u];)i[t(615)](c[u])||(o[t(388)](c[u],s),e[t(388)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(365)][e];for(const e of n){const n=this[t(651)](e),r=e[t(352)][t(663)](n);if(o[t(615)](r)){const e=o[t(535)](r);i[t(615)](r)||i[t(388)](r,{...e}),s[t(388)](r,{...e})}}}for(const e of i[t(659)]())e>=this[t(390)]&&i[t(408)](e);const c=new Map;for(const e of a){let n=r[t(365)][e];for(const e of n)if(e[t(352)].is(t(346),t(523))){const i=this[t(651)](e),n=e[t(352)][t(663)](i);if(s[t(615)](n)){const i=e[t(352)][t(585)][t(585)][t(663)](t(504)),r=c[t(535)](i)||new Set;r[t(471)](s[t(535)](n)[t(592)]),c[t(388)](i,r)}}n=r[t(453)][e];for(const e of n)if(e[t(352)].is(t(346),t(523))){const s=this[t(651)](e),n=e[t(352)][t(663)](s);if(i[t(615)](n)){const s=e[t(352)][t(585)][t(585)][t(663)](t(504)),r=c[t(535)](s)||new Set;r[t(471)](i[t(535)](n)[t(592)]),c[t(388)](s,r)}}for(const e of c[t(659)]())(s[t(615)](e)||i[t(615)](e))&&c[t(408)](e)}for(const e of a){const n=r[t(365)][e];let o=null,a=null;for(const e of n){const n=this[t(651)](e),r=e[t(352)][t(663)](n),u=c[t(535)](r);u&&t(467)==e[t(488)]&&(o=Array[t(603)](u)[0],a=e[t(352)][t(663)](t(459))),o&&(i[t(388)](r,{userId:o}),s[t(388)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(453)][e],a=n[t(365)][e];for(const{userId:e}of this[t(558)][t(358)]())null!==e&&l[t(471)](e);for(const{userId:e}of this[t(505)][t(358)]())null!==e&&l[t(471)](e);this[t(628)](a,r[t(365)][e],s,t(478),l),this[t(628)](o,r[t(453)][e],i,t(378),l),u[e]={insertions:this[t(502)](a),deletions:this[t(502)](o),attachChange:this[t(505)][t(535)](e)||null,attributesBefore:A(this[t(450)][t(535)](e))||{},attributesAfter:A(this[t(564)][t(535)](e))}}return{diffData:u,authorsIds:Array[t(603)](l)}}[dt(476)](t){const e=dt;for(const[,i]of t[e(526)]){const t=i[e(657)][e(575)]()[e(664)](t=>e(523)==t[e(572)]);for(const i of t)1==i[e(348)]&&i[e(473)](0).is(e(346),e(567))&&i[e(473)](0)[e(538)](e(527),!0)}}[dt(502)](t){const e=dt;this[e(476)](t);const i=this[e(541)][e(595)][e(608)](t,{}),s=Array[e(603)](i[e(546)]())[e(481)](t=>this[e(601)](t));return JSON[e(591)](s)}[dt(601)](t){const e=dt;if(t.is(e(607)))return t[e(595)];{const i=this[e(541)][e(560)][e(535)](e(536)),s=t,n=this[e(541)][e(595)][e(633)][e(446)],r={type:i[e(501)](s),name:s[e(572)],attributes:Array[e(603)](s[e(490)]()),children:Array[e(603)](s[e(546)]())[e(481)](t=>this[e(601)](t))};if(t.is(e(522))&&e(364)!=t[e(572)]){const i=t[e(554)](n[e(545)],n);r[e(649)][e(494)](i[e(530)])}else if(t.is(e(347))){const i=n[e(545)][e(464)](s[e(572)]);t[e(554)](i,n),r[e(649)][e(494)](i[e(582)])}const o=Array[e(603)](s[e(510)]());o[e(457)]>0&&(r[e(544)]=o);const a=s[e(576)]();return null!==a&&(r[e(384)]=a),r}}[dt(628)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(541)][r(497)];for(let s=0;s<e[r(457)];s++){const n=this[r(651)](e[s]),c=e[s][r(352)][r(663)](n),h=i[r(535)](c),d=s==e[r(457)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(592)]!=o[r(592)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(592)],d=l(548)+s+":"+h+":"+c++,f=u[l(385)](i,a);t[l(526)][l(388)](d,f),null!==h&&n[l(471)](h)}}[dt(651)](t){const e=dt;switch(t[e(488)]){case e(467):return e(504);case e(345):return e(459);default:return e(342)}}[dt(656)](t,e){const i=dt;t[i(552)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(535)](n[i(627)][i(509)]);t[s]=this[i(382)](n,r)}if(n instanceof X.ModelRange){const r=e[i(535)](n[i(627)][i(509)]);t[s]=this[i(462)](n,r)}i(627)===s&&(t[i(627)]=e[i(535)](t[i(627)][i(509)]))}}[dt(462)](t,e){const i=dt;return this[i(541)][i(497)][i(385)](this[i(382)](t[i(657)],e),this[i(382)](t[i(606)],e))}[dt(382)](t,e){const i=dt;return this[i(541)][i(497)][i(549)](e,t[i(419)],t[i(422)])}[dt(511)](t){const e=dt,i=this[e(540)][e(535)](t[e(655)][e(627)][e(509)]),s=this[e(382)](t[e(655)],i),n=null===t[e(622)]?null:t[e(622)]||this[e(541)][e(560)][e(535)](e(573)).me.id,r=s[e(585)],o=this[e(452)],a=[];for(const i of t[e(427)])if(i.is(e(346)))a[e(494)](this[e(611)](i));else for(let t=0;t<i[e(658)];t++)a[e(494)](new X.ModelElement(e(607),{vid:this[e(452)]++}));const c=this[e(452)];for(let t=o;t<c;t++)this[e(456)][e(388)](t,{userId:n});r[e(555)](s[e(424)],a)}[dt(434)](t){const e=dt;(t=this[e(543)](t,this[e(540)]))[e(547)]();const i=null===t[e(622)]?null:t[e(622)]||this[e(541)][e(560)][e(535)](e(573)).me.id,s=t[e(600)](),n=s[e(585)],r=s[e(424)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(473)](e);r.is(a(346),a(607))?s[a(388)](r[a(663)](a(342)),{userId:i}):(s[a(388)](r[a(663)](a(504)),{userId:i}),t(s,r,0,r[a(348)]),s[a(388)](r[a(663)](a(459)),{userId:i}))}}(this[e(456)],n,r,r+t[e(579)])}[dt(417)](t){const e=dt,i=null===(t=this[e(543)](t,this[e(540)]))[e(622)]?null:t[e(622)]||this[e(541)][e(560)][e(535)](e(573)).me.id,s=t[e(612)][e(585)],n=t[e(432)][e(585)],r=s[e(663)](e(459)),o=n[e(663)](e(504));s[e(538)](e(459),n[e(663)](e(459))),n[e(538)](e(459),r),this[e(456)][e(388)](o,{userId:i}),this[e(456)][e(388)](r,{userId:i}),t[e(547)]()}[dt(531)](t){const e=dt,i=null===(t=this[e(543)](t,this[e(540)]))[e(622)]?null:t[e(622)]||this[e(541)][e(560)][e(535)](e(573)).me.id,s=t[e(537)],n=t[e(399)][e(585)];t[e(547)]();const r=n[e(663)](e(459)),o=t[e(355)][e(533)];if(s){const t=o[e(663)](e(459)),s=n[e(663)](e(459));n[e(538)](e(459),t),o[e(538)](e(459),s),this[e(456)][e(388)](n[e(663)](e(459)),{userId:i}),this[e(456)][e(388)](o[e(663)](e(504)),{userId:i})}else{const t=this[e(452)]++,s=this[e(452)]++;n[e(538)](e(459),t),o[e(538)](e(504),s),o[e(538)](e(459),r),this[e(456)][e(388)](t,{userId:i}),this[e(456)][e(388)](s,{userId:i})}}[dt(455)](t){const e=dt;if(!t[e(349)])return;const i=(t=this[e(543)](t,this[e(423)]))[e(515)]?t[e(515)][e(627)]:null,s=t[e(569)]?t[e(569)][e(627)]:null;i&&this[e(479)][e(408)](t[e(572)]),s&&this[e(479)][e(388)](t[e(572)],t[e(569)][e(588)]());const n=null===t[e(622)]?null:t[e(622)]||this[e(541)][e(560)][e(535)](e(573)).me.id,r=t[e(572)];if(!this[e(558)][e(615)](r))return void this[e(558)][e(388)](r,{range:t[e(515)],userId:n});const o=this[e(558)][e(535)](r),a=o[e(465)],c=t[e(569)];null==a&&null==c||a&&c&&a[e(375)](c)?this[e(558)][e(408)](t[e(572)]):o[e(592)]=n}[dt(404)](t,e){const i=dt;this[i(423)][i(615)](t[i(509)])?this[i(423)][i(535)](t[i(509)])[i(550)]=t[i(360)]:(this[i(423)][i(388)](t[i(509)],yt(t[i(509)],!0)),this[i(564)][i(388)](t[i(509)],{}),e&&this[i(540)][i(388)](t[i(509)],yt(t[i(509)],!0)));const s=null===t[i(622)]?null:t[i(622)]||this[i(541)][i(560)][i(535)](i(573)).me.id,n=this[i(505)][i(535)](t[i(509)]);n&&n[i(592)]===s?this[i(505)][i(408)](t[i(509)]):this[i(505)][i(388)](t[i(509)],{userId:s,isAttached:t[i(360)]})}[dt(386)](t){const e=dt,i=this[e(564)][e(535)](t[e(627)][e(509)]);null===t[e(570)]?delete i[t[e(414)]]:i[t[e(414)]]=t[e(570)]}}function vt(t,e){const i=ft();return(vt=function(t,e){return i[t-=342]})(t,e)}function gt(t){const e=dt,i=yt(t[e(509)],t[e(602)]());for(const s of t[e(546)]()){const t=s[e(397)](!0);i[e(477)](t)}return i}function yt(t,e=!0){const i=dt,s=new X.ModelDocumentFragment;return s[i(509)]=t,s[i(550)]=e,s[i(602)]=()=>s[i(550)],s}function kt(t,e,i){const s=dt,n=s(345)==t[s(488)]?i[s(597)](t[s(352)],s(606)):i[s(367)](t[s(352)]);return i[s(549)](e,n[s(419)],n[s(422)])}function bt(t,e,i){const s=dt,n=s(467)==t[s(488)]?i[s(597)](t[s(352)],0):i[s(461)](t[s(352)]);return i[s(549)](e,n[s(419)],n[s(422)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),Rt=i(667),At=i.n(Rt),Mt=i(357),Dt=i.n(Mt),Vt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=At(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Dt();St()(Vt.A,Et);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Dt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=246]})(t,e)}const Lt=Pt;function jt(){const t=["render","add","1366812aJeNQn","element","revisionNameInputValue","reset","1754748qPvvOV","arrowdown","label","220","keystrokes","input","arrowup","revisionNameInputView","extendTemplate","revisionName","focus","arrowleft","fieldView","focusTracker","trim","listenTo","_createRevisionNameInput","errorText","set","Name of the revision","form","258657WEokLk","3257646ScUctV","4156095rfBIsn","571072YwQArJ","locale","setTemplate","value","88NHkPWt","optional","ck-responsive-form","ck-revision-history-save-revision-form","arrowright","stopPropagation","initializeCssTransitionDisablerMixin","7892460AwWqzk"];return(jt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(819203===parseInt(e(262))/1+-parseInt(e(280))/2+-parseInt(e(260))/3+-parseInt(e(276))/4+parseInt(e(261))/5+parseInt(e(273))/6+parseInt(e(259))/7*(parseInt(e(266))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(251)];[Lt(284)];[Lt(287)];constructor(e,i){const s=Lt;super(e),this[s(251)]=new t.FocusTracker,this[s(284)]=new t.KeystrokeHandler,this[s(256)](s(278),""),this[s(287)]=this[s(254)](i),this[s(264)]({tag:s(258),attributes:{class:["ck",s(269),s(268)],tabindex:"-1"},children:[this[s(287)]]}),this[s(272)]()}[Lt(274)](){const t=Lt;super[t(274)](),(0,_t.submitHandler)({view:this}),this[t(251)][t(275)](this[t(287)][t(277)]),this[t(284)][t(253)](this[t(277)]);const e=e=>e[t(271)]();this[t(284)][t(256)](t(270),e),this[t(284)][t(256)](t(249),e),this[t(284)][t(256)](t(286),e),this[t(284)][t(256)](t(281),e)}[Lt(248)](){const t=Lt;this[t(287)][t(248)]()}get[Lt(247)](){const t=Lt;return this[t(287)][t(250)][t(277)][t(265)][t(252)]()}set[Lt(247)](t){const e=Lt;this[e(287)][e(250)][e(277)][e(265)]=t[e(252)]()}[Lt(279)](){const t=Lt;this[t(287)][t(250)][t(277)][t(265)]="",this[t(287)][t(255)]=null}[Lt(254)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(263)],_t.createLabeledInputText),s=i[e(250)];s[e(246)]({attributes:{maxlength:e(283)}});let n=ot(this[e(263)],e(257));return!t&&(n+=" ("+ot(this[e(263)],e(267))+")"),i[e(282)]=n,s.on(e(285),()=>{const t=e;this[t(278)]=s[t(277)][t(265)][t(252)]()}),i}}const Wt=Ut;function Ut(t,e){const i=Ht();return(Ut=function(t,e){return i[t-=451]})(t,e)}function Ht(){const t=["6101821OhjgHc","show","_createSaveRevisionFormView","RevisionHistoryUI","requires","The revision name cannot be empty.","editor","buttonView","role","menu","set","errorText","get","_registerMenuComponent","execute","2sOHPIz","9084504ToodMw","menuBar:revisionHistory","48pDSNXL","4BcklLk","isEnabled","Cancel","revisionHistory","focus","isOpen","isReady","1020gJIVeL","Dialog","isReadOnly","view","items","1327298vGsbdt","28056UOSuwA","RevisionTracker","isOfficialPlugin","reset","children","render","config","saveRevision","menuitem","Open revision history","showRevisionViewerCallback","panelView","Save current revision","editing","plugins","delegate","revisionNameInputView","addMany","revisionName","_showDialog","revisionSave","init","componentFactory","bind","_saveRevisionFormView","add","ck-button-action","10544390QuMOtN","Revision history","isPremiumPlugin","Accept","9JCnSWu","6389095BcOCZb","revisionHistory.requireRevisionName","submit","pluginName","882363wHFyzh","hide","locale"];return(Ht=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(670332===-parseInt(e(458))/1+parseInt(e(513))/2*(parseInt(e(495))/3)+-parseInt(e(517))/4*(parseInt(e(491))/5)+-parseInt(e(453))/6*(-parseInt(e(459))/7)+parseInt(e(514))/8+parseInt(e(490))/9*(-parseInt(e(486))/10)+-parseInt(e(498))/11*(-parseInt(e(516))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Zt extends G.Plugin{static get[Wt(494)](){return Wt(501)}static get[Wt(461)](){return!0}static get[Wt(488)](){return!0}static get[Wt(502)](){return[mt]}[Wt(483)];[Wt(480)](){const t=Wt,e=this[t(504)],i=e[t(473)][t(510)](t(460));e.ui[t(481)][t(484)](t(520),s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(470)][n(463)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(482)](n(518)).to(i,n(452),i,n(518),e,n(455),(t,e,i)=>t&&e&&!i),r[n(505)][n(508)]({icon:wt.IconHistory,label:ot(s,n(487)),tooltip:!0}),u[n(508)]({label:ot(s,n(471)),withText:!0,role:n(467)}),u[n(482)](n(518)).to(i,n(452),i,n(518),e,n(455),(t,e,i)=>t&&e&&!i),u.on(n(512),()=>this[n(478)]()),h[n(508)]({label:ot(s,n(468)),withText:!0,role:n(467)}),h[n(482)](n(518)).to(i,n(452),e,n(455),(t,e)=>t&&!e),h.on(n(512),()=>{const t=n;e[t(465)][t(510)](t(520))[t(469)](),r[t(451)]=!1,e[t(472)][t(456)][t(521)]()}),c[n(463)][n(484)](u),l[n(463)][n(484)](h),a[n(506)]=n(507),a[n(457)][n(476)]([c,l]),o[n(484)](a),r}),e.ui[t(481)][t(484)](t(515),()=>this[t(511)]())}[Wt(511)](){const t=Wt,e=this[t(504)],i=e[t(497)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(505)][t(508)]({icon:wt.IconHistory,label:ot(i,t(487))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(508)]({label:ot(i,t(471))}),o[t(474)](t(512)).to(s),o.on(t(512),()=>{this[t(478)]()}),r[t(463)][t(484)](o),n[t(457)][t(484)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(508)]({label:ot(i,t(468))}),c[t(474)](t(512)).to(s),c.on(t(512),()=>{const i=t;e[i(465)][i(510)](i(520))[i(469)]()}),a[t(463)][t(484)](c),n[t(457)][t(484)](a),s[t(470)][t(463)][t(484)](n),s}[Wt(478)](){const t=Wt,e=this[t(504)],i=e[t(497)],s=e[t(473)][t(510)](t(454)),n=e[t(473)][t(510)](t(460));function r(n){const r=t;e[r(465)][r(510)](r(492))&&""===n[r(477)]?n[r(475)][r(509)]=ot(i,r(503)):(e[r(473)][r(510)](mt)[r(466)]({name:n[r(477)]}),s[r(496)]())}this[t(483)]||(this[t(500)](),this[t(483)].on(t(493),()=>r(this[t(483)]))),this[t(483)][t(462)](),s[t(499)]({id:t(479),title:ot(i,t(471)),isModal:!0,content:this[t(483)],actionButtons:[{label:ot(e[t(497)],t(519)),withText:!0,onExecute:()=>s[t(496)]()},{label:ot(e[t(497)],t(489)),class:t(485),withText:!0,onCreate(i){const s=t;i[s(482)](s(518)).to(n,s(452),n,s(518),e,s(455),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(483)])}]})}[Wt(500)](){const t=Wt,e=this[t(504)],i=e[t(497)];this[t(483)]=new zt(i,e[t(465)][t(510)](t(492))),this[t(483)][t(464)]()}}function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=384]})(t,e)}const $t=qt;!function(t){const e=qt,i=t();for(;;)try{if(844050===-parseInt(e(397))/1+parseInt(e(405))/2*(-parseInt(e(385))/3)+-parseInt(e(399))/4+parseInt(e(384))/5*(-parseInt(e(396))/6)+-parseInt(e(394))/7*(-parseInt(e(393))/8)+parseInt(e(404))/9+parseInt(e(403))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Bt extends _t.View{[$t(408)];[$t(391)];constructor(t,e){const i=$t;super(t),this[i(391)]=e,this[i(408)]=e.id;const s=this[i(413)],n=ot(t,e[i(395)][i(389)]?i(411):i(386)==e[i(414)]?i(398):i(415));this[i(400)](i(414),e[i(414)]),this[i(406)]({tag:i(409),attributes:{class:[i(387),i(402),s.to(i(414),t=>i(392)+t)],tabindex:-1},children:[{tag:i(390),children:[{tag:i(390),attributes:{class:[i(410)]},children:[{text:n}]},{text:" "+e[i(412)][i(407)]}]}]})}[$t(388)](){const t=$t;this[t(401)][t(388)]()}}function Yt(){const t=["1296sRImUP","26096owhWwf","data","18uXhFPK","287915UYHRWm","Added by","3671072hIZgCr","set","element","ck-revision-change","20825690pRMXDc","13412052TNcNaq","45660TAqxpJ","setTemplate","name","changeId","div","ck-revision-change__label","Suggested by","author","bindTemplate","type","Removed by","995650TGNXgm","201LmGBdL","add","ck-annotation","focus","isSuggestion","span","_model","ck-revision-change__"];return(Yt=function(){return t})()}var Gt=Xt;function Jt(){var t=["140kditQz","rootName","toJSON","119264xfgKRe","createdAt","20SDUscl","data","995012NDFlpS","type","4ooWBEV","author","set","2401764JMWqWD","4542507iFIYoR","377913zkgCkP","1955690lDMpxz","2596230hgdMLj"];return(Jt=function(){return t})()}function Xt(t,e){var i=Jt();return(Xt=function(t,e){return i[t-=120]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(408932===-parseInt(e(131))/1+-parseInt(e(124))/2+parseInt(e(129))/3*(parseInt(e(126))/4)+-parseInt(e(132))/5+-parseInt(e(133))/6+parseInt(e(134))/7*(parseInt(e(120))/8)+-parseInt(e(130))/9*(-parseInt(e(122))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Kt extends((0,t.ObservableMixin)()){id;[Gt(127)];[Gt(125)];[Gt(123)];[Gt(135)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(127)]=e[i(127)],this[i(125)]=e[i(125)],this[i(123)]=e[i(123)]||{},this[i(135)]=e[i(135)],this[i(128)](i(121),e[i(121)])}[Gt(136)](){var t=Gt;return{id:this.id,authorId:this[t(127)].id,type:this[t(125)],data:this[t(123)],createdAt:this[t(121)]}}}function Qt(){const t=["48IaPfFE","12ujnQML","288848XfPTkR","changes","add","261ZwqSDL","236498hFgLUY","63032didgqh","3dsTWox","newRevisionId","64587IzFXCZ","160pUwhti","_setChanges","oldRevisionId","2978780SiIZtt","16844vkQDyd","12314841viNUPl"];return(Qt=function(){return t})()}const te=ee;function ee(t,e){const i=Qt();return(ee=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(181960===-parseInt(e(322))/1+-parseInt(e(318))/2*(-parseInt(e(320))/3)+parseInt(e(327))/4*(-parseInt(e(323))/5)+-parseInt(e(312))/6*(parseInt(e(314))/7)+-parseInt(e(319))/8*(parseInt(e(317))/9)+-parseInt(e(326))/10+parseInt(e(311))/11*(parseInt(e(313))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ie{[te(321)];[te(325)];[te(315)];constructor(e,i){const s=te;this[s(321)]=e,this[s(325)]=i,this[s(315)]=new t.Collection}[te(324)](t){const e=te;for(const i of t)this[e(315)][e(316)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Dt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=oe;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=228]})(t,e)}function ae(){const t=["revisionHistoryLabel","forward","getRevisionDocumentData","adapter","40AUWlsq","config","observeMarkers","_markInsertions","removeClass","_cleanUp","parent","13796NKVWna","addMarker:revision-suggestion:deletion","requires","hasClass","isObject","1247995PCZZNH","startIndex","updatePosition","viewItem","RevisionsRepository","revision-suggestion:","_joinTapes","low","indexOf","elementEnd","sort","string","markerToHighlight","mapper","nextSibling","markerRange","element:pre","ck-suggestion-marker-","loadRevisionData","revisionHistoryAttachChange","data-change-id","startsWith","currentChangeNumber","showNextChange","toViewElement","dataToMarker","getRevisionRootsAttributes","isEqual","getRoot","isSuggestion","diff","WidgetToolbarRepository","createAttributeElement","unbindElementFromMarkerName","concat","top","227016eNClxT","bind","addMarker:revision","ck-suggestion-marker","isAttached","text","listenTo","shift","document","getCustomProperty","model","activeView","span","getDomRoot","createRange","consume","includes","view","dataDowncast","name","getAttribute","_getChangeFromId","change:isReady","isAtStart","restoreRevisionCallback","mouseover","catch","createRangeIn","ck-suggestion-preview-marker","repository","_fixObsoleteTags","148156rOQmXy","get","from","showStack","_changeView","schema","compare","editingDowncast","createUIElement","ck-suggestion-marker-split","199NLviJy","14335290OfOMYe","hasAttribute","change:activeChange","suggestion:","isNavigationMode","locale","resolve","diffData","element","_initInteractions","createPositionBefore","getClientRects","then","_data","_markMismatchedRemovedTags","forEach","_sortAndFilterDiffChanges","isPremiumPlugin","createPositionFromPath","_activeViewTarget","authors","markerName","isReady","vid_start","isAdded","map","_removeMissingPairs","oldRevisionId","enableReadOnlyMode","comment","_update","uiElement","_makeTape","highest","addRevision","_threeWayMerge","length","change","target","done","reconvertMarker","getChild","ck-revision-history-root-remove","modelRange","roots","domEvent","attachChange","editing","isBefore","revision-suggestion","newRevisionId","findIndex","suggestion","affectsData","merge","values","isLimit","unshift","_cleanMarkers","isOfficialPlugin","getRevision","_makeModelFromTape","elementStart","change:activeView","index","_getViewForChange","attributesAfter","execute","softBreak","pop","isCollapsed","_utils","find","_findChangeIdFromDomTarget","_markSuggestions","_removeUnsupportedChanges","addMarker:revision-suggestion:insertion","ck-suggestion-marker--active","isEnabled","checkAttribute","for","nextPosition","change:isEnabled","side","mapViewToDom","RevisionViewer","revision-comment:","deletion","change:numberOfChanges","delete","attributes","getLaterVisibleRevision","refresh","_refreshStartEndIndex","range","backward","distance","isAfter","markers","removeMarker:revision-suggestion","toViewRange","changeId","activeChange","has","removeMarker:revision","upcast","RevisionHistoryUtils","numberOfChanges","writer","toViewPosition","revisionHistory","ck-revision-history-root-add","end","enqueueChange","isRemoved","_changeIdToChange","all","slice","push","nodeAfter","error","_balloon","ck-revision-history-root-","isIncorrect","_setDistance","test","_getDiff","left","remove","markersEnd","15BXkxGW","5770803LXVekp","downcastDispatcher","set","elementToAttribute","plugins","_appendChild","_setConversion","getItems","addRoot","vid","68315910xhHDJI","clear","showPreviousChange","isAddSuggestion","right","pluginName","createRevision","start","removeAttribute","code","commands","addHighlight","isInline","ck-editor__editable__overlay","previousPosition","setAttribute","attributesBefore","isAtEnd","return","init","attribute:vid","stop","level","getAttributes","isRemoveSuggestion","insert","consumable","keys","detachRoot","getIndex","first","_getRevisionsRange","high","userId","type","insertions","rootName","abs","vid_end","add","item","next","_step","removeMarker","_markMarkers","editor","_revisions","revision","addClass","destroy","object","conversion","wrap","data","changes","isBlock","addRevisionData","POSITIVE_INFINITY","_processTape","markerNameToElements","endIndex","flat","isContent","split","insertion","ck-revision-history-root--active","bindElementToMarker","isOnRoot","ck-suggestion-preview-marker-","getRootNames","revision:","domConverter","_makeModelFromViewString","maxOffset","_setChanges","revision-viewer","filter","splice","restoreRevision","ck-suggestion-marker-merge","markersStart","bottom","forceDisabled","getWalker","deletions","mousedown","offsetSize","selection","markerToData","-new","pairId"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(977772===parseInt(e(428))/1*(-parseInt(e(346))/2)+-parseInt(e(234))/3+parseInt(e(418))/4*(-parseInt(e(233))/5)+parseInt(e(387))/6+-parseInt(e(351))/7*(parseInt(e(339))/8)+-parseInt(e(429))/9+parseInt(e(244))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends G.Plugin{[re(416)];[re(338)]=null;[re(500)];[re(448)];[re(422)];[re(544)];[re(550)];static get[re(249)](){return re(514)}static get[re(488)](){return!0}static get[re(446)](){return!0}static get[re(348)](){return[J.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(416)]=this[e(289)][e(238)][e(419)](e(355)),this[e(500)]=this[e(289)][e(238)][e(419)](e(535)),this[e(236)](e(531),null),this[e(236)](e(398),null),this[e(448)]=null,this[e(236)](e(381),null),this[e(236)](e(451),!1),this[e(236)](e(507),!0),this.on(e(511),(t,i,s)=>{const n=e;this[n(531)]=null,this[n(398)]=null,this[n(289)][n(476)][n(404)][n(466)](t=>{const e=n;for(const i of this[e(289)][e(476)][e(404)][e(395)][e(473)])s?t[e(343)](e(257),i):t[e(292)](e(257),i)})}),this[e(388)](e(433)).to(this,e(531),t=>null!==t),this[e(388)](e(373)).to(this,e(451),this,e(381),this,e(531),(t,i,s)=>t&&s?i[e(298)][e(273)](s):0),this[e(388)](e(536)).to(this,e(451),this,e(381),(t,i)=>t?i[e(298)][e(465)]:0),this[e(422)]=null,this[e(544)]=new Map,this[e(550)]=this[e(289)][e(238)][e(419)](_t.ContextualBalloon)}[re(263)](){const t=re,e=this[t(289)],i=new he(e,{direction:t(524)}),s=new he(e,{direction:t(336)});e[t(254)][t(283)](t(246),i),e[t(254)][t(283)](t(374),s),e[t(254)][t(283)](t(322),new le(e)),this.on(t(517),()=>{const e=t;i[e(521)](),s[e(521)]()}),this[t(240)](),this[t(438)](),e[t(457)](t(319)),e[t(238)][t(532)](t(382))&&e[t(238)][t(419)](t(382))[t(326)](t(319))}async[re(337)](t){const e=re;return await this[e(500)][e(369)](t,this[e(338)]),this[e(500)][e(337)](t)}async[re(377)](t){const e=re;return await this[e(500)][e(369)](t,this[e(338)]),this[e(500)][e(377)](t)}async[re(424)](t,e,i=!1){const s=re;if(!this[s(507)])return;const n=this[s(381)],r=this[s(416)],o=s(362)==typeof t?r[s(489)](t):t,a=s(362)==typeof e?r[s(489)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(381)]&&this[s(381)][s(479)]===c&&this[s(381)][s(456)]===u)return Promise[s(435)]();this[s(451)]=!1,this[s(398)]=null,this[s(531)]=null,this[s(381)]=new ie(c,u);const l=this[s(275)](o,a,!0)[s(454)](t=>this[s(500)][s(369)](t,this[s(338)]));return l[s(547)](new Promise(t=>{setTimeout(t,20)})),Promise[s(545)](l)[s(441)](()=>{const t=s;if(!this[t(507)])return;this[t(344)]();const e=this[t(229)](c,u);for(const i of e[t(298)])this[t(544)][t(236)](i.id,i);this[t(289)][t(397)][t(542)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(289)][s(397)][s(395)][s(313)]())i[s(272)](t);for(const t of Object[s(271)](e[s(397)])){const n=i[s(242)](t);for(const r of Object[s(271)](e[s(519)][t]))i[s(259)](r,e[s(519)][t][r],n);i[s(269)](e[s(397)][t],n,0)}}),this[t(381)][t(318)](this[t(445)](e[t(298)])),this[t(451)]=!0})[s(413)](t=>{const e=s;console[e(549)](t),this[e(344)](),n&&(this[e(381)]=n),this[e(451)]=!0})}[re(300)](t,e){const i=re,s=this[i(416)][i(250)](t);return s.on(i(459),(t,i,n)=>e(i,n,s)),this[i(416)][i(463)](s),s}[re(344)](){const t=re;this[t(531)]=null,this[t(487)](),this[t(422)]&&this[t(422)][t(293)](),this[t(422)]=null,this[t(544)][t(245)](),this[t(289)][t(397)][t(542)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(289)][i(397)][i(395)][i(313)]())e[i(272)](t)})}[re(445)](t){const e=re,i=[],s=new Map;for(const t of this[e(289)][e(397)][e(395)][e(313)]()){const n=this[e(289)][e(476)][e(404)][e(400)](t);if(!n)continue;const r=n[e(440)]()[e(284)](0);r&&(i[e(547)](t),s[e(236)](t,r))}return i[e(361)]((t,i)=>{const n=e,r=s[n(419)](t),o=s[n(419)](i);return r.y-o.y||r.x-o.x}),(t=t[e(320)](t=>i[e(403)](t[e(280)])))[e(361)]((t,s)=>i[e(359)](t[e(280)])-i[e(359)](s[e(280)])),t}[re(461)](t){const e=re,i=Array[e(420)](t[e(527)])[e(320)](([t,i])=>t[e(372)](e(314))&&!i[e(499)]),s=Array[e(420)](this[e(289)][e(397)][e(414)](t)[e(327)]({singleCharacters:!0}));if(0!=i[e(465)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(307)](":");if(n[e(541)][e(378)](t[e(510)])&&i[e(394)](),(t[e(258)][e(378)](n[e(251)])||t[e(258)][e(526)](n[e(251)]))&&(e(308)==r?t[e(453)]={userId:o}:e(516)==r&&(t[e(543)]={userId:o})),0==i[e(465)])break}return s}[re(522)](t){const e=re,i=new Map;for(let s=0;s<t[e(465)];s++)e(392)===t[s][e(278)]?(t[s][e(284)][e(352)]=s,t[s][e(284)][e(304)]=s):(e(491)===t[s][e(278)]?t[s][e(284)][e(352)]=s:e(360)===t[s][e(278)]&&(t[s][e(284)][e(304)]=s),i[e(236)](t[s].id,s));for(const s of i[e(484)]())e(491)===t[s][e(278)]?t[s][e(284)][e(304)]=i[e(419)](t[s][e(334)]):e(360)===t[s][e(278)]&&(t[s][e(284)][e(352)]=i[e(419)](t[s][e(334)]))}[re(302)](t){const e=re;for(let i=0;i<t[e(465)];i++){if(e(491)===t[i][e(278)])t[i][e(284)][e(352)]=i;else if(e(360)===t[i][e(278)]){t[i][e(284)][e(304)]=i;const s=t[i][e(284)][e(352)];t[s][e(334)]=t[i].id,t[i][e(334)]=t[s].id}else t[i][e(284)][e(352)]=i,t[i][e(284)][e(304)]=i,t[i][e(334)]=null;t[i][e(324)]||(t[i][e(324)]=[],t[i][e(232)]=[])}}[re(342)](t,e){const i=re,s=t[i(320)](t=>!t[i(453)]);for(let t=0;t<e[i(465)];t++)e[t][i(453)]&&(s[t][i(453)]=e[t][i(453)])}[re(229)](t,e=null){const i=re,s=this[i(416)][i(489)](t),n=e?this[i(416)][i(489)](e):null,r=this[i(275)](s,n),o=r[r[i(465)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(465)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(271)](e[i(436)]))if(e[i(436)][t][i(475)]){const s=e[i(436)][t][i(475)];s[i(391)]?(u[i(283)](t),l[i(532)](t)&&l[i(419)](t)[i(277)]==s[i(277)]?l[i(518)](t):l[i(236)](t,s)):l[i(532)](t)?(u[i(518)](t),l[i(518)](t)):(u[i(283)](t),l[i(236)](t,s))}else u[i(283)](t)}for(const t of u){const e=l[i(532)](t)&&!l[i(419)](t)[i(391)];let s=e?r[i(465)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(436)][t]){const s=e?o[i(436)][t][i(260)]:o[i(436)][t][i(495)];c[i(519)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(397)]={};for(const e of t[i(449)])a[i(236)](e.id,e);for(const e of u){const s=t[i(436)][e]?t[i(436)][e][i(279)]:"[]",n=t[i(436)][e]?t[i(436)][e][i(328)]:"[]";t[i(397)][e]={insertions:this[i(500)][i(316)](s),deletions:this[i(500)][i(316)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(420)](s[i(397)][t][i(279)][i(527)])[i(320)](([t])=>!t[i(372)](i(314))));let h=0;for(const o of r){const r=this[i(461)](o[i(397)][t][i(279)]);o==s?(e=r,n=e[i(465)],e[i(444)](t=>{t.id=h++}),this[i(302)](e)):this[i(342)](e,r);const a=e[i(320)](t=>!t[i(453)])[i(454)](t=>t.id);let c=0;const l=this[i(461)](o[i(397)][t][i(328)]);l[i(444)](t=>{t[i(543)]?t.id=n++:t.id=a[c++]}),this[i(302)](l),this[i(553)](e,i(453)),this[i(553)](l,i(543)),o==s&&this[i(288)](e,u),e=this[i(357)](e,l),this[i(522)](e),this[i(553)](e,i(543))}e=e[i(320)](t=>!(t[i(453)]&&t[i(543)]));const d=new Map(o[i(397)][t][i(328)][i(527)]),f=new Set(u[i(271)]());for(const t of d[i(271)]())f[i(518)](t);this[i(503)](e,f),this[i(417)](e),e=this[i(455)](e),e=this[i(443)](e),e=this[i(504)](e);const{root:m,changes:p}=this[i(490)](e,a,t);c[i(397)][t]=m;const v=l[i(419)](t);if(v){const e=a[i(419)](v[i(277)]),s=new Kt({author:e,type:v[i(391)]?i(283):i(231),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(486)](s),c[i(519)][t][i(370)]=s.id}c[i(298)]=c[i(298)][i(385)](p)}return c}[re(288)](t,e){const i=re;for(let s=0;s<t[i(465)];s++)for(const[n,r]of e)!r[i(499)]&&r[i(251)][i(378)](t[s][i(258)])&&t[s][i(324)][i(547)](n),r[i(541)][i(378)](t[s][i(510)])&&t[s][i(232)][i(547)](n)}[re(357)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(465)]||r<e[i(465)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(547)](o);else if(a[i(543)]&&o[i(453)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(464)](t,n,e,r);s=s[i(385)](o),n=a,r=c}else a[i(543)]?(r++,s[i(547)](a)):(n++,s[i(547)](o))}return s}[re(503)](t,e){const i=re,s=[];for(let o=0;o<t[i(465)];o++){for(let r=0;r<t[o][i(324)][i(465)];r++){const a=t[o][i(324)][r];if(!e[i(532)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(478)!=c||i(308)!=u&&i(516)!=u||(s[i(486)]({type:u,name:a,userId:l}),t[o][i(324)][i(321)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(232)][i(465)];r++){const a=t[o][i(232)][r];if(!e[i(532)](a))continue;const{group:c,type:u}=n(a);if(i(478)!=c||i(308)!=u&&i(516)!=u)continue;t[o][i(232)][i(321)](r,1),r--;const l=s[i(480)](t=>t[i(406)]==a);l>-1&&s[i(321)](l,1)}}function n(t){const e=i,s=t[e(307)](":");return{group:s[0],type:s[1],subType:s[e(465)]>=5?s[2]:null,id:s[e(465)]<5?s[2]:s[3],authorId:s[e(465)]<5?s[3]:s[4],markerCount:6==s[e(465)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(465)];i++){if(t[e(453)]&&e(308)==s[i][e(278)]&&t[e(453)][e(277)]==s[i][e(277)])return t[e(247)]=s[i],void delete t[e(453)];if(!t[e(453)]&&!t[e(543)]&&e(516)==s[i][e(278)])return void(t[e(268)]=s[i])}}}[re(553)](t,e){const i=re;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(236)](o.id,s);for(let s=0;s<t[i(465)];s++){if(i(543)==e&&t[s][i(453)]||i(453)==e&&t[s][i(543)])continue;if(i(392)==t[s][i(278)]){t[s][i(525)]=0;continue}const n=r[i(419)](t[s][i(334)]),o=r[i(419)](t[s].id);t[s][i(525)]=n-o}}[re(275)](t,e,i=!1){const s=re,n=[];let r=this[s(416)][s(273)](t),o=this[s(416)][s(273)](e);for(-1==o&&(o=this[s(416)][s(290)][s(465)],i=!1);r<o;)n[s(547)](this[s(416)][s(489)](r)),r++;return i&&n[s(547)](this[s(416)][s(489)](r)),n}[re(464)](t,e,i,s){const n=re,r=this[n(289)][n(397)][n(423)];let o=e;for(;t[o]&&t[o][n(453)];)o++;let a=s;for(;i[a]&&i[a][n(543)];)a++;u(t,e,o),u(i,s,a);const c=i[n(546)](s,a)[n(385)](t[n(546)](e,o));return c[n(361)]((t,e)=>t[n(512)]!=e[n(512)]?t[n(512)]-e[n(512)]:t[n(266)]!=e[n(266)]?t[n(266)]-e[n(266)]:t[n(525)]!=e[n(525)]?e[n(525)]-t[n(525)]:!!t[n(453)]!=!!e[n(453)]?-1==t[n(512)]||0==t[n(512)]?t[n(453)]?-1:1:t[n(453)]?1:-1:t[n(493)]-e[n(493)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(301)],c=!0;for(let n=e;n<i;n++)if(r[s(256)](t[n][s(284)])||(c=!1),t[n][s(284)][s(352)]<e&&(o=n),t[n][s(284)][s(304)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(512)]=n<=o?-1:n<a?0:1,t[n][s(493)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(525)]?t[i][s(266)]=u:(u++,t[i][s(266)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(512)]&&(t[n][s(266)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(525)]?t[e][s(266)]=u:(u--,t[e][s(266)]=u,u--)}}[re(417)](t){const e=re,i=new Map,s=this[e(289)][e(397)][e(423)];for(let n=1;n<t[e(465)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(392)==c[e(278)])continue;if(c[e(278)]!=u[e(278)])continue;if(!s[e(299)](u[e(284)])||s[e(485)](u[e(284)]))continue;if(!s[e(299)](c[e(284)])||s[e(485)](c[e(284)]))continue;if((t[n][e(453)]||t[n][e(247)])&&t[n-1][e(543)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(543)]||!t[n-1][e(453)]&&!t[n-1][e(247)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(266)]==o[e(266)],h=Math[e(281)](r[e(266)])<Math[e(281)](o[e(266)])&&0==o[e(525)];(l||h)&&(i[e(236)](o.id,r.id),t[e(321)](a,1),n--,r[e(453)]=!1)}for(let s=0;s<t[e(465)];s++)i[e(532)](t[s][e(334)])&&(t[s][e(334)]=i[e(419)](t[s][e(334)]))}[re(455)](t){const e=re,i=new Set(t[e(454)](t=>t.id));for(let s=0;s<t[e(465)];s++)i[e(532)](t[s][e(334)])||0==t[s][e(525)]||(t[s][e(552)]=!0);return t[e(320)](t=>!t[e(552)])}[re(443)](t){const e=re,i=new Set;for(let s=0;s<t[e(465)];s++){if(i[e(532)](t[s].id)&&t[s][e(543)]&&(t[s][e(552)]=!0),t[s][e(552)])continue;if(0==t[s][e(525)])continue;if(e(491)!=t[s][e(278)])continue;if(null==t[s][e(334)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(334)];)e(491)==t[n][e(278)]?r++:e(360)==t[n][e(278)]&&r--,n++;if(0!=r)if(t[s][e(543)])t[s][e(552)]=!0;else for(;n!=s;)t[n][e(543)]&&0!=t[n][e(525)]&&(t[n][e(552)]=!0,i[e(283)](t[n][e(334)])),n--}return t[e(320)](t=>!t[e(552)])}[re(504)](t){const e=re,i=this[e(289)][e(397)][e(423)];for(let s=0;s<t[e(465)];s++){if(!(t[s][e(453)]||t[s][e(247)]||t[s][e(543)]||t[s][e(268)]))continue;if(0==t[s][e(525)])continue;const n=t[s][e(284)];i[e(299)](n)||i[e(485)](n)||(t[s][e(453)]&&delete t[s][e(453)],t[s][e(247)]&&delete t[s][e(247)],t[s][e(268)]&&delete t[s][e(268)],t[s][e(543)]&&(t[s][e(552)]=!0))}return t[e(320)](t=>!t[e(552)])}[re(490)](t,e,i){const s=re,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(289)][s(397)],c=a[s(423)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(465)];e++)if(s(491)===t[e][s(278)]){t[e][s(258)]=a[s(447)](n,f);const i=new X.ModelElement(t[e][s(284)][s(406)],t[e][s(284)][s(267)]());u[0][s(239)](i),f[s(547)](0),u[s(486)](i),t[e][s(510)]=a[s(447)](n,f)}else s(360)===t[e][s(278)]?(u[s(394)](),t[e][s(258)]=a[s(447)](n,f),f[s(498)](),f[f[s(465)]-1]++,t[e][s(510)]=a[s(447)](n,f)):(t[e][s(258)]=a[s(447)](n,f),d?d[s(442)]+=t[e][s(284)][s(297)]:d=new X.ModelText(t[e][s(284)][s(297)],t[e][s(284)][s(267)]()),t[e+1]&&s(392)===t[e+1][s(278)]&&v(d,t[e+1][s(284)])||(u[0][s(239)](d),d=null),f[f[s(465)]-1]+=t[e][s(284)][s(330)],t[e][s(510)]=a[s(447)](n,f));for(let e=0;e<t[s(465)];e++){const i=t[e][s(258)],n=t[e][s(510)];for(const n of t[e][s(324)])o[s(236)](n,{start:i,end:null});m(s(268),e,i,n),m(s(247),e,i,n),m(s(543),e,i,n),m(s(453),e,i,n);for(const i of t[e][s(232)]){const t=o[s(419)](i);t?t[s(541)]=n:o[s(236)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(289)][s(397)][s(401)](e[s(251)],e[s(541)]);n[s(527)][s(236)](t,i)}return r[s(361)]((t,e)=>{const i=s,r=n[i(527)][i(419)](i(314)+t.id),o=n[i(527)][i(419)](i(314)+e.id);return r[i(251)][i(477)](o[i(251)])?-1:r[i(251)][i(526)](o[i(251)])?1:r[i(541)][i(477)](o[i(541)])?-1:r[i(541)][i(526)](o[i(541)])?1:i(283)===t[i(278)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(277)]:null,d=i===t[o(465)]-1,f=h[e][0],m=c[o(350)](t[i][o(284)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(541)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(277)]!==u&&(l[e][o(541)]=n,f&&f[o(277)]===l[e][o(277)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(491)!==t[i][o(278)]||f&&f[o(277)]===u||h[e][o(486)]({userId:u,object:t[i][o(284)],change:l[e]}),o(360)===t[i][o(278)]&&f&&f[o(294)]===t[i][o(284)]&&(h[e][o(394)](),l[e]=f[o(466)])),l[e]&&d&&(l[e][o(541)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(284)],f=a[h(423)][h(299)](d)&&!a[h(423)][h(485)](d),m=t[h(548)]==o[h(345)]&&o[h(410)];if(f&&m)return;const p=a[h(401)](t,o),v=e[h(419)](u),g=new Kt({author:v,type:h(453)==l||h(247)==l?h(283):h(231),data:{isSuggestion:h(247)==l||h(268)==l},createdAt:new Date,rootName:i});r[h(547)](g),n[h(527)][h(236)](h(314)+g.id,p)}function v(t,e){const i=s,n=t[i(267)](),r=e[i(267)]();for(const t of n){if(t[1]!==e[i(407)](t[0]))return!1;r[i(285)]()}return r[i(285)]()[i(468)]}}[re(240)](){const t=re;this[t(289)][t(295)][t(509)](t(534))[t(376)]({view:t(291)}),this[t(289)][t(295)][t(509)](t(425))[t(363)]({model:t(291),view:e=>{const i=t,s=e[i(450)][i(307)](":")[1],n=this[i(408)](s);if(!n)return null;const r=i(283)==n[i(278)]?i(308):i(516),o=[i(390),i(368)+r];return n[i(297)][i(380)]&&o[i(547)](i(368)+r+i(333)),this[i(531)]==n&&o[i(547)](i(506)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(289)][t(295)][t(509)](t(534))[t(283)](e=>{const i=t;e.on(i(367),(t,e,s)=>{const n=i,r=e[n(354)][n(470)](0);if(!r||!r.is(n(437),n(253)))return;if(!s[n(270)][n(402)](r,{attributes:[n(452),n(282)]}))return;const o=e[n(472)][n(251)][n(548)];s[n(537)][n(259)](n(452),r[n(407)](n(452)),o),s[n(537)][n(259)](n(282),r[n(407)](n(282)),o)},{priority:i(358)})}),this[t(289)][t(295)][t(509)](t(534))[t(283)](e=>{const i=t;e.on(i(437),(t,e,s)=>{const n=i;if(!s[n(270)][n(402)](e[n(354)],{attributes:[n(452),n(282)]}))return;if(e[n(472)][n(499)])return;const r=e[n(472)][n(251)][n(548)];r[n(430)](n(452))||r[n(430)](n(243))||(s[n(537)][n(259)](n(452),e[n(354)][n(407)](n(452)),r),s[n(537)][n(259)](n(282),e[n(354)][n(407)](n(282)),r))},{priority:i(358)})}),this[t(289)][t(295)][t(509)](t(534))[t(237)]({view:{name:t(399),attributes:{vid:!0}},model:{key:t(243),value:e=>e[t(407)](t(243))}}),this[t(289)][t(397)][t(423)].on(t(508),(e,[,i])=>{const s=t;[s(452),s(282),s(243)][s(403)](i)&&(e[s(262)]=!0,e[s(265)]())},{priority:t(462)}),this[t(289)][t(295)][t(509)](t(405))[t(283)](e=>{const i=t;e.on(i(264),(t,e,s)=>{const n=i;if(" "!=e[n(284)][n(297)]||e[n(284)][n(345)][n(317)]>1)return;if(!s[n(270)][n(402)](e[n(284)],t[n(406)]))return;const r=s[n(537)],o=s[n(364)][n(529)](e[n(523)]);r[n(296)](o,r[n(383)](n(399)))})}),this[t(289)][t(295)][t(509)](t(405))[t(332)]({model:t(291)}),this[t(289)][t(476)][t(235)].on(t(389),function(e){const i=t,s=e[i(238)][i(419)](i(514));return(t,n,r)=>{const o=i,a=n[o(450)][o(307)](":")[1],c=s[o(408)](a);if(!c)return null;const u=o(283)==c[o(278)]?o(307):o(483);if(!r[o(270)][o(228)](n[o(366)],t[o(406)]))return;const l=n[o(366)][o(327)](),h=n[o(366)][o(251)],d=e[o(397)][o(423)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(284)];p=p||d[o(306)](e);const i=r[o(364)][o(375)](e);if(i&&i[o(396)](o(255)))return;o(360)==t[o(278)]&&d[o(299)](e)&&!d[o(485)](e)&&(e[o(365)]||h[o(261)]?f&&f[o(345)]==e||(f=e,g(t[o(258)]),v=!0):m=m||t[o(258)])}function g(t){const e=o,i=r[e(537)][e(426)](e(399),{class:e(368)+u}),a=r[e(364)][e(538)](t);c[e(297)][e(380)]&&r[e(537)][e(292)](e(368)+u+e(333),i),s[e(531)]==c&&r[e(537)][e(292)](e(506),i),r[e(537)][e(269)](a,i),r[e(364)][e(310)](i,n[e(450)])}p||v||!m||g(m)}}(this[t(289)]),{priority:t(276)}),this[t(289)][t(476)][t(235)].on(t(533),(e,i,s)=>{const n=t,r=s[n(364)][n(303)](i[n(450)]);if(r)for(const t of r)(t[n(349)](n(427))||t[n(349)](n(323)))&&(s[n(364)][n(384)](t,i[n(450)]),s[n(537)][n(231)](t))},{priority:t(276)}),this[t(289)][t(476)][t(235)].on(t(389),(e,i,s)=>{const n=t,r=i[n(450)][n(307)](":")[1],o=this[n(408)](r);if(!o)return null;const a=n(283)==o[n(278)]?n(307):n(483);if(s[n(270)][n(228)](i[n(366)],e[n(406)]))for(const t of i[n(366)][n(241)]()){if(!t.is(n(437),n(497)))continue;const e=s[n(537)][n(426)](n(399),{class:n(368)+a}),r=s[n(364)][n(538)](this[n(289)][n(397)][n(439)](t));o[n(297)][n(380)]&&s[n(537)][n(292)](n(368)+a+n(333),e),this[n(531)]==o&&s[n(537)][n(292)](n(506),e),s[n(537)][n(269)](r,e),s[n(364)][n(310)](e,i[n(450)])}},{priority:t(276)}),this[t(289)][t(397)][t(395)].on(t(466),()=>{const e=t;this[e(289)][e(476)][e(404)][e(466)](t=>{const i=e;for(const e of this[i(289)][i(397)][i(395)][i(313)]()){const s=this[i(289)][i(397)][i(395)][i(379)](e),n=this[i(289)][i(476)][i(404)][i(395)][i(379)](e);if(n){const e=s[i(407)](i(370));if(t[i(252)](i(371),n),t[i(343)](i(540),n),t[i(343)](i(471),n),t[i(343)](i(309),n),e){const s=this[i(408)](e);if(!s)return null;t[i(259)](i(371),e,n),t[i(292)](i(551)+s[i(278)],n),this[i(531)]==s&&t[i(292)](i(309),n)}}}})}),this[t(289)][t(295)][t(509)](t(534))[t(376)]({view:t(458),model:e=>t(515)+e,converterPriority:t(462)}),this[t(289)][t(295)][t(509)](t(534))[t(376)]({view:t(481),model:e=>t(356)+e,converterPriority:t(462)}),this[t(289)][t(295)][t(509)](t(405))[t(332)]({model:t(478),view:e=>({name:t(432)+e,group:t(478)}),converterPriority:t(462)}),this[t(289)][t(295)][t(509)](t(425))[t(363)]({model:t(478),view:e=>{const i=t,s=e[i(450)][i(307)](":")[1];return i(308)!=s&&i(516)!=s?null:{classes:[i(415),i(312)+s]}}}),this[t(289)][t(476)][t(235)].on(t(347),ue(this[t(289)],t(483)),{priority:t(276)}),this[t(289)][t(476)][t(235)].on(t(505),ue(this[t(289)],t(307)),{priority:t(276)}),this[t(289)][t(476)][t(235)].on(t(528),(e,i,s)=>{const n=t,r=s[n(364)][n(303)](i[n(450)]);if(r)for(const t of r)t.is(n(460))&&(s[n(364)][n(384)](t,i[n(450)]),s[n(537)][n(231)](t))},{priority:t(276)})}[re(408)](t){const e=re;return this[e(544)][e(419)](t)}[re(494)](t){const e=re;return this[e(422)]&&this[e(422)][e(293)](),this[e(422)]=new Bt(this[e(289)][e(434)],t),this[e(422)]}[re(438)](){const t=re;this[t(289)][t(397)][t(395)][t(331)][t(341)](t(291)),this.on(t(492),(e,i,s,n)=>{const r=t;n&&this[r(550)][r(231)](n),s&&(this[r(550)][r(283)]({view:s,stackId:r(335),position:{target:()=>{const t=r,e=this[t(289)][t(476)],i=this[t(408)](s[t(530)]);let n;if(i[t(297)][t(311)]){const s=e[t(404)][t(400)](i[t(280)]);n=Array[t(420)](s[t(440)]())}else{const i=this[t(289)][t(397)][t(527)][t(419)](t(314)+s[t(530)]);n=Array[t(420)](e[t(364)][t(303)](i[t(406)]))[t(454)](i=>e[t(404)][t(315)][t(513)](i))[t(454)](e=>Array[t(420)](e[t(440)]()))[t(305)]()}return this[t(448)]&&n[t(501)](e=>e[t(386)]-3<=this[t(448)].y&&e[t(325)]+3>=this[t(448)].y&&e[t(230)]-3<=this[t(448)].x&&e[t(248)]+3>=this[t(448)].x)||n[0]}}}),this[r(550)][r(421)](r(335)))}),this.on(t(431),(e,i,s,n)=>{const r=t;this[r(398)]=s?this[r(494)](s):null,this[r(289)][r(397)][r(466)](()=>{const t=r,e=this[t(289)][t(476)];n&&(n[t(297)][t(311)]?e[t(404)][t(466)](i=>{const s=t;i[s(343)](s(309),e[s(404)][s(395)][s(379)](n[s(280)]))}):e[t(469)](t(314)+n.id)),s&&(s[t(297)][t(311)]?e[t(404)][t(466)](i=>{const n=t;i[n(292)](n(309),e[n(404)][n(395)][n(379)](s[n(280)]))}):e[t(469)](t(314)+s.id))})}),this[t(393)](this[t(289)][t(476)][t(404)][t(395)],t(412),(e,i)=>{const s=t;if(this[s(531)])return;const n=this[s(502)](i[s(467)]),r=this[s(544)][s(419)](n);r?(this[s(448)]={x:i[s(474)].x,y:i[s(474)].y},this[s(398)]=this[s(494)](r)):(this[s(448)]=null,this[s(398)]=null)}),this[t(393)](this[t(289)][t(476)][t(404)][t(395)],t(329),(e,i)=>{const s=t,n=this[s(502)](i[s(467)]),r=this[s(544)][s(419)](n);r?(this[s(448)]={x:i[s(474)].x,y:i[s(474)].y},r===this[s(531)]?this[s(550)][s(353)]():this[s(531)]=r):(this[s(448)]=null,this[s(531)]=null)})}[re(502)](t){const e=re;do{const i=t[e(407)](e(371));if(i)return i;t=t[e(345)]}while(t);return null}[re(487)](){const t=re;this[t(289)][t(397)][t(466)](e=>{const i=t;for(const t of this[i(289)][i(397)][i(527)])e[i(287)](t)})}}function ue(t,e){return(i,s,n)=>{const r=oe;if(!n[r(270)][r(228)](s[r(366)],i[r(406)]))return;const o=s[r(366)][r(327)](),a=s[r(366)][r(251)],c=t[r(397)][r(423)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(284)];h=h||c[r(306)](e);const i=n[r(364)][r(375)](e);if(i&&i[r(396)](r(255)))return;r(360)==t[r(278)]&&c[r(299)](e)&&!c[r(485)](e)&&(e[r(365)]||a[r(261)]?u&&u[r(345)]==e||(u=e,f(t[r(258)]),d=!0):l=l||t[r(258)])}function f(t){const i=r,o=n[i(364)][i(538)](t),a=n[i(537)][i(426)](i(399),{class:i(312)+e});n[i(537)][i(269)](o,a),n[i(364)][i(310)](a,s[i(450)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=re;super(t);const i=t[e(238)][e(419)](ce);this[e(482)]=!1,this[e(393)](i,e(409),()=>this[e(521)]()),this[e(393)](i,e(511),()=>this[e(521)]())}[re(496)](){const t=re,e=this[t(289)],i=e[t(238)][t(419)](ce),s=i[t(451)]?i[t(381)][t(479)]:null;e[t(340)][t(419)](t(539))[t(411)](s)}[re(521)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(289)][t(238)][t(419)](ce),r=n&&s[t(520)](n[t(479)]);this[t(507)]=e&&i&&Boolean(r)}}class he extends G.Command{[re(286)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(238)][i(419)](ce);this[i(482)]=!1,this[i(286)]=i(336)===e?1:-1,this[i(393)](s,i(409),()=>this[i(521)]()),this[i(393)](s,i(511),()=>this[i(521)]()),this[i(393)](s,i(431),()=>this[i(521)]())}[re(496)](){const e=re,i=this[e(289)],s=i[e(238)][e(419)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(531)]=n?s[e(381)][e(298)][e(419)](r+this[e(286)]):s[e(381)][e(298)][e(274)],s[e(531)][e(297)][e(311)])o=i[e(476)][e(404)][e(400)](s[e(531)][e(280)]);else{const t=i[e(397)][e(527)][e(419)](e(314)+s[e(531)].id);o=(0,J.getMarkerDomElement)(i[e(476)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(521)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(289)][t(238)][t(419)](ce);this[t(507)]=!!(r&&n&&s)&&(!e||(1===this[t(286)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Dt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=261]})(t,e)}function pe(){const t=["24IPiKii","span","16210QYBOMG","div","440187UHztUL","numberOfChanges","bindTemplate","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__wrapper","Loading...","85EznAZI","forward","isNavigationMode","set","Show next change","isBackwardNavigationEnabled","isEnabled","currentChangeNumber","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__navigation","setTemplate","NUMBER_OF_CHANGES","5794607Qrppwr","isReady","16TBakCt","bind","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","712ZdDbkl","12olIpzd","Total","697147JjIZPA","fire","ck-revision-history-ui__changes-navigation__label","No changes","ck-hidden","35084pKkKLY","backward","16353PrmSVE","10LBtxxF","execute","379729ZgPgkx","_statusText","Show previous change","EDIT_X_OF_Y_REVISIONS"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(123641===-parseInt(e(280))/1*(-parseInt(e(302))/2)+parseInt(e(282))/3+-parseInt(e(269))/4*(parseInt(e(288))/5)+parseInt(e(278))/6*(parseInt(e(274))/7)+-parseInt(e(261))/8*(-parseInt(e(271))/9)+parseInt(e(272))/10*(parseInt(e(264))/11)+-parseInt(e(262))/12*(parseInt(e(300))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(284)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(291)](e(290),!1),this[e(291)](e(301),!1),this[e(291)](e(295),0),this[e(291)](e(283),0),this[e(291)](e(306),!1),this[e(291)](e(293),!1),this[e(303)](e(285)).to(this,e(301),this,e(283),(t,e)=>t&&e>0),this[e(303)](e(275)).to(this,e(301),this,e(295),this,e(283),this,e(290),(i,s,n,r)=>{const o=e;if(!i)return ot(t,o(287));if(!n)return ot(t,o(267));const a=ot(t,o(299),n);return r?ot(t,o(304),[s+1,n]):a}),s[e(291)]({label:ot(t,e(276)),tooltip:!0,icon:wt.IconChevronUp}),n[e(291)]({label:ot(t,e(292)),tooltip:!0,icon:wt.IconChevronDown}),s[e(303)](e(294)).to(this,e(293)),n[e(303)](e(294)).to(this,e(306)),s.on(e(273),()=>this[e(265)](e(273),e(270))),n.on(e(273),()=>this[e(265)](e(273),e(289))),this[e(298)]({tag:e(281),attributes:{class:["ck",e(296),e(305)]},children:[{tag:e(279),attributes:{class:[e(286)]},children:[{tag:e(279),attributes:{class:[e(266),i.if(e(285),e(268),t=>!t)]},children:[{text:i.to(e(290),i=>i?ot(t,e(277))+": ":ot(t,e(263))+": ")}]},{text:i.to(e(275))}]},new _t.ToolbarSeparatorView,{tag:e(281),attributes:{class:[e(297)]},children:[s,n]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Dt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=we();return(be=function(t,e){return i[t-=463]})(t,e)}function we(){const t=["view","RevisionViewerLoadingOverlay","hide","pluginName","removeClass","4928705bpyouD","show","editor","16077PZeADp","5699824EHFprF","change","isPremiumPlugin","183599VawOmt","document","addClass","9971164tBSmmf","editing","isOfficialPlugin","25771416ZpZoJz","roots","ck-editor__editable__loading-overlay","1935132Velwtk","132KkygZv"];return(we=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(828493===parseInt(e(484))/1+parseInt(e(471))/2*(parseInt(e(480))/3)+parseInt(e(481))/4+parseInt(e(477))/5+-parseInt(e(470))/6+parseInt(e(464))/7+-parseInt(e(467))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=ke(469);class Ie extends G.Plugin{static get[ke(475)](){return ke(473)}static get[ke(466)](){return!0}static get[ke(483)](){return!0}[ke(478)](){const t=ke,e=this[t(479)][t(465)][t(472)];e[t(482)](i=>{const s=t;for(const t of e[s(485)][s(468)])i[s(463)](_e,t)})}[ke(474)](){const t=ke,e=this[t(479)][t(465)][t(472)];e[t(482)](i=>{const s=t;for(const t of e[s(485)][s(468)])i[s(476)](_e,t)})}}const Se=Oe;function Oe(t,e){const i=Te();return(Oe=function(t,e){return i[t-=486]})(t,e)}function Te(){const t=["exitToEditing","Back to editing","currentChangeNumber","isPremiumPlugin","change:isReady","showPreviousChange","showNextChange","18406490GKStCa","isOfficialPlugin","7756029RXMjyj","1187508eFLIcQ","278uIQnLw","commands","isReady","init","5151uxGwYB","add","isForwardNavigationEnabled","RevisionViewerUI","get","ck-revision-history-ui__back-to-editing","listenTo","revisionHistory","isEnabled","isNavigationMode","execute","show","componentFactory","4319560egWnIu","bind","12ACbweo","Restore this revision","forward","set","numberOfChanges","restoreRevision","plugins","editor","requires","2696253IFmUlE","pluginName","hide","closeRevisionViewerCallback","454100ImMFNq","config","8pjArgZ","isBackwardNavigationEnabled","changesNavigation"];return(Te=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(472036===parseInt(e(517))/1*(parseInt(e(513))/2)+parseInt(e(532))/3*(parseInt(e(497))/4)+parseInt(e(530))/5+-parseInt(e(512))/6+-parseInt(e(493))/7+-parseInt(e(499))/8*(-parseInt(e(511))/9)+-parseInt(e(509))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class xe extends G.Plugin{static get[Se(494)](){return Se(520)}static get[Se(510)](){return!0}static get[Se(505)](){return!0}static get[Se(492)](){return[ce,Ie]}[Se(516)](){const t=Se,e=this[t(491)],i=e[t(490)][t(521)](ce),s=e[t(490)][t(521)](Ie);e.ui[t(529)][t(518)](t(502),i=>{const s=t,n=new _t.ButtonView(i);return n[s(487)]({label:ot(i,s(503)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(522)}),this[s(523)](n,s(527),()=>{const t=s;e[t(498)][t(521)](t(524))[t(496)]()}),n}),e.ui[t(529)][t(518)](t(489),i=>{const s=t,n=new _t.ButtonView(i);return n[s(487)]({label:ot(i,s(533)),withText:!0,tooltip:!0}),n[s(531)](s(525)).to(e[s(514)][s(521)](s(489))),this[s(523)](n,s(527),()=>e[s(527)](s(489))),n}),e.ui[t(529)][t(518)](t(501),s=>{const n=t,r=new ve(s),o=e[n(514)][n(521)](n(507)),a=e[n(514)][n(521)](n(508));return r[n(531)](n(500)).to(o,n(525)),r[n(531)](n(519)).to(a,n(525)),r[n(531)](n(515),n(504),n(488),n(526)).to(i),this[n(523)](r,n(527),(t,i)=>{const s=n;e[s(527)](s(486)===i?s(508):s(507))}),r}),s[t(528)](),i.on(t(506),(e,i,n)=>{const r=t;n?s[r(495)]():s[r(528)]()})}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Dt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=De;function Me(){const t=["151236avzOIV","render","placeholder","ck-revision-history-sidebar__revision-name","6MwgQrr","Enter the revision name","3659103BxzQNU","Revision name","fieldView","listenTo","10NCWptQ","set","span","clientWidth","6616000tHOtqr","1112220sgYDWz","scrollWidth","extendTemplate","value","1844508oWeWsR","bindTemplate","_updateTooltipText","_tooltipString","160syYsFD","input","588408fPYGZE","ck-tooltip_multi-line","36739UuAxHN","_resizeObserver","destroy","element"];return(Me=function(){return t})()}function De(t,e){const i=Me();return(De=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(341766===-parseInt(e(140))/1*(-parseInt(e(154))/2)+-parseInt(e(132))/3+parseInt(e(138))/4+-parseInt(e(128))/5+-parseInt(e(148))/6*(-parseInt(e(150))/7)+-parseInt(e(136))/8*(parseInt(e(144))/9)+parseInt(e(158))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends _t.LabeledFieldView{[Ae(141)]=null;constructor(t,e){const i=Ae;super(t,e);const s=this[i(133)];this[i(155)]({label:ot(t,i(151)),_tooltipString:""}),this[i(152)][i(146)]=ot(t,i(149)),this[i(130)]({tag:i(156),attributes:{class:[i(147)],"data-cke-tooltip-text":s.to(i(135)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(139)}})}[Ae(145)](){const e=Ae;super[e(145)](),this[e(141)]=new t.ResizeObserver(this[e(152)][e(143)],()=>this[e(134)]()),this[e(153)](this[e(152)],e(137),()=>this[e(134)]())}[Ae(142)](){const t=Ae;super[t(142)](),this[t(141)]&&this[t(141)][t(142)]()}[Ae(134)](){const t=Ae,e=this[t(152)][t(143)];this[t(135)]=e[t(129)]>e[t(157)]&&e[t(131)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Dt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["0 0 11 10","Revision creator","name","ck-revision-history-sidebar__revision-author","26456VEKLxC","6605RsvFiT","110845GWehFj","span","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author_creator","4274000muMMzo","Revision author","set","setTemplate","2123624sVXGRw","708HWwQzc","142myKRCP","20885gFSAYH","3zDKBJo","934722fXnSUf","push"];return(Fe=function(){return t})()}function Pe(t,e){const i=Fe();return(Pe=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(267287===parseInt(e(113))/1*(-parseInt(e(124))/2)+-parseInt(e(105))/3*(parseInt(e(112))/4)+parseInt(e(104))/5*(parseInt(e(123))/6)+-parseInt(e(114))/7+-parseInt(e(122))/8+parseInt(e(106))/9+parseInt(e(118))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends _t.View{constructor(t,e,i){const s=Pe;super(t);const n=new _t.IconView;n[s(120)]({content:wt.IconUser,viewBox:s(108)});const r=["ck",s(111)];i&&r[s(107)](s(117));const o=[{tag:s(115),attributes:{class:["ck",s(116)],title:ot(t,s(i?109:119))},children:[n,e[s(110)]]}];this[s(121)]({tag:"li",attributes:{class:r},children:o})}}function je(t,e){var i=ze();return(je=function(t,e){return i[t-=281]})(t,e)}function ze(){var t=["2240497mbstMF","long","260103kRatwU","971046FAkLur","numeric","6XrDPPD","toLocaleDateString","1272842vHYDxD","72DqErHt","toLocaleTimeString","781891xaphGU","8BdbNKr","50iRUrQX","2200575YWZoHt","2897520foVFGk"];return(ze=function(){return t})()}!function(t){for(var e=je,i=t();;)try{if(872025===parseInt(e(286))/1+-parseInt(e(293))/2+-parseInt(e(281))/3*(-parseInt(e(287))/4)+-parseInt(e(292))/5+parseInt(e(284))/6*(-parseInt(e(294))/7)+parseInt(e(290))/8*(-parseInt(e(282))/9)+-parseInt(e(291))/10*(-parseInt(e(289))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=At(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Dt();St()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function He(){const t=["bindTemplate","change:isActionsDropdownOpen","1237137HgFiOc","Show more items","panelPosition","name","listView","buttonView","first","377812tDiQwf","isEnabled","extendTemplate","isReady","bind","ck-revision-history-sidebar__revision__actions","children","4890aDBTwQ","1106019rUGktt","1985YdWWBB","isVisible","Name this revision","button","source","Restore this revision","locale","menuitem","set","248wVPHBT","_action","4164624QkoYCo","add","action","213274wqvsCP","stopPropagation","items","execute","isOpen","listenTo","map","6684559OrjzPQ","Compare against selected","menu","class","find","model","ck-on","isActionsDropdownOpen","function"];return(He=function(){return t})()}function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=319]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(593145===-parseInt(e(335))/1+-parseInt(e(358))/2+-parseInt(e(328))/3+-parseInt(e(355))/4+-parseInt(e(344))/5*(parseInt(e(342))/6)+-parseInt(e(365))/7+parseInt(e(353))/8*(parseInt(e(343))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Dt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Ge;function Ye(){const t=["7300QbaADj","div","647830lmuBYM","fire","ck-revision-history-sidebar__revision","createdAt","creator","ck-revision-history-sidebar__revision-wrapper","4064874IDzstC","ck-revision-history-sidebar__actions_dropdown_open","highlight","revisionNameView","ck-revision-history-sidebar__revision-authors",".ck-thread__remove-confirm","closest","_createdAtFormatted","deselect","_revision","ck-reset","unshift","96aHPGLv","6667932RDSxFa","10ZdIjpP","revisionActionsView","setTemplate","span","isActionsDropdownOpen","_requireRevisionName","19977GqoMZp","ck-disabled","srcElement","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","11IksCSO","name","length","map","authors","setName","value","unhighlight","filter","220","listenTo","select","3929191ZuaylV","bind","isReady","set","render","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1712NhZfLw","bindTemplate","ck-revision-history-sidebar__revision__controls-wrapper","isSelected","ck-revision-history-sidebar__revision_highlighted","isEnabled","from","extendTemplate","fieldView","isHighlighted","uiLanguage","element","1454787UzHZIs","change","isConfirm","8rHFQIc"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=200]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(442894===parseInt(e(260))/1+-parseInt(e(211))/2*(parseInt(e(219))/3)+parseInt(e(242))/4*(parseInt(e(258))/5)+-parseInt(e(266))/6+-parseInt(e(236))/7*(-parseInt(e(257))/8)+parseInt(e(254))/9*(parseInt(e(213))/10)+parseInt(e(224))/11*(-parseInt(e(212))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Je extends((0,J.ConfirmMixin)(_t.View)){id;[Be(202)];[Be(214)];[Be(208)];[Be(218)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(243)],a=function(t,e){const i=r,s=Array[i(248)](e[i(228)])[i(232)](t=>t!=e[i(264)]);return e[i(264)]&&s[i(210)](e[i(264)]),s[i(227)](s=>new Le(t,s,s==e[i(264)]))}(e,i);this.id=i.id,this[r(208)]=i,this[r(218)]=n,this[r(237)](r(225),r(263)).to(i),this[r(237)](r(206)).to(this,r(263),t=>{return i=e[r(252)],(s=t)[(n=je)(285)](i,{month:n(295),day:n(283)})+", "+s[n(288)](i,{hour:n(283),minute:n(283)});var i,s,n}),this[r(239)](r(245),!1),this[r(239)](r(251),!1),this[r(239)](r(217),!1),this[r(239)](r(238),!1),this[r(239)](r(247),!1),this[r(202)]=new Ve(e,_t.createLabeledInputText),this[r(202)][r(250)][r(249)]({attributes:{maxlength:r(233)}}),this[r(202)][r(250)][r(237)](r(230)).to(this,r(225),t=>t||this[r(206)]),this[r(202)][r(237)](r(247)).to(this,r(245),this,r(247),(t,e)=>t&&e),this[r(214)]=s&&s[r(226)]?function(e,i){const s=Ze,n=e[s(326)],r=e[s(350)],o=(0,_t.createDropdown)(r);o[s(330)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(350)],n={"Compare against selected":ot(s,i(366)),"Name this revision":ot(s,i(346)),"Restore this revision":ot(s,i(349))};return e[i(364)](t=>{const e=i,s=n[t[e(331)]];return s&&s!==t[e(331)]&&(t[e(331)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(347),model:new _t.UIModel({label:t[n(331)],class:t[n(320)],withText:!0,role:n(351),_action:t[n(357)]})};i[n(322)][n(339)](n(336)).to(e,n(324),i=>n(325)!=typeof t[n(336)]||!i||t[n(336)](e)),o[n(356)](i)}return o}(e,i);return e[s(339)](s(324)).to(o,s(362)),o[s(333)][s(352)]({label:ot(r,s(329)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(337)]({attributes:{class:[s(340),n.if(s(324),s(323))]},on:{click:n.to(t=>t[s(359)]())}}),o.on(s(361),t=>{const i=s;e[i(338)]&&i(325)==typeof t[i(348)][i(354)]&&t[i(348)][i(354)](e)}),(0,_t.addListToDropdown)(o,a,{role:s(319)}),o[s(363)](e,s(327),(t,n,r)=>{const a=s;if(r)for(const t of o[a(332)][a(360)]){const s=t[a(341)][a(334)],n=i[a(321)](t=>t[a(357)]===s[a(354)])[a(345)];t[a(345)]=void 0===n||n(e)}}),o}(this,s):"",this[r(214)]&&this[r(214)][r(237)](r(247)).to(this),this[r(215)]({tag:r(259),attributes:{class:["ck",r(209),r(265),o.if(r(256),r(241))]},children:[{tag:r(259),attributes:{class:["ck",r(209),r(262),o.if(r(247),r(220),t=>!t),o.if(r(245),r(223)),o.if(r(251),r(246)),o.if(r(217),r(200))]},children:[this[r(202)],{tag:r(216),attributes:{class:["ck",r(222)]},children:[{text:o.to(r(206))}]},{tag:r(259),attributes:{class:["ck",r(244)]},children:[{tag:"ul",attributes:{class:["ck",r(203)]},children:a}]},this[r(214)]],on:{click:o.to(t=>{const e=r;t[e(221)][e(205)](e(204))||this[e(238)]&&this[e(247)]&&this[e(261)](e(235),{id:this.id})})}}]})}[Be(240)](){const t=Be;super[t(240)]();const e=this[t(202)][t(250)][t(253)];this[t(234)](e,t(255),()=>{const i=t;this[i(218)]&&!e[i(230)]||this[i(261)](i(229),{id:this.id,name:e[i(230)]}),e[i(230)]||(e[i(230)]=this[i(225)]?this[i(225)]:this[i(206)])})}[Be(235)](){this[Be(245)]=!0}[Be(207)](){this[Be(245)]=!1}[Be(201)](){this[Be(251)]=!0}[Be(231)](){this[Be(251)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Xe{}class ii extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ni extends Xe{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Mi=null;class Di extends Ai{static get instance(){return null===Mi&&(Mi=new Di),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i)}formatOffset(t,e){return sn(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 Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i,this.name)}formatOffset(t,e){return sn(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[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ei[e];"era"===e?s[r]=n:Ms(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function ji(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const zi=new Map;const Wi=new Map;let Ui=null;const Hi=new Map;function Zi(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 $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=ji(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Es()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ji={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=Ls(s)||ps.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),zi.clear(),Wi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=ji(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=ji(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Zi(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,Ls(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 $i(this,t,cn,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=ho.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return $i(this,t,dn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=ho.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return $i(this,void 0,()=>fn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return $i(this,t,gn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?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={...Ji,...e}),qi.set(t,e)}return e}(this.locale):Ji}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 Ki=null;class Qi extends Ai{static get utcInstance(){return null===Ki&&(Ki=new Qi(0)),Ki}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ai{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function es(t,e){if(Ms(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Ds(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Di.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=Ls(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Xi.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Js(c,e,i)):u>Js(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ms(t.localWeekday)||!Ms(t.localWeekNumber)||!Ms(t.localWeekYear)){if(!Ms(t.weekday)||!Ms(t.weekNumber)||!Ms(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ms(t.localWeekday)||(t.weekday=t.localWeekday),Ms(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ms(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Vs(t.year),i=js(t.month,1,12),s=js(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function As(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=js(e,0,23)||24===e&&0===i&&0===s&&0===n,o=js(i,0,59),a=js(s,0,59),c=js(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ms(t){return void 0===t}function Ds(t){return"number"==typeof t}function Vs(t){return"number"==typeof t&&t%1==0}function Es(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!js(t.firstDay,1,7)||!js(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!js(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function js(t,e,i){return Vs(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Ms(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Js(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return($s(t)-s+n)/7}function Xs(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Ks(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function Qs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ri};class bn{static create(t,e={}){return new bn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return kn[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 zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=bn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return yn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function In(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Sn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ws(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${xn.source}${`(?:${Tn.source}?(?:\\[(${wn.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),An=On("weekYear","weekNumber","weekDay"),Mn=On("year","ordinal"),Dn=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),Vn=RegExp(`(?: ${Dn.source})?`);function En(t,e,i){const s=t[e];return Ms(s)?i:Ws(s)}function Cn(t,e){return[{hours:En(t,e,0),minutes:En(t,e+1,0),seconds:En(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function Pn(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${xn.source}$`),jn=/^-?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 zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Ws(e)):Ws(e),month:on.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Hn=/^(?:(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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(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$/,$n=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),Qi.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),Qi.utcInstance]}const Jn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Kn=_n(/(\d{4})-?(\d{3})/,Rn),Qn=_n(Nn),tr=In(function(t,e){return[{year:En(t,e),month:En(t,e+1,1),day:En(t,e+2,1)},null,e+3]},Cn,Fn,Pn),er=In(An,Cn,Fn,Pn),ir=In(Mn,Cn,Fn,Pn),sr=In(Cn,Fn,Pn);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,Vn),or=_n(Dn),ar=In(Cn,Fn,Pn);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight((s,n)=>{if(Ms(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),mr.reduce((i,s)=>{if(Ms(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;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 kr.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 kr({values:en(t,kr.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[jn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[Ln,nr])}(t);return i?kr.fromObject(i,e):kr.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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map(e=>{const i=this.values[e];return Ms(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+=Zs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>kr.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of mr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return yr(this.matrix,e),vr(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 vr(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 mr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const br="Invalid Interval";class wr{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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:wr.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 wr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Es(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ir(t,e);return(i-i%7)/7}],["days",Ir]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Xs);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Ms(t.z)||(i=Fi.create(t.z)),Ms(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ms(t.q)||(t.M=3*(t.q-1)+1),Ms(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),Ms(t.u)||(t.S=Hs(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const jr="Invalid DateTime",zr=864e13;function Wr(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function $r(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 Br(t,e,i){return qr(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(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,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Jr(t,e,i=!0){return t.isValid?bn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Kr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Xi.fromObject(e);let n,r;if(Ms(t.year))n=ps.now();else{for(const e of io)Ms(t[e])&&(t[e]=Qr[e]);const e=Rs(t)||As(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ms(i.round)||i.round,n=(t,n)=>{t=Zs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Ms(t.ts)?ps.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Xi.fromObject(e)}):ho.invalid(Wr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.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(Ds(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Xi.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ms(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ms(n.ordinal),l=!Ms(n.year),h=!Ms(n.month)||!Ms(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=Ts(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ms(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Vs(t.weekYear),n=js(t.weekNumber,1,Js(t.weekYear,e,i)),r=js(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Vs(t.year),i=js(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):Rs(n),b=k||As(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?xs(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Jn,tr],[Xn,er],[Kn,ir],[Qn,sr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,Zn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Gr(i,s,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 vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Ke(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){uo=void 0,lo.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Js(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Js(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ms(e.weekYear)||!Ms(e.weekNumber)||!Ms(e.weekday),r=!Ms(e.ordinal),o=!Ms(e.year),a=!Ms(e.month)||!Ms(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ms(e.ordinal)?(l={...this.toObject(),...e},Ms(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=xs({...Ts(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):jr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):jr}toLocaleParts(t={}){return this.isValid?bn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Jr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Jr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Jr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Jr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():jr}[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 kr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new 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?ho.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=vo();return(mo=function(t,e){return i[t-=494]})(t,e)}function po(t,e){const i=mo,s=ho[i(509)](t)[i(503)](e),n=ho[i(518)](),r=n[i(505)]({days:1})[i(499)](i(496));let o,a;return s[i(508)](n,i(496))?(o=s[i(499)](i(496))[i(506)](),a=s[i(507)]()):s[i(508)](r,i(496))?(o=r[i(506)](),a=s[i(507)]()):s[i(508)](n,i(511))?(o=s[i(499)](i(511))[i(506)](),a=s[i(510)]||""):s[i(508)](n,i(497))?(o=s[i(499)](i(513))[i(506)](),a=s[i(514)]||""):(o=s[i(499)](i(497))[i(506)](),a=String(s[i(497)])),{startDate:o,localizedPeriodName:a}}function vo(){const t=["3372347XFdgPY","day","year","91832KoqXjp","startOf","609520JvpocD","4itHUtp","6NFennC","setLocale","7sbmMtL","minus","toJSDate","toRelativeCalendar","hasSame","fromJSDate","weekdayLong","week","547655gLpLgO","month","monthLong","621942YzmSmh","51782IiithM","279FAwOAw","local","249774UTuGOa"];return(vo=function(){return t})()}!function(t){const e=mo,i=t();for(;;)try{if(294044===-parseInt(e(494))/1+parseInt(e(516))/2*(-parseInt(e(502))/3)+-parseInt(e(501))/4*(parseInt(e(512))/5)+-parseInt(e(515))/6*(-parseInt(e(504))/7)+-parseInt(e(498))/8*(-parseInt(e(517))/9)+-parseInt(e(500))/10+parseInt(e(495))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Dt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=wo;function bo(){const t=["888304QFdWhr","revisionViews","delegate","locale","6092648gylEbJ","120918BGCpOC","setTemplate","_revisionActions","ck-revision-history-sidebar__time-period__revisions","find","setName","195530YiOQCe","ck-revision-history-sidebar__time-period__label","localizedPeriodName","createCollection","select","344510oyNZim","remove","ck-revision-history-sidebar__time-period","9LvpDLH","span","_requireRevisionName","3499575TqUYJU","96jirROj","removeRevision","div","add","startDate","addRevision","1178946VEuDsq","uiLanguage"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(362349===-parseInt(e(122))/1+parseInt(e(127))/2+parseInt(e(140))/3+-parseInt(e(111))/4+parseInt(e(133))/5+-parseInt(e(134))/6*(-parseInt(e(116))/7)+parseInt(e(115))/8*(-parseInt(e(130))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class _o extends _t.View{[ko(138)];[ko(112)];[ko(118)];[ko(132)];constructor(t,e,i,s){const n=ko;super(t);const r=po(e,this[n(114)][n(141)])[n(124)];this[n(138)]=e,this[n(112)]=this[n(125)](),this[n(118)]=i,this[n(132)]=s,this[n(112)][n(113)](n(126)).to(this),this[n(112)][n(113)](n(121)).to(this),this[n(117)]({tag:n(136),attributes:{class:["ck",n(129)]},children:[{tag:n(131),attributes:{class:["ck",n(123)]},children:[{text:r}]},{tag:n(136),attributes:{class:["ck",n(119)]},children:this[n(112)]}]})}[ko(139)](t){const e=ko,i=new Je(this[e(114)],t,this[e(118)],this[e(132)]);this[e(112)][e(137)](i)}[ko(135)](t){const e=ko,i=this[e(112)][e(120)](e=>e.id===t.id);this[e(112)][e(128)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Dt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=256]})(t,e)}function To(){const t=["span","679pIiIGJ","786164lhHbww","9wBxWUJ","3574008JNfCzc","21372HCzaMo","div","23155DeNeml","1080260ylfrGj","9KiPjXW","ck-revision-history-sidebar__header__label","157298SBvVYA","content","5caiCMq","Revision history","ck-reset_all","setTemplate","ck-revision-history-sidebar__header","9228gLKWvD","1614180wDPEAp"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(359644===-parseInt(e(259))/1*(parseInt(e(257))/2)+parseInt(e(269))/3*(-parseInt(e(268))/4)+-parseInt(e(274))/5+parseInt(e(271))/6*(-parseInt(e(267))/7)+parseInt(e(270))/8*(parseInt(e(275))/9)+-parseInt(e(265))/10+-parseInt(e(273))/11*(-parseInt(e(264))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(258)]=wt.IconHistory,this[e(262)]({tag:e(272),attributes:{class:["ck",e(261),e(263)]},children:[i,{tag:e(266),attributes:{class:["ck",e(256)]},children:[ot(t,e(260))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Dt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Ao=Mo;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(260281===-parseInt(e(418))/1*(-parseInt(e(449))/2)+-parseInt(e(442))/3+parseInt(e(429))/4+-parseInt(e(445))/5*(-parseInt(e(454))/6)+parseInt(e(458))/7*(-parseInt(e(469))/8)+parseInt(e(425))/9*(-parseInt(e(417))/10)+parseInt(e(452))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends _t.View{[Ao(468)];[Ao(443)];[Ao(435)];[Ao(466)];constructor(t,e,i,s){const n=Ao;super(t);const r=this[n(462)];this[n(468)]=this[n(470)](),this[n(468)][n(456)](n(446)).to(this),this[n(468)][n(456)](n(419)).to(this),this[n(443)]=e,this[n(435)]=i,this[n(466)]=s,this.on(n(446),(t,e)=>{const i=n;this[i(453)](i(438),e)}),this.on(n(419),(t,e)=>{const i=n;this[i(453)](i(428),e)}),this[n(467)](n(457),!1),this[n(440)]({tag:n(450),attributes:{class:["ck",n(437),n(416),n(421)]},children:[new xo(t),{tag:n(450),attributes:{class:["ck",n(441),r.if(n(457),n(464),t=>!t)]},children:this[n(468)]}]})}[Ao(426)](){const t=Ao;super[t(426)]();for(const e of this[t(443)])this[t(463)](e);this[t(443)].on(t(430),(e,i)=>{this[t(463)](i)}),this[t(443)].on(t(433),(e,i)=>{this[t(444)](i)})}get[Ao(451)](){const t=Ao;return this[t(468)][t(447)](e=>e[t(451)][t(447)](t=>t))[t(432)]()}[Ao(434)](t){const e=Ao;for(const i of this[e(451)])t&&t.id===i.id?i[e(446)]():i[e(415)]()}[Ao(455)](t){const e=Ao;for(const i of this[e(451)])t[e(460)](({id:t})=>t===i.id)?i[e(424)]():i[e(459)]()}[Ao(463)](t){const e=Ao,i=po(t[e(436)],this[e(423)][e(420)])[e(461)];let s=this[e(468)][e(427)](0);s&&s[e(461)][e(439)]()===i[e(439)]()||(s=new _o(this[e(423)],i,this[e(435)],this[e(466)]),this[e(468)][e(430)](s)),s[e(465)](t)}[Ao(444)](t){const e=Ao,i=po(t[e(436)],this[e(423)][e(420)])[e(461)];this[e(448)](i)[e(431)](t)}[Ao(448)](t){const e=Ao;return this[e(468)][e(422)](i=>i[e(461)][e(439)]()===t[e(439)]())}}function Vo(){const t=["selectRevision","_revisionActions","createdAt","ck-reset","revisionSelected","getTime","setTemplate","ck-revision-history-sidebar__timeline","1523874qBIsgz","_revisions","_removeRevision","7615iLdrMh","select","map","_getTimePeriodViewByStartDate","14wJUpRY","div","revisionViews","5823587PGVHMC","fire","1524GOPBsE","highlightRevisions","delegate","isEnabled","14wzqvaR","unhighlight","some","startDate","bindTemplate","_addRevision","ck-disabled","addRevision","_requireRevisionName","set","timePeriodViews","1680520MOtdES","createCollection","deselect","ck-rounded-corners","82090eOQvxS","71265ZZCTeb","setName","uiLanguage","ck-revision-history-sidebar","find","locale","highlight","477lACJDU","render","get","revisionSetName","833328vPpSEy","add","removeRevision","flat","remove"];return(Vo=function(){return t})()}function Eo(){const t=["defaultRevisionActions","render","map","getEarlierVisibleRevision","get","appendChild","_handleDiffChange","isOfficialPlugin","editor","locale","_sidebarView","compareAgainstSelected","bind","getIndex","select","8ujuJBw","_handleEditorDataReady","focus","_revisionsRepository","revisionSelected","162508WSfXaI","3ZTIqFR","diff","plugins","restoreRevision","Name this revision","RevisionsSidebar","change:diff","1529157WdaSCP","init","revisionHistory.revisionActions","_revisionViewer","_handleRevisionSelected","823218GjTPRe","highlightRevisions","length","config","revisionHistory.viewerSidebarContainer","string","_createRevisionActions","timePeriodViews","_revisions","3809550xUNUpo","revisionSetName","requires","assign","_handleRevisionSetName","10riDZnz","restoreRevisionCallback","nameRevision","ready","Restore this revision","isVisible","125253yAYumP","availableRevisionActions","getLaterVisibleRevision","action","Compare against selected","remove","8521051yFPjHn","revisionHistory","isSelected","selectRevision","getRevisionsInDiff","data","destroy","isEnabled","isPremiumPlugin","revisionViews","newRevisionId","compare","isReady","pluginName","6KHmQNu","repository","getRevision","add","name","1206855mzuCOw","fieldView","setName","revisionHistory.requireRevisionName","listenTo","element"];return(Eo=function(){return t})()}const Co=Fo;function Fo(t,e){const i=Eo();return(Fo=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(248604===parseInt(e(398))/1*(-parseInt(e(418))/2)+parseInt(e(450))/3*(parseInt(e(449))/4)+-parseInt(e(392))/5*(-parseInt(e(462))/6)+-parseInt(e(457))/7+-parseInt(e(444))/8*(-parseInt(e(423))/9)+-parseInt(e(387))/10+parseInt(e(404))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Po extends G.Plugin{[Co(460)];[Co(447)];[Co(439)];static[Co(429)]=[Co(440),Co(453),Co(394)];static[Co(399)]=function(){const t=Co;return{compareAgainstSelected:{name:t(402),action:({plugins:e},i)=>{const s=t,n=e[s(433)](ce),r=n[s(419)];let o=n[s(451)][s(414)],a=i.id;r[s(442)](o)>r[s(442)](a)&&([o,a]=[a,o]),n[s(415)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(433)](ce);return!(n[s(419)][s(408)](n[s(451)])[s(464)]>2||i[s(406)])}},restoreRevision:{name:t(396),action:(e,{id:i})=>{const s=t;e[s(465)][s(433)](s(405))[s(393)](i)},isVisible:({plugins:e},i)=>!!e[t(433)](ce)[t(419)][t(400)](i.id)},nameRevision:{name:t(454),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(433)](ce),o=r[n(419)][n(432)](i);r[n(415)](i,o),s[n(446)](),s[n(424)][n(443)]()}}}}();static get[Co(417)](){return Co(455)}static get[Co(436)](){return!0}static get[Co(412)](){return!0}static get[Co(389)](){return[ce]}constructor(t){const e=Co;super(t),this[e(460)]=t[e(452)][e(433)](ce),this[e(447)]=this[e(460)][e(419)],this[e(439)]=null}[Co(458)](){const t=Co,e=this[t(447)][t(386)],i=this[t(384)](),s=this[t(437)][t(465)][t(433)](t(382));this[t(439)]=new Do(this[t(437)][t(438)],e,i,this[t(437)][t(465)][t(433)](t(426))),this[t(439)].on(t(448),this[t(461)][t(441)](this)),this[t(439)].on(t(388),this[t(391)][t(441)](this)),this[t(439)][t(441)](t(411)).to(this[t(460)]),this[t(439)][t(385)].on(t(421),(e,i)=>{const s=t;i[s(413)].on(s(421),(t,e)=>{const i=s;e[i(441)](i(411),i(416)).to(this[i(460)])})}),this[t(439)][t(430)](),this[t(427)](this[t(437)][t(409)],t(395),this[t(445)][t(441)](this)),this[t(427)](this[t(460)],t(456),this[t(435)][t(441)](this)),s[t(434)](this[t(439)][t(428)])}[Co(410)](){const t=Co;this[t(439)][t(428)][t(403)](),this[t(439)][t(410)]()}[Co(445)](){const t=Co,e=this[t(447)][t(420)](0);if(e){const i=this[t(447)][t(432)](e.id);this[t(460)][t(415)](e,i)}}[Co(461)](t,e){const i=Co,s=this[i(447)][i(420)](e.id),n=this[i(447)][i(432)](s.id);this[i(460)][i(415)](s,n)}[Co(391)](t,e){const i=Co;this[i(447)][i(420)](e.id)[i(425)](e[i(422)])}[Co(435)](t,e,i){const s=Co,n=this[s(447)][s(408)](i);n[s(464)]>2?(this[s(439)][s(463)](n),this[s(439)][s(407)](null)):(this[s(439)][s(463)]([]),this[s(439)][s(407)](n[0]))}[Co(384)](){const t=Co,e=this[t(437)],i=Po[t(399)],s=e[t(465)][t(433)](t(459))||Po[t(429)];if(s[t(464)])return s[t(431)](s=>{const n=t,r=n(383)==typeof s?Object[n(390)]({},i[s]):s;return r[n(401)]=r[n(401)][n(441)](this,e),r[n(397)]&&(r[n(397)]=r[n(397)][n(441)](this,e)),r})}}function Lo(){const t=["get","config","fillFromConfig","213414YgAMcy","930UsWVSW","destroy","109353SMNvTD","editing","900004jkHjNk","document","_view","_initToolbar","15389lZJhkN","32pYAccf","toolbar","stickyPanel","6720XVsXYc","editor","getRoot","view","isFocused","name","_toolbarConfig","_elementReplacer","isActive","render","replace","init","componentFactory","25074gzYXNV","ready","limiterElement","restore","viewportOffset","fire","bind","6lUTChK","editable","rootName","addToolbar","element","944930FpXjDx","attachDomRoot","focusTracker","setEditableElement","105aPjiGu","2309271LFpCdk","detachDomRoot","viewportTopOffset"];return(Lo=function(){return t})()}const jo=zo;function zo(t,e){const i=Lo();return(zo=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(422328===-parseInt(e(379))/1*(parseInt(e(360))/2)+parseInt(e(370))/3+parseInt(e(381))/4+-parseInt(e(369))/5*(parseInt(e(376))/6)+-parseInt(e(365))/7*(parseInt(e(386))/8)+-parseInt(e(402))/9*(-parseInt(e(377))/10)+-parseInt(e(385))/11*(-parseInt(e(389))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Wo extends _t.EditorUI{[jo(383)];[jo(395)];[jo(396)];get[jo(392)](){return this[jo(383)]}constructor(e,i){const s=jo;super(e),this[s(383)]=i,this[s(395)]=(0,_t.normalizeToolbarConfig)(e[s(374)][s(373)](s(387))),this[s(396)]=new t.ElementReplacer}get[jo(364)](){const t=jo;return this[t(392)][t(364)]}[jo(400)](t){const e=jo,i=this[e(390)],s=this[e(392)],n=i[e(380)][e(392)],r=s[e(361)],o=n[e(382)][e(391)]();r[e(394)]=o[e(362)],s[e(398)]();const a=r[e(364)];this[e(368)](r[e(394)],a),s[e(361)][e(359)](e(393)).to(this[e(367)]),n[e(366)](a),this[e(396)][e(399)](t,this[e(364)]),this[e(384)](),this[e(407)](e(403))}[jo(378)](){const t=jo;super[t(378)]();const e=this[t(392)],i=this[t(390)][t(380)][t(392)];this[t(396)][t(405)](),i[t(371)](e[t(361)][t(394)]),e[t(378)]()}[jo(384)](){const t=jo,e=this[t(392)];e[t(388)][t(359)](t(397)).to(this[t(367)],t(393)),e[t(388)][t(404)]=e[t(364)],e[t(388)][t(359)](t(372)).to(this,t(406),({top:t})=>t),e[t(387)][t(375)](this[t(395)],this[t(401)]),this[t(363)](e[t(387)])}}var Uo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=At(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();St()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;var Zo=qo;function qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=295]})(t,e)}function $o(){var t=["editable","_editable","3933jZZnuk","main","top","render","20386TQOHQe","2611815YFeBdg","683213oViEbM","114sGRsdD","2392972EEdWYX","content","toolbar","stickyPanel","453492wYOOzo","4629597sQDLnb","shouldToolbarGroupWhenFull","add","6032kqpBmc"];return($o=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(417272===-parseInt(e(296))/1+parseInt(e(313))/2*(parseInt(e(297))/3)+parseInt(e(298))/4+parseInt(e(295))/5+-parseInt(e(302))/6+-parseInt(e(303))/7+-parseInt(e(306))/8*(-parseInt(e(309))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Bo extends _t.BoxedEditorUIView{[Zo(308)];[Zo(301)];[Zo(300)];get[Zo(307)](){return this[Zo(308)]}constructor(t,e,i={}){var s=Zo;super(t),this[s(301)]=new _t.StickyPanelView(t),this[s(300)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(304)]}),this[s(308)]=new _t.InlineEditableUIView(t,e)}[Zo(312)](){var t=Zo;super[t(312)](),this[t(301)][t(299)][t(305)](this[t(300)]),this[t(311)][t(305)](this[t(301)]),this[t(310)][t(305)](this[t(307)])}}const Yo=Jo;!function(t){const e=Jo,i=t();for(;;)try{if(926627===parseInt(e(274))/1*(parseInt(e(279))/2)+-parseInt(e(288))/3*(-parseInt(e(286))/4)+-parseInt(e(280))/5*(parseInt(e(283))/6)+-parseInt(e(282))/7+-parseInt(e(289))/8+parseInt(e(299))/9*(-parseInt(e(294))/10)+parseInt(e(290))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Go extends((0,G.ElementApiMixin)(G.Editor)){[Yo(275)];get ui(){return this[Yo(275)]}constructor(t,e){const i=Yo;super(e),this[i(292)]=t,this[i(296)][i(297)][i(291)]();const s=new Bo(this[i(278)],this[i(301)][i(284)],{shouldToolbarGroupWhenFull:!0});this[i(275)]=new Wo(this,s)}[Yo(281)](){const t=Yo;return this[t(273)](),this.ui[t(281)](),super[t(281)]()}static async[Yo(285)](t,e){const i=Yo,s=new this(t,e);return await s[i(300)](),await s.ui[i(287)](t),await s[i(277)][i(287)](s[i(276)][i(293)](i(298))||""),s[i(302)](i(295)),s}}function Jo(t,e){const i=Xo();return(Jo=function(t,e){return i[t-=273]})(t,e)}function Xo(){const t=["2EYlWyI","_ui","config","data","locale","261328aDprbr","167950pmaqoz","destroy","11040148Yqqheb","138oTEIis","view","create","197476LIudiB","init","63PNrByB","5233152eIkmMy","33989296bCIqaj","createRoot","sourceElement","get","2287540VJZWFn","ready","model","document","initialData","18XTKOsT","initPlugins","editing","fire","updateSourceElement"];return(Xo=function(){return t})()}function Ko(){const t=["getRevisionRootsAttributes","translations","adapter","toolbar","isOpen","parse","numeric","roots","revisionHistory.closeRevisionViewerCallback","restoreRevision","users","requires","createRangeIn","display","define","map","enableReadOnlyMode","enqueueChange","createdAt","set","restrictedEditingException","markers","commands","1176710gVMDzc","toVersion","destroy","revisionHistory","_enhanceCloseRevisionViewerCallback","style","loadRevisionData","indexOf","_update","then","25202LdUZau","plugins","saveRevision","addUser","toLocaleDateString","RevisionTracker","exitToEditing","RestrictedEditingMode","RevisionHistory","join","Dialog","addRevisionData","revisionHistory.editorContainer","Restored","includes","create","getRevisions","catch","lazyRoots","addRoot","_getRevisionViewerEditorConfig","RevisionHistoryUtils","isEnabled","Users","Autosave","_recalculatePageBreaks","get","result","keys","5261085EsMmyP","bind","element","toJSON","removeMarker","_viewerEditor","detachRoot","fromCharCode","block","getMarkersGroup","14Ijymrq","setSelection","setAttribute","disableReadOnlyMode","DocumentOutlineUI","removeSelectionAttribute","revisionHistory.restoreRevisionCallback","RevisionsRepository","insert","init","261096JKJOKZ","remove","locale","document","isPremiumPlugin","long","from","RevisionViewerIntegration","PaginationLookup","selection","fromVersion","_closeRevisionViewer","rootName","getUser","1002648aZnskC","repository","closeRevisionViewerCallback","revisionHistory.requireRevisionName","refreshVisibility","save","isOfficialPlugin","name","$graveyard","refreshPositioning","RevisionHistoryUI","revision-history-viewer-opened","view","RevisionViewer","_restoreRevision","removeAttribute","getAttributeKeys","pluginName","getRoot","revisionHistory.showRevisionViewerCallback","_cleanUp","revisionHistory.viewerContainer","uiLanguage","DocumentOutline","change","getRevisionDocumentData","isRevisionViewerOpen","5OCtbIO","editor","1303696HXDyya","update","none","isAttached","showRevisionViewerCallback","getRevision","end","model","revision-history-missing-configuration","isReadOnly","config","hide","creator","Annotations","data","error","toLocaleTimeString","_enhanceShowRevisionViewerCallback","changesNavigation","_showRevisionViewer","push","isReady","isAnonymous","14704mGGDOr","has","revisionHistory.viewerEditorElement"];return(Ko=function(){return t})()}const Qo=ta;function ta(t,e){const i=Ko();return(ta=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(164160===parseInt(e(529))/1*(-parseInt(e(590))/2)+parseInt(e(488))/3+parseInt(e(531))/4+parseInt(e(580))/5+parseInt(e(502))/6+parseInt(e(629))/7*(-parseInt(e(554))/8)+-parseInt(e(619))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);const ea=[Qo(512),Qo(597)];class ia extends G.Plugin{[Qo(617)];static get[Qo(519)](){return Qo(495)}static get[Qo(508)](){return!0}static get[Qo(492)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(572)](t=>String[e(626)](t))[e(599)]("")}super(t),this[e(617)]=e(537),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(624)];static get[Qo(519)](){return Qo(598)}static get[Qo(508)](){return!0}static get[Qo(492)](){return!0}static get[Qo(568)](){return[mt,Zt]}constructor(e){const i=Qo;if(super(e),!this[i(530)][i(541)][i(616)](i(583)))throw new t.CKEditorError(i(539),this);this[i(624)]=null,this[i(576)](i(528),!1),this[i(530)][i(541)][i(571)](i(521),t=>this[i(550)]({...t,translations:this[i(530)][i(490)][i(558)]})),this[i(530)][i(541)][i(571)](i(565),t=>this[i(499)](t)),this[i(530)][i(541)][i(571)](i(484),t=>this[i(516)](t)),this[i(530)][i(541)][i(571)](i(505),!1),this[i(548)](),this[i(584)]()}set[Qo(559)](t){const e=Qo;this[e(530)][e(591)][e(616)](e(595))[e(559)]=t}get[Qo(559)](){const t=Qo;return this[t(530)][t(591)][t(616)](t(595))[t(559)]}[Qo(601)](t){const e=Qo;return this[e(530)][e(591)][e(616)](e(595))[e(601)](t)}[Qo(536)](t){const e=Qo;return this[e(530)][e(591)][e(616)](e(485))[e(536)](t)}[Qo(606)](t){const e=Qo;return this[e(530)][e(591)][e(616)](e(485))[e(606)](t||{toJSON:!1})}[Qo(610)](){const e=Qo,i=this[e(530)],s=(0,J.sanitizeEditorConfig)(i,ea),n=i[e(591)][e(616)](e(595)),r=i[e(591)][e(616)](e(613))[e(567)];return s[e(560)]=[e(596),e(566),e(549)],delete s[e(608)],s[e(591)][e(551)](ia,ce,xe,class extends G.Plugin{static get[e(568)](){return[ce,e(613)]}[e(487)](){const s=e,o=this[s(530)][s(591)][s(616)](s(613));for(const t of r)t[s(553)]||o[s(501)](t.id)||o[s(593)](t);const a=n[s(503)][s(606)]();let c=null;const u=this[s(530)][s(591)][s(616)](s(515));u[s(559)]=n[s(559)],u[s(620)](s(612)).to(n),this[s(530)][s(579)][s(616)](s(566))[s(620)](s(612)).to(i,s(540),t=>!t);for(const e of a){const i=null===e[s(543)];if(i&&e[s(581)]===e[s(498)])continue;const r=e[s(622)]();u[s(601)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(588)](r,o);else if(!o){const e=a[u(622)]();e.id=(0,t.uid)(),n[u(592)](e,a[u(581)])[u(589)](t=>{c=t})}}else e[u(588)](r,o)})}}},Po),s}[Qo(548)](){const t=Qo,e=this[t(530)][t(541)][t(616)](t(583))[t(535)];this[t(530)][t(541)][t(576)](t(521),async()=>{const i=t;this[i(530)][i(573)](i(513));const s=this[i(530)][i(591)][i(616)](i(595));if(this[i(530)][i(591)][i(555)](i(614))){const t=this[i(530)][i(591)][i(616)](i(614));await t[i(507)]()}else await s[i(532)]();if(this[i(530)][i(591)][i(555)](i(496))&&this[i(530)][i(591)][i(616)](i(496))[i(615)](),this[i(530)][i(591)][i(555)](i(600))){const t=this[i(530)][i(591)][i(616)](i(600));t[i(561)]&&t[i(542)]()}const n=this[i(610)]();return e(n)[i(589)](t=>{const e=i;return this[e(624)]=t,this[e(530)][e(591)][e(555)](e(544))&&this[e(530)][e(591)][e(616)](e(544))[e(506)](),this[e(530)][e(591)][e(555)](e(525))&&(this[e(530)][e(591)][e(616)](e(633))[e(514)][e(621)][e(585)][e(570)]=e(533)),t})[i(607)](t=>(console[i(546)](t),this[i(530)][i(632)](i(513)),null))})}[Qo(584)](){const t=Qo,e=this[t(530)][t(541)][t(616)](t(583))[t(504)];this[t(530)][t(541)][t(576)](t(565),()=>(this[t(530)][t(591)][t(555)](t(496))&&this[t(530)][t(591)][t(616)](t(496))[t(615)](),this[t(530)][t(591)][t(555)](t(525))&&(this[t(530)][t(591)][t(616)](t(633))[t(514)][t(621)][t(585)][t(570)]=""),this[t(624)][t(591)][t(616)](t(515))[t(522)](),e(this[t(624)])[t(589)](()=>{const e=t;if(this[e(530)][e(632)](e(513)),this[e(624)]=null,this[e(530)][e(591)][e(555)](e(544))){const t=this[e(530)][e(591)][e(616)](e(544));t[e(506)](),t[e(511)]()}})))}[Qo(550)](t){const e=Qo,i=this[e(530)][e(541)][e(616)](e(602)),s=this[e(530)][e(541)][e(616)](e(523)),n=this[e(530)][e(541)][e(616)](e(556));return Go[e(605)](n,t)[e(589)](t=>(s[e(585)][e(570)]=e(627),i[e(585)][e(570)]=e(533),this[e(528)]=!0,t))}[Qo(499)](t){const e=Qo,i=this[e(530)][e(541)][e(616)](e(602));return this[e(530)][e(541)][e(616)](e(523))[e(585)][e(570)]=e(533),i[e(585)][e(570)]="",this[e(528)]=!1,t[e(582)]()}async[Qo(516)](t){const e=Qo,i=this[e(530)],s=this[e(624)][e(591)][e(616)](e(515)),n=i[e(591)][e(616)](e(595)),r=i[e(591)][e(616)](e(611)),o=s[e(503)][e(536)](t);let a,c,u;try{await r[e(586)](o,this[e(559)]),a=r[e(527)](o),c=r[e(557)](o)}catch(t){return void console[e(546)](t)}i[e(538)][e(526)](t=>{const s=e;for(const e of Array[s(494)](i[s(538)][s(578)][s(628)](s(577))))t[s(623)](e)}),s[e(552)]=!1,i[e(538)][e(574)](t=>{const s=e;t[s(630)](null),t[s(483)](i[s(538)][s(491)][s(497)][s(518)]());const n=Object[s(618)](a);for(const e of i[s(538)][s(491)][s(564)])s(510)!=e[s(500)]&&e[s(534)]()&&!n[s(604)](e[s(500)])&&t[s(625)](e);for(const e of n){let n=i[s(538)][s(491)][s(520)](e);n&&n[s(534)]()||(n=t[s(609)](e));const r=c[e],o=Object[s(618)](r),u=a[e];for(const e of n[s(518)]())o[s(604)](e)||t[s(517)](e,n);for(const i of o)t[s(631)](i,c[e][i],n);t[s(489)](t[s(569)](n)),t[s(486)](i[s(545)][s(562)](u,n),n,0)}});const l=ot(i[e(490)],e(603));return u=o[e(509)]?-1==o[e(509)][e(587)](l)?l+": "+o[e(509)]:o[e(509)]:l+": "+o[e(575)][e(594)](i[e(490)][e(524)],{month:e(493),day:e(563)})+", "+o[e(575)][e(547)](i[e(490)][e(524)],{hour:e(563),minute:e(563)}),await n[e(592)]({name:u}),s[e(552)]=!0,i[e(541)][e(616)](e(583))[e(504)]()}}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=396]})(t,e)}function ra(){var t=["44532LjHAsq","46LBIKXW","2457495XPvnlm","1924luZuwJ","4izivOh","1500XRWEEG","2904xiFZFF","5021022bHikCq","846529eRVYHm","121956BvuRrg","1096vrVtpF","7snrwQk","56916DgOidg"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(468821===parseInt(e(397))/1+-parseInt(e(403))/2*(-parseInt(e(401))/3)+-parseInt(e(406))/4*(-parseInt(e(404))/5)+parseInt(e(396))/6*(parseInt(e(400))/7)+parseInt(e(399))/8*(-parseInt(e(402))/9)+parseInt(e(407))/10*(parseInt(e(408))/11)+-parseInt(e(398))/12*(parseInt(e(405))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|