@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250505.0 → 0.0.0-nightly-20250507.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 +6 -6
- 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 +1 -1
- 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 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:0;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,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>B,RevisionsSidebar:()=>Ro});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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;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)}const V=/^(?:0|[1-9]\d*)$/;function D(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)}}function E(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 M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(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 j(t,e){const i=F(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}}const L=z;function P(){const t=["3204028TImHFT","fire","diffData","setName","10YfndrN","_update","36138ITeXnp","name","7991770gssrqo","map","1455312MgVZmL","removeAttribute","fromVersion","toJSON","set","authors","setAttribute","creatorId","toVersion","3163842rOhXrF","5TmLWJH","476kfzZEi","970323SHHAGQ","authorsIds","120562dLriLC","attributes","model","creator","createdAt"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=475]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(688141===parseInt(e(484))/1*(parseInt(e(493))/2)+parseInt(e(482))/3+-parseInt(e(489))/4*(-parseInt(e(480))/5)+parseInt(e(495))/6*(-parseInt(e(481))/7)+-parseInt(e(499))/8+parseInt(e(479))/9+-parseInt(e(497))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(487)];[L(475)];[L(491)];[L(478)];[L(501)];[L(486)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(487)]=e[i(487)]||null,this[i(475)]=e[i(475)]||[],this[i(491)]=e[i(491)]||null,this[i(478)]=e[i(478)]||0,this[i(501)]=e[i(501)]||0,this[i(503)](i(496),e[i(496)]||""),this[i(503)](i(488),e[i(488)]||new Date),this[i(503)](i(485),e[i(485)]||{})}[L(492)](t){this[L(494)]({name:t})}[L(476)](t,e){const i=L,s=A(this[i(485)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(494)]({attributes:s})}[L(500)](t){const e=L,i=A(this[e(485)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(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]&&M(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(494)]({attributes:i})}[L(494)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(496),i(488),i(491),i(475),i(485),i(478),i(501),i(477)];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(475)]&&(n[i(483)]=n[i(475)][i(498)]((t=>t.id)),delete n[i(475)]),this[i(490)](i(494),n,e))}[L(502)](){const t=L;return{id:this.id,name:this[t(496)],creatorId:this[t(487)]?this[t(487)].id:null,authorsIds:this[t(475)][t(498)]((t=>t.id)),diffData:this[t(491)],createdAt:this[t(488)],attributes:this[t(485)],fromVersion:this[t(501)],toVersion:this[t(478)]}}}var H=i(782),U=i(211),Z=i(783);const q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=295]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(437709===-parseInt(e(334))/1*(parseInt(e(329))/2)+-parseInt(e(315))/3*(parseInt(e(337))/4)+parseInt(e(317))/5*(-parseInt(e(325))/6)+parseInt(e(332))/7*(parseInt(e(331))/8)+-parseInt(e(348))/9+-parseInt(e(316))/10*(-parseInt(e(330))/11)+parseInt(e(347))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends H.Plugin{[q(311)];static get[q(338)](){return[U.Users]}static get[q(349)](){return q(323)}static get[q(324)](){return!0}static get[q(303)](){return!0}get[q(319)](){const t=q;return this[t(311)][t(319)]}constructor(e){const i=q;super(e),this[i(311)]=new t.Collection}[q(308)](){!async function(e){const i=k([113,70,104,120,97,76,80,66,112,115,117,82,74,110,53,85,56,81,103,111,106,98,48,68,116,50,109,114,57,78,51,72,118,73,54,88,67,122,83,105,65,52,89,75,108,102,119,90,100,69,71,99,79,84,77,107,87,55,86,49,121,101]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(343)](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([113]);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=$;return t[e(350)]((t=>String[e(312)](t)))[e(335)]("")}!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(t){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:1746403200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(302)]);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([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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(304)](t){const e=q,i=this[e(295)][e(321)][e(345)](e(346));return new W({id:t.id,name:t[e(322)],creator:t[e(298)]?i[e(307)](t[e(298)]):null,diffData:t[e(326)]||t[e(314)],authors:t[e(336)][e(350)]((t=>i[e(307)](t))),createdAt:new Date(t[e(301)]),attributes:t[e(299)],fromVersion:t[e(328)],toVersion:t[e(300)]})}[q(327)](t,e=0){const i=q;this[i(311)][i(341)](t,e)}[q(318)](t){const e=q;return this[e(311)][e(345)](t)}[q(305)](t={toJSON:!1}){const e=q,i=Array[e(310)](this[e(311)]);return i[e(340)](),t[e(351)]?i[e(350)]((t=>t[e(351)]())):i}[q(297)](t){const e=q;return this[e(311)][e(297)](t)}[q(320)](t){const e=q,[,i]=this[e(313)](t,{direction:e(344)});return i}[q(342)](t){const e=q,[,i]=this[e(313)](t,{direction:e(333)});return i}[q(309)](t){const e=q,i=[];for(const s of this[e(313)](t[e(296)]))if(i[e(306)](s),s.id===t[e(339)])break;return i}*[q(313)](t,{direction:e=q(344),filter:i=()=>!0}={}){const s=q,n=s(344)===e?1:-1;let r=this[s(311)][s(345)](t),o=this[s(297)](r);for(yield r;r;){if(o+=n,r=this[s(318)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["diffData","addRevision","fromVersion","1028594FzXwWe","22CicRqV","40ISnOqx","70000kZPcev","later","1XNhVsh","join","authorsIds","16dvUTeQ","requires","oldRevisionId","reverse","add","getLaterVisibleRevision","isNaN","earlier","get","Users","16772400ZRzfNq","775584bNjKbd","pluginName","map","toJSON","editor","newRevisionId","getIndex","creatorId","attributes","toVersion","createdAt","href","isPremiumPlugin","createRevision","getRevisions","push","getUser","afterInit","getRevisionsInDiff","from","_revisions","fromCharCode","getRevisionsIterator","data","248352NMCPEh","2158940prEIkz","2550850ExiHZK","getRevision","length","getEarlierVisibleRevision","plugins","name","RevisionsRepository","isOfficialPlugin","6purEme"];return(Y=function(){return t})()}const J=K;function G(){const t=["useFillerType","_getTypeCharForViewElement","10705qiAjed","marked","editing","createElement","isPremiumPlugin","parse","attributesAfter","_getViewFromDiffObj","revision-start","_makeModelFromViewString","document","619606yUaNIK","11173912uLXjyE","type","4594188eHnTpy","RevisionHistoryUtils","insertions","5xKPOPY","data","241065EOslVH","map","_appendChild","isOfficialPlugin","_viewClassToTypeChar","div","render","collaboration.channelId","revision-end","pluginName","htmlProcessor","_removeRevisionMarkers","getRevisionDocumentData","name","getRevision","processor","editor","27UPdKBK","view","domConverter","7cOIqvB","fillerOffset","viewChildrenToDom","getRevisionRootsAttributes","domDocument","startsWith","912orufJj","get","children","diffData","constructor","from","getFillerOffset","_setCustomProperty","domChildrenToView","attachChange","customProperties","length","_typeCharToViewClass","filter","toModel","loadRevisionData","forEach","default","222582yRaTIj","childNodes","string","toData","attributes","3575510rAUNZk","isAttached","data-revision-","append","innerHTML","config","276wsCyNo"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(924240===-parseInt(e(481))/1*(-parseInt(e(475))/2)+-parseInt(e(450))/3+-parseInt(e(509))/4*(parseInt(e(464))/5)+parseInt(e(478))/6+parseInt(e(503))/7*(-parseInt(e(476))/8)+-parseInt(e(500))/9*(-parseInt(e(455))/10)+parseInt(e(483))/11*(-parseInt(e(461))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends H.Plugin{static get[J(492)](){return J(479)}static get[J(486)](){return!0}static get[J(468)](){return!0}[J(487)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(521)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(524)](t,e){const i=J;if(t[i(512)]||!e)return;const s=this[i(499)][i(460)][i(510)](i(490)),n=await e[i(497)]({channelId:s,revisionId:t.id});t[i(512)]=n[i(512)]}[J(495)](t){const e=J,i={};for(const s in t[e(512)]){if(t[e(512)][s][e(518)]&&!t[e(512)][s][e(518)][e(456)])continue;const n=this[e(494)](JSON[e(469)](t[e(512)][s][e(480)])),r=this[e(499)][e(466)][e(501)][e(474)],o=new Z.ViewDocumentFragment(r,n[e(484)]((t=>this[e(471)](t,!1))));this[e(499)][e(482)][e(498)][e(462)](e(465)),i[s]=this[e(499)][e(482)][e(498)][e(453)](o),this[e(499)][e(482)][e(498)][e(462)](e(449))}return i}[J(506)](t){const e=J,i={};for(const s in t[e(512)])t[e(512)][s][e(518)]&&!t[e(512)][s][e(518)][e(456)]||(i[s]=t[e(512)][s][e(470)]||{});return i}[J(463)](t){const e=J;return this[e(487)][e(510)](t[e(513)])}[J(471)](t,e){const i=J,s=this[i(499)][i(466)][i(501)][i(474)];if(i(452)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(477)]||"r"==t[i(477)]?[]:t[i(511)][i(484)]((t=>this[i(471)](t,e)));const o=this[i(521)][i(510)](t[i(477)])||Z.ViewElement,a=this[i(499)][i(482)][i(493)][i(502)];if(n=new o(s,t[i(496)],t[i(454)],r),"u"==t[i(477)]&&t[i(511)][0]){const r=t[i(511)][0];if(n[i(489)]=function(t){const e=i,s=t[e(467)](e(488));return s[e(459)]=r,s[e(451)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(485)](n);const e=Array[i(514)](a[i(505)](t,{bind:!1})),r=a[i(507)][i(467)](i(488));r[i(458)](...e),n=Array[i(514)](a[i(517)](r))[0]}}else if("r"==t[i(477)]&&t[i(511)][0]){const r=t[i(511)][0];if(n[i(489)]=function(t){t[i(459)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(485)](n);const e=Array[i(514)](a[i(505)](t,{bind:!1})),r=a[i(507)][i(467)](i(488));r[i(458)](...e);const o=Array[i(514)](a[i(517)](r));o[i(520)]>1?n[i(485)](o):n=o[0]}}if(t[i(519)])for(const[e,s]of t[i(519)])n[i(516)](e,s);const c=void 0===t[i(504)]?null:t[i(504)];return null!==c&&(n[i(515)]=()=>c),n}}[J(473)](t){const e=J,i=JSON[e(469)](t),s=this[e(499)][e(466)][e(501)][e(474)],n=new Z.ViewDocumentFragment(s,i[e(484)]((t=>this[e(471)](t,!0))));return this[e(499)][e(482)][e(523)](n)}[J(494)](t){const e=J;return(t=t[e(522)]((t=>!t[e(496)]||e(472)!==t[e(496)]&&e(491)!==t[e(496)])))[e(448)]((t=>{const i=e;i(452)!=typeof t&&(t[i(511)]=this[i(494)](t[i(511)]),t[i(454)]=t[i(454)][i(522)]((t=>!t[0][i(508)](i(457)))))})),t}}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}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}var A,V;const D=(s=s??new Map).get(t),E=s.get(i);if(null!=D&&null!=E)return D===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)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["getChildren","childCount","getUser","attributesAfter","_createInitialRevision","string","_handleMarkerOperation","createPositionFromPath","update","_getFromVersion","_baseRoots","filter","isAttached","RevisionHistoryUtils","_insertChild","end","_touched","isPremiumPlugin","locale","303010arbpDW","_copyMarkers","$comment","getRevisions","editor-initial-data-replaced-with-revision-data","_authorId","RevisionTracker","_transformMarkers","_getTypeCharForViewElement","text","length","source","path","addRoot","getNodeByPath","_removePendingAction","stickiness","graveyardPosition","evaluationLimit","position","setSource","removeRootAttribute","splitPosition","_makeRevision","_diffRoots","RealTimeCollaborationClient","8628wmofmg","key","conversion","userId","rootName","init","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","markerToData","_execute","rootsAttributes","getData","nodeAfter","elementStart","changeRootAttribute","uiElement","attributesBefore","finally","vid_start","range","_touchedMarkers","loadRevisionData","getAttribute","createPositionAt","_baseRootsAttributes","revision","getCustomProperties","revisionHistoryLicenseKeyValid","trialLimit","parent","delete","set","affectsData","find","getWalker","_loadState","addRevision","_handleSplitOperation","isOfficialPlugin","version","_touchedRoots","_markers","dataToMarker","keys","insertion","getMovedRangeStart","newValue","name","some","element","fillerOffset","_removeMetaData","insertionPosition","createRevision","_handleOperation","domainLimit","_isInit","_showLicenseError","reInit","770RLwUgL","_getPreviousFrom","markers","_source","_savedMetaData","_revisionId","_loadedStateData","deletion","revisionHistoryLicenseKeyTrialLimit","attachChange","createPositionAfter","upcast","createRange","isAdd","Initial revision","_licenseKeyCheckInterval","howMany","currentRevision","slice","hasContent","45PgkmPd","918XXStTZ","isEqual","_createCurrentRevision","_prepareViewToSave","max","vid","getRoot","licenseKey","fromEntries","revision:","innerHTML","adapter","baseVersion","split","htmlProcessor","getRevisionRootsAttributes","938154gObzci","documentFragment","_makeModelFromViewString","revisionHistoryLicenseKeyUsageLimit","_diffRootsAttributes","_findInsertionIndex","from","authorsIds","5202MImLaP","Empty document","offsetSize","domConverter","afterInit","revisionHistoryLicenseKeyNotAllowed","add","saveRevision","outerHTML","get","render","creatorId","usageLimit","_appendChild","shift","offset","_baseIdsRoots","_handleInsertOperation","type","clone","dataDowncast","getFillerOffset","_getViewJson","ready","getCurrentRevisionId","root","getOperation","keepParagraph","_bufferedUpdates","_cloneOperation","children","getRevision","push","initial","_initialRevisionId","tableCell","getRange","fromVersion","remove","_applyOperations","document","46328TNtyDp","includes","_startingVersion","_setAttribute","_lastFrom","startsWith","model","targetPosition","$graveyard","_setConversion","detachRoot","_replaceEditorDataWithRevisionData","getRootNames","toView","_fixOperation","_pendingAction","move","values","rawElement","sourcePosition","sendBufferedUpdates","authors","RevisionsRepository","Users","_operations","pluginName","paragraph","createPositionBefore","_processRootBeforeSave","_idsRoots","sort","_fixPosition","data","updateRevisions","createdAt","size","for","_fixRange","editor","getAttributes","start","stringify","NEGATIVE_INFINITY","createElement","_reset","addRootAttribute","setRevisionData","has","revisionHistoryLicenseKeyDomainLimit","_isAttached","_handleRootOperation","_isPendingUpdate","_clone","reinsert","_revisionDataBuilder","insertions","buildRevisionData","creator","customProperties","_utils","getTime","PENDING_ACTION_REVISION_HISTORY","_getBaseVids","clear","getRevisionDocumentData","isEnabled","trim","revisionHistoryLicenseKeyInvalid","PendingActions","291632eMXSOi","_addPendingAction","getOperations","item","plugins","_handleMergeOperation","insert","repository","previousPosition","_lastTo","reverse","nodes","getTransformedByOperation","287298RbSNRT","_makeIdsRoot","expired","_saveMetaData","bind","loadState","_createFromRanges","newRange","_calculateMetaData","diffData","_markChanges","destroy","elementEnd","define","domDocument","collaboration.channelId","history","featureNotAllowed","map","addRevisionData","getAncestors","revisionHistoryLicenseKeyExpired","isReady","requires","invalid","_getVidAttributeName","createRangeIn","_bufferUpdate","resolve","roots","oldRange","deletions","_generateTape","marker","_continueCurrentRevision","vid_end","revisionHistoryLicenseKeyEvaluationLimit","_startingRevisionId","_handleMoveOperation","initialData","then","RevisionHistory","merge","_getState","toVersion","_update","$text","getLatestVersion","getChild","config","getIndex"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(313188===parseInt(e(409))/1+-parseInt(e(396))/2+-parseInt(e(278))/3+parseInt(e(505))/4*(parseInt(e(261))/5)+-parseInt(e(286))/6*(parseInt(e(241))/7)+parseInt(e(327))/8*(parseInt(e(262))/9)+-parseInt(e(479))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends H.Plugin{[rt(269)];[rt(256)];[rt(258)]=null;[rt(403)];[rt(273)]=null;[rt(381)];[rt(244)];[rt(320)];[rt(314)];[rt(386)];[rt(342)];[rt(443)];[rt(329)];[rt(247)];static get[rt(352)](){return rt(485)}static get[rt(220)](){return!0}static get[rt(477)](){return!0}static get[rt(432)](){return[U.Users,B,X,H.PendingActions]}constructor(e){const i=rt;super(e),this[i(403)]=this[i(365)][i(400)][i(295)](i(349)),this[i(386)]=this[i(365)][i(400)][i(295)](i(473)),this[i(381)]=new ut(this[i(365)]),this[i(320)]=this[i(365)][i(458)][i(295)](i(424))||i(319),this[i(314)]=new Map,this[i(247)]=null;const s=(0,t.uid)();this[i(244)]={history:this[i(365)][i(333)][i(326)][i(425)],getLatestVersion:()=>Promise[i(437)](this[i(365)][i(333)][i(326)][i(221)]),getCurrentRevisionId:()=>s},this[i(213)](i(431),!1),this[i(213)](i(392),!0),this[i(213)](i(378),!1),this[i(365)][i(458)][i(422)](i(512),!0),this[i(365)][i(507)][i(363)](i(252))[i(224)]({view:i(207)})}[rt(510)](){const t=rt;this[t(336)](),this[t(365)][t(359)].on(t(309),(()=>{const e=t,i=this[e(403)][e(317)](0),s=i&&null===i[e(384)]?i:null;if(this[e(443)]=!!s&&this[e(365)][e(458)][e(295)](e(512)),this[e(365)][e(400)][e(374)](e(504))){const t=this[e(244)][e(310)](),n=this[e(403)][e(317)](t);if(n)this[e(329)]=n[e(323)],this[e(443)]=!1;else{const t=this[e(244)][e(425)][e(351)][e(215)]((t=>!t[e(238)])),n=t?t[e(274)]:this[e(244)][e(425)][e(221)];i?(i[e(453)]<n&&i[e(454)]({toVersion:n}),this[e(443)]?(this[e(244)][e(310)]=()=>s.id,this[e(329)]=s[e(323)]):(this[e(329)]=i[e(453)],this[e(443)]=!1)):(this[e(329)]=n,this[e(443)]=!1)}}else s&&(this[e(365)][e(333)][e(326)][e(425)][e(221)]=Math[e(266)](s[e(453)],this[e(365)][e(333)][e(326)][e(425)][e(221)]),s[e(323)]===s[e(453)]?(0!==s[e(323)]&&(this[e(244)][e(310)]=()=>s.id),this[e(443)]=!1):this[e(443)]&&(this[e(244)][e(310)]=()=>s.id,this[e(329)]=s[e(323)])),this[e(443)]||(this[e(329)]=this[e(365)][e(333)][e(326)][e(221)]);this[e(381)][e(510)](this[e(244)][e(425)]),this[e(464)](this[e(329)]),this[e(264)](this[e(329)]),this[e(273)]&&this[e(347)]()})),this[t(413)](t(431)).to(this,t(378),(t=>!t)),this[t(269)]=this[t(365)][t(458)][t(295)](t(269));const e=this[t(365)];this[t(256)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(209)==r||i(394)==r||i(430)==r||i(375)==r||i(291)==r||i(445)==r||i(249)==r||i(281)==r){delete e[n],s=r,clearInterval(this[i(256)]),this[i(256)]=void 0;break}}i(394)==s&&e[i(239)](i(433)),i(430)==s&&e[i(239)](i(411)),i(375)==s&&e[i(239)](i(237)),i(291)==s&&e[i(239)](i(426),i(450)),i(445)==s&&e[i(239)](i(497)),i(249)==s&&e[i(239)](i(210)),i(281)==s&&e[i(239)](i(298))}),1e3)}async[rt(290)](){const t=rt;if(this[t(403)][t(489)]>0){const e=this[t(403)][t(317)](0),i=await this[t(391)](e),s=await this[t(277)](e);this[t(338)](i,s)}}[rt(420)](){const t=rt;super[t(420)](),this[t(256)]&&clearInterval(this[t(256)])}[rt(499)](t){this[rt(244)]=t}async[rt(468)](){const t=rt,e=await this[t(244)][t(456)]();if(e>this[t(258)][t(453)]){await this[t(217)]();const i=this[t(383)]({revision:this[t(258)],to:e});i[t(348)]=i[t(285)][t(427)]((e=>this[t(365)][t(400)][t(295)](t(350))[t(462)](e))),this[t(258)][t(454)](i)}}async[rt(293)](e={},i=null){const s=rt,n=[];await this[s(217)](),this[s(443)]=!1,i>this[s(258)][s(453)]&&(i=null),null===i&&(i=await this[s(244)][s(456)]());const r=this[s(469)](i),o=this[s(383)]({from:r,to:i});if(this[s(258)][s(453)]<i){const t=this[s(383)]({revision:this[s(258)],from:i,to:i});t[s(348)]=[],t[s(285)]=[],t.id=this[s(258)].id,this[s(258)][s(454)](t,!0),delete t[s(348)],n[s(318)](t)}e[s(297)]=this[s(365)][s(400)][s(295)](s(350)).me.id,e[s(229)]=e[s(229)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(428)](e);n[s(318)](e);const c=this[s(403)][s(459)](a);if(0!==c){const t=this[s(403)][s(317)](c-1);if(t[s(323)]!==i){const r=this[s(381)][s(193)](i,t[s(453)]),o={id:t.id,diffData:r[s(418)],authorsIds:r[s(285)],authors:r[s(285)][s(427)]((t=>this[s(365)][s(400)][s(295)](s(350))[s(462)](t))),fromVersion:i};t===this[s(258)]&&(o[s(361)]=new Date(e[s(361)][s(387)]()+10)),t[s(454)](o,!0),delete o[s(348)],n[s(318)](o)}}if(this[s(273)]){for(const t of n)this[s(436)](t.id,t,!0);this[s(347)]()}return a}[rt(428)](t){const e=rt,i=this[e(403)][e(235)](t);return this[e(273)]&&i.on(e(454),((t,i,s)=>{const n=e;s||(this[n(436)](i.id,i,!0),this[n(347)]())})),this[e(403)][e(218)](i,this[e(283)](i)),i}async[rt(391)](t){const e=rt;return await this[e(386)][e(203)](t,this[e(273)]),this[e(386)][e(391)](t)}async[rt(277)](t){const e=rt;return await this[e(386)][e(203)](t,this[e(273)]),this[e(386)][e(277)](t)}[rt(347)](){const t=rt;if(0===this[t(314)][t(362)])return;if(this[t(378)])return;let e=Array[t(284)](this[t(314)][t(344)]());this[t(314)][t(390)]();for(let i=0;i<e[t(489)];i++){const s=e[i];let n=!1;for(const e of Object[t(225)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(471)]((t=>null!==t)),!e[t(489)])return;for(let i=0;i<e[t(489)];i++){const s=e[i];void 0!==s[t(323)]&&void 0===s[t(453)]&&(s[t(453)]=this[t(403)][t(317)](s.id)[t(453)]),void 0!==s[t(453)]&&void 0===s[t(323)]&&(s[t(323)]=this[t(403)][t(317)](s.id)[t(323)])}const i=this[t(365)][t(458)][t(295)](t(424));this[t(378)]=!0,this[t(397)](),this[t(273)][t(360)](e,i)[t(199)]((()=>{this[t(378)]=!1}))[t(449)]((e=>{const i=t;if(e)for(const t of e)this[i(373)]({id:t.id,createdAt:t[i(361)]});this[i(494)](),this[i(347)]()}))}[rt(383)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(323)],i=null!==i?i:t[s(453)];const n=this[s(381)][s(193)](e,i),r={diffData:n[s(418)],authorsIds:n[s(285)],fromVersion:e,toVersion:i};if(!t||i!==t[s(453)]){const t=i-1,e=this[s(244)][s(425)][s(312)](t);r[s(361)]=e&&e[s(361)]||new Date}if(this[s(247)]&&e===this[s(247)][s(323)])for(const t of this[s(247)][s(348)])r[s(285)][s(328)](t.id)||r[s(285)][s(318)](t.id);return r}[rt(436)](t,e,i){const s=rt;if(this[s(314)][s(374)](t)){const n=this[s(314)][s(295)](t);e=i?{...n,...e}:{...e,...n}}this[s(314)][s(213)](t,e)}[rt(373)](t){const e=rt,i=this[e(403)][e(317)](t.id);if(t[e(361)]&&(t[e(361)]=new Date(t[e(361)])),t[e(285)]){const i=this[e(365)][e(400)][e(295)](e(350));t[e(348)]=t[e(285)][e(427)]((t=>i[e(462)](t)))}i[e(454)](t,!0)}[rt(464)](t){const e=rt,i=this[e(403)][e(317)](this[e(403)][e(489)]-1);if(i)this[e(320)]=i.id;else{const i=!this[e(365)][e(333)][e(326)][e(438)][e(215)]((t=>this[e(365)][e(333)][e(260)](t))),s=this[e(365)][e(400)][e(295)](e(350)).me.id,n=Q(this[e(365)][e(478)],e(i?287:255));this[e(502)]({from:t,to:t,id:this[e(320)],name:n,creatorId:s})}}[rt(264)](t){const e=rt,i=this[e(244)][e(310)]();this[e(258)]=this[e(403)][e(317)](i),this[e(258)]||(this[e(258)]=this[e(502)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(217)](){const t=rt;this[t(443)]&&!this[t(247)]&&(await this[t(386)][t(203)](this[t(258)],this[t(273)]),this[t(381)][t(414)](this[t(258)]),this[t(247)]={fromVersion:this[t(258)][t(323)],authors:this[t(258)][t(348)][t(259)]()})}[rt(338)](e,i){const s=rt;let n=this[s(365)][s(458)][s(295)](s(448)),r=this[s(365)][s(458)][s(295)](s(515));if(void 0===n){n={};for(const t of this[s(365)][s(333)][s(326)][s(339)]())n[t]=""}if(s(465)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(365)][s(333)][s(326)][s(339)]())r[t]={}}let o=!1;const a=Object[s(225)](n),c=Object[s(225)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(393)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(225)](r[t])[s(489)]>0){o=!0;break}}o||(o=c[s(230)]((t=>!this[s(365)][s(333)][s(326)][s(268)](t)))),o&&(0,t.logWarning)(s(483),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(365)][s(458)][s(213)](s(448),e),this[s(365)][s(458)][s(213)](s(515),i)}[rt(397)](){const t=rt;if(!this[t(342)]){const e=this[t(365)][t(400)][t(295)](t(395));this[t(342)]=e[t(292)](Q(this[t(365)][t(478)],t(388)))}}[rt(494)](){const t=rt;this[t(342)]&&(this[t(365)][t(400)][t(295)](t(395))[t(324)](this[t(342)]),this[t(342)]=null)}[rt(283)](t){const e=rt,i=this[e(403)][e(482)]();i[e(406)]();let s=0;for(;s<i[e(489)];){const n=i[s];if(n===this[e(258)]){s++;continue}if(n.id===this[e(320)])break;const r=t[e(453)]-n[e(453)]||t[e(323)]-n[e(323)];if(r>0)break;if(r<0)s++;else{if(!t[e(384)]&&n[e(384)])break;if(n[e(384)]||!t[e(384)]){if(t[e(361)]>n[e(361)])break;s++}else s++}}return s}[rt(469)](t){const e=rt,i=this[e(403)][e(482)]();i[e(406)](),i[e(300)]();const s=i[e(215)]((i=>i[e(453)]<=t))[e(453)];return s<this[e(329)]?this[e(329)]:s}[rt(502)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(383)]({from:e,to:i});o[r(229)]=t,o[r(297)]=s,o.id=n;const a=this[r(428)](o);return this[r(273)]&&this[r(436)](o.id,o,!0),a}[rt(336)](){const t=rt;this[t(365)][t(507)][t(363)](t(306))[t(513)]({model:t(207)})}}class ut{[rt(365)];[rt(490)];[rt(245)];[rt(331)];[rt(405)];[rt(223)];[rt(503)];[rt(282)];[rt(470)];[rt(206)];[rt(356)];[rt(302)];[rt(476)];[rt(202)];[rt(222)];[rt(246)];[rt(446)];constructor(t){const e=rt;this[e(365)]=t,this[e(245)]=new Map,this[e(331)]=-1,this[e(405)]=-1,this[e(223)]=new Map,this[e(503)]=new Map,this[e(282)]=new Map,this[e(470)]=new Map,this[e(206)]=new Map,this[e(356)]=new Map,this[e(302)]=new Map,this[e(476)]=new Map,this[e(202)]=new Map,this[e(222)]=new Map,this[e(246)]=1}[rt(510)](t){const e=rt;this[e(490)]=t;const i=new Map,s=new Map,n=this[e(365)][e(333)][e(326)][e(438)][e(427)]((t=>t[e(509)]));for(const t of n){const n=this[e(365)][e(333)][e(326)][e(268)](t),r=lt(n);i[e(213)](t,r),s[e(213)](t,Object[e(270)](n[e(366)]()))}const r=Array[e(284)](this[e(365)][e(333)][e(243)])[e(427)]((t=>[t[e(229)],t[e(322)]()])),o=this[e(490)][e(221)];this[e(412)](o,i,r,s),this[e(446)]=this[e(246)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(213)](t,i),c[e(213)](t,{})}this[e(412)](Number[e(369)],a,[],c)}[rt(193)](t,e){const i=rt;if(this[i(331)]===t&&this[i(405)]<=e)this[i(245)][i(362)]>1&&this[i(233)](this[i(405)]),this[i(325)](this[i(405)],e,!0);else{if(!this[i(245)][i(374)](t)){const e=this[i(242)](t);this[i(417)](e,t,!1)}this[i(417)](t,e,!0)}return this[i(331)]=t,this[i(405)]=e,this[i(452)]()}[rt(414)](t){const e=rt,i=this[e(365)][e(400)][e(295)](e(473));this[e(371)](),this[e(331)]=t[e(323)],this[e(405)]=t[e(453)];for(const s in t[e(418)]){const n=t[e(418)][s][e(250)],r=A(t[e(418)][s][e(198)])||{},o=i[e(280)](t[e(418)][s][e(440)]);o[e(509)]=s,o[e(376)]=!n||!n[e(472)],o[e(472)]=()=>o[e(376)],this[e(470)][e(213)](s,o),this[e(206)][e(213)](s,r),n&&this[e(222)][e(213)](s,n);const a=this[e(410)](o);this[e(302)][e(213)](s,a);for(const[t,i]of o[e(243)]){if(!t[e(332)](e(271)))continue;const s=t[e(275)](":")[2];for(const t of i[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),n=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)],r=a[e(493)](n)[e(204)](i);this[e(476)][e(213)](r,{userId:s})}}}this[e(446)]=this[e(246)];const s=[...Array(this[e(246)])[e(225)]()][e(259)](1)[e(471)]((t=>!this[e(476)][e(374)](t)));let n=0;const r=new Map;for(const o in t[e(418)]){const a=t[e(418)][o][e(250)],c=A(t[e(418)][o][e(463)])||{},u=i[e(280)](t[e(418)][o][e(382)]);u[e(509)]=o,u[e(376)]=!a||a[e(472)],u[e(472)]=()=>u[e(376)],this[e(503)][e(213)](o,u),this[e(282)][e(213)](o,c);const l=this[e(410)](u,Number[e(369)]);this[e(356)][e(213)](o,l),r[e(213)](o,u[e(472)]()?c:{});for(const[t,i]of u[e(243)]){if(!t[e(332)](e(271)))continue;const s=t[e(275)](":")[2];for(const t of i[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),n=this[e(246)]++,r=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)];l[e(493)](r)[e(330)](i,n),this[e(476)][e(213)](n,{userId:s})}}for(const t of this[e(365)][e(333)][e(435)](u)[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),r=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)],o=l[e(493)](r);o[e(204)](i)>0||o[e(330)](i,s[n++])}for(const[t,i]of u[e(243)])t[e(332)](e(271))||this[e(223)][e(213)](t,i)}const o=ht(e(335));this[e(470)][e(213)](e(335),o),this[e(302)][e(213)](e(335),this[e(410)](o,1));const a=ht(e(335));this[e(503)][e(213)](e(335),a),this[e(356)][e(213)](e(335),this[e(410)](a,1));const c=Array[e(284)](this[e(503)])[e(427)]((([t,e])=>[t,lt(e)]));this[e(412)](this[e(405)],c,this[e(223)],r)}[rt(240)](){const t=rt;this[t(371)](),this[t(331)]=-1,this[t(405)]=-1,this[t(245)][t(390)](),this[t(510)](this[t(490)])}[rt(412)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(213)](t,{start:e[n(367)][n(305)](),end:e[n(475)][n(305)](),rootName:e[n(311)][n(509)]});this[n(245)][n(213)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(233)](t){const e=rt;this[e(245)][e(212)](t)}[rt(371)](){const t=rt;this[t(476)][t(390)](),this[t(202)][t(390)](),this[t(222)][t(390)](),this[t(503)][t(390)](),this[t(282)][t(390)](),this[t(470)][t(390)](),this[t(206)][t(390)](),this[t(356)][t(390)](),this[t(302)][t(390)](),this[t(223)][t(390)](),this[t(246)]=1,this[t(446)]=this[t(246)]}[rt(410)](t,e=null){const i=rt;let s=null;t.is(i(279))||(s=new Z.Element(t[i(229)],{vid_start:null===e?this[i(246)]++:e++}));const n=[];for(const s of t[i(460)]())if(s.is(i(231))){n[i(318)](this[i(410)](s,e));const t=n[n[i(489)]-1];null!==e&&(e=t.is(i(231),i(455))?t[i(204)](i(267))+1:t[i(204)](i(444))+1)}else for(let t=0;t<s[i(288)];t++)n[i(318)](new Z.Element(i(455),{vid:null===e?this[i(246)]++:e++}));if(t.is(i(279))){const e=ht(t[i(509)]);return e[i(474)](0,n),e}return s[i(330)](i(444),null===e?this[i(246)]++:e++),s[i(474)](0,n),s}[rt(417)](t,e,i){const s=rt;this[s(371)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(245)][s(295)](t);this[s(470)]=new Map(n),this[s(206)]=new Map(A(o));for(const[t,e]of this[s(470)])if(s(335)!==t&&(this[s(503)][s(213)](t,lt(e)),this[s(282)]=new Map(A(o)),i)){const i=this[s(246)];this[s(356)][s(213)](t,this[s(410)](e)),this[s(302)][s(213)](t,this[s(410)](e,i))}this[s(446)]=this[s(246)],this[s(503)][s(213)](s(335),lt(this[s(470)][s(295)](s(335)))),i&&this[s(356)][s(213)](s(335),this[s(410)](this[s(470)][s(295)](s(335))));for(const[t,e]of r){const i=this[s(470)][s(295)](e[s(509)]),n=this[s(503)][s(295)](e[s(509)]),r=new Z.Range(this[s(358)](e[s(367)],i),this[s(358)](e[s(475)],i)),o=this[s(364)](r,n);i[s(243)][s(213)](t,r),this[s(223)][s(213)](t,o)}this[s(325)](t,e,i)}[rt(325)](t,e,i){const s=rt;for(const n of this[s(490)][s(398)](t,e))this[s(236)](n,i);for(const t of this[s(503)][s(344)]())t[s(243)][s(390)]();for(const[t,e]of this[s(223)])this[s(503)][s(295)](e[s(311)][s(509)])[s(243)][s(213)](t,e[s(305)]());const n=new Map,r=new Map;for(const[t,e]of this[s(503)])n[s(213)](t,lt(e)),r[s(213)](t,this[s(282)][s(295)](t));this[s(412)](e,n,this[s(223)],r)}[rt(242)](t){const e=rt,i=Array[e(284)](this[e(245)][e(225)]());i[e(357)](((t,e)=>t-e)),i[e(406)]();for(const e of i)if(e<t)return e;return Number[e(369)]}[rt(480)](t,e){const i=rt,s=Array[i(284)](e[i(243)])[i(427)]((([e,s])=>[e,this[i(364)](s,t)]));t[i(243)]=new Map(s)}[rt(486)](t){const e=rt;for(const i of this[e(223)][e(344)]()){const s=i[e(408)](t),n=Z.Range[e(415)](s);i[e(367)]=n[e(367)],i[e(475)]=n[e(475)]}}[rt(236)](t,e){const i=rt;if(i(492)!=t[i(304)]&&i(337)!=t[i(304)]){if(i(402)==t[i(304)]){const s=t[i(498)][i(311)][i(509)];this[i(503)][i(374)](s)||(this[i(503)][i(213)](s,ht(s,!0)),this[i(282)][i(213)](s,{}),e&&this[i(356)][i(213)](s,ht(s,!0)))}else{if(i(372)==t[i(304)]||i(500)==t[i(304)]||i(196)==t[i(304)])return void this[i(511)](t);i(442)==t[i(304)]&&this[i(466)](t)}if(i(442)!==t[i(304)]){const e=this[i(315)](t,this[i(503)]);e[i(514)](),this[i(486)](e)}if(e)switch(t[i(304)]){case i(402):this[i(303)](t);break;case i(343):case i(324):case i(380):this[i(447)](t);break;case i(451):this[i(401)](t);break;case i(275):this[i(219)](t)}}else this[i(377)](t,e)}[rt(315)](t,e){const i=rt,s=t[i(305)]();return s[i(484)]=t[i(484)],this[i(341)](s,e),s}[rt(389)](t){const e=rt;return t[e(427)]((t=>{const i=e,s=this[i(434)](t);return Number(t[i(399)][i(204)](s))}))}[rt(441)](t,e){const i=rt;if(t.is(i(231),i(455)))e[i(318)]({item:t,type:i(488)});else{t.is(i(231))&&e[i(318)]({item:t,type:i(195)});for(const s of t[i(460)]())this[i(441)](s,e);t.is(i(231))&&e[i(318)]({item:t,type:i(421)})}return e}[rt(452)](){const t=rt,e=new Map(this[t(476)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(470)][t(225)](),...this[t(503)][t(225)]()]);a[t(212)](t(335));for(const e of a){const i=this[t(503)][t(295)](e)||ht(e,!1),s=this[t(470)][t(295)](e)||ht(e,!1);i[t(472)]()||s[t(472)]()?(n[t(382)][e]=lt(i),n[t(440)][e]=lt(s),this[t(480)](n[t(440)][e],s),this[t(480)](n[t(382)][e],i),r[t(382)][e]=this[t(441)](this[t(356)][t(295)](e),[]),r[t(440)][e]=this[t(441)](this[t(302)][t(295)](e)||ht(e,!1),[])):a[t(212)](e)}for(const n of a){const o=r[t(382)][n];for(const n of o){const r=this[t(434)](n),o=n[t(399)][t(204)](r);i[t(212)](o),o>=this[t(446)]&&s[t(213)](o,e[t(295)](o))}}for(const n of a){const a=r[t(382)][n],c=this[t(389)](r[t(440)][n]);let u=0;for(const n of a){const r=this[t(434)](n),a=n[t(399)][t(204)](r);if(!s[t(374)](a)&&!o[t(374)](a))if(i[t(374)](a))u++;else{if(a!=c[u]){const s=e[t(295)](a)||e[t(295)](c[u]);for(;a!=c[u];)i[t(374)](c[u])||(o[t(213)](c[u],s),e[t(213)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(382)][e];for(const e of n){const n=this[t(434)](e),r=e[t(399)][t(204)](n);if(o[t(374)](r)){const e=o[t(295)](r);i[t(374)](r)||i[t(213)](r,{...e}),s[t(213)](r,{...e})}}}for(const e of i[t(225)]())e>=this[t(446)]&&i[t(212)](e);const c=new Map;for(const e of a){let n=r[t(382)][e];for(const e of n)if(e[t(399)].is(t(231),t(321))){const i=this[t(434)](e),n=e[t(399)][t(204)](i);if(s[t(374)](n)){const i=e[t(399)][t(211)][t(211)][t(204)](t(200)),r=c[t(295)](i)||new Set;r[t(292)](s[t(295)](n)[t(508)]),c[t(213)](i,r)}}n=r[t(440)][e];for(const e of n)if(e[t(399)].is(t(231),t(321))){const s=this[t(434)](e),n=e[t(399)][t(204)](s);if(i[t(374)](n)){const s=e[t(399)][t(211)][t(211)][t(204)](t(200)),r=c[t(295)](s)||new Set;r[t(292)](i[t(295)](n)[t(508)]),c[t(213)](s,r)}}for(const e of c[t(225)]())(s[t(374)](e)||i[t(374)](e))&&c[t(212)](e)}for(const e of a){const n=r[t(382)][e];let o=null,a=null;for(const e of n){const n=this[t(434)](e),r=e[t(399)][t(204)](n),u=c[t(295)](r);u&&t(195)==e[t(304)]&&(o=Array[t(284)](u)[0],a=e[t(399)][t(204)](t(444))),o&&(i[t(213)](r,{userId:o}),s[t(213)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(440)][e],a=n[t(382)][e];for(const{userId:e}of this[t(202)][t(344)]())null!==e&&l[t(292)](e);for(const{userId:e}of this[t(222)][t(344)]())null!==e&&l[t(292)](e);this[t(419)](a,r[t(382)][e],s,t(226),l),this[t(419)](o,r[t(440)][e],i,t(248),l),u[e]={insertions:this[t(265)](a),deletions:this[t(265)](o),attachChange:this[t(222)][t(295)](e)||null,attributesBefore:A(this[t(206)][t(295)](e))||{},attributesAfter:A(this[t(282)][t(295)](e))}}return{diffData:u,authorsIds:Array[t(284)](l)}}[rt(355)](t){const e=rt;for(const[,i]of t[e(243)]){const t=i[e(367)][e(429)]()[e(471)]((t=>e(321)==t[e(229)]));for(const i of t)1==i[e(461)]&&i[e(457)](0).is(e(231),e(353))&&i[e(457)](0)[e(330)](e(313),!0)}}[rt(265)](t){const e=rt;this[e(355)](t);const i=this[e(365)][e(359)][e(340)](t,{}),s=Array[e(284)](i[e(460)]())[e(427)]((t=>this[e(308)](t)));return JSON[e(368)](s)}[rt(308)](t){const e=rt;if(t.is(e(455)))return t[e(359)];{const i=this[e(365)][e(400)][e(295)](e(473)),s=t,n=this[e(365)][e(359)][e(276)][e(289)],r={type:i[e(487)](s),name:s[e(229)],attributes:Array[e(284)](s[e(366)]()),children:Array[e(284)](s[e(460)]())[e(427)]((t=>this[e(308)](t)))};if(t.is(e(197))&&e(481)!=t[e(229)]){const i=t[e(296)](n[e(423)],n);r[e(316)][e(318)](i[e(294)])}else if(t.is(e(345))){const i=n[e(423)][e(370)](s[e(229)]);t[e(296)](i,n),r[e(316)][e(318)](i[e(272)])}const o=Array[e(284)](s[e(208)]());o[e(489)]>0&&(r[e(385)]=o);const a=s[e(307)]();return null!==a&&(r[e(232)]=a),r}}[rt(419)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(365)][r(333)];for(let s=0;s<e[r(489)];s++){const n=this[r(434)](e[s]),c=e[s][r(399)][r(204)](n),h=i[r(295)](c),d=s==e[r(489)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(508)]!=o[r(508)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(508)],d=l(271)+s+":"+h+":"+c++,f=u[l(253)](i,a);t[l(243)][l(213)](d,f),null!==h&&n[l(292)](h)}}[rt(434)](t){const e=rt;switch(t[e(304)]){case e(195):return e(200);case e(421):return e(444);default:return e(267)}}[rt(341)](t,e){const i=rt;t[i(274)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(295)](n[i(311)][i(509)]);t[s]=this[i(358)](n,r)}if(n instanceof Z.Range){const r=e[i(295)](n[i(311)][i(509)]);t[s]=this[i(364)](n,r)}i(311)===s&&(t[i(311)]=e[i(295)](t[i(311)][i(509)]))}}[rt(364)](t,e){const i=rt;return this[i(365)][i(333)][i(253)](this[i(358)](t[i(367)],e),this[i(358)](t[i(475)],e))}[rt(358)](t,e){const i=rt;return this[i(365)][i(333)][i(467)](e,t[i(491)],t[i(495)])}[rt(303)](t){const e=rt,i=this[e(356)][e(295)](t[e(498)][e(311)][e(509)]),s=this[e(358)](t[e(498)],i),n=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,r=s[e(211)],o=this[e(246)],a=[];for(const i of t[e(407)])if(i.is(e(231)))a[e(318)](this[e(410)](i));else for(let t=0;t<i[e(288)];t++)a[e(318)](new Z.Element(e(455),{vid:this[e(246)]++}));const c=this[e(246)];for(let t=o;t<c;t++)this[e(476)][e(213)](t,{userId:n});r[e(474)](s[e(301)],a)}[rt(447)](t){const e=rt;(t=this[e(315)](t,this[e(356)]))[e(514)]();const i=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(227)](),n=s[e(211)],r=s[e(301)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(457)](e);r.is(a(231),a(455))?s[a(213)](r[a(204)](a(267)),{userId:i}):(s[a(213)](r[a(204)](a(200)),{userId:i}),t(s,r,0,r[a(461)]),s[a(213)](r[a(204)](a(444)),{userId:i}))}}(this[e(476)],n,r,r+t[e(257)])}[rt(401)](t){const e=rt,i=null===(t=this[e(315)](t,this[e(356)]))[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(334)][e(211)],n=t[e(346)][e(211)],r=s[e(204)](e(444)),o=n[e(204)](e(200));s[e(330)](e(444),n[e(204)](e(444))),n[e(330)](e(444),r),this[e(476)][e(213)](o,{userId:i}),this[e(476)][e(213)](r,{userId:i}),t[e(514)]()}[rt(219)](t){const e=rt,i=null===(t=this[e(315)](t,this[e(356)]))[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(496)],n=t[e(501)][e(211)];t[e(514)]();const r=n[e(204)](e(444)),o=t[e(234)][e(194)];if(s){const t=o[e(204)](e(444)),s=n[e(204)](e(444));n[e(330)](e(444),t),o[e(330)](e(444),s),this[e(476)][e(213)](n[e(204)](e(444)),{userId:i}),this[e(476)][e(213)](o[e(204)](e(200)),{userId:i})}else{const t=this[e(246)]++,s=this[e(246)]++;n[e(330)](e(444),t),o[e(330)](e(200),s),o[e(330)](e(444),r),this[e(476)][e(213)](t,{userId:i}),this[e(476)][e(213)](s,{userId:i})}}[rt(466)](t){const e=rt;if(!t[e(214)])return;const i=(t=this[e(315)](t,this[e(503)]))[e(439)]?t[e(439)][e(311)]:null,s=t[e(416)]?t[e(416)][e(311)]:null;i&&this[e(223)][e(212)](t[e(229)]),s&&this[e(223)][e(213)](t[e(229)],t[e(416)][e(305)]());const n=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,r=t[e(229)];if(!this[e(202)][e(374)](r))return void this[e(202)][e(213)](r,{range:t[e(439)],userId:n});const o=this[e(202)][e(295)](r),a=o[e(201)],c=t[e(416)];null==a&&null==c||a&&c&&a[e(263)](c)?this[e(202)][e(212)](t[e(229)]):o[e(508)]=n}[rt(377)](t,e){const i=rt;this[i(503)][i(374)](t[i(509)])?this[i(503)][i(295)](t[i(509)])[i(376)]=t[i(254)]:(this[i(503)][i(213)](t[i(509)],ht(t[i(509)],!0)),this[i(282)][i(213)](t[i(509)],{}),e&&this[i(356)][i(213)](t[i(509)],ht(t[i(509)],!0)));const s=null===t[i(484)]?null:t[i(484)]||this[i(365)][i(400)][i(295)](i(350)).me.id,n=this[i(222)][i(295)](t[i(509)]);n&&n[i(508)]===s?this[i(222)][i(212)](t[i(509)]):this[i(222)][i(213)](t[i(509)],{userId:s,isAttached:t[i(254)]})}[rt(511)](t){const e=rt,i=this[e(282)][e(295)](t[e(311)][e(509)]);null===t[e(228)]?delete i[t[e(506)]]:i[t[e(506)]]=t[e(228)]}}function lt(t){const e=rt,i=ht(t[e(509)],t[e(472)]());for(const s of t[e(460)]()){const t=s[e(379)](!0);i[e(299)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(509)]=t,s[i(376)]=e,s[i(472)]=()=>s[i(376)],s}function dt(t,e,i){const s=rt,n=s(421)==t[s(304)]?i[s(205)](t[s(399)],s(475)):i[s(354)](t[s(399)]);return i[s(467)](e,n[s(491)],n[s(495)])}function ft(t,e,i){const s=rt,n=s(195)==t[s(304)]?i[s(205)](t[s(399)],0):i[s(251)](t[s(399)]);return i[s(467)](e,n[s(491)],n[s(495)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=459]})(t,e)}function Dt(){const t=["form","reset","220","add","trim","147766YiCRmS","arrowup","setTemplate","keystrokes","listenTo","8278290FZUAtk","arrowright","element","ck-revision-history-save-revision-form","focus","optional","1751638Wdxofw","value","arrowdown","_createRevisionNameInput","fieldView","revisionName","focusTracker","Name of the revision","4685752nHHqkI","6LjXUPm","extendTemplate","revisionNameInputView","stopPropagation","revisionNameInputValue","ck-responsive-form","arrowleft","230850boujYB","1442768FySIlg","errorText","render","5tEgmPT","label","input","7859928FFSISp","36Cjkadq","set","locale"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(660955===parseInt(e(497))/1+-parseInt(e(470))/2*(-parseInt(e(490))/3)+-parseInt(e(489))/4*(parseInt(e(501))/5)+parseInt(e(461))/6+parseInt(e(481))/7+parseInt(e(498))/8*(parseInt(e(462))/9)+-parseInt(e(475))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[At(487)];[At(473)];[At(492)];constructor(e,i){const s=At;super(e),this[s(487)]=new t.FocusTracker,this[s(473)]=new t.KeystrokeHandler,this[s(463)](s(494),""),this[s(492)]=this[s(484)](i),this[s(472)]({tag:s(465),attributes:{class:["ck",s(478),s(495)],tabindex:"-1"},children:[this[s(492)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(500)](){const t=At;super[t(500)](),(0,pt.submitHandler)({view:this}),this[t(487)][t(468)](this[t(492)][t(477)]),this[t(473)][t(474)](this[t(477)]);const e=e=>e[t(493)]();this[t(473)][t(463)](t(476),e),this[t(473)][t(463)](t(496),e),this[t(473)][t(463)](t(471),e),this[t(473)][t(463)](t(483),e)}[At(479)](){const t=At;this[t(492)][t(479)]()}get[At(486)](){const t=At;return this[t(492)][t(485)][t(477)][t(482)][t(469)]()}set[At(486)](t){const e=At;this[e(492)][e(485)][e(477)][e(482)]=t[e(469)]()}[At(466)](){const t=At;this[t(492)][t(485)][t(477)][t(482)]="",this[t(492)][t(499)]=null}[At(484)](t){const e=At,i=new pt.LabeledFieldView(this[e(464)],pt.createLabeledInputText),s=i[e(485)];s[e(491)]({attributes:{maxlength:e(467)}});let n=Q(this[e(464)],e(488));return!t&&(n+=" ("+Q(this[e(464)],e(480))+")"),i[e(459)]=n,s.on(e(460),(()=>{const t=e;this[t(494)]=s[t(477)][t(482)][t(469)]()})),i}}const Mt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=432]})(t,e)}function Ft(){const t=["7897820BJenEM","showRevisionViewerCallback","Save current revision","init","isReady","items","6671mRnynf","ck-button-action","24bmwDRO","submit","view","RevisionTracker","revisionHistory","locale","The revision name cannot be empty.","componentFactory","_saveRevisionFormView","revisionHistory.requireRevisionName","hide","show","editing","pluginName","config","12fMmxFV","Cancel","Dialog","execute","_registerMenuComponent","_createSaveRevisionFormView","57549ioeJzT","addMany","plugins","get","panelView","isOfficialPlugin","add","errorText","revisionName","role","Accept","menuBar:revisionHistory","bind","reset","_showDialog","menu","8144CWDuOi","RevisionHistoryUI","render","delegate","5976vKxnyo","9695389GEXPjy","isOpen","saveRevision","children","editor","4573460aGRuhk","isPremiumPlugin","175IYmpAj","buttonView","Open revision history","4764564VbuhHa","revisionNameInputView","requires","menuitem","focus","set","revisionSave","Revision history","isReadOnly","isEnabled"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(839126===parseInt(e(494))/1*(parseInt(e(482))/2)+parseInt(e(466))/3*(-parseInt(e(460))/4)+parseInt(e(492))/5+parseInt(e(486))/6*(parseInt(e(443))/7)+parseInt(e(445))/8*(-parseInt(e(497))/9)+parseInt(e(437))/10+-parseInt(e(487))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends H.Plugin{static get[Mt(458)](){return Mt(483)}static get[Mt(471)](){return!0}static get[Mt(493)](){return!0}static get[Mt(499)](){return[ct]}[Mt(453)];[Mt(440)](){const t=Mt,e=this[t(491)],i=e[t(468)][t(469)](t(448));e.ui[t(452)][t(472)](t(449),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(470)][n(490)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(478)](n(436)).to(i,n(441),i,n(436),e,n(435),((t,e,i)=>t&&e&&!i)),r[n(495)][n(432)]({icon:mt.IconHistory,label:Q(s,n(434)),tooltip:!0}),u[n(432)]({label:Q(s,n(439)),withText:!0,role:n(500)}),u[n(478)](n(436)).to(i,n(441),i,n(436),e,n(435),((t,e,i)=>t&&e&&!i)),u.on(n(463),(()=>this[n(480)]())),h[n(432)]({label:Q(s,n(496)),withText:!0,role:n(500)}),h[n(478)](n(436)).to(i,n(441),e,n(435),((t,e)=>t&&!e)),h.on(n(463),(()=>{const t=n;e[t(459)][t(469)](t(449))[t(438)](),r[t(488)]=!1,e[t(457)][t(447)][t(501)]()})),c[n(490)][n(472)](u),l[n(490)][n(472)](h),a[n(475)]=n(481),a[n(442)][n(467)]([c,l]),o[n(472)](a),r})),e.ui[t(452)][t(472)](t(477),(()=>this[t(464)]()))}[Mt(464)](){const t=Mt,e=this[t(491)],i=e[t(450)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(495)][t(432)]({icon:mt.IconHistory,label:Q(i,t(434))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(432)]({label:Q(i,t(439))}),o[t(485)](t(463)).to(s),o.on(t(463),(()=>{this[t(480)]()})),r[t(490)][t(472)](o),n[t(442)][t(472)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(432)]({label:Q(i,t(496))}),c[t(485)](t(463)).to(s),c.on(t(463),(()=>{const i=t;e[i(459)][i(469)](i(449))[i(438)]()})),a[t(490)][t(472)](c),n[t(442)][t(472)](a),s[t(470)][t(490)][t(472)](n),s}[Mt(480)](){const t=Mt,e=this[t(491)],i=e[t(450)],s=e[t(468)][t(469)](t(462)),n=e[t(468)][t(469)](t(448));function r(n){const r=t;e[r(459)][r(469)](r(454))&&""===n[r(474)]?n[r(498)][r(473)]=Q(i,r(451)):(e[r(468)][r(469)](ct)[r(489)]({name:n[r(474)]}),s[r(455)]())}this[t(453)]||(this[t(465)](),this[t(453)].on(t(446),(()=>r(this[t(453)])))),this[t(453)][t(479)](),s[t(456)]({id:t(433),title:Q(i,t(439)),isModal:!0,content:this[t(453)],actionButtons:[{label:Q(e[t(450)],t(461)),withText:!0,onExecute:()=>s[t(455)]()},{label:Q(e[t(450)],t(476)),class:t(444),withText:!0,onCreate(i){const s=t;i[s(478)](s(436)).to(n,s(441),n,s(436),e,s(435),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(453)])}]})}[Mt(465)](){const t=Mt,e=this[t(491)],i=e[t(450)];this[t(453)]=new Et(i,e[t(459)][t(469)](t(454))),this[t(453)][t(484)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=386]})(t,e)}function zt(){const t=["1844676xPSpCt","30TcUopO","bindTemplate","author","3DnnuyV","ck-revision-change__label","561254CxVGYG","100088BjpqJy","4235965BtvTwp","name","_model","data","Suggested by","setTemplate","ck-revision-change__","Removed by","Added by","462WwhaWo","ck-annotation","element","set","16640855ZhuKUe","changeId","isSuggestion","ck-revision-change","span","4sRPrUe","div","add","4248411kFcdqp","7491426zYefxp","type","focus"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(846057===-parseInt(e(386))/1*(-parseInt(e(388))/2)+parseInt(e(411))/3*(parseInt(e(408))/4)+parseInt(e(390))/5+parseInt(e(412))/6+-parseInt(e(399))/7*(-parseInt(e(389))/8)+parseInt(e(415))/9+parseInt(e(416))/10*(-parseInt(e(403))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Lt(404)];[Lt(392)];constructor(t,e){const i=Lt;super(t),this[i(392)]=e,this[i(404)]=e.id;const s=this[i(417)],n=Q(t,e[i(393)][i(405)]?i(394):i(410)==e[i(413)]?i(398):i(397));this[i(402)](i(413),e[i(413)]),this[i(395)]({tag:i(409),attributes:{class:[i(400),i(406),s.to(i(413),(t=>i(396)+t))],tabindex:-1},children:[{tag:i(407),children:[{tag:i(407),attributes:{class:[i(387)]},children:[{text:n}]},{text:" "+e[i(418)][i(391)]}]}]})}[Lt(414)](){const t=Lt;this[t(401)][t(414)]()}}var Ht=Ut;function Ut(t,e){var i=Zt();return(Ut=function(t,e){return i[t-=318]})(t,e)}function Zt(){var t=["author","24jHcuzY","1VSVWAs","createdAt","1003942IMafkc","33CVYIBD","toJSON","8240802zBlmPp","13363559aFWsvI","9PViZQJ","2848398imEvlF","7552656XgOOjK","299176PDOiDO","type","5furPys","rootName","set","data","15063770SyxzrF"];return(Zt=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(811368===parseInt(e(325))/1*(-parseInt(e(327))/2)+parseInt(e(328))/3*(parseInt(e(335))/4)+-parseInt(e(318))/5*(-parseInt(e(330))/6)+parseInt(e(333))/7*(-parseInt(e(324))/8)+-parseInt(e(332))/9*(parseInt(e(322))/10)+parseInt(e(331))/11+parseInt(e(334))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ht(323)];[Ht(336)];[Ht(321)];[Ht(319)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(323)]=e[i(323)],this[i(336)]=e[i(336)],this[i(321)]=e[i(321)]||{},this[i(319)]=e[i(319)],this[i(320)](i(326),e[i(326)])}[Ht(329)](){var t=Ht;return{id:this.id,authorId:this[t(323)].id,type:this[t(336)],data:this[t(321)],createdAt:this[t(326)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=404]})(t,e)}function Yt(){const t=["1409228VDpNkm","297693cEiqkQ","3111608GgAvQd","64rJcljz","_setChanges","10mrOLQL","5691642knQMvm","22818WJBFuC","5XfHNCC","changes","936OcDOsD","oldRevisionId","6587Gxzthk","newRevisionId","332064fnKQkH","add"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(201263===parseInt(e(412))/1+-parseInt(e(417))/2*(-parseInt(e(405))/3)+parseInt(e(414))/4*(parseInt(e(406))/5)+-parseInt(e(408))/6*(-parseInt(e(410))/7)+-parseInt(e(416))/8+parseInt(e(415))/9*(parseInt(e(419))/10)+-parseInt(e(404))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(411)];[$t(409)];[$t(407)];constructor(e,i){const s=$t;this[s(411)]=e,this[s(409)]=i,this[s(407)]=new t.Collection}[$t(418)](t){const e=$t;for(const i of t)this[e(407)][e(413)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["createRevision","hasClass","_markInsertions","next","suggestion","revisionHistoryAttachChange","_markMismatchedRemovedTags","abs","_setConversion","showNextChange","for","nextSibling","adapter","suggestion:","getAttributes","affectsData","observeMarkers","createPositionBefore","stop","2255tSzKUm","enableReadOnlyMode","modelRange","revision:","isReady","plugins","insert","error","offsetSize","domEvent","createAttributeElement","add","showStack","refresh","isEnabled","ck-revision-history-root-","_setChanges","_joinTapes","hasAttribute","-new","createRange","isLimit","string","attribute:vid","loadRevisionData","text","getRootNames","ck-revision-history-root--active","currentChangeNumber","getLaterVisibleRevision","markerToHighlight","dataToMarker","parent","data-change-id","commands","attributesAfter","markerToData","range","change:isEnabled","3582qenbnv","revision-comment:","viewItem","bindElementToMarker","change:activeChange","ck-suggestion-preview-marker","newRevisionId","forceDisabled","revision-suggestion","addRevision","splice","isCollapsed","remove","isAfter","isAtEnd","data","top","removeClass","addMarker:revision","_sortAndFilterDiffChanges","getWalker","type","model","POSITIVE_INFINITY","end","consume","isBlock","startIndex","includes","createRangeIn","filter","concat","_cleanMarkers","left","config","pairId","find","toViewRange","unbindElementFromMarkerName","_threeWayMerge","isBefore","_update","previousPosition","insertions","59382LyhDgO","uiElement","markerNameToElements","wrap","showPreviousChange","_initInteractions","vid_start","mapViewToDom","forward","getIndex","elementStart","isPremiumPlugin","mapper","userId","then","_appendChild","requires","_fixObsoleteTags","bottom","revision-suggestion:","pluginName","vid_end","ck-suggestion-preview-marker-","index","toViewPosition","_setDistance","first","repository","398532yEBEAZ","consumable","destroy","endIndex","activeChange","maxOffset","comment","getClientRects","backward","bind","enqueueChange","_changeIdToChange","_cleanUp","schema","change:isReady","ck-suggestion-marker","level","insertion","_makeTape","change:numberOfChanges","1978172BQJyrd","mouseover","mousedown","_getViewForChange","attributes","forEach","ck-suggestion-marker--active","_markMarkers","right","change:activeView","isOfficialPlugin","_data","slice","checkAttribute","createUIElement","rootName","_activeViewTarget","writer","isNavigationMode","_makeModelFromViewString","RevisionViewer","addMarker:revision-suggestion:insertion","push","markerName","_changeView","removeMarker","isInline","nodeAfter","addMarker:revision-suggestion:deletion","getRevisionDocumentData","reconvertMarker","isAttached","resolve","getRevision","oldRevisionId","selection","addRoot","10jpDJiu","RevisionHistoryUtils","_getDiff","updatePosition","_removeMissingPairs","unshift","isSuggestion","deletion","isAdded","item","_step","revision","isContent","addHighlight","span","listenTo","revision-viewer","isAddSuggestion","roots","clear","start","restoreRevision","ck-suggestion-marker-merge","_getRevisionsRange","restoreRevisionCallback","toViewElement","6300873WhkwYW","_makeModelFromTape","ck-editor__editable__overlay","markersEnd","13345090aPoOSE","_revisions","catch","length","WidgetToolbarRepository","_removeUnsupportedChanges","ck-revision-history-root-add","_markSuggestions","flat","highest","vid","change","numberOfChanges","_findChangeIdFromDomTarget","_processTape","conversion","softBreak","addClass","elementToAttribute","ck-suggestion-marker-split","createPositionFromPath","setAttribute","2sHljIe","high","init","side","view","RevisionsRepository","low","diff","set","domConverter","sort","code","markers","attachChange","ck-revision-history-root-remove","distance","removeMarker:revision","332588mqQTcL","editingDowncast","isAtStart","split","attributesBefore","revisionHistory","downcastDispatcher","map","diffData","isRemoveSuggestion","dataDowncast","changeId","pop","compare","findIndex","shift","deletions","editor","return","getDomRoot","document","getChild","element","removeAttribute","_balloon","delete","element:pre","has","markerRange","authors","from","getItems","elementEnd","values","merge","getAttribute","done","target","activeView","ck-suggestion-marker-","8IMfpYw","nextPosition","isEqual","upcast","getCustomProperty","isRemoved","_utils","locale","editing","changes","test","execute","getRevisionRootsAttributes","get","indexOf","name","startsWith","revisionHistoryLabel","keys","_refreshStartEndIndex","markersStart","removeMarker:revision-suggestion","object","all","getRoot","addRevisionData","isObject","detachRoot","isOnRoot","isIncorrect","_getChangeFromId"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=459]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(462723===-parseInt(e(583))/1*(-parseInt(e(474))/2)+parseInt(e(773))/3+parseInt(e(600))/4+parseInt(e(690))/5*(-parseInt(e(729))/6)+-parseInt(e(494))/7+-parseInt(e(640))/8*(parseInt(e(557))/9)+-parseInt(e(531))/10*(-parseInt(e(561))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends H.Plugin{[Xt(473)];[Xt(683)]=null;[Xt(646)];[Xt(510)];[Xt(518)];[Xt(485)];[Xt(624)];static get[Xt(466)](){return Xt(514)}static get[Xt(504)](){return!0}static get[Xt(784)](){return!0}static get[Xt(462)](){return[U.Users,pt.ContextualBalloon,B,X]}constructor(t){const e=Xt;super(t),this[e(473)]=this[e(617)][e(695)][e(653)](e(588)),this[e(646)]=this[e(617)][e(695)][e(653)](e(532)),this[e(591)](e(478),null),this[e(591)](e(638),null),this[e(510)]=null,this[e(591)](e(590),null),this[e(591)](e(694),!1),this[e(591)](e(704),!0),this.on(e(728),((t,i,s)=>{const n=e;this[n(478)]=null,this[n(638)]=null,this[n(617)][n(648)][n(587)][n(572)]((t=>{const e=n;for(const i of this[e(617)][e(648)][e(587)][e(620)][e(549)])s?t[e(746)](e(559),i):t[e(578)](e(559),i)}))})),this[e(483)](e(512)).to(this,e(478),(t=>null!==t)),this[e(483)](e(718)).to(this,e(694),this,e(590),this,e(478),((t,i,s)=>t&&s?i[e(649)][e(782)](s):0)),this[e(483)](e(573)).to(this,e(694),this,e(590),((t,i)=>t?i[e(649)][e(564)]:0)),this[e(518)]=null,this[e(485)]=new Map,this[e(624)]=this[e(617)][e(695)][e(653)](pt.ContextualBalloon)}[Xt(585)](){const t=Xt,e=this[t(617)],i=new ne(e,{direction:t(482)}),s=new ne(e,{direction:t(781)});e[t(724)][t(701)](t(777),i),e[t(724)][t(701)](t(680),s),e[t(724)][t(701)](t(552),new se(e)),this.on(t(493),(()=>{const e=t;i[e(703)](),s[e(703)]()})),this[t(679)](),this[t(778)](),e[t(691)](t(547)),e[t(695)][t(627)](t(565))&&e[t(695)][t(653)](t(565))[t(736)](t(547))}async[Xt(523)](t){const e=Xt;return await this[e(646)][e(714)](t,this[e(683)]),this[e(646)][e(523)](t)}async[Xt(652)](t){const e=Xt;return await this[e(646)][e(714)](t,this[e(683)]),this[e(646)][e(652)](t)}async[Xt(613)](t,e,i=!1){const s=Xt;if(!this[s(704)])return;const n=this[s(590)],r=this[s(473)],o=s(712)==typeof t?r[s(527)](t):t,a=s(712)==typeof e?r[s(527)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(590)]&&this[s(590)][s(735)]===c&&this[s(590)][s(528)]===u)return Promise[s(526)]();this[s(694)]=!1,this[s(638)]=null,this[s(478)]=null,this[s(590)]=new Jt(c,u);const l=this[s(554)](o,a,!0)[s(607)]((t=>this[s(646)][s(714)](t,this[s(683)])));return l[s(516)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(663)](l)[s(460)]((()=>{const t=s;if(!this[t(704)])return;this[t(486)]();const e=this[t(533)](c,u);for(const i of e[t(649)])this[t(485)][t(591)](i.id,i);this[t(617)][t(751)][t(484)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(617)][s(751)][s(620)][s(716)]())i[s(667)](t);for(const t of Object[s(658)](e[s(751)])){const n=i[s(530)](t);for(const r of Object[s(658)](e[s(498)][t]))i[s(582)](r,e[s(498)][t][r],n);i[s(696)](e[s(751)][t],n,0)}})),this[t(590)][t(706)](this[t(748)](e[t(649)])),this[t(694)]=!0}))[s(563)]((t=>{const e=s;console[e(697)](t),this[e(486)](),n&&(this[e(590)]=n),this[e(694)]=!0}))}[Xt(665)](t,e){const i=Xt,s=this[i(473)][i(671)](t);return s.on(i(770),((t,i,n)=>e(i,n,s))),this[i(473)][i(738)](s),s}[Xt(486)](){const t=Xt;this[t(478)]=null,this[t(761)](),this[t(518)]&&this[t(518)][t(476)](),this[t(518)]=null,this[t(485)][t(550)](),this[t(617)][t(751)][t(484)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(617)][i(751)][i(620)][i(716)]())e[i(667)](t)}))}[Xt(748)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(617)][e(751)][e(620)][e(716)]()){const n=this[e(617)][e(648)][e(587)][e(619)](t);if(!n)continue;const r=n[e(481)]()[e(540)](0);r&&(i[e(516)](t),s[e(591)](t,r))}return i[e(593)](((t,i)=>{const n=e,r=s[n(653)](t),o=s[n(653)](i);return r.y-o.y||r.x-o.x})),(t=t[e(759)]((t=>i[e(757)](t[e(509)]))))[e(593)](((t,s)=>i[e(654)](t[e(509)])-i[e(654)](s[e(509)]))),t}[Xt(492)](t){const e=Xt,i=Array[e(630)](t[e(595)])[e(759)]((([t,i])=>t[e(656)](e(693))&&!i[e(740)])),s=Array[e(630)](this[e(617)][e(751)][e(758)](t)[e(749)]({singleCharacters:!0}));if(0!=i[e(564)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(603)](":");if(n[e(753)][e(642)](t[e(641)])&&i[e(615)](),(t[e(771)][e(642)](n[e(551)])||t[e(771)][e(742)](n[e(551)]))&&(e(491)==r?t[e(539)]={userId:o}:e(538)==r&&(t[e(645)]={userId:o})),0==i[e(564)])break}return s}[Xt(659)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(564)];s++)e(715)===t[s][e(750)]?(t[s][e(540)][e(756)]=s,t[s][e(540)][e(477)]=s):(e(783)===t[s][e(750)]?t[s][e(540)][e(756)]=s:e(632)===t[s][e(750)]&&(t[s][e(540)][e(477)]=s),i[e(591)](t[s].id,s));for(const s of i[e(633)]())e(783)===t[s][e(750)]?t[s][e(540)][e(477)]=i[e(653)](t[s][e(764)]):e(632)===t[s][e(750)]&&(t[s][e(540)][e(756)]=i[e(653)](t[s][e(764)]))}[Xt(575)](t){const e=Xt;for(let i=0;i<t[e(564)];i++){if(e(783)===t[i][e(750)])t[i][e(540)][e(756)]=i;else if(e(632)===t[i][e(750)]){t[i][e(540)][e(477)]=i;const s=t[i][e(540)][e(756)];t[s][e(764)]=t[i].id,t[i][e(764)]=t[s].id}else t[i][e(540)][e(756)]=i,t[i][e(540)][e(477)]=i,t[i][e(764)]=null;t[i][e(660)]||(t[i][e(660)]=[],t[i][e(560)]=[])}}[Xt(673)](t,e){const i=Xt,s=t[i(759)]((t=>!t[i(539)]));for(let t=0;t<e[i(564)];t++)e[t][i(539)]&&(s[t][i(539)]=e[t][i(539)])}[Xt(533)](t,e=null){const i=Xt,s=this[i(473)][i(527)](t),n=e?this[i(473)][i(527)](e):null,r=this[i(554)](s,n),o=r[r[i(564)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(564)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(658)](e[i(608)]))if(e[i(608)][t][i(596)]){const s=e[i(608)][t][i(596)];s[i(525)]?(u[i(701)](t),l[i(627)](t)&&l[i(653)](t)[i(459)]==s[i(459)]?l[i(625)](t):l[i(591)](t,s)):l[i(627)](t)?(u[i(625)](t),l[i(625)](t)):(u[i(701)](t),l[i(591)](t,s))}else u[i(701)](t)}for(const t of u){const e=l[i(627)](t)&&!l[i(653)](t)[i(525)];let s=e?r[i(564)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(608)][t]){const s=e?o[i(608)][t][i(604)]:o[i(608)][t][i(725)];c[i(498)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(751)]={};for(const e of t[i(629)])a[i(591)](e.id,e);for(const e of u){const s=t[i(608)][e]?t[i(608)][e][i(772)]:"[]",n=t[i(608)][e]?t[i(608)][e][i(616)]:"[]";t[i(751)][e]={insertions:this[i(646)][i(513)](s),deletions:this[i(646)][i(513)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(630)](s[i(751)][t][i(772)][i(595)])[i(759)]((([t])=>!t[i(656)](i(693)))));let h=0;for(const o of r){const r=this[i(492)](o[i(751)][t][i(772)]);o==s?(e=r,n=e[i(564)],e[i(499)]((t=>{t.id=h++})),this[i(575)](e)):this[i(673)](e,r);const a=e[i(759)]((t=>!t[i(539)]))[i(607)]((t=>t.id));let c=0;const l=this[i(492)](o[i(751)][t][i(616)]);l[i(499)]((t=>{t[i(645)]?t.id=n++:t.id=a[c++]})),this[i(575)](l),this[i(471)](e,i(539)),this[i(471)](l,i(645)),o==s&&this[i(501)](e,u),e=this[i(707)](e,l),this[i(659)](e),this[i(471)](e,i(645))}e=e[i(759)]((t=>!(t[i(539)]&&t[i(645)])));const d=new Map(o[i(751)][t][i(616)][i(595)]),f=new Set(u[i(658)]());for(const t of d[i(658)]())f[i(625)](t);this[i(568)](e,f),this[i(463)](e),e=this[i(535)](e),e=this[i(677)](e),e=this[i(566)](e);const{root:m,changes:p}=this[i(558)](e,a,t);c[i(751)][t]=m;const v=l[i(653)](t);if(v){const e=a[i(653)](v[i(459)]),s=new qt({author:e,type:v[i(525)]?i(701):i(741),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(536)](s),c[i(498)][t][i(676)]=s.id}c[i(649)]=c[i(649)][i(760)](p)}return c}[Xt(501)](t,e){const i=Xt;for(let s=0;s<t[i(564)];s++)for(const[n,r]of e)!r[i(740)]&&r[i(551)][i(642)](t[s][i(771)])&&t[s][i(660)][i(516)](n),r[i(753)][i(642)](t[s][i(641)])&&t[s][i(560)][i(516)](n)}[Xt(707)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(564)]||r<e[i(564)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(516)](o);else if(a[i(645)]&&o[i(539)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(768)](t,n,e,r);s=s[i(760)](o),n=a,r=c}else a[i(645)]?(r++,s[i(516)](a)):(n++,s[i(516)](o))}return s}[Xt(568)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(564)];o++){for(let r=0;r<t[o][i(660)][i(564)];r++){const a=t[o][i(660)][r];if(!e[i(627)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(737)!=c||i(491)!=u&&i(538)!=u||(s[i(536)]({type:u,name:a,userId:l}),t[o][i(660)][i(739)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(560)][i(564)];r++){const a=t[o][i(560)][r];if(!e[i(627)](a))continue;const{group:c,type:u}=n(a);if(i(737)!=c||i(491)!=u&&i(538)!=u)continue;t[o][i(560)][i(739)](r,1),r--;const l=s[i(614)]((t=>t[i(655)]==a));l>-1&&s[i(739)](l,1)}}function n(t){const e=i,s=t[e(603)](":");return{group:s[0],type:s[1],subType:s[e(564)]>=5?s[2]:null,id:s[e(564)]<5?s[2]:s[3],authorId:s[e(564)]<5?s[3]:s[4],markerCount:6==s[e(564)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(564)];i++){if(t[e(539)]&&e(491)==s[i][e(750)])return t[e(548)]=s[i],void delete t[e(539)];if(!t[e(539)]&&!t[e(645)]&&e(538)==s[i][e(750)])return void(t[e(609)]=s[i])}}}[Xt(471)](t,e){const i=Xt;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(591)](o.id,s);for(let s=0;s<t[i(564)];s++){if(i(645)==e&&t[s][i(539)]||i(539)==e&&t[s][i(645)])continue;if(i(715)==t[s][i(750)]){t[s][i(598)]=0;continue}const n=r[i(653)](t[s][i(764)]),o=r[i(653)](t[s].id);t[s][i(598)]=n-o}}[Xt(554)](t,e,i=!1){const s=Xt,n=[];let r=this[s(473)][s(782)](t),o=this[s(473)][s(782)](e);for(-1==o&&(o=this[s(473)][s(562)][s(564)],i=!1);r<o;)n[s(516)](this[s(473)][s(527)](r)),r++;return i&&n[s(516)](this[s(473)][s(527)](r)),n}[Xt(768)](t,e,i,s){const n=Xt,r=this[n(617)][n(751)][n(487)];let o=e;for(;t[o]&&t[o][n(539)];)o++;let a=s;for(;i[a]&&i[a][n(645)];)a++;u(t,e,o),u(i,s,a);const c=i[n(506)](s,a)[n(760)](t[n(506)](e,o));return c[n(593)](((t,e)=>t[n(586)]!=e[n(586)]?t[n(586)]-e[n(586)]:t[n(490)]!=e[n(490)]?t[n(490)]-e[n(490)]:t[n(598)]!=e[n(598)]?e[n(598)]-t[n(598)]:!!t[n(539)]!=!!e[n(539)]?-1==t[n(586)]||0==t[n(586)]?t[n(539)]?-1:1:t[n(539)]?1:-1:t[n(469)]-e[n(469)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(752)],c=!0;for(let n=e;n<i;n++)if(r[s(520)](t[n][s(540)])||(c=!1),t[n][s(540)][s(756)]<e&&(o=n),t[n][s(540)][s(477)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(586)]=n<=o?-1:n<a?0:1,t[n][s(469)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(598)]?t[i][s(490)]=u:(u++,t[i][s(490)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(586)]&&(t[n][s(490)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(598)]?t[e][s(490)]=u:(u--,t[e][s(490)]=u,u--)}}[Xt(463)](t){const e=Xt,i=new Map,s=this[e(617)][e(751)][e(487)];for(let n=1;n<t[e(564)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(715)==c[e(750)])continue;if(c[e(750)]!=u[e(750)])continue;if(!s[e(755)](u[e(540)])||s[e(711)](u[e(540)]))continue;if(!s[e(755)](c[e(540)])||s[e(711)](c[e(540)]))continue;if((t[n][e(539)]||t[n][e(548)])&&t[n-1][e(645)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(645)]||!t[n-1][e(539)]&&!t[n-1][e(548)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(490)]==o[e(490)],h=Math[e(678)](r[e(490)])<Math[e(678)](o[e(490)])&&0==o[e(598)];(l||h)&&(i[e(591)](o.id,r.id),t[e(739)](a,1),n--,r[e(539)]=!1)}for(let s=0;s<t[e(564)];s++)i[e(627)](t[s][e(764)])&&(t[s][e(764)]=i[e(653)](t[s][e(764)]))}[Xt(535)](t){const e=Xt,i=new Set(t[e(607)]((t=>t.id)));for(let s=0;s<t[e(564)];s++)i[e(627)](t[s][e(764)])||0==t[s][e(598)]||(t[s][e(669)]=!0);return t[e(759)]((t=>!t[e(669)]))}[Xt(677)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(564)];s++){if(i[e(627)](t[s].id)&&t[s][e(645)]&&(t[s][e(669)]=!0),t[s][e(669)])continue;if(0==t[s][e(598)])continue;if(e(783)!=t[s][e(750)])continue;if(null==t[s][e(764)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(764)];)e(783)==t[n][e(750)]?r++:e(632)==t[n][e(750)]&&r--,n++;if(0!=r)if(t[s][e(645)])t[s][e(669)]=!0;else for(;n!=s;)t[n][e(645)]&&0!=t[n][e(598)]&&(t[n][e(669)]=!0,i[e(701)](t[n][e(764)])),n--}return t[e(759)]((t=>!t[e(669)]))}[Xt(566)](t){const e=Xt,i=this[e(617)][e(751)][e(487)];for(let s=0;s<t[e(564)];s++){if(!(t[s][e(539)]||t[s][e(548)]||t[s][e(645)]||t[s][e(609)]))continue;if(0==t[s][e(598)])continue;const n=t[s][e(540)];i[e(755)](n)||i[e(711)](n)||(t[s][e(539)]&&delete t[s][e(539)],t[s][e(548)]&&delete t[s][e(548)],t[s][e(609)]&&delete t[s][e(609)],t[s][e(645)]&&(t[s][e(669)]=!0))}return t[e(759)]((t=>!t[e(669)]))}[Xt(558)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(617)][s(751)],c=a[s(487)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(564)];e++)if(s(783)===t[e][s(750)]){t[e][s(771)]=a[s(581)](n,f);const i=new Z.Element(t[e][s(540)][s(655)],t[e][s(540)][s(685)]());u[0][s(461)](i),f[s(516)](0),u[s(536)](i),t[e][s(641)]=a[s(581)](n,f)}else s(632)===t[e][s(750)]?(u[s(615)](),t[e][s(771)]=a[s(581)](n,f),f[s(612)](),f[f[s(564)]-1]++,t[e][s(641)]=a[s(581)](n,f)):(t[e][s(771)]=a[s(581)](n,f),d?d[s(505)]+=t[e][s(540)][s(744)]:d=new Z.Text(t[e][s(540)][s(744)],t[e][s(540)][s(685)]()),t[e+1]&&s(715)===t[e+1][s(750)]&&v(d,t[e+1][s(540)])||(u[0][s(461)](d),d=null),f[f[s(564)]-1]+=t[e][s(540)][s(698)],t[e][s(641)]=a[s(581)](n,f));for(let e=0;e<t[s(564)];e++){const i=t[e][s(771)],n=t[e][s(641)];for(const n of t[e][s(660)])o[s(591)](n,{start:i,end:null});m(s(609),e,i,n),m(s(548),e,i,n),m(s(645),e,i,n),m(s(539),e,i,n);for(const i of t[e][s(560)]){const t=o[s(653)](i);t?t[s(753)]=n:o[s(591)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(617)][s(751)][s(710)](e[s(551)],e[s(753)]);n[s(595)][s(591)](t,i)}return r[s(593)](((t,e)=>{const i=s,r=n[i(595)][i(653)](i(693)+t.id),o=n[i(595)][i(653)](i(693)+e.id);return r[i(551)][i(769)](o[i(551)])?-1:r[i(551)][i(742)](o[i(551)])?1:r[i(753)][i(769)](o[i(753)])?-1:r[i(753)][i(742)](o[i(753)])?1:i(701)===t[i(750)]?-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(459)]:null,d=i===t[o(564)]-1,f=h[e][0],m=c[o(666)](t[i][o(540)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(753)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(459)]!==u&&(l[e][o(753)]=n,f&&f[o(459)]===l[e][o(459)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(783)!==t[i][o(750)]||f&&f[o(459)]===u||h[e][o(536)]({userId:u,object:t[i][o(540)],change:l[e]}),o(632)===t[i][o(750)]&&f&&f[o(662)]===t[i][o(540)]&&(h[e][o(615)](),l[e]=f[o(572)])),l[e]&&d&&(l[e][o(753)]=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(540)],f=a[h(487)][h(755)](d)&&!a[h(487)][h(711)](d),m=t[h(521)]==o[h(722)]&&o[h(602)];if(f&&m)return;const p=a[h(710)](t,o),v=e[h(653)](u),g=new qt({author:v,type:h(539)==l||h(548)==l?h(701):h(741),data:{isSuggestion:h(548)==l||h(609)==l},createdAt:new Date,rootName:i});r[h(516)](g),n[h(595)][h(591)](h(693)+g.id,p)}function v(t,e){const i=s,n=t[i(685)](),r=e[i(685)]();for(const t of n){if(t[1]!==e[i(635)](t[0]))return!1;r[i(674)]()}return r[i(674)]()[i(636)]}}[Xt(679)](){const t=Xt;this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(542)}),this[t(617)][t(576)][t(681)](t(601))[t(720)]({model:t(542),view:e=>{const i=t,s=e[i(517)][i(603)](":")[1],n=this[i(670)](s);if(!n)return null;const r=i(701)==n[i(750)]?i(491):i(538),o=[i(489),i(639)+r];return n[i(744)][i(537)]&&o[i(516)](i(639)+r+i(709)),this[i(478)]==n&&o[i(516)](i(500)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(617)][t(576)][t(681)](t(643))[t(701)]((e=>{const i=t;e.on(i(626),((t,e,s)=>{const n=i,r=e[n(731)][n(621)](0);if(!r||!r.is(n(622),n(594)))return;if(!s[n(475)][n(754)](r,{attributes:[n(779),n(467)]}))return;const o=e[n(692)][n(551)][n(521)];s[n(511)][n(582)](n(779),r[n(635)](n(779)),o),s[n(511)][n(582)](n(467),r[n(635)](n(467)),o)}),{priority:i(589)})})),this[t(617)][t(576)][t(681)](t(643))[t(701)]((e=>{const i=t;e.on(i(622),((t,e,s)=>{const n=i;if(!s[n(475)][n(754)](e[n(731)],{attributes:[n(779),n(467)]}))return;if(e[n(692)][n(740)])return;const r=e[n(692)][n(551)][n(521)];r[n(708)](n(779))||r[n(708)](n(571))||(s[n(511)][n(582)](n(779),e[n(731)][n(635)](n(779)),r),s[n(511)][n(582)](n(467),e[n(731)][n(635)](n(467)),r))}),{priority:i(589)})})),this[t(617)][t(576)][t(681)](t(643))[t(579)]({view:{name:t(545),attributes:{vid:!0}},model:{key:t(571),value:e=>e[t(635)](t(571))}}),this[t(617)][t(751)][t(487)].on(t(507),((e,[,i])=>{const s=t;[s(779),s(467),s(571)][s(757)](i)&&(e[s(618)]=!0,e[s(689)]())}),{priority:t(570)}),this[t(617)][t(576)][t(681)](t(610))[t(701)]((e=>{const i=t;e.on(i(713),((t,e,s)=>{const n=i;if(" "!=e[n(540)][n(744)]||e[n(540)][n(722)][n(479)]>1)return;if(!s[n(475)][n(754)](e[n(540)],t[n(655)]))return;const r=s[n(511)],o=s[n(785)][n(766)](e[n(727)]);r[n(776)](o,r[n(700)](n(545)))}))})),this[t(617)][t(576)][t(681)](t(610))[t(726)]({model:t(542)}),this[t(617)][t(648)][t(606)].on(t(747),function(e){const i=t,s=e[i(695)][i(653)](i(514));return(t,n,r)=>{const o=i,a=n[o(517)][o(603)](":")[1],c=s[o(670)](a);if(!c)return null;const u=o(701)==c[o(750)]?o(603):o(634);if(!r[o(475)][o(650)](n[o(628)],t[o(655)]))return;const l=n[o(628)][o(749)](),h=n[o(628)][o(551)],d=e[o(751)][o(487)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(540)];p=p||d[o(543)](e);const i=r[o(785)][o(556)](e);if(i&&i[o(644)](o(544)))return;o(632)==t[o(750)]&&d[o(755)](e)&&!d[o(711)](e)&&(e[o(682)]||h[o(743)]?f&&f[o(722)]==e||(f=e,g(t[o(771)]),v=!0):m=m||t[o(771)])}function g(t){const e=o,i=r[e(511)][e(508)](e(545),{class:e(639)+u}),a=r[e(785)][e(470)](t);c[e(744)][e(537)]&&r[e(511)][e(578)](e(639)+u+e(709),i),s[e(478)]==c&&r[e(511)][e(578)](e(500),i),r[e(511)][e(696)](a,i),r[e(785)][e(732)](i,n[e(517)])}p||v||!m||g(m)}}(this[t(617)]),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(599),((e,i,s)=>{const n=t,r=s[n(785)][n(775)](i[n(517)]);if(r)for(const t of r)(t[n(672)](n(580))||t[n(672)](n(553)))&&(s[n(785)][n(767)](t,i[n(517)]),s[n(511)][n(741)](t))}),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(747),((e,i,s)=>{const n=t,r=i[n(517)][n(603)](":")[1],o=this[n(670)](r);if(!o)return null;const a=n(701)==o[n(750)]?n(603):n(634);if(s[n(475)][n(650)](i[n(628)],e[n(655)]))for(const t of i[n(628)][n(631)]()){if(!t.is(n(622),n(577)))continue;const e=s[n(511)][n(508)](n(545),{class:n(639)+a}),r=s[n(785)][n(470)](this[n(617)][n(751)][n(688)](t));o[n(744)][n(537)]&&s[n(511)][n(578)](n(639)+a+n(709),e),this[n(478)]==o&&s[n(511)][n(578)](n(500),e),s[n(511)][n(696)](r,e),s[n(785)][n(732)](e,i[n(517)])}}),{priority:t(584)}),this[t(617)][t(751)][t(620)].on(t(572),(()=>{const e=t;this[e(617)][e(648)][e(587)][e(572)]((t=>{const i=e;for(const e of this[i(617)][i(751)][i(620)][i(716)]()){const s=this[i(617)][i(751)][i(620)][i(664)](e),n=this[i(617)][i(648)][i(587)][i(620)][i(664)](e);if(n){const e=s[i(635)](i(676));if(t[i(623)](i(723),n),t[i(746)](i(567),n),t[i(746)](i(597),n),t[i(746)](i(717),n),e){const s=this[i(670)](e);if(!s)return null;t[i(582)](i(723),e,n),t[i(578)](i(705)+s[i(750)],n),this[i(478)]==s&&t[i(578)](i(717),n)}}}}))})),this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(480),model:e=>t(730)+e,converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(675),model:e=>t(465)+e,converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(610))[t(726)]({model:t(737),view:e=>({name:t(684)+e,group:t(737)}),converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(601))[t(720)]({model:t(737),view:e=>{const i=t,s=e[i(517)][i(603)](":")[1];return i(491)!=s&&i(538)!=s?null:{classes:[i(734),i(468)+s]}}}),this[t(617)][t(648)][t(606)].on(t(522),ie(this[t(617)],t(634)),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(515),ie(this[t(617)],t(603)),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(661),((e,i,s)=>{const n=t,r=s[n(785)][n(775)](i[n(517)]);if(r)for(const t of r)t.is(n(774))&&(s[n(785)][n(767)](t,i[n(517)]),s[n(511)][n(741)](t))}),{priority:t(584)})}[Xt(670)](t){const e=Xt;return this[e(485)][e(653)](t)}[Xt(497)](t){const e=Xt;return this[e(518)]&&this[e(518)][e(476)](),this[e(518)]=new Wt(this[e(617)][e(647)],t),this[e(518)]}[Xt(778)](){const t=Xt;this[t(617)][t(751)][t(620)][t(529)][t(687)](t(542)),this.on(t(503),((e,i,s,n)=>{const r=t;n&&this[r(624)][r(741)](n),s&&(this[r(624)][r(701)]({view:s,stackId:r(657),position:{target:()=>{const t=r,e=this[t(617)][t(648)],i=this[t(670)](s[t(611)]);let n;if(i[t(744)][t(668)]){const s=e[t(587)][t(619)](i[t(509)]);n=Array[t(630)](s[t(481)]())}else{const i=this[t(617)][t(751)][t(595)][t(653)](t(693)+s[t(611)]);n=Array[t(630)](e[t(785)][t(775)](i[t(655)]))[t(607)]((i=>e[t(587)][t(592)][t(780)](i)))[t(607)]((e=>Array[t(630)](e[t(481)]())))[t(569)]()}return this[t(510)]&&n[t(765)]((e=>e[t(745)]-3<=this[t(510)].y&&e[t(464)]+3>=this[t(510)].y&&e[t(762)]-3<=this[t(510)].x&&e[t(502)]+3>=this[t(510)].x))||n[0]}}}),this[r(624)][r(702)](r(657)))})),this.on(t(733),((e,i,s,n)=>{const r=t;this[r(638)]=s?this[r(497)](s):null,this[r(617)][r(751)][r(572)]((()=>{const t=r,e=this[t(617)][t(648)];n&&(n[t(744)][t(668)]?e[t(587)][t(572)]((i=>{const s=t;i[s(746)](s(717),e[s(587)][s(620)][s(664)](n[s(509)]))})):e[t(524)](t(693)+n.id)),s&&(s[t(744)][t(668)]?e[t(587)][t(572)]((i=>{const n=t;i[n(578)](n(717),e[n(587)][n(620)][n(664)](s[n(509)]))})):e[t(524)](t(693)+s.id))}))})),this[t(546)](this[t(617)][t(648)][t(587)][t(620)],t(495),((e,i)=>{const s=t;if(this[s(478)])return;const n=this[s(574)](i[s(637)]),r=this[s(485)][s(653)](n);r?(this[s(510)]={x:i[s(699)].x,y:i[s(699)].y},this[s(638)]=this[s(497)](r)):(this[s(510)]=null,this[s(638)]=null)})),this[t(546)](this[t(617)][t(648)][t(587)][t(620)],t(496),((e,i)=>{const s=t,n=this[s(574)](i[s(637)]),r=this[s(485)][s(653)](n);r?(this[s(510)]={x:i[s(699)].x,y:i[s(699)].y},r===this[s(478)]?this[s(624)][s(534)]():this[s(478)]=r):(this[s(510)]=null,this[s(478)]=null)}))}[Xt(574)](t){const e=Xt;do{const i=t[e(635)](e(723));if(i)return i;t=t[e(722)]}while(t);return null}[Xt(761)](){const t=Xt;this[t(617)][t(751)][t(572)]((e=>{const i=t;for(const t of this[i(617)][i(751)][i(595)])e[i(519)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(475)][r(650)](s[r(628)],i[r(655)]))return;const o=s[r(628)][r(749)](),a=s[r(628)][r(551)],c=t[r(751)][r(487)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(540)];h=h||c[r(543)](e);const i=n[r(785)][r(556)](e);if(i&&i[r(644)](r(544)))return;r(632)==t[r(750)]&&c[r(755)](e)&&!c[r(711)](e)&&(e[r(682)]||a[r(743)]?u&&u[r(722)]==e||(u=e,f(t[r(771)]),d=!0):l=l||t[r(771)])}function f(t){const i=r,o=n[i(785)][i(470)](t),a=n[i(511)][i(508)](i(545),{class:i(468)+e});n[i(511)][i(696)](o,a),n[i(785)][i(732)](a,s[i(517)])}h||d||!l||f(l)}}class se extends H.Command{constructor(t){const e=Xt;super(t);const i=t[e(695)][e(653)](ee);this[e(686)]=!1,this[e(546)](i,e(488),(()=>this[e(703)]())),this[e(546)](i,e(728),(()=>this[e(703)]()))}[Xt(651)](){const t=Xt,e=this[t(617)],i=e[t(695)][t(653)](ee),s=i[t(694)]?i[t(590)][t(735)]:null;e[t(763)][t(653)](t(605))[t(555)](s)}[Xt(703)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(617)][t(695)][t(653)](ee),r=n&&s[t(719)](n[t(735)]);this[t(704)]=e&&i&&Boolean(r)}}class ne extends H.Command{[Xt(541)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(695)][i(653)](ee);this[i(686)]=!1,this[i(541)]=i(781)===e?1:-1,this[i(546)](s,i(488),(()=>this[i(703)]())),this[i(546)](s,i(728),(()=>this[i(703)]())),this[i(546)](s,i(733),(()=>this[i(703)]()))}[Xt(651)](){const e=Xt,i=this[e(617)],s=i[e(695)][e(653)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(478)]=n?s[e(590)][e(649)][e(653)](r+this[e(541)]):s[e(590)][e(649)][e(472)],s[e(478)][e(744)][e(668)])o=i[e(648)][e(587)][e(619)](s[e(478)][e(509)]);else{const t=i[e(751)][e(595)][e(653)](e(693)+s[e(478)].id);o=(0,U.getMarkerDomElement)(i[e(648)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(703)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(617)][t(695)][t(653)](ee);this[t(704)]=!!(r&&n&&s)&&(!e||(1===this[t(541)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=382]})(t,e)}function ce(){const t=["ck-revision-history-ui","NUMBER_OF_CHANGES","forward","Show next change","No changes","2990236OnpRTN","isForwardNavigationEnabled","set","setTemplate","_statusText","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__navigation","isReady","ck-hidden","backward","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","isNavigationMode","isEnabled","_isStatusLabelVisible","617280JYkRae","div","4883004ciopwj","1017012oxuFzo","span","currentChangeNumber","1135912bGpMNr","fire","isBackwardNavigationEnabled","bind","ck-revision-history-ui__changes-navigation__label","bindTemplate","Total","ck-revision-history-ui__changes-navigation__wrapper","579990GLQxzM","execute","823627dRPwXW","numberOfChanges","Show previous change","Loading..."];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(968044===parseInt(e(405))/1+-parseInt(e(387))/2+parseInt(e(404))/3+-parseInt(e(408))/4+parseInt(e(402))/5+parseInt(e(416))/6+-parseInt(e(418))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(413)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(389)](e(399),!1),this[e(389)](e(394),!1),this[e(389)](e(407),0),this[e(389)](e(419),0),this[e(389)](e(388),!1),this[e(389)](e(410),!1),this[e(411)](e(401)).to(this,e(394),this,e(419),((t,e)=>t&&e>0)),this[e(411)](e(391)).to(this,e(394),this,e(407),this,e(419),this,e(399),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(421));if(!n)return Q(t,o(386));const a=Q(t,o(383),n);return r?Q(t,o(397),[s+1,n]):a})),s[e(389)]({label:Q(t,e(420)),tooltip:!0,icon:mt.IconChevronUp}),n[e(389)]({label:Q(t,e(385)),tooltip:!0,icon:mt.IconChevronDown}),s[e(411)](e(400)).to(this,e(410)),n[e(411)](e(400)).to(this,e(388)),s.on(e(417),(()=>this[e(409)](e(417),e(396)))),n.on(e(417),(()=>this[e(409)](e(417),e(384)))),this[e(390)]({tag:e(403),attributes:{class:["ck",e(382),e(392)]},children:[{tag:e(406),attributes:{class:[e(415)]},children:[{tag:e(406),attributes:{class:[e(412),i.if(e(401),e(395),(t=>!t))]},children:[{text:i.to(e(399),(i=>i?Q(t,e(398))+": ":Q(t,e(414))+": "))}]},{text:i.to(e(391))}]},new pt.ToolbarSeparatorView,{tag:e(403),attributes:{class:[e(393)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;function fe(){const t=["245375VhMTqk","RevisionViewerLoadingOverlay","5IDecjr","hide","show","isOfficialPlugin","pluginName","1245671XtlMgr","roots","removeClass","document","change","1326404dRJAWb","ck-editor__editable__loading-overlay","addClass","7272760jDmsPQ","view","editor","editing","2071626ARlcUG","1492794bsTohn","533340UIlYHN","isPremiumPlugin"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(268509===-parseInt(e(419))/1+parseInt(e(417))/2+-parseInt(e(416))/3+-parseInt(e(408))/4+-parseInt(e(421))/5*(-parseInt(e(415))/6)+-parseInt(e(426))/7+parseInt(e(411))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=de(409);class ve extends H.Plugin{static get[de(425)](){return de(420)}static get[de(424)](){return!0}static get[de(418)](){return!0}[de(423)](){const t=de,e=this[t(413)][t(414)][t(412)];e[t(430)]((i=>{const s=t;for(const t of e[s(429)][s(427)])i[s(410)](pe,t)}))}[de(422)](){const t=de,e=this[t(413)][t(414)][t(412)];e[t(430)]((i=>{const s=t;for(const t of e[s(429)][s(427)])i[s(428)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=458]})(t,e)}function ke(){const t=["hide","get","1422COGHdB","revisionHistory","RevisionViewerUI","changesNavigation","3947424TCIVHb","8aJsswx","isForwardNavigationEnabled","1956410sLWwqb","ck-revision-history-ui__back-to-editing","set","add","isReady","isPremiumPlugin","1212177VRrCFX","plugins","pluginName","componentFactory","change:isReady","requires","forward","restoreRevision","isOfficialPlugin","commands","show","currentChangeNumber","showNextChange","showPreviousChange","Back to editing","execute","exitToEditing","9540433AUHaOi","init","525692yPySkK","isEnabled","closeRevisionViewerCallback","20462706HgVzMV","config","23880ppxyop","isNavigationMode","listenTo","editor","Restore this revision","bind","isBackwardNavigationEnabled","numberOfChanges"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(699903===parseInt(e(465))/1+parseInt(e(487))/2+parseInt(e(493))/3+-parseInt(e(484))/4+-parseInt(e(470))/5*(parseInt(e(480))/6)+-parseInt(e(463))/7*(parseInt(e(485))/8)+parseInt(e(468))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends H.Plugin{static get[ge(495)](){return ge(482)}static get[ge(501)](){return!0}static get[ge(492)](){return!0}static get[ge(498)](){return[ee,ve]}[ge(464)](){const t=ge,e=this[t(473)],i=e[t(494)][t(479)](ee),s=e[t(494)][t(479)](ve);e.ui[t(496)][t(490)](t(462),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(489)]({label:Q(i,s(460)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(488)}),this[s(472)](n,s(461),(()=>{const t=s;e[t(469)][t(479)](t(481))[t(467)]()})),n})),e.ui[t(496)][t(490)](t(500),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(489)]({label:Q(i,s(474)),withText:!0,tooltip:!0}),n[s(475)](s(466)).to(e[s(502)][s(479)](s(500))),this[s(472)](n,s(461),(()=>e[s(461)](s(500)))),n})),e.ui[t(496)][t(490)](t(483),(s=>{const n=t,r=new ue(s),o=e[n(502)][n(479)](n(459)),a=e[n(502)][n(479)](n(458));return r[n(475)](n(476)).to(o,n(466)),r[n(475)](n(486)).to(a,n(466)),r[n(475)](n(491),n(504),n(477),n(471)).to(i),this[n(472)](r,n(461),((t,i)=>{const s=n;e[s(461)](s(499)===i?s(458):s(459))})),r})),s[t(503)](),i.on(t(497),((e,i,n)=>{const r=t;n?s[r(478)]():s[r(503)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=409]})(t,e)}function Oe(){const t=["3568229RctjNO","bindTemplate","_resizeObserver","input","7382023SDwTZg","30sIfvHP","clientWidth","listenTo","render","_updateTooltipText","placeholder","ck-tooltip_multi-line","_tooltipString","Revision name","6ZDkBLy","scrollWidth","2576156FUoRcI","1220310mnkoLw","ck-revision-history-sidebar__revision-name","18eqGlen","9333zshJBy","extendTemplate","value","232oNkuMF","fieldView","165358eYHyVR","span","set","Enter the revision name","destroy","369640RZyEmx","element"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(991644===-parseInt(e(425))/1*(-parseInt(e(431))/2)+parseInt(e(423))/3+parseInt(e(422))/4+-parseInt(e(436))/5*(parseInt(e(420))/6)+parseInt(e(438))/7+-parseInt(e(429))/8*(-parseInt(e(426))/9)+parseInt(e(411))/10*(-parseInt(e(410))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(440)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(439)];this[i(433)]({label:Q(t,i(419)),_tooltipString:""}),this[i(430)][i(416)]=Q(t,i(434)),this[i(427)]({tag:i(432),attributes:{class:[i(424)],"data-cke-tooltip-text":s.to(i(418)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(417)}})}[Ie(414)](){const e=Ie;super[e(414)](),this[e(440)]=new t.ResizeObserver(this[e(430)][e(437)],(()=>this[e(415)]())),this[e(413)](this[e(430)],e(409),(()=>this[e(415)]()))}[Ie(435)](){const t=Ie;super[t(435)](),this[t(440)]&&this[t(440)][t(435)]()}[Ie(415)](){const t=Ie,e=this[t(430)][t(437)];this[t(418)]=e[t(421)]>e[t(412)]&&e[t(428)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["name","span","2166oFbvfL","16749kjzYVs","673mhQKln","3826196cFROpy","2459922QKnyhc","1204259hfKtVD","0 0 11 10","Revision author","set","5yIpXja","setTemplate","ck-revision-history-sidebar__revision-author_creator","8lDaLCK","Revision creator","ck-revision-history-sidebar__revision-author__name","2674708BWwIZu","3TzPkRF","push","38844832EwtENz","1410TZxpgS","36iNwlAd","ck-revision-history-sidebar__revision-author"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(571471===parseInt(e(147))/1*(-parseInt(e(145))/2)+parseInt(e(161))/3*(-parseInt(e(160))/4)+-parseInt(e(154))/5*(parseInt(e(149))/6)+-parseInt(e(150))/7*(-parseInt(e(157))/8)+parseInt(e(146))/9*(parseInt(e(164))/10)+-parseInt(e(148))/11*(parseInt(e(165))/12)+parseInt(e(163))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(153)]({content:mt.IconUser,viewBox:s(151)});const r=["ck",s(142)];i&&r[s(162)](s(156));const o=[{tag:s(144),attributes:{class:["ck",s(159)],title:Q(t,s(i?158:152))},children:[n,e[s(143)]]}];this[s(155)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Ee();return(De=function(t,e){return i[t-=498]})(t,e)}function Ee(){var t=["744988IYimic","numeric","9173760cLfRhO","long","50XPFncw","13050060fDLuTi","1047483cEqHfg","22LDAVlX","65866BUuaBH","15SitdcN","12doEkfO","2996945hhEvZx","toLocaleTimeString","3oqALjE","4117825aQEMfv","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(902046===parseInt(e(505))/1*(-parseInt(e(500))/2)+parseInt(e(501))/3*(parseInt(e(508))/4)+parseInt(e(506))/5+-parseInt(e(502))/6*(-parseInt(e(503))/7)+parseInt(e(510))/8+parseInt(e(498))/9*(-parseInt(e(512))/10)+-parseInt(e(499))/11*(parseInt(e(513))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=335]})(t,e)}function je(){const t=["change:isActionsDropdownOpen","listenTo","model","isReady","locale","panelPosition","isOpen","752yxFArY","3333846FmGSwo","Restore this revision","ck-on","buttonView","686fmNDMP","extendTemplate","isActionsDropdownOpen","add","48sYWCxD","ck-revision-history-sidebar__revision__actions","name","8952248DOGYlm","execute","isVisible","stopPropagation","class","_action","items","6020REQuIQ","10tocvRO","bind","Compare against selected","action","Show more items","find","26206301vPksGf","menuitem","source","2609920PiogfF","menu","button","Name this revision","function","first","10377542yyCtbs","map","listView","children","bindTemplate","isEnabled","set","9sBIJFZ"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(787420===-parseInt(e(362))/1*(parseInt(e(357))/2)+parseInt(e(366))/3*(-parseInt(e(376))/4)+-parseInt(e(377))/5*(-parseInt(e(358))/6)+parseInt(e(342))/7+parseInt(e(369))/8+parseInt(e(349))/9*(-parseInt(e(336))/10)+-parseInt(e(383))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=He();return(We=function(t,e){return i[t-=131]})(t,e)}function He(){const t=["ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bindTemplate","isReady","185803oegmYx","ck-revision-history-sidebar__revision-authors","createdAt","678eTErwZ","setName","fire","srcElement","map","isSelected","change","isActionsDropdownOpen","value","setTemplate","ck-revision-history-sidebar__revision_highlighted","2299Olcdni","unshift","render","filter","creator","_requireRevisionName","fieldView","isConfirm","19590bJbhzs","ck-revision-history-sidebar__revision_selected","div","ck-reset","15318wTnjmN","_createdAtFormatted","extendTemplate","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper","length","45AlQslU","span","ck-revision-history-sidebar__revision-wrapper",".ck-thread__remove-confirm","bind","select","isEnabled","ck-revision-history-sidebar__actions_dropdown_open","deselect","1272nVfbVS","revisionNameView","from","authors","2011545qVgkkt","301TfiSJI","ck-disabled","closest","highlight","_revision","name","285816ydbnFG","ck-revision-history-sidebar__revision","unhighlight","element","ck-revision-history-sidebar__revision__date","listenTo","isHighlighted","set","216144oszRfN","uiLanguage","220"];return(He=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(528344===-parseInt(e(133))/1+-parseInt(e(174))/2*(parseInt(e(136))/3)+parseInt(e(185))/4+parseInt(e(178))/5+-parseInt(e(159))/6*(-parseInt(e(179))/7)+parseInt(e(193))/8*(-parseInt(e(165))/9)+-parseInt(e(155))/10*(-parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(175)];[ze(162)];[ze(183)];[ze(152)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(131)],a=function(t,e){const i=r,s=Array[i(176)](e[i(177)])[i(150)]((t=>t!=e[i(151)]));return e[i(151)]&&s[i(148)](e[i(151)]),s[i(140)]((s=>new Ve(t,s,s==e[i(151)])))}(e,i);this.id=i.id,this[r(183)]=i,this[r(152)]=n,this[r(169)](r(184),r(135)).to(i),this[r(169)](r(160)).to(this,r(135),(t=>{return i=e[r(194)],(s=t)[(n=De)(507)](i,{month:n(511),day:n(509)})+", "+s[n(504)](i,{hour:n(509),minute:n(509)});var i,s,n})),this[r(192)](r(141),!1),this[r(192)](r(191),!1),this[r(192)](r(143),!1),this[r(192)](r(132),!1),this[r(192)](r(171),!1),this[r(175)]=new Te(e,pt.createLabeledInputText),this[r(175)][r(153)][r(161)]({attributes:{maxlength:r(195)}}),this[r(175)][r(153)][r(169)](r(144)).to(this,r(184),(t=>t||this[r(160)])),this[r(175)][r(169)](r(171)).to(this,r(141),this,r(171),((t,e)=>t&&e)),this[r(162)]=s&&s[r(164)]?function(e,i){const s=Fe,n=e[s(346)],r=e[s(354)],o=(0,pt.createDropdown)(r);o[s(355)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(354)],n={"Compare against selected":Q(s,i(379)),"Name this revision":Q(s,i(339)),"Restore this revision":Q(s,i(359))};return e[i(343)]((t=>{const e=i,s=n[t[e(368)]];return s&&s!==t[e(368)]&&(t[e(368)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(338),model:new pt.ViewModel({label:t[n(368)],class:t[n(373)],withText:!0,role:n(384),_action:t[n(380)]})};i[n(352)][n(378)](n(347)).to(e,n(364),(i=>n(340)!=typeof t[n(347)]||!i||t[n(347)](e))),o[n(365)](i)}return o}(e,i);return e[s(378)](s(364)).to(o,s(356)),o[s(361)][s(348)]({label:Q(r,s(381)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(363)]({attributes:{class:[s(367),n.if(s(364),s(360))]},on:{click:n.to((t=>t[s(372)]()))}}),o.on(s(370),(t=>{const i=s;e[i(353)]&&i(340)==typeof t[i(335)][i(374)]&&t[i(335)][i(374)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(337)}),o[s(351)](e,s(350),((t,n,r)=>{const a=s;if(r)for(const t of o[a(344)][a(375)]){const s=t[a(345)][a(341)],n=i[a(382)]((t=>t[a(380)]===s[a(374)]))[a(371)];t[a(371)]=void 0===n||n(e)}})),o}(this,s):"",this[r(162)]&&this[r(162)][r(169)](r(171)).to(this),this[r(145)]({tag:r(157),attributes:{class:["ck",r(158),r(167),o.if(r(154),r(196))]},children:[{tag:r(157),attributes:{class:["ck",r(158),r(186),o.if(r(171),r(180),(t=>!t)),o.if(r(141),r(156)),o.if(r(191),r(146)),o.if(r(143),r(172))]},children:[this[r(175)],{tag:r(166),attributes:{class:["ck",r(189)]},children:[{text:o.to(r(160))}]},{tag:r(157),attributes:{class:["ck",r(163)]},children:[{tag:"ul",attributes:{class:["ck",r(134)]},children:a}]},this[r(162)]],on:{click:o.to((t=>{const e=r;t[e(139)][e(181)](e(168))||this[e(132)]&&this[e(171)]&&this[e(138)](e(170),{id:this.id})}))}}]})}[ze(149)](){const t=ze;super[t(149)]();const e=this[t(175)][t(153)][t(188)];this[t(190)](e,t(142),(()=>{const i=t;this[i(152)]&&!e[i(144)]||this[i(138)](i(137),{id:this.id,name:e[i(144)]}),e[i(144)]||(e[i(144)]=this[i(184)]?this[i(184)]:this[i(160)])}))}[ze(170)](){this[ze(141)]=!0}[ze(173)](){this[ze(141)]=!1}[ze(182)](){this[ze(191)]=!0}[ze(187)](){this[ze(191)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=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=xi[e];"era"===e?s[r]=n:_s(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"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Mi={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ri.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=Di(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Hi{static fromOpts(t){return Hi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Hi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Hi.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=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?Hi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Ui=null;class Zi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 qi extends Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Hi.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Hs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(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 Zs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ds(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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 Vn(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Hs(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Hn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Hi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Hi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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 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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Hi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Hi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Hs);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ms(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Hi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Hi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 Qr(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Dr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Hi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Hi.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Hi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Hi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Hi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Hn,$n],[Un,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Hi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Hi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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=Hr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Hr(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Hr(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Hi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=208]})(t,e)}function ro(){const t=["14721008eTBBup","42626440qVcVkT","day","4JClmZj","16123707qZNKkD","startOf","hasSame","monthLong","setLocale","local","weekdayLong","toRelativeCalendar","minus","799914SpaUxJ","month","week","toJSDate","168PiSGbX","fromJSDate","958260hhRnQV","year","5348YbIyJX","4430901ENVpXF","7OtCGIN"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(218)](t)[i(208)](e),n=io[i(209)](),r=n[i(212)]({days:1})[i(229)](i(226));let o,a;return s[i(230)](n,i(226))?(o=s[i(229)](i(226))[i(216)](),a=s[i(211)]()):s[i(230)](r,i(226))?(o=r[i(216)](),a=s[i(211)]()):s[i(230)](n,i(215))?(o=s[i(229)](i(215))[i(216)](),a=s[i(210)]||""):s[i(230)](n,i(220))?(o=s[i(229)](i(214))[i(216)](),a=s[i(231)]||""):(o=s[i(229)](i(220))[i(216)](),a=String(s[i(220)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(970233===-parseInt(e(217))/1*(-parseInt(e(221))/2)+-parseInt(e(222))/3*(-parseInt(e(227))/4)+-parseInt(e(219))/5+parseInt(e(213))/6*(-parseInt(e(223))/7)+parseInt(e(224))/8+parseInt(e(228))/9+-parseInt(e(225))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(572922===-parseInt(e(140))/1+-parseInt(e(144))/2*(-parseInt(e(145))/3)+parseInt(e(148))/4+parseInt(e(141))/5+-parseInt(e(137))/6+-parseInt(e(143))/7*(parseInt(e(159))/8)+parseInt(e(164))/9*(parseInt(e(166))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(158)];[uo(138)];[uo(142)];[uo(156)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(155)][n(147)])[n(149)];this[n(158)]=e,this[n(138)]=this[n(139)](),this[n(142)]=i,this[n(156)]=s,this[n(138)][n(152)](n(157)).to(this),this[n(138)][n(152)](n(151)).to(this),this[n(162)]({tag:n(161),attributes:{class:["ck",n(153)]},children:[{tag:n(167),attributes:{class:["ck",n(146)]},children:[{text:r}]},{tag:n(161),attributes:{class:["ck",n(150)]},children:this[n(138)]}]})}[uo(154)](t){const e=uo,i=new Ue(this[e(155)],t,this[e(142)],this[e(156)]);this[e(138)][e(165)](i)}[uo(163)](t){const e=uo,i=this[e(138)][e(160)]((e=>e.id===t.id));this[e(138)][e(168)](i)}}function fo(){const t=["1164152vwYuia","find","div","setTemplate","removeRevision","394281DLdjCK","add","200ulBOFy","span","remove","668142OoqueN","revisionViews","createCollection","525576XrLBhx","1116745CuZFCo","_revisionActions","7EIMnsj","2wVjYTh","133257KypnKp","ck-revision-history-sidebar__time-period__label","uiLanguage","845704TWxRww","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","setName","delegate","ck-revision-history-sidebar__time-period","addRevision","locale","_requireRevisionName","select","startDate"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["div","span","1164894zKXpUH","2568HStAiR","40784970zKuHNr","Revision history","8LASjed","1299555TBSOcR","37051tIObso","530603QqBFYD","862038CrMhJZ","ck-revision-history-sidebar__header__label","762kgwrmZ","setTemplate","content","ck-reset_all","ck-revision-history-sidebar__header","4780CTfjBe"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=425]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(914623===-parseInt(e(440))/1+-parseInt(e(433))/2+parseInt(e(434))/3*(-parseInt(e(430))/4)+-parseInt(e(438))/5+-parseInt(e(425))/6*(parseInt(e(439))/7)+-parseInt(e(437))/8*(parseInt(e(441))/9)+parseInt(e(435))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(427)]=mt.IconHistory,this[e(426)]({tag:e(431),attributes:{class:["ck",e(428),e(429)]},children:[i,{tag:e(432),attributes:{class:["ck",e(442)]},children:[Q(t,e(436))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=305]})(t,e)}function Io(){const t=["ck-reset","getTime","ck-revision-history-sidebar","some","32649129LhnSoz","deselect","2082372NwvRrS","createCollection","set","bindTemplate","highlightRevisions","_getTimePeriodViewByStartDate","_requireRevisionName","3927441QWhKGP","ck-revision-history-sidebar__timeline","3XaaToU","fire","find","5PdkOnR","_revisions","removeRevision","timePeriodViews","uiLanguage","setTemplate","flat","ck-disabled","locale","addRevision","isEnabled","highlight","render","8432264jXUqNN","unhighlight","_revisionActions","2696964LJUmUN","div","delegate","revisionViews","_removeRevision","selectRevision","get","createdAt","344802gPSLBL","ck-rounded-corners","select","startDate","520042sPDhEF","add","map","remove","_addRevision","setName","revisionSetName","revisionSelected"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(721019===parseInt(e(352))/1+-parseInt(e(340))/2+parseInt(e(321))/3*(-parseInt(e(312))/4)+-parseInt(e(324))/5*(-parseInt(e(348))/6)+-parseInt(e(319))/7+-parseInt(e(337))/8+parseInt(e(310))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(327)];[wo(325)];[wo(339)];[wo(318)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(315)];this[n(327)]=this[n(313)](),this[n(327)][n(342)](n(350)).to(this),this[n(327)][n(342)](n(357)).to(this),this[n(325)]=e,this[n(339)]=i,this[n(318)]=s,this.on(n(350),((t,e)=>{const i=n;this[i(322)](i(305),e)})),this.on(n(357),((t,e)=>{const i=n;this[i(322)](i(358),e)})),this[n(314)](n(334),!1),this[n(329)]({tag:n(341),attributes:{class:["ck",n(306),n(349),n(308)]},children:[new yo(t),{tag:n(341),attributes:{class:["ck",n(320),r.if(n(334),n(331),(t=>!t))]},children:this[n(327)]}]})}[wo(336)](){const t=wo;super[t(336)]();for(const e of this[t(325)])this[t(356)](e);this[t(325)].on(t(353),((e,i)=>{this[t(356)](i)})),this[t(325)].on(t(355),((e,i)=>{this[t(344)](i)}))}get[wo(343)](){const t=wo;return this[t(327)][t(354)]((e=>e[t(343)][t(354)]((t=>t))))[t(330)]()}[wo(345)](t){const e=wo;for(const i of this[e(343)])t&&t.id===i.id?i[e(350)]():i[e(311)]()}[wo(316)](t){const e=wo;for(const i of this[e(343)])t[e(309)]((({id:t})=>t===i.id))?i[e(335)]():i[e(338)]()}[wo(356)](t){const e=wo,i=oo(t[e(347)],this[e(332)][e(328)])[e(351)];let s=this[e(327)][e(346)](0);s&&s[e(351)][e(307)]()===i[e(307)]()||(s=new ho(this[e(332)],i,this[e(339)],this[e(318)]),this[e(327)][e(353)](s)),s[e(333)](t)}[wo(344)](t){const e=wo,i=oo(t[e(347)],this[e(332)][e(328)])[e(351)];this[e(317)](i)[e(326)](t)}[wo(317)](t){const e=wo;return this[e(327)][e(323)]((i=>i[e(351)][e(307)]()===t[e(307)]()))}}const Oo=xo;function To(){const t=["timePeriodViews","config","revisionHistory","26JBTGmZ","newRevisionId","focus","revisionSetName","isPremiumPlugin","92440cHyPTH","revisionHistory.viewerSidebarContainer","appendChild","_revisionViewer","restoreRevisionCallback","getIndex","5341356xusuEO","init","Name this revision","RevisionsSidebar","editor","select","12FGhXlp","3850730Dxkfne","getLaterVisibleRevision","pluginName","data","setName","13707793oQhhPU","add","repository","action","revisionHistory.revisionActions","ready","isEnabled","requires","length","get","fieldView","defaultRevisionActions","isSelected","render","availableRevisionActions","_handleRevisionSelected","name","_revisions","highlightRevisions","compare","4669rSdDLZ","_handleRevisionSetName","revisionSelected","_revisionsRepository","revisionHistory.requireRevisionName","element","2368BPWEuN","isOfficialPlugin","selectRevision","assign","getRevision","Restore this revision","plugins","_createRevisionActions","_handleDiffChange","getRevisionsInDiff","map","getEarlierVisibleRevision","isVisible","destroy","66cPmBEd","nameRevision","compareAgainstSelected","_handleEditorDataReady","restoreRevision","revisionViews","remove","bind","_sidebarView","8154UJpqlf","change:diff","Compare against selected","listenTo","diff","isReady","string","1930mMNfxt","locale","33331hwWUDG"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(447094===parseInt(e(542))/1*(-parseInt(e(546))/2)+parseInt(e(524))/3*(-parseInt(e(551))/4)+-parseInt(e(564))/5+parseInt(e(557))/6+-parseInt(e(504))/7*(-parseInt(e(510))/8)+-parseInt(e(533))/9*(parseInt(e(540))/10)+-parseInt(e(484))/11*(-parseInt(e(563))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends H.Plugin{[Oo(554)];[Oo(507)];[Oo(532)];static[Oo(495)]=[Oo(526),Oo(528),Oo(525)];static[Oo(498)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(535),action:({plugins:e},i)=>{const s=t,n=e[s(493)](ee),r=n[s(486)];let o=n[s(537)][s(547)],a=i.id;r[s(556)](o)>r[s(556)](a)&&([o,a]=[a,o]),n[s(503)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(493)](ee);return!(n[s(486)][s(519)](n[s(537)])[s(492)]>2||i[s(496)])}},restoreRevision:{name:t(515),action:(e,{id:i})=>{const s=t;e[s(544)][s(493)](s(545))[s(555)](i)},isVisible:({plugins:e},i)=>!!e[t(493)](ee)[t(486)][t(565)](i.id)},nameRevision:{name:t(559),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(493)](ee),o=r[n(486)][n(521)](i);r[n(503)](i,o),s[n(548)](),s[n(494)][n(562)]()}}}}();static get[Oo(566)](){return Oo(560)}static get[Oo(511)](){return!0}static get[Oo(550)](){return!0}static get[Oo(491)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(554)]=t[e(516)][e(493)](ee),this[e(507)]=this[e(554)][e(486)],this[e(532)]=null}[Oo(558)](){const t=Oo,e=this[t(507)][t(501)],i=this[t(517)](),s=this[t(561)][t(544)][t(493)](t(552));this[t(532)]=new So(this[t(561)][t(541)],e,i,this[t(561)][t(544)][t(493)](t(508))),this[t(532)].on(t(506),this[t(499)][t(531)](this)),this[t(532)].on(t(549),this[t(505)][t(531)](this)),this[t(532)][t(531)](t(490)).to(this[t(554)]),this[t(532)][t(543)].on(t(485),((e,i)=>{const s=t;i[s(529)].on(s(485),((t,e)=>{const i=s;e[i(531)](i(490),i(538)).to(this[i(554)])}))})),this[t(532)][t(497)](),this[t(536)](this[t(561)][t(567)],t(489),this[t(527)][t(531)](this)),this[t(536)](this[t(554)],t(534),this[t(518)][t(531)](this)),s[t(553)](this[t(532)][t(509)])}[Oo(523)](){const t=Oo;this[t(532)][t(509)][t(530)](),this[t(532)][t(523)]()}[Oo(527)](){const t=Oo,e=this[t(507)][t(514)](0);if(e){const i=this[t(507)][t(521)](e.id);this[t(554)][t(503)](e,i)}}[Oo(499)](t,e){const i=Oo,s=this[i(507)][i(514)](e.id),n=this[i(507)][i(521)](s.id);this[i(554)][i(503)](s,n)}[Oo(505)](t,e){const i=Oo;this[i(507)][i(514)](e.id)[i(483)](e[i(500)])}[Oo(518)](t,e,i){const s=Oo,n=this[s(507)][s(519)](i);n[s(492)]>2?(this[s(532)][s(502)](n),this[s(532)][s(512)](null)):(this[s(532)][s(502)]([]),this[s(532)][s(512)](n[0]))}[Oo(517)](){const t=Oo,e=this[t(561)],i=No[t(498)],s=e[t(544)][t(493)](t(488))||No[t(495)];if(s[t(492)])return s[t(520)]((s=>{const n=t,r=n(539)==typeof s?Object[n(513)]({},i[s]):s;return r[n(487)]=r[n(487)][n(531)](this,e),r[n(522)]&&(r[n(522)]=r[n(522)][n(531)](this,e)),r}))}}const Ro=No,Ao=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=335]})(t,e)}function Do(){const t=["140HDjkte","30796WJaQAD","bind","fillFromConfig","init","_toolbarConfig","render","7vEnKBq","componentFactory","detachDomRoot","fire","get","isActive","_initToolbar","_elementReplacer","30DugwtT","6379120oCtESs","view","name","viewportTopOffset","ready","editable","4458088oqkdLx","editor","12249MbDYlt","config","rootName","document","toolbar","stickyPanel","setEditableElement","1550187kxdXrv","limiterElement","element","881256GJXRdC","editing","isFocused","_view","getRoot","addToolbar","36653ZDttSe","focusTracker","2930NTOdoQ","destroy","restore","attachDomRoot","viewportOffset","replace"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(340484===-parseInt(e(353))/1*(-parseInt(e(376))/2)+-parseInt(e(344))/3+-parseInt(e(362))/4*(parseInt(e(361))/5)+parseInt(e(347))/6+-parseInt(e(368))/7*(-parseInt(e(335))/8)+-parseInt(e(337))/9*(-parseInt(e(355))/10)+-parseInt(e(377))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends pt.EditorUI{[Ao(350)];[Ao(366)];[Ao(375)];get[Ao(378)](){return this[Ao(350)]}constructor(e,i){const s=Ao;super(e),this[s(350)]=i,this[s(366)]=(0,pt.normalizeToolbarConfig)(e[s(338)][s(372)](s(341))),this[s(375)]=new t.ElementReplacer}get[Ao(346)](){const t=Ao;return this[t(378)][t(346)]}[Ao(365)](t){const e=Ao,i=this[e(336)],s=this[e(378)],n=i[e(348)][e(378)],r=s[e(382)],o=n[e(340)][e(351)]();r[e(379)]=o[e(339)],s[e(367)]();const a=r[e(346)];this[e(343)](r[e(379)],a),s[e(382)][e(363)](e(349)).to(this[e(354)]),n[e(358)](a),this[e(375)][e(360)](t,this[e(346)]),this[e(374)](),this[e(371)](e(381))}[Ao(356)](){const t=Ao;super[t(356)]();const e=this[t(378)],i=this[t(336)][t(348)][t(378)];this[t(375)][t(357)](),i[t(370)](e[t(382)][t(379)]),e[t(356)]()}[Ao(374)](){const t=Ao,e=this[t(378)];e[t(342)][t(363)](t(373)).to(this[t(354)],t(349)),e[t(342)][t(345)]=e[t(346)],e[t(342)][t(363)](t(380)).to(this,t(359),(({top:t})=>t)),e[t(341)][t(364)](this[t(366)],this[t(369)]),this[t(352)](e[t(341)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;function Fo(){var t=["stickyPanel","138780dIuwQN","403840ZHJBlq","editable","856984xyweKZ","143492CENvnw","render","303230hFUwcG","top","toolbar","5173QhCSAs","content","1758yvDqwe","add","95196pkEJIx","_editable","main","shouldToolbarGroupWhenFull","9AwStXb"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=425]})(t,e)}var Lo=jo;!function(t){for(var e=jo,i=t();;)try{if(133479===-parseInt(e(440))/1+-parseInt(e(442))/2+parseInt(e(430))/3+parseInt(e(437))/4+-parseInt(e(436))/5+parseInt(e(428))/6*(parseInt(e(426))/7)+-parseInt(e(439))/8*(-parseInt(e(434))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[Lo(431)];[Lo(435)];[Lo(425)];get[Lo(438)](){return this[Lo(431)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(435)]=new pt.StickyPanelView(t),this[s(425)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(433)]}),this[s(431)]=new pt.InlineEditableUIView(t,e)}[Lo(441)](){var t=Lo;super[t(441)](),this[t(435)][t(427)][t(429)](this[t(425)]),this[t(443)][t(429)](this[t(435)]),this[t(432)][t(429)](this[t(438)])}}const zo=Ho;function Wo(){const t=["684HgLUSR","159632GcYFiT","7752TdvpBX","editing","524270sXPCOQ","updateSourceElement","ready","init","createRoot","view","locale","document","model","330353CgFNAr","destroy","98dHIAPu","19524GYDHsO","345FknOqY","config","46220RHeQvK","initialData","data","fire","1703328jMRbyE","initPlugins","get","_ui","sourceElement","create"];return(Wo=function(){return t})()}function Ho(t,e){const i=Wo();return(Ho=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(169987===-parseInt(e(395))/1+parseInt(e(412))/2+-parseInt(e(399))/3*(-parseInt(e(413))/4)+parseInt(e(415))/5+-parseInt(e(398))/6*(parseInt(e(397))/7)+-parseInt(e(405))/8+-parseInt(e(411))/9*(-parseInt(e(401))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,H.ElementApiMixin)(H.Editor)){[zo(408)];get ui(){return this[zo(408)]}constructor(t,e){const i=zo;super(e),this[i(409)]=t,this[i(394)][i(393)][i(390)]();const s=new Po(this[i(392)],this[i(414)][i(391)],{shouldToolbarGroupWhenFull:!0});this[i(408)]=new Eo(this,s)}[zo(396)](){const t=zo;return this[t(416)](),this.ui[t(396)](),super[t(396)]()}static async[zo(410)](t,e){const i=zo,s=new this(t,e);return await s[i(406)](),await s.ui[i(418)](t),await s[i(403)][i(418)](s[i(400)][i(407)](i(402))||""),s[i(404)](i(417)),s}}const Zo=$o;function qo(){const t=["PaginationLookup","revisionHistory.requireRevisionName","14TgbKOz","Restored","isReadOnly","170322ERKubf","style","revisionHistory.viewerEditorElement","remove","198964nctZZa","set","Users","markers","then","getRoot","removeAttribute","getRevision","RevisionsRepository","none","refreshVisibility","translations","RestrictedEditingMode","addUser","selection","lazyRoots","Dialog","revisionHistory.viewerContainer","name","_showRevisionViewer","isAnonymous","indexOf","error","revisionHistory.showRevisionViewerCallback","setSelection","getMarkersGroup","removeMarker","RevisionTracker","477868hhRgPD","getRevisions","requires","isPremiumPlugin","isRevisionViewerOpen","setAttribute","344QYKmRM","getRevisionDocumentData","refreshPositioning","revisionHistory.closeRevisionViewerCallback","getAttributeKeys","map","_update","has","end","display","locale","100134IFBBMR","destroy","repository","RevisionHistoryUI","disableReadOnlyMode","save","view","toLocaleTimeString","createRangeIn","createdAt","keys","plugins","_enhanceCloseRevisionViewerCallback","numeric","revision-history-viewer-opened","addRevisionData","long","changesNavigation","10jJInCz","toLocaleDateString","creator","detachRoot","getUser","block","result","toolbar","isOpen","insert","_viewerEditor","1649532VBgAGC","exitToEditing","bind","_restoreRevision","define","_recalculatePageBreaks","RevisionHistoryUtils","revisionHistory.editorContainer","40QFOIZt","users","init","hide","join","_getRevisionViewerEditorConfig","adapter","isEnabled","RevisionHistory","_closeRevisionViewer","restoreRevision","fromCharCode","roots","_cleanUp","RevisionViewerIntegration","from","461820XCNfII","uiLanguage","DocumentOutlineUI","parse","update","revision-history-missing-configuration","revisionHistory","fromVersion","document","get","RevisionViewer","commands","revisionHistory.restoreRevisionCallback","model","toJSON","create","isReady","enableReadOnlyMode","config","getRevisionRootsAttributes","addRoot","catch","Annotations","_enhanceShowRevisionViewerCallback","includes","push","showRevisionViewerCallback","loadRevisionData","isOfficialPlugin","enqueueChange","isAttached","$graveyard","pluginName","editor","element","removeSelectionAttribute","DocumentOutline","rootName","3833357RLrqoX","saveRevision","closeRevisionViewerCallback","Autosave","data","toVersion","change","restrictedEditingException"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(301645===parseInt(e(410))/1+-parseInt(e(493))/2+parseInt(e(386))/3+-parseInt(e(465))/4*(parseInt(e(394))/5)+parseInt(e(461))/6*(parseInt(e(458))/7)+-parseInt(e(499))/8*(parseInt(e(510))/9)+-parseInt(e(375))/10*(-parseInt(e(448))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Zo(513),Zo(477)];class Yo extends H.Plugin{[Zo(381)];static get[Zo(442)](){return Zo(408)}static get[Zo(438)](){return!0}static get[Zo(496)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(504)]((t=>String[e(405)](t)))[e(398)]("")}super(t),this[e(381)]=e(507),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 Jo extends H.Plugin{[Zo(385)];static get[Zo(442)](){return Zo(402)}static get[Zo(438)](){return!0}static get[Zo(496)](){return!0}static get[Zo(495)](){return[ct,jt]}constructor(e){const i=Zo;if(super(e),!this[i(443)][i(428)][i(419)](i(416)))throw new t.CKEditorError(i(415),this);this[i(385)]=null,this[i(466)](i(497),!1),this[i(443)][i(428)][i(390)](i(488),(t=>this[i(484)]({...t,translations:this[i(443)][i(509)][i(476)]}))),this[i(443)][i(428)][i(390)](i(502),(t=>this[i(403)](t))),this[i(443)][i(428)][i(390)](i(422),(t=>this[i(389)](t))),this[i(443)][i(428)][i(390)](i(457),!1),this[i(433)](),this[i(522)]()}set[Zo(400)](t){const e=Zo;this[e(443)][e(521)][e(419)](e(492))[e(400)]=t}get[Zo(400)](){const t=Zo;return this[t(443)][t(521)][t(419)](t(492))[t(400)]}[Zo(372)](t){const e=Zo;return this[e(443)][e(521)][e(419)](e(492))[e(372)](t)}[Zo(472)](t){const e=Zo;return this[e(443)][e(521)][e(419)](e(473))[e(472)](t)}[Zo(494)](t){const e=Zo;return this[e(443)][e(521)][e(419)](e(473))[e(494)](t||{toJSON:!1})}[Zo(399)](){const e=Zo,i=this[e(443)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(521)][e(419)](e(492)),r=i[e(521)][e(419)](e(467))[e(395)];return s[e(382)]=[e(387),e(404),e(374)],delete s[e(480)],s[e(521)][e(435)](Yo,ee,be,class extends H.Plugin{static get[e(495)](){return[ee,e(467)]}[e(396)](){const s=e,o=this[s(443)][s(521)][s(419)](s(467));for(const t of r)t[s(485)]||o[s(379)](t.id)||o[s(478)](t);const a=n[s(512)][s(494)]();let c=null;const u=this[s(443)][s(521)][s(419)](s(420));u[s(400)]=n[s(400)],u[s(388)](s(401)).to(n),this[s(443)][s(421)][s(419)](s(404))[s(388)](s(401)).to(i,s(460),(t=>!t));for(const e of a){const i=null===e[s(377)];if(i&&e[s(453)]===e[s(417)])continue;const r=e[s(424)]();u[s(372)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(505)](r,o);else if(!o){const e=a[u(424)]();e.id=(0,t.uid)(),n[u(449)](e,a[u(453)])[u(469)]((t=>{c=t}))}}else e[u(505)](r,o)}))}}},Ro),s}[Zo(433)](){const t=Zo,e=this[t(443)][t(428)][t(419)](t(416))[t(436)];this[t(443)][t(428)][t(466)](t(488),(async()=>{const i=t;this[i(443)][i(427)](i(371));const s=this[i(443)][i(521)][i(419)](i(492));if(this[i(443)][i(521)][i(506)](i(451))){const t=this[i(443)][i(521)][i(419)](i(451));await t[i(515)]()}else await s[i(414)]();if(this[i(443)][i(521)][i(506)](i(456))&&this[i(443)][i(521)][i(419)](i(456))[i(391)](),this[i(443)][i(521)][i(506)](i(481))){const t=this[i(443)][i(521)][i(419)](i(481));t[i(383)]&&t[i(397)]()}const n=this[i(399)]();return e(n)[i(469)]((t=>{const e=i;return this[e(385)]=t,this[e(443)][e(521)][e(506)](e(432))&&this[e(443)][e(521)][e(419)](e(432))[e(475)](),this[e(443)][e(521)][e(506)](e(446))&&(this[e(443)][e(521)][e(419)](e(412))[e(516)][e(444)][e(462)][e(508)]=e(474)),t}))[i(431)]((t=>(console[i(487)](t),this[i(443)][i(514)](i(371)),null)))}))}[Zo(522)](){const t=Zo,e=this[t(443)][t(428)][t(419)](t(416))[t(450)];this[t(443)][t(428)][t(466)](t(502),(()=>(this[t(443)][t(521)][t(506)](t(456))&&this[t(443)][t(521)][t(419)](t(456))[t(391)](),this[t(443)][t(521)][t(506)](t(446))&&(this[t(443)][t(521)][t(419)](t(412))[t(516)][t(444)][t(462)][t(508)]=""),this[t(385)][t(521)][t(419)](t(420))[t(407)](),e(this[t(385)])[t(469)]((()=>{const e=t;if(this[e(443)][e(514)](e(371)),this[e(385)]=null,this[e(443)][e(521)][e(506)](e(432))){const t=this[e(443)][e(521)][e(419)](e(432));t[e(475)](),t[e(501)]()}})))))}[Zo(484)](t){const e=Zo,i=this[e(443)][e(428)][e(419)](e(393)),s=this[e(443)][e(428)][e(419)](e(482)),n=this[e(443)][e(428)][e(419)](e(463));return Uo[e(425)](n,t)[e(469)]((t=>(s[e(462)][e(508)]=e(380),i[e(462)][e(508)]=e(474),this[e(497)]=!0,t)))}[Zo(403)](t){const e=Zo,i=this[e(443)][e(428)][e(419)](e(393));return this[e(443)][e(428)][e(419)](e(482))[e(462)][e(508)]=e(474),i[e(462)][e(508)]="",this[e(497)]=!1,t[e(511)]()}async[Zo(389)](t){const e=Zo,i=this[e(443)],s=this[e(385)][e(521)][e(419)](e(420)),n=i[e(521)][e(419)](e(492)),r=i[e(521)][e(419)](e(392)),o=s[e(512)][e(472)](t);let a,c,u;try{await r[e(437)](o,this[e(400)]),a=r[e(500)](o),c=r[e(429)](o)}catch(t){return void console[e(487)](t)}i[e(423)][e(454)]((t=>{const s=e;for(const e of Array[s(409)](i[s(423)][s(468)][s(490)](s(455))))t[s(491)](e)})),s[e(426)]=!1,i[e(423)][e(439)]((t=>{const s=e;t[s(489)](null),t[s(445)](i[s(423)][s(418)][s(479)][s(503)]());const n=Object[s(520)](a);for(const e of i[s(423)][s(418)][s(406)])s(441)!=e[s(447)]&&e[s(440)]()&&!n[s(434)](e[s(447)])&&t[s(378)](e);for(const e of n){let n=i[s(423)][s(418)][s(470)](e);n&&n[s(440)]()||(n=t[s(430)](e));const r=c[e],o=Object[s(520)](r),u=a[e];for(const e of n[s(503)]())o[s(434)](e)||t[s(471)](e,n);for(const i of o)t[s(498)](i,c[e][i],n);t[s(464)](t[s(518)](n)),t[s(384)](i[s(452)][s(413)](u,n),n,0)}}));const l=Q(i[e(509)],e(459));return u=o[e(483)]?-1==o[e(483)][e(486)](l)?l+": "+o[e(483)]:o[e(483)]:l+": "+o[e(519)][e(376)](i[e(509)][e(411)],{month:e(373),day:e(523)})+", "+o[e(519)][e(517)](i[e(509)][e(411)],{hour:e(523),minute:e(523)}),await n[e(449)]({name:u}),s[e(426)]=!0,i[e(428)][e(419)](e(416))[e(450)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=325]})(t,e)}function Ko(){var t=["33929MvXfGe","4915qYphhW","1225755hSxTph","360435RSHaRf","980lkPzck","30dfbRfV","121569QqOVHj","1716792WSglMv","573696pdsiZX"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(151230===-parseInt(e(330))/1+parseInt(e(332))/2+parseInt(e(327))/3+parseInt(e(328))/4*(parseInt(e(325))/5)+parseInt(e(329))/6*(-parseInt(e(333))/7)+-parseInt(e(331))/8+-parseInt(e(326))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;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,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});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 N(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,N(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(N(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),x(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),x(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(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,x(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),x(e,t,i,s,R),e}return t}function x(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=N(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return N(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function M(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)}}function E(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 D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(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 j(t,e){const i=F(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}}const L=z;function P(){const t=["creatorId","setAttribute","name","2514qZICFg","61144cbAKTP","toVersion","3CcRWMn","diffData","authorsIds","fire","6846744ksDrbP","attributes","4990880yDhZCA","removeAttribute","1470344eYbHrV","creator","1233TjIDVE","set","model","toJSON","7459210ueRQvb","fromVersion","_update","11djEPCh","authors","map","24927eMVGhZ","824598ZqGEwt","setName","createdAt"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=202]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(935751===-parseInt(e(221))/1+-parseInt(e(204))/2+-parseInt(e(213))/3*(parseInt(e(217))/4)+parseInt(e(227))/5+parseInt(e(210))/6*(parseInt(e(203))/7)+parseInt(e(211))/8*(parseInt(e(223))/9)+parseInt(e(219))/10*(parseInt(e(230))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(222)];[L(231)];[L(214)];[L(212)];[L(228)];[L(225)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(222)]=e[i(222)]||null,this[i(231)]=e[i(231)]||[],this[i(214)]=e[i(214)]||null,this[i(212)]=e[i(212)]||0,this[i(228)]=e[i(228)]||0,this[i(224)](i(209),e[i(209)]||""),this[i(224)](i(206),e[i(206)]||new Date),this[i(224)](i(218),e[i(218)]||{})}[L(205)](t){this[L(229)]({name:t})}[L(208)](t,e){const i=L,s=A(this[i(218)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(229)]({attributes:s})}[L(220)](t){const e=L,i=A(this[e(218)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(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]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(229)]({attributes:i})}[L(229)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(209),i(206),i(214),i(231),i(218),i(212),i(228),i(207)];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(231)]&&(n[i(215)]=n[i(231)][i(202)]((t=>t.id)),delete n[i(231)]),this[i(216)](i(229),n,e))}[L(226)](){const t=L;return{id:this.id,name:this[t(209)],creatorId:this[t(222)]?this[t(222)].id:null,authorsIds:this[t(231)][t(202)]((t=>t.id)),diffData:this[t(214)],createdAt:this[t(206)],attributes:this[t(218)],fromVersion:this[t(228)],toVersion:this[t(212)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function B(){const t=["getRevisionsIterator","getEarlierVisibleRevision","map","526638PjhLVm","isOfficialPlugin","later","1295112QIQGIv","createRevision","42ofgTUG","attributes","fromCharCode","name","from","oldRevisionId","getLaterVisibleRevision","authorsIds","data","2216522BKmOhQ","editor","getIndex","length","afterInit","creatorId","join","toJSON","559917bkBOua","isPremiumPlugin","_revisions","get","href","reverse","diffData","getUser","addRevision","pluginName","createdAt","RevisionsRepository","plugins","129635puRRGo","getRevisionsInDiff","188720YpfVnF","1864KjQifG","getRevision","toVersion","requires","earlier","24264cULUMO","getRevisions","Users","fromVersion","add","isNaN","newRevisionId","push"];return(B=function(){return t})()}function $(t,e){const i=B();return($=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(178111===-parseInt(e(429))/1+-parseInt(e(446))/2+-parseInt(e(414))/3+parseInt(e(449))/4+-parseInt(e(427))/5*(-parseInt(e(451))/6)+-parseInt(e(460))/7+parseInt(e(430))/8*(parseInt(e(435))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(416)];static get[q(433)](){return[Z.Users]}static get[q(423)](){return q(425)}static get[q(447)](){return!0}static get[q(415)](){return!0}get[q(409)](){const t=q;return this[t(416)][t(409)]}constructor(e){const i=q;super(e),this[i(416)]=new t.Collection}[q(410)](){!async function(e){const i=k([49,104,116,98,75,107,100,66,83,106,88,68,101,121,50,57,51,97,73,74,84,89,78,77,71,67,90,108,76,52,48,99,65,118,72,102,85,103,111,115,122,109,86,56,119,87,80,79,55,54,112,105,81,120,70,113,114,110,117,53,69,82]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(440)](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([104]);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=$;return t[e(445)]((t=>String[e(453)](t)))[e(412)]("")}!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(t){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:1746576e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(418)]);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([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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(450)](t){const e=q,i=this[e(461)][e(426)][e(417)](e(437));return new W({id:t.id,name:t[e(454)],creator:t[e(411)]?i[e(421)](t[e(411)]):null,diffData:t[e(420)]||t[e(459)],authors:t[e(458)][e(445)]((t=>i[e(421)](t))),createdAt:new Date(t[e(424)]),attributes:t[e(452)],fromVersion:t[e(438)],toVersion:t[e(432)]})}[q(422)](t,e=0){const i=q;this[i(416)][i(439)](t,e)}[q(431)](t){const e=q;return this[e(416)][e(417)](t)}[q(436)](t={toJSON:!1}){const e=q,i=Array[e(455)](this[e(416)]);return i[e(419)](),t[e(413)]?i[e(445)]((t=>t[e(413)]())):i}[q(408)](t){const e=q;return this[e(416)][e(408)](t)}[q(444)](t){const e=q,[,i]=this[e(443)](t,{direction:e(434)});return i}[q(457)](t){const e=q,[,i]=this[e(443)](t,{direction:e(448)});return i}[q(428)](t){const e=q,i=[];for(const s of this[e(443)](t[e(441)]))if(i[e(442)](s),s.id===t[e(456)])break;return i}*[q(443)](t,{direction:e=q(434),filter:i=()=>!0}={}){const s=q,n=s(434)===e?1:-1;let r=this[s(416)][s(417)](t),o=this[s(408)](r);for(yield r;r;){if(o+=n,r=this[s(431)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=X();return(J=function(t,e){return i[t-=209]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(625401===parseInt(e(268))/1+-parseInt(e(237))/2+parseInt(e(280))/3+-parseInt(e(230))/4+-parseInt(e(235))/5*(-parseInt(e(248))/6)+parseInt(e(277))/7*(-parseInt(e(249))/8)+parseInt(e(247))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends U.Plugin{static get[G(224)](){return G(271)}static get[G(257)](){return!0}static get[G(212)](){return!0}[G(214)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(265)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(251)](t,e){const i=G;if(t[i(233)]||!e)return;const s=this[i(209)][i(279)][i(254)](i(223)),n=await e[i(270)]({channelId:s,revisionId:t.id});t[i(233)]=n[i(233)]}[G(246)](t){const e=G,i={};for(const s in t[e(233)]){if(t[e(233)][s][e(259)]&&!t[e(233)][s][e(259)][e(269)])continue;const n=this[e(217)](JSON[e(276)](t[e(233)][s][e(213)])),r=this[e(209)][e(220)][e(240)][e(227)],o=new H.ViewDocumentFragment(r,n[e(273)]((t=>this[e(258)](t,!1))));this[e(209)][e(221)][e(264)][e(252)](e(281)),i[s]=this[e(209)][e(221)][e(264)][e(267)](o),this[e(209)][e(221)][e(264)][e(252)](e(245))}return i}[G(219)](t){const e=G,i={};for(const s in t[e(233)])t[e(233)][s][e(259)]&&!t[e(233)][s][e(259)][e(269)]||(i[s]=t[e(233)][s][e(253)]||{});return i}[G(218)](t){const e=G;return this[e(214)][e(254)](t[e(272)])}[G(258)](t,e){const i=G,s=this[i(209)][i(220)][i(240)][i(227)];if(i(278)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(239)][i(273)]((t=>this[i(258)](t,e)));const o=this[i(265)][i(254)](t[i(238)])||H.ViewElement,a=this[i(209)][i(221)][i(226)][i(260)];if(n=new o(s,t[i(250)],t[i(261)],r),"u"==t[i(238)]&&t[i(239)][0]){const r=t[i(239)][0];if(n[i(216)]=function(t){const e=i,s=t[e(211)](e(255));return s[e(232)]=r,s[e(215)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(231)](n);const e=Array[i(234)](a[i(228)](t,{bind:!1})),r=a[i(275)][i(211)](i(255));r[i(242)](...e),n=Array[i(234)](a[i(225)](r))[0]}}else if("r"==t[i(238)]&&t[i(239)][0]){const r=t[i(239)][0];if(n[i(216)]=function(t){t[i(232)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(231)](n);const e=Array[i(234)](a[i(228)](t,{bind:!1})),r=a[i(275)][i(211)](i(255));r[i(242)](...e);const o=Array[i(234)](a[i(225)](r));o[i(229)]>1?n[i(231)](o):n=o[0]}}if(t[i(236)])for(const[e,s]of t[i(236)])n[i(210)](e,s);const c=void 0===t[i(282)]?null:t[i(282)];return null!==c&&(n[i(266)]=()=>c),n}}[G(262)](t){const e=G,i=JSON[e(276)](t),s=this[e(209)][e(220)][e(240)][e(227)],n=new H.ViewDocumentFragment(s,i[e(273)]((t=>this[e(258)](t,!0))));return this[e(209)][e(221)][e(244)](n)}[G(217)](t){const e=G;return(t=t[e(274)]((t=>!t[e(250)]||e(263)!==t[e(250)]&&e(241)!==t[e(250)])))[e(243)]((t=>{const i=e;i(278)!=typeof t&&(t[i(239)]=this[i(217)](t[i(239)]),t[i(261)]=t[i(261)][i(274)]((t=>!t[0][i(256)](i(222)))))})),t}}function X(){const t=["type","children","view","revision-end","append","forEach","toModel","default","getRevisionDocumentData","6360120GEqksK","79056UBpnPn","1075240aBEldp","name","loadRevisionData","useFillerType","attributesAfter","get","div","startsWith","isOfficialPlugin","_getViewFromDiffObj","attachChange","domConverter","attributes","_makeModelFromViewString","revision-start","processor","_typeCharToViewClass","getFillerOffset","toData","547493jiZldr","isAttached","getRevision","RevisionHistoryUtils","constructor","map","filter","domDocument","parse","63tmvfQF","string","config","2410491zNaPto","marked","fillerOffset","editor","_setCustomProperty","createElement","isPremiumPlugin","insertions","_viewClassToTypeChar","childNodes","render","_removeRevisionMarkers","_getTypeCharForViewElement","getRevisionRootsAttributes","editing","data","data-revision-","collaboration.channelId","pluginName","domChildrenToView","htmlProcessor","document","viewChildrenToDom","length","3241252PiFsiQ","_appendChild","innerHTML","diffData","from","290WvfZVC","customProperties","353038WHeFNT"];return(X=function(){return t})()}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),R=n(i);if(x===u&&(x=v),R===u&&(R=v),x!==R)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}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}var A,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,N))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,N)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case 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(!et(t[e],i[e],e,t,i,s,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,N)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,N))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ut;function ot(){const t=["fillerOffset","destroy","$graveyard","find","afterInit","_continueCurrentRevision","3sTyzxa","insertions","push","htmlProcessor","domainLimit","string","createPositionAfter","revisionHistoryLicenseKeyNotAllowed","length","reverse","userId","_lastTo","_diffRootsAttributes","reinsert","_bufferedUpdates","elementStart","start","type","dataToMarker","_setConversion","conversion","getOperations","_startingRevisionId","_applyOperations","279piQZVj","getIndex","_baseRoots","getRange","_operations","revisionHistoryLicenseKeyEvaluationLimit","1910118hkTOxa","getTransformedByOperation","deletion","filter","_handleMergeOperation","has","innerHTML","update","initial","2192196TCMUGh","_savedMetaData","_removeMetaData","merge","get","config","elementEnd","newRange","revisionHistoryLicenseKeyValid","loadState","getLatestVersion","toView","resolve","_reset","11SzTMgv","_prepareViewToSave","path","editor","max","pluginName","_loadedStateData","deletions","key","_getVidAttributeName","revisionHistoryLicenseKeyInvalid","position","_revisionId","_lastFrom","getTime","evaluationLimit","hasContent","ready","_findInsertionIndex","getNodeByPath","_isPendingUpdate","NEGATIVE_INFINITY","addRevisionData","invalid","_touchedMarkers","marker","39310nTHIuE","RealTimeCollaborationClient","graveyardPosition","getRevisions","_touched","getAttribute","_processRootBeforeSave","26wRsNWz","isReady","repository","removeRootAttribute","_isInit","markerToData","_createInitialRevision","init","loadRevisionData","RevisionsRepository","isOfficialPlugin","_fixRange","domConverter","bind","createdAt","_execute","_bufferUpdate","_initialRevisionId","markers","sourcePosition","stickiness","isAdd","domDocument","_touchedRoots","define","createPositionBefore","reInit","2932496eukruM","_createCurrentRevision","outerHTML","diffData","_authorId","children","isEqual","RevisionHistory","revisionHistory.resumeUnsavedRevision","_getTypeCharForViewElement","insert","item","affectsData","isPremiumPlugin","_appendChild","getChildren","adapter","delete","_setAttribute","dataDowncast","getMovedRangeStart","history","_handleMarkerOperation","_handleInsertOperation","collaboration.channelId","getWalker","Users","getRevisionRootsAttributes","_clone","keys","documentFragment","getRevision","setSource","_startingVersion","_addPendingAction","initialData","currentRevision","_replaceEditorDataWithRevisionData","_removePendingAction","trialLimit","_transformMarkers","render","licenseKey","_markers","detachRoot","split","clone","_baseIdsRoots","document","revisionHistoryLicenseKeyTrialLimit","creator","remove","_getBaseVids","move","isAttached","_loadState","revisionHistoryLicenseKeyDomainLimit","newValue","clear","revisionHistoryLicenseKeyExpired","authorsIds","_pendingAction","trim","_baseRootsAttributes","_insertChild","name","_utils","revision","authors","nodes","_handleSplitOperation","_getFromVersion","model","Empty document","attributesAfter","vid","_getViewJson","_handleRootAttributeOperation","text","then","_getState","creatorId","targetPosition","_handleRootOperation","_generateTape","_source","_update","version","expired","_licenseKeyCheckInterval","oldRange","revisionHistoryLicenseKeyUsageLimit","set","element","previousPosition","map","add","paragraph","getFillerOffset","size","_diffRoots","setRevisionData","vid_start","_fixPosition","_showLicenseError","updateRevisions","createRevision","getOperation","root","sendBufferedUpdates","createPositionAt","requires","getRevisionDocumentData","childCount","PENDING_ACTION_REVISION_HISTORY","insertionPosition","locale","$comment","roots","featureNotAllowed","_markChanges","customProperties","10gjFZwL","changeRootAttribute","rawElement","createElement","getChild","upcast","for","attributesBefore","buildRevisionData","getRootNames","baseVersion","_isAttached","nodeAfter","offset","shift","addRootAttribute","998780JteuKR","getCurrentRevisionId","getAncestors","isEnabled","editor-initial-data-replaced-with-revision-data","range","_handleMoveOperation","finally","stringify","RevisionHistoryUtils","fromEntries","Initial revision","from","includes","some","offsetSize","rootsAttributes","tableCell","rootName","_idsRoots","fromVersion","getCustomProperties","plugins","55439vSjqVE","usageLimit","getUser","_fixOperation","source","toVersion","slice","howMany","RevisionTracker","createRangeIn","getData","getRoot","_cloneOperation","insertion","vid_end","data","addRevision","_makeRevision","PendingActions","keepParagraph","_getPreviousFrom","_handleOperation","attachChange","_makeIdsRoot","values","revision:","getAttributes","2736186lcmsdX","_createFromRanges","$text","_makeModelFromViewString","_revisionDataBuilder","splitPosition","_saveMetaData","end","sort","parent","saveRevision","createPositionFromPath","startsWith","addRoot","_copyMarkers","_calculateMetaData","createRange","uiElement"];return(ot=function(){return t})()}!function(t){const e=ut,i=t();for(;;)try{if(456572===parseInt(e(807))/1*(parseInt(e(619))/2)+parseInt(e(533))/3*(parseInt(e(784))/4)+parseInt(e(768))/5*(-parseInt(e(509))/6)+-parseInt(e(563))/7+parseInt(e(646))/8+parseInt(e(557))/9*(parseInt(e(612))/10)+-parseInt(e(586))/11*(-parseInt(e(572))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends U.Plugin{[rt(688)];[rt(735)];[rt(682)]=null;[rt(621)];[rt(662)]=null;[rt(513)];[rt(731)];[rt(636)];[rt(547)];[rt(712)];[rt(707)];[rt(532)];[rt(679)];[rt(592)];static get[rt(591)](){return rt(490)}static get[rt(629)](){return!0}static get[rt(659)](){return!0}static get[rt(757)](){return[Z.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(621)]=this[i(589)][i(806)][i(576)](i(628)),this[i(712)]=this[i(589)][i(806)][i(576)](i(793)),this[i(513)]=new ct(this[i(589)]),this[i(636)]=this[i(589)][i(577)][i(576)](i(670))||i(571),this[i(547)]=new Map,this[i(592)]=null;const s=(0,t.uid)();this[i(731)]={history:this[i(589)][i(718)][i(694)][i(667)],getLatestVersion:()=>Promise[i(584)](this[i(589)][i(718)][i(694)][i(733)]),getCurrentRevisionId:()=>s},this[i(738)](i(620),!1),this[i(738)](i(787),!0),this[i(738)](i(606),!1),this[i(589)][i(577)][i(643)](i(654),!0),this[i(589)][i(553)][i(774)](i(773))[i(551)]({view:i(713)})}[rt(626)](){const t=rt;this[t(552)](),this[t(589)][t(497)].on(t(603),(()=>{const e=t,i=this[e(621)][e(677)](0),s=i&&null===i[e(696)]?i:null;if(this[e(532)]=!!s&&this[e(589)][e(577)][e(576)](e(654)),this[e(589)][e(806)][e(568)](e(613))){const t=this[e(731)][e(785)](),n=this[e(621)][e(677)](t);if(n)this[e(679)]=n[e(804)],this[e(532)]=!1;else{const t=this[e(731)][e(667)][e(561)][e(530)]((t=>!t[e(623)])),n=t?t[e(778)]:this[e(731)][e(667)][e(733)];i?(i[e(487)]<n&&i[e(732)]({toVersion:n}),this[e(532)]?(this[e(731)][e(785)]=()=>s.id,this[e(679)]=s[e(804)]):(this[e(679)]=i[e(487)],this[e(532)]=!1)):(this[e(679)]=n,this[e(532)]=!1)}}else s&&(this[e(589)][e(718)][e(694)][e(667)][e(733)]=Math[e(590)](s[e(487)],this[e(589)][e(718)][e(694)][e(667)][e(733)]),s[e(804)]===s[e(487)]?(0!==s[e(804)]&&(this[e(731)][e(785)]=()=>s.id),this[e(532)]=!1):this[e(532)]&&(this[e(731)][e(785)]=()=>s.id,this[e(679)]=s[e(804)])),this[e(532)]||(this[e(679)]=this[e(589)][e(718)][e(694)][e(733)]);this[e(513)][e(626)](this[e(731)][e(667)]),this[e(625)](this[e(679)]),this[e(647)](this[e(679)]),this[e(662)]&&this[e(755)]()})),this[t(632)](t(620)).to(this,t(606),(t=>!t)),this[t(688)]=this[t(589)][t(577)][t(576)](t(688));const e=this[t(589)];this[t(735)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(580)==r||i(596)==r||i(705)==r||i(702)==r||i(540)==r||i(562)==r||i(695)==r||i(737)==r){delete e[n],s=r,clearInterval(this[i(735)]),this[i(735)]=void 0;break}}i(596)==s&&e[i(750)](i(609)),i(705)==s&&e[i(750)](i(734)),i(702)==s&&e[i(750)](i(537)),i(540)==s&&e[i(750)](i(765),i(653)),i(562)==s&&e[i(750)](i(601)),i(695)==s&&e[i(750)](i(685)),i(737)==s&&e[i(750)](i(808))}),1e3)}async[rt(531)](){const t=rt;if(this[t(621)][t(541)]>0){const e=this[t(621)][t(677)](0),i=await this[t(758)](e),s=await this[t(673)](e);this[t(683)](i,s)}}[rt(528)](){const t=rt;super[t(528)](),this[t(735)]&&clearInterval(this[t(735)])}[rt(678)](t){this[rt(731)]=t}async[rt(570)](){const t=rt,e=await this[t(731)][t(582)]();if(e>this[t(682)][t(487)]){await this[t(701)]();const i=this[t(776)]({revision:this[t(682)],to:e});i[t(714)]=i[t(706)][t(741)]((e=>this[t(589)][t(806)][t(576)](t(672))[t(809)](e))),this[t(682)][t(732)](i)}}async[rt(519)](e={},i=null){const s=rt,n=[];await this[s(701)](),this[s(532)]=!1,i>this[s(682)][s(487)]&&(i=null),null===i&&(i=await this[s(731)][s(582)]());const r=this[s(717)](i),o=this[s(776)]({from:r,to:i});if(this[s(682)][s(487)]<i){const t=this[s(776)]({revision:this[s(682)],from:i,to:i});t[s(714)]=[],t[s(706)]=[],t.id=this[s(682)].id,this[s(682)][s(732)](t,!0),delete t[s(714)],n[s(535)](t)}e[s(727)]=this[s(589)][s(806)][s(576)](s(672)).me.id,e[s(711)]=e[s(711)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(608)](e);n[s(535)](e);const c=this[s(621)][s(558)](a);if(0!==c){const t=this[s(621)][s(677)](c-1);if(t[s(804)]!==i){const r=this[s(513)][s(492)](i,t[s(487)]),o={id:t.id,diffData:r[s(649)],authorsIds:r[s(706)],authors:r[s(706)][s(741)]((t=>this[s(589)][s(806)][s(576)](s(672))[s(809)](t))),fromVersion:i};t===this[s(682)]&&(o[s(633)]=new Date(e[s(633)][s(600)]()+10)),t[s(732)](o,!0),delete o[s(714)],n[s(535)](o)}}if(this[s(662)]){for(const t of n)this[s(635)](t.id,t,!0);this[s(755)]()}return a}[rt(608)](t){const e=rt,i=this[e(621)][e(752)](t);return this[e(662)]&&i.on(e(732),((t,i,s)=>{const n=e;s||(this[n(635)](i.id,i,!0),this[n(755)]())})),this[e(621)][e(498)](i,this[e(604)](i)),i}async[rt(758)](t){const e=rt;return await this[e(712)][e(627)](t,this[e(662)]),this[e(712)][e(758)](t)}async[rt(673)](t){const e=rt;return await this[e(712)][e(627)](t,this[e(662)]),this[e(712)][e(673)](t)}[rt(755)](){const t=rt;if(0===this[t(547)][t(745)])return;if(this[t(606)])return;let e=Array[t(796)](this[t(547)][t(506)]());this[t(547)][t(704)]();for(let i=0;i<e[t(541)];i++){const s=e[i];let n=!1;for(const e of Object[t(675)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(566)]((t=>null!==t)),!e[t(541)])return;for(let i=0;i<e[t(541)];i++){const s=e[i];void 0!==s[t(804)]&&void 0===s[t(487)]&&(s[t(487)]=this[t(621)][t(677)](s.id)[t(487)]),void 0!==s[t(487)]&&void 0===s[t(804)]&&(s[t(804)]=this[t(621)][t(677)](s.id)[t(804)])}const i=this[t(589)][t(577)][t(576)](t(670));this[t(606)]=!0,this[t(680)](),this[t(662)][t(751)](e,i)[t(791)]((()=>{this[t(606)]=!1}))[t(725)]((e=>{const i=t;if(e)for(const t of e)this[i(747)]({id:t.id,createdAt:t[i(633)]});this[i(684)](),this[i(755)]()}))}[rt(776)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(804)],i=null!==i?i:t[s(487)];const n=this[s(513)][s(492)](e,i),r={diffData:n[s(649)],authorsIds:n[s(706)],fromVersion:e,toVersion:i};if(!t||i!==t[s(487)]){const t=i-1,e=this[s(731)][s(667)][s(753)](t);r[s(633)]=e&&e[s(633)]||new Date}if(this[s(592)]&&e===this[s(592)][s(804)])for(const t of this[s(592)][s(714)])r[s(706)][s(797)](t.id)||r[s(706)][s(535)](t.id);return r}[rt(635)](t,e,i){const s=rt;if(this[s(547)][s(568)](t)){const n=this[s(547)][s(576)](t);e=i?{...n,...e}:{...e,...n}}this[s(547)][s(738)](t,e)}[rt(747)](t){const e=rt,i=this[e(621)][e(677)](t.id);if(t[e(633)]&&(t[e(633)]=new Date(t[e(633)])),t[e(706)]){const i=this[e(589)][e(806)][e(576)](e(672));t[e(714)]=t[e(706)][e(741)]((t=>i[e(809)](t)))}i[e(732)](t,!0)}[rt(625)](t){const e=rt,i=this[e(621)][e(677)](this[e(621)][e(541)]-1);if(i)this[e(636)]=i.id;else{const i=!this[e(589)][e(718)][e(694)][e(764)][e(530)]((t=>this[e(589)][e(718)][e(602)](t))),s=this[e(589)][e(806)][e(576)](e(672)).me.id,n=Q(this[e(589)][e(762)],e(i?719:795));this[e(499)]({from:t,to:t,id:this[e(636)],name:n,creatorId:s})}}[rt(647)](t){const e=rt,i=this[e(731)][e(785)]();this[e(682)]=this[e(621)][e(677)](i),this[e(682)]||(this[e(682)]=this[e(499)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(701)](){const t=rt;this[t(532)]&&!this[t(592)]&&(await this[t(712)][t(627)](this[t(682)],this[t(662)]),this[t(513)][t(581)](this[t(682)]),this[t(592)]={fromVersion:this[t(682)][t(804)],authors:this[t(682)][t(714)][t(488)]()})}[rt(683)](e,i){const s=rt;let n=this[s(589)][s(577)][s(576)](s(681)),r=this[s(589)][s(577)][s(576)](s(800));if(void 0===n){n={};for(const t of this[s(589)][s(718)][s(694)][s(777)]())n[t]=""}if(s(538)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(589)][s(718)][s(694)][s(777)]())r[t]={}}let o=!1;const a=Object[s(675)](n),c=Object[s(675)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(708)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(675)](r[t])[s(541)]>0){o=!0;break}}o||(o=c[s(798)]((t=>!this[s(589)][s(718)][s(694)][s(493)](t)))),o&&(0,t.logWarning)(s(788),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(589)][s(577)][s(738)](s(681),e),this[s(589)][s(577)][s(738)](s(800),i)}[rt(680)](){const t=rt;if(!this[t(707)]){const e=this[t(589)][t(806)][t(576)](t(500));this[t(707)]=e[t(742)](Q(this[t(589)][t(762)],t(760)))}}[rt(684)](){const t=rt;this[t(707)]&&(this[t(589)][t(806)][t(576)](t(500))[t(697)](this[t(707)]),this[t(707)]=null)}[rt(604)](t){const e=rt,i=this[e(621)][e(615)]();i[e(542)]();let s=0;for(;s<i[e(541)];){const n=i[s];if(n===this[e(682)]){s++;continue}if(n.id===this[e(636)])break;const r=t[e(487)]-n[e(487)]||t[e(804)]-n[e(804)];if(r>0)break;if(r<0)s++;else{if(!t[e(696)]&&n[e(696)])break;if(n[e(696)]||!t[e(696)]){if(t[e(633)]>n[e(633)])break;s++}else s++}}return s}[rt(717)](t){const e=rt,i=this[e(621)][e(615)]();i[e(542)](),i[e(782)]();const s=i[e(530)]((i=>i[e(487)]<=t))[e(487)];return s<this[e(679)]?this[e(679)]:s}[rt(499)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(776)]({from:e,to:i});o[r(711)]=t,o[r(727)]=s,o.id=n;const a=this[r(608)](o);return this[r(662)]&&this[r(635)](o.id,o,!0),a}[rt(552)](){const t=rt;this[t(589)][t(553)][t(774)](t(665))[t(624)]({model:t(713)})}}class ct{[rt(589)];[rt(486)];[rt(573)];[rt(599)];[rt(544)];[rt(689)];[rt(746)];[rt(545)];[rt(559)];[rt(709)];[rt(803)];[rt(693)];[rt(616)];[rt(610)];[rt(642)];[rt(598)];[rt(555)];constructor(t){const e=rt;this[e(589)]=t,this[e(573)]=new Map,this[e(599)]=-1,this[e(544)]=-1,this[e(689)]=new Map,this[e(746)]=new Map,this[e(545)]=new Map,this[e(559)]=new Map,this[e(709)]=new Map,this[e(803)]=new Map,this[e(693)]=new Map,this[e(616)]=new Map,this[e(610)]=new Map,this[e(642)]=new Map,this[e(598)]=1}[rt(626)](t){const e=rt;this[e(486)]=t;const i=new Map,s=new Map,n=this[e(589)][e(718)][e(694)][e(764)][e(741)]((t=>t[e(802)]));for(const t of n){const n=this[e(589)][e(718)][e(694)][e(493)](t),r=lt(n);i[e(738)](t,r),s[e(738)](t,Object[e(794)](n[e(508)]()))}const r=Array[e(796)](this[e(589)][e(718)][e(637)])[e(741)]((t=>[t[e(711)],t[e(560)]()])),o=this[e(486)][e(733)];this[e(515)](o,i,r,s),this[e(555)]=this[e(598)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(738)](t,i),c[e(738)](t,{})}this[e(515)](Number[e(607)],a,[],c)}[rt(492)](t,e){const i=rt;if(this[i(599)]===t&&this[i(544)]<=e)this[i(573)][i(745)]>1&&this[i(574)](this[i(544)]),this[i(556)](this[i(544)],e,!0);else{if(!this[i(573)][i(568)](t)){const e=this[i(502)](t);this[i(524)](e,t,!1)}this[i(524)](t,e,!0)}return this[i(599)]=t,this[i(544)]=e,this[i(726)]()}[rt(581)](t){const e=rt,i=this[e(589)][e(806)][e(576)](e(793));this[e(585)](),this[e(599)]=t[e(804)],this[e(544)]=t[e(487)];for(const s in t[e(649)]){const n=t[e(649)][s][e(504)],r=A(t[e(649)][s][e(775)])||{},o=i[e(512)](t[e(649)][s][e(593)]);o[e(802)]=s,o[e(779)]=!n||!n[e(700)],o[e(700)]=()=>o[e(779)],this[e(559)][e(738)](s,o),this[e(709)][e(738)](s,r),n&&this[e(642)][e(738)](s,n);const a=this[e(505)](o);this[e(693)][e(738)](s,a);for(const[t,i]of o[e(637)]){if(!t[e(521)](e(507)))continue;const s=t[e(691)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),n=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)],r=a[e(605)](n)[e(617)](i);this[e(616)][e(738)](r,{userId:s})}}}this[e(555)]=this[e(598)];const s=[...Array(this[e(598)])[e(675)]()][e(488)](1)[e(566)]((t=>!this[e(616)][e(568)](t)));let n=0;const r=new Map;for(const o in t[e(649)]){const a=t[e(649)][o][e(504)],c=A(t[e(649)][o][e(720)])||{},u=i[e(512)](t[e(649)][o][e(534)]);u[e(802)]=o,u[e(779)]=!a||a[e(700)],u[e(700)]=()=>u[e(779)],this[e(746)][e(738)](o,u),this[e(545)][e(738)](o,c);const l=this[e(505)](u,Number[e(607)]);this[e(803)][e(738)](o,l),r[e(738)](o,u[e(700)]()?c:{});for(const[t,i]of u[e(637)]){if(!t[e(521)](e(507)))continue;const s=t[e(691)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),n=this[e(598)]++,r=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)];l[e(605)](r)[e(664)](i,n),this[e(616)][e(738)](n,{userId:s})}}for(const t of this[e(589)][e(718)][e(491)](u)[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),r=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)],o=l[e(605)](r);o[e(617)](i)>0||o[e(664)](i,s[n++])}for(const[t,i]of u[e(637)])t[e(521)](e(507))||this[e(689)][e(738)](t,i)}const o=ht(e(529));this[e(559)][e(738)](e(529),o),this[e(693)][e(738)](e(529),this[e(505)](o,1));const a=ht(e(529));this[e(746)][e(738)](e(529),a),this[e(803)][e(738)](e(529),this[e(505)](a,1));const c=Array[e(796)](this[e(746)])[e(741)]((([t,e])=>[t,lt(e)]));this[e(515)](this[e(544)],c,this[e(689)],r)}[rt(645)](){const t=rt;this[t(585)](),this[t(599)]=-1,this[t(544)]=-1,this[t(573)][t(704)](),this[t(626)](this[t(486)])}[rt(515)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(738)](t,{start:e[n(549)][n(692)](),end:e[n(516)][n(692)](),rootName:e[n(754)][n(802)]});this[n(573)][n(738)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(574)](t){const e=rt;this[e(573)][e(663)](t)}[rt(585)](){const t=rt;this[t(616)][t(704)](),this[t(610)][t(704)](),this[t(642)][t(704)](),this[t(746)][t(704)](),this[t(545)][t(704)](),this[t(559)][t(704)](),this[t(709)][t(704)](),this[t(803)][t(704)](),this[t(693)][t(704)](),this[t(689)][t(704)](),this[t(598)]=1,this[t(555)]=this[t(598)]}[rt(505)](t,e=null){const i=rt;let s=null;t.is(i(676))||(s=new H.Element(t[i(711)],{vid_start:null===e?this[i(598)]++:e++}));const n=[];for(const s of t[i(661)]())if(s.is(i(739))){n[i(535)](this[i(505)](s,e));const t=n[n[i(541)]-1];null!==e&&(e=t.is(i(739),i(511))?t[i(617)](i(721))+1:t[i(617)](i(496))+1)}else for(let t=0;t<s[i(799)];t++)n[i(535)](new H.Element(i(511),{vid:null===e?this[i(598)]++:e++}));if(t.is(i(676))){const e=ht(t[i(802)]);return e[i(710)](0,n),e}return s[i(664)](i(496),null===e?this[i(598)]++:e++),s[i(710)](0,n),s}[rt(524)](t,e,i){const s=rt;this[s(585)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(573)][s(576)](t);this[s(559)]=new Map(n),this[s(709)]=new Map(A(o));for(const[t,e]of this[s(559)])if(s(529)!==t&&(this[s(746)][s(738)](t,lt(e)),this[s(545)]=new Map(A(o)),i)){const i=this[s(598)];this[s(803)][s(738)](t,this[s(505)](e)),this[s(693)][s(738)](t,this[s(505)](e,i))}this[s(555)]=this[s(598)],this[s(746)][s(738)](s(529),lt(this[s(559)][s(576)](s(529)))),i&&this[s(803)][s(738)](s(529),this[s(505)](this[s(559)][s(576)](s(529))));for(const[t,e]of r){const i=this[s(559)][s(576)](e[s(802)]),n=this[s(746)][s(576)](e[s(802)]),r=new H.Range(this[s(749)](e[s(549)],i),this[s(749)](e[s(516)],i)),o=this[s(630)](r,n);i[s(637)][s(738)](t,r),this[s(689)][s(738)](t,o)}this[s(556)](t,e,i)}[rt(556)](t,e,i){const s=rt;for(const n of this[s(486)][s(554)](t,e))this[s(503)](n,i);for(const t of this[s(746)][s(506)]())t[s(637)][s(704)]();for(const[t,e]of this[s(689)])this[s(746)][s(576)](e[s(754)][s(802)])[s(637)][s(738)](t,e[s(692)]());const n=new Map,r=new Map;for(const[t,e]of this[s(746)])n[s(738)](t,lt(e)),r[s(738)](t,this[s(545)][s(576)](t));this[s(515)](e,n,this[s(689)],r)}[rt(502)](t){const e=rt,i=Array[e(796)](this[e(573)][e(675)]());i[e(517)](((t,e)=>t-e)),i[e(542)]();for(const e of i)if(e<t)return e;return Number[e(607)]}[rt(523)](t,e){const i=rt,s=Array[i(796)](e[i(637)])[i(741)]((([e,s])=>[e,this[i(630)](s,t)]));t[i(637)]=new Map(s)}[rt(686)](t){const e=rt;for(const i of this[e(689)][e(506)]()){const s=i[e(564)](t),n=H.Range[e(510)](s);i[e(549)]=n[e(549)],i[e(516)]=n[e(516)]}}[rt(503)](t,e){const i=rt;if(i(522)!=t[i(550)]&&i(690)!=t[i(550)]){if(i(656)==t[i(550)]){const s=t[i(597)][i(754)][i(802)];this[i(746)][i(568)](s)||(this[i(746)][i(738)](s,ht(s,!0)),this[i(545)][i(738)](s,{}),e&&this[i(803)][i(738)](s,ht(s,!0)))}else{if(i(783)==t[i(550)]||i(622)==t[i(550)]||i(769)==t[i(550)])return void this[i(723)](t);i(611)==t[i(550)]&&this[i(668)](t)}if(i(611)!==t[i(550)]){const e=this[i(494)](t,this[i(746)]);e[i(634)](),this[i(686)](e)}if(e)switch(t[i(550)]){case i(656):this[i(669)](t);break;case i(699):case i(697):case i(546):this[i(790)](t);break;case i(575):this[i(567)](t);break;case i(691):this[i(716)](t)}}else this[i(729)](t,e)}[rt(494)](t,e){const i=rt,s=t[i(692)]();return s[i(650)]=t[i(650)],this[i(485)](s,e),s}[rt(698)](t){const e=rt;return t[e(741)]((t=>{const i=e,s=this[i(595)](t);return Number(t[i(657)][i(617)](s))}))}[rt(730)](t,e){const i=rt;if(t.is(i(739),i(511)))e[i(535)]({item:t,type:i(724)});else{t.is(i(739))&&e[i(535)]({item:t,type:i(548)});for(const s of t[i(661)]())this[i(730)](s,e);t.is(i(739))&&e[i(535)]({item:t,type:i(578)})}return e}[rt(726)](){const t=rt,e=new Map(this[t(616)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(559)][t(675)](),...this[t(746)][t(675)]()]);a[t(663)](t(529));for(const e of a){const i=this[t(746)][t(576)](e)||ht(e,!1),s=this[t(559)][t(576)](e)||ht(e,!1);i[t(700)]()||s[t(700)]()?(n[t(534)][e]=lt(i),n[t(593)][e]=lt(s),this[t(523)](n[t(593)][e],s),this[t(523)](n[t(534)][e],i),r[t(534)][e]=this[t(730)](this[t(803)][t(576)](e),[]),r[t(593)][e]=this[t(730)](this[t(693)][t(576)](e)||ht(e,!1),[])):a[t(663)](e)}for(const n of a){const o=r[t(534)][n];for(const n of o){const r=this[t(595)](n),o=n[t(657)][t(617)](r);i[t(663)](o),o>=this[t(555)]&&s[t(738)](o,e[t(576)](o))}}for(const n of a){const a=r[t(534)][n],c=this[t(698)](r[t(593)][n]);let u=0;for(const n of a){const r=this[t(595)](n),a=n[t(657)][t(617)](r);if(!s[t(568)](a)&&!o[t(568)](a))if(i[t(568)](a))u++;else{if(a!=c[u]){const s=e[t(576)](a)||e[t(576)](c[u]);for(;a!=c[u];)i[t(568)](c[u])||(o[t(738)](c[u],s),e[t(738)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(534)][e];for(const e of n){const n=this[t(595)](e),r=e[t(657)][t(617)](n);if(o[t(568)](r)){const e=o[t(576)](r);i[t(568)](r)||i[t(738)](r,{...e}),s[t(738)](r,{...e})}}}for(const e of i[t(675)]())e>=this[t(555)]&&i[t(663)](e);const c=new Map;for(const e of a){let n=r[t(534)][e];for(const e of n)if(e[t(657)].is(t(739),t(801))){const i=this[t(595)](e),n=e[t(657)][t(617)](i);if(s[t(568)](n)){const i=e[t(657)][t(518)][t(518)][t(617)](t(748)),r=c[t(576)](i)||new Set;r[t(742)](s[t(576)](n)[t(543)]),c[t(738)](i,r)}}n=r[t(593)][e];for(const e of n)if(e[t(657)].is(t(739),t(801))){const s=this[t(595)](e),n=e[t(657)][t(617)](s);if(i[t(568)](n)){const s=e[t(657)][t(518)][t(518)][t(617)](t(748)),r=c[t(576)](s)||new Set;r[t(742)](i[t(576)](n)[t(543)]),c[t(738)](s,r)}}for(const e of c[t(675)]())(s[t(568)](e)||i[t(568)](e))&&c[t(663)](e)}for(const e of a){const n=r[t(534)][e];let o=null,a=null;for(const e of n){const n=this[t(595)](e),r=e[t(657)][t(617)](n),u=c[t(576)](r);u&&t(548)==e[t(550)]&&(o=Array[t(796)](u)[0],a=e[t(657)][t(617)](t(496))),o&&(i[t(738)](r,{userId:o}),s[t(738)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(593)][e],a=n[t(534)][e];for(const{userId:e}of this[t(610)][t(506)]())null!==e&&l[t(742)](e);for(const{userId:e}of this[t(642)][t(506)]())null!==e&&l[t(742)](e);this[t(766)](a,r[t(534)][e],s,t(495),l),this[t(766)](o,r[t(593)][e],i,t(565),l),u[e]={insertions:this[t(587)](a),deletions:this[t(587)](o),attachChange:this[t(642)][t(576)](e)||null,attributesBefore:A(this[t(709)][t(576)](e))||{},attributesAfter:A(this[t(545)][t(576)](e))}}return{diffData:u,authorsIds:Array[t(796)](l)}}[rt(618)](t){const e=rt;for(const[,i]of t[e(637)]){const t=i[e(549)][e(786)]()[e(566)]((t=>e(801)==t[e(711)]));for(const i of t)1==i[e(759)]&&i[e(772)](0).is(e(739),e(743))&&i[e(772)](0)[e(664)](e(501),!0)}}[rt(587)](t){const e=rt;this[e(618)](t);const i=this[e(589)][e(497)][e(583)](t,{}),s=Array[e(796)](i[e(661)]())[e(741)]((t=>this[e(722)](t)));return JSON[e(792)](s)}[rt(722)](t){const e=rt;if(t.is(e(511)))return t[e(497)];{const i=this[e(589)][e(806)][e(576)](e(793)),s=t,n=this[e(589)][e(497)][e(536)][e(631)],r={type:i[e(655)](s),name:s[e(711)],attributes:Array[e(796)](s[e(508)]()),children:Array[e(796)](s[e(661)]())[e(741)]((t=>this[e(722)](t)))};if(t.is(e(526))&&e(763)!=t[e(711)]){const i=t[e(687)](n[e(641)],n);r[e(651)][e(535)](i[e(648)])}else if(t.is(e(770))){const i=n[e(641)][e(771)](s[e(711)]);t[e(687)](i,n),r[e(651)][e(535)](i[e(569)])}const o=Array[e(796)](s[e(805)]());o[e(541)]>0&&(r[e(767)]=o);const a=s[e(744)]();return null!==a&&(r[e(527)]=a),r}}[rt(766)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(589)][r(718)];for(let s=0;s<e[r(541)];s++){const n=this[r(595)](e[s]),c=e[s][r(657)][r(617)](n),h=i[r(576)](c),d=s==e[r(541)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(543)]!=o[r(543)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(543)],d=l(507)+s+":"+h+":"+c++,f=u[l(525)](i,a);t[l(637)][l(738)](d,f),null!==h&&n[l(742)](h)}}[rt(595)](t){const e=rt;switch(t[e(550)]){case e(548):return e(748);case e(578):return e(496);default:return e(721)}}[rt(485)](t,e){const i=rt;t[i(778)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(576)](n[i(754)][i(802)]);t[s]=this[i(749)](n,r)}if(n instanceof H.Range){const r=e[i(576)](n[i(754)][i(802)]);t[s]=this[i(630)](n,r)}i(754)===s&&(t[i(754)]=e[i(576)](t[i(754)][i(802)]))}}[rt(630)](t,e){const i=rt;return this[i(589)][i(718)][i(525)](this[i(749)](t[i(549)],e),this[i(749)](t[i(516)],e))}[rt(749)](t,e){const i=rt;return this[i(589)][i(718)][i(520)](e,t[i(588)],t[i(639)])}[rt(669)](t){const e=rt,i=this[e(803)][e(576)](t[e(597)][e(754)][e(802)]),s=this[e(749)](t[e(597)],i),n=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,r=s[e(518)],o=this[e(598)],a=[];for(const i of t[e(715)])if(i.is(e(739)))a[e(535)](this[e(505)](i));else for(let t=0;t<i[e(799)];t++)a[e(535)](new H.Element(e(511),{vid:this[e(598)]++}));const c=this[e(598)];for(let t=o;t<c;t++)this[e(616)][e(738)](t,{userId:n});r[e(710)](s[e(781)],a)}[rt(790)](t){const e=rt;(t=this[e(494)](t,this[e(803)]))[e(634)]();const i=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(666)](),n=s[e(518)],r=s[e(781)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(772)](e);r.is(a(739),a(511))?s[a(738)](r[a(617)](a(721)),{userId:i}):(s[a(738)](r[a(617)](a(748)),{userId:i}),t(s,r,0,r[a(759)]),s[a(738)](r[a(617)](a(496)),{userId:i}))}}(this[e(616)],n,r,r+t[e(489)])}[rt(567)](t){const e=rt,i=null===(t=this[e(494)](t,this[e(803)]))[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(728)][e(518)],n=t[e(638)][e(518)],r=s[e(617)](e(496)),o=n[e(617)](e(748));s[e(664)](e(496),n[e(617)](e(496))),n[e(664)](e(496),r),this[e(616)][e(738)](o,{userId:i}),this[e(616)][e(738)](r,{userId:i}),t[e(634)]()}[rt(716)](t){const e=rt,i=null===(t=this[e(494)](t,this[e(803)]))[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(614)],n=t[e(514)][e(518)];t[e(634)]();const r=n[e(617)](e(496)),o=t[e(761)][e(780)];if(s){const t=o[e(617)](e(496)),s=n[e(617)](e(496));n[e(664)](e(496),t),o[e(664)](e(496),s),this[e(616)][e(738)](n[e(617)](e(496)),{userId:i}),this[e(616)][e(738)](o[e(617)](e(748)),{userId:i})}else{const t=this[e(598)]++,s=this[e(598)]++;n[e(664)](e(496),t),o[e(664)](e(748),s),o[e(664)](e(496),r),this[e(616)][e(738)](t,{userId:i}),this[e(616)][e(738)](s,{userId:i})}}[rt(668)](t){const e=rt;if(!t[e(658)])return;const i=(t=this[e(494)](t,this[e(746)]))[e(736)]?t[e(736)][e(754)]:null,s=t[e(579)]?t[e(579)][e(754)]:null;i&&this[e(689)][e(663)](t[e(711)]),s&&this[e(689)][e(738)](t[e(711)],t[e(579)][e(692)]());const n=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,r=t[e(711)];if(!this[e(610)][e(568)](r))return void this[e(610)][e(738)](r,{range:t[e(736)],userId:n});const o=this[e(610)][e(576)](r),a=o[e(789)],c=t[e(579)];null==a&&null==c||a&&c&&a[e(652)](c)?this[e(610)][e(663)](t[e(711)]):o[e(543)]=n}[rt(729)](t,e){const i=rt;this[i(746)][i(568)](t[i(802)])?this[i(746)][i(576)](t[i(802)])[i(779)]=t[i(640)]:(this[i(746)][i(738)](t[i(802)],ht(t[i(802)],!0)),this[i(545)][i(738)](t[i(802)],{}),e&&this[i(803)][i(738)](t[i(802)],ht(t[i(802)],!0)));const s=null===t[i(650)]?null:t[i(650)]||this[i(589)][i(806)][i(576)](i(672)).me.id,n=this[i(642)][i(576)](t[i(802)]);n&&n[i(543)]===s?this[i(642)][i(663)](t[i(802)]):this[i(642)][i(738)](t[i(802)],{userId:s,isAttached:t[i(640)]})}[rt(723)](t){const e=rt,i=this[e(545)][e(576)](t[e(754)][e(802)]);null===t[e(703)]?delete i[t[e(594)]]:i[t[e(594)]]=t[e(703)]}}function ut(t,e){const i=ot();return(ut=function(t,e){return i[t-=485]})(t,e)}function lt(t){const e=rt,i=ht(t[e(802)],t[e(700)]());for(const s of t[e(661)]()){const t=s[e(674)](!0);i[e(660)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(802)]=t,s[i(779)]=e,s[i(700)]=()=>s[i(779)],s}function dt(t,e,i){const s=rt,n=s(578)==t[s(550)]?i[s(756)](t[s(657)],s(516)):i[s(644)](t[s(657)]);return i[s(520)](e,n[s(588)],n[s(639)])}function ft(t,e,i){const s=rt,n=s(548)==t[s(550)]?i[s(756)](t[s(657)],0):i[s(539)](t[s(657)]);return i[s(520)](e,n[s(588)],n[s(639)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=It(),Nt.insert=wt().bind(null,"head"),Nt.domAPI=kt(),Nt.insertStyleElement=Ot();gt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;var xt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(xt.A,Rt);xt.A&&xt.A.locals&&xt.A.locals;const At=Mt;function Vt(){const t=["arrowup","extendTemplate","arrowleft","799215ejstBC","Name of the revision","optional","form","264FDLTJE","focus","render","element","3325483CRPvuM","revisionNameInputValue","label","value","220","reset","keystrokes","focusTracker","locale","revisionNameInputView","828922pABfrt","fieldView","13219520XJsRlk","arrowdown","trim","stopPropagation","errorText","ck-revision-history-save-revision-form","_createRevisionNameInput","set","setTemplate","ck-responsive-form","199061VClsOM","revisionName","18390pQnWBt","1442532PBmxhD","arrowright","listenTo","add","input"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(240996===parseInt(e(243))/1+parseInt(e(231))/2+-parseInt(e(245))/3*(-parseInt(e(217))/4)+parseInt(e(213))/5+parseInt(e(205))/6+parseInt(e(221))/7+-parseInt(e(233))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(228)];[At(227)];[At(230)];constructor(e,i){const s=At;super(e),this[s(228)]=new t.FocusTracker,this[s(227)]=new t.KeystrokeHandler,this[s(240)](s(222),""),this[s(230)]=this[s(239)](i),this[s(241)]({tag:s(216),attributes:{class:["ck",s(238),s(242)],tabindex:"-1"},children:[this[s(230)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(219)](){const t=At;super[t(219)](),(0,pt.submitHandler)({view:this}),this[t(228)][t(208)](this[t(230)][t(220)]),this[t(227)][t(207)](this[t(220)]);const e=e=>e[t(236)]();this[t(227)][t(240)](t(206),e),this[t(227)][t(240)](t(212),e),this[t(227)][t(240)](t(210),e),this[t(227)][t(240)](t(234),e)}[At(218)](){const t=At;this[t(230)][t(218)]()}get[At(244)](){const t=At;return this[t(230)][t(232)][t(220)][t(224)][t(235)]()}set[At(244)](t){const e=At;this[e(230)][e(232)][e(220)][e(224)]=t[e(235)]()}[At(226)](){const t=At;this[t(230)][t(232)][t(220)][t(224)]="",this[t(230)][t(237)]=null}[At(239)](t){const e=At,i=new pt.LabeledFieldView(this[e(229)],pt.createLabeledInputText),s=i[e(232)];s[e(211)]({attributes:{maxlength:e(225)}});let n=Q(this[e(229)],e(214));return!t&&(n+=" ("+Q(this[e(229)],e(215))+")"),i[e(223)]=n,s.on(e(209),(()=>{const t=e;this[t(222)]=s[t(220)][t(224)][t(235)]()})),i}}function Dt(t,e){const i=Ft();return(Dt=function(t,e){return i[t-=107]})(t,e)}const Ct=Dt;function Ft(){const t=["get","Save current revision","hide","editor","_registerMenuComponent","reset","saveRevision","Revision history","isReadOnly","revisionHistory.requireRevisionName","menuitem","3423186WSRMhc","errorText","submit","set","Open revision history","1790280NeEHJf","init","1700902zeVucn","Cancel","view","execute","menu","items","318gkwzWm","ck-button-action","bind","RevisionTracker","The revision name cannot be empty.","isEnabled","showRevisionViewerCallback","isReady","isPremiumPlugin","role","editing","96698LqDvFA","RevisionHistoryUI","menuBar:revisionHistory","children","revisionHistory","_saveRevisionFormView","componentFactory","1120584HpXRKA","delegate","add","Dialog","addMany","Accept","revisionSave","revisionNameInputView","revisionName","show","isOfficialPlugin","plugins","_createSaveRevisionFormView","13548wpAKJN","7580510ddTqaM","config","isOpen","locale","panelView","buttonView","12ozzcfz","requires","render","focus","_showDialog","pluginName"];return(Ft=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(850073===parseInt(e(107))/1*(-parseInt(e(148))/2)+parseInt(e(137))/3*(-parseInt(e(168))/4)+parseInt(e(169))/5+parseInt(e(155))/6+parseInt(e(131))/7+parseInt(e(129))/8+-parseInt(e(124))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Ct(112)](){return Ct(149)}static get[Ct(165)](){return!0}static get[Ct(145)](){return!0}static get[Ct(108)](){return[at]}[Ct(153)];[Ct(130)](){const t=Ct,e=this[t(116)],i=e[t(166)][t(113)](t(140));e.ui[t(154)][t(157)](t(152),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(173)][n(151)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(139)](n(142)).to(i,n(144),i,n(142),e,n(121),((t,e,i)=>t&&e&&!i)),r[n(174)][n(127)]({icon:mt.IconHistory,label:Q(s,n(120)),tooltip:!0}),u[n(127)]({label:Q(s,n(114)),withText:!0,role:n(123)}),u[n(139)](n(142)).to(i,n(144),i,n(142),e,n(121),((t,e,i)=>t&&e&&!i)),u.on(n(134),(()=>this[n(111)]())),h[n(127)]({label:Q(s,n(128)),withText:!0,role:n(123)}),h[n(139)](n(142)).to(i,n(144),e,n(121),((t,e)=>t&&!e)),h.on(n(134),(()=>{const t=n;e[t(170)][t(113)](t(152))[t(143)](),r[t(171)]=!1,e[t(147)][t(133)][t(110)]()})),c[n(151)][n(157)](u),l[n(151)][n(157)](h),a[n(146)]=n(135),a[n(136)][n(159)]([c,l]),o[n(157)](a),r})),e.ui[t(154)][t(157)](t(150),(()=>this[t(117)]()))}[Ct(117)](){const t=Ct,e=this[t(116)],i=e[t(172)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(174)][t(127)]({icon:mt.IconHistory,label:Q(i,t(120))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(127)]({label:Q(i,t(114))}),o[t(156)](t(134)).to(s),o.on(t(134),(()=>{this[t(111)]()})),r[t(151)][t(157)](o),n[t(136)][t(157)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(127)]({label:Q(i,t(128))}),c[t(156)](t(134)).to(s),c.on(t(134),(()=>{const i=t;e[i(170)][i(113)](i(152))[i(143)]()})),a[t(151)][t(157)](c),n[t(136)][t(157)](a),s[t(173)][t(151)][t(157)](n),s}[Ct(111)](){const t=Ct,e=this[t(116)],i=e[t(172)],s=e[t(166)][t(113)](t(158)),n=e[t(166)][t(113)](t(140));function r(n){const r=t;e[r(170)][r(113)](r(122))&&""===n[r(163)]?n[r(162)][r(125)]=Q(i,r(141)):(e[r(166)][r(113)](at)[r(119)]({name:n[r(163)]}),s[r(115)]())}this[t(153)]||(this[t(167)](),this[t(153)].on(t(126),(()=>r(this[t(153)])))),this[t(153)][t(118)](),s[t(164)]({id:t(161),title:Q(i,t(114)),isModal:!0,content:this[t(153)],actionButtons:[{label:Q(e[t(172)],t(132)),withText:!0,onExecute:()=>s[t(115)]()},{label:Q(e[t(172)],t(160)),class:t(138),withText:!0,onCreate(i){const s=t;i[s(139)](s(142)).to(n,s(144),n,s(142),e,s(121),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(153)])}]})}[Ct(167)](){const t=Ct,e=this[t(116)],i=e[t(172)];this[t(153)]=new Et(i,e[t(170)][t(113)](t(122))),this[t(153)][t(109)]()}}function Lt(){const t=["1312644VweQQi","4xPZNIJ","setTemplate","div","ck-revision-change__label","span","_model","346446RaLzaa","changeId","16960460pGTPXM","ck-revision-change__","type","isSuggestion","12bblzmc","ck-annotation","bindTemplate","data","Added by","Removed by","5034911AVWQym","551757tnKojL","name","author","set","4Lydxfa","Suggested by","16KDEDbJ","984fcmkBJ","5456410BpiXfB","element","515339IVwcwI","ck-revision-change","focus","add"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(973234===parseInt(e(475))/1*(parseInt(e(456))/2)+-parseInt(e(455))/3+-parseInt(e(479))/4*(-parseInt(e(449))/5)+-parseInt(e(468))/6*(-parseInt(e(474))/7)+-parseInt(e(481))/8*(parseInt(e(462))/9)+parseInt(e(464))/10+parseInt(e(451))/11*(-parseInt(e(448))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(463)];[Pt(461)];constructor(t,e){const i=Pt;super(t),this[i(461)]=e,this[i(463)]=e.id;const s=this[i(470)],n=Q(t,e[i(471)][i(467)]?i(480):i(454)==e[i(466)]?i(472):i(473));this[i(478)](i(466),e[i(466)]),this[i(457)]({tag:i(458),attributes:{class:[i(469),i(452),s.to(i(466),(t=>i(465)+t))],tabindex:-1},children:[{tag:i(460),children:[{tag:i(460),attributes:{class:[i(459)]},children:[{text:n}]},{text:" "+e[i(477)][i(476)]}]}]})}[Pt(453)](){const t=Pt;this[t(450)][t(453)]()}}var Ut=Ht;function Zt(){var t=["createdAt","rootName","toJSON","type","11294576IPtKsW","data","2008LCgHrV","author","set","27aRYlKK","594ytmkYW","115751qJqogw","6wzjhde","5276588RVnRhB","9221268KThfCs","4510790uHjWfo","2904260faDHMo"];return(Zt=function(){return t})()}function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=463]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(720655===-parseInt(e(469))/1+-parseInt(e(464))/2*(-parseInt(e(468))/3)+-parseInt(e(471))/4+parseInt(e(474))/5*(parseInt(e(470))/6)+parseInt(e(472))/7+parseInt(e(479))/8+parseInt(e(467))/9*(-parseInt(e(473))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(465)];[Ut(478)];[Ut(463)];[Ut(476)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(465)]=e[i(465)],this[i(478)]=e[i(478)],this[i(463)]=e[i(463)]||{},this[i(476)]=e[i(476)],this[i(466)](i(475),e[i(475)])}[Ut(477)](){var t=Ut;return{id:this.id,authorId:this[t(465)].id,type:this[t(478)],data:this[t(463)],createdAt:this[t(475)]}}}const Bt=$t;function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=268]})(t,e)}function Yt(){const t=["oldRevisionId","578164mincYt","227425NgNUgw","newRevisionId","83334zxCCKm","6GZHtBF","60LvHBaA","173310vGoKiQ","add","306489HPzYgY","changes","8696kJaYhK","_setChanges","434934PjifSu","525ooJtDF"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(163743===-parseInt(e(276))/1+-parseInt(e(274))/2+-parseInt(e(272))/3*(-parseInt(e(268))/4)+parseInt(e(269))/5+parseInt(e(271))/6+-parseInt(e(281))/7*(parseInt(e(278))/8)+parseInt(e(280))/9*(parseInt(e(273))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[Bt(270)];[Bt(282)];[Bt(277)];constructor(e,i){const s=Bt;this[s(270)]=e,this[s(282)]=i,this[s(277)]=new t.Collection}[Bt(279)](t){const e=Bt;for(const i of t)this[e(277)][e(275)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=te;function Qt(){const t=["removeClass","userId","abs","maxOffset","length","bindElementToMarker","view","newRevisionId","startIndex","changeId","removeAttribute","addHighlight","showStack","isSuggestion","indexOf","_activeViewTarget","bind","writer","9312003zIRPbw","_removeMissingPairs","dataToMarker","requires","nodeAfter","revision","attributes","addMarker:revision-suggestion:insertion","_getDiff","delete","_setDistance","change:activeChange","includes","createRevision","ck-suggestion-marker","mapper","loadRevisionData","checkAttribute","enableReadOnlyMode","consume","isRemoved","isLimit","vid_end","isObject","deletions","top","isReady","createAttributeElement","pluginName","addMarker:revision","next","_findChangeIdFromDomTarget","_markMismatchedRemovedTags","resolve","WidgetToolbarRepository","nextSibling","values","element","consumable","getChild","_processTape","text","forceDisabled","nextPosition","adapter","addRoot","RevisionsRepository","markerToData","_removeUnsupportedChanges","editor","886166LRalsk","sort","markerName","destroy","has","domEvent","getItems","ck-revision-history-root-add","error","isEnabled","highest","_update","_sortAndFilterDiffChanges","createPositionFromPath","viewItem","addRevision","mouseover","5505vVyicB","createPositionBefore","getIndex","observeMarkers","vid","change:activeView","ck-suggestion-marker-merge","_setChanges","string","elementToAttribute","conversion","isAdded","POSITIVE_INFINITY","shift","markerNameToElements","backward","getRevision","isAtEnd","attachChange","change:isReady","locale","getRootNames","revision-suggestion:","getWalker","listenTo","oldRevisionId","markersEnd","createRange","createUIElement","get","forEach","revision-viewer","uiElement","low","removeMarker:revision","return","revision-suggestion","upcast","diffData","start","3488570eDljuy","wrap","revision:","_changeView","getRevisionDocumentData","then","mapViewToDom","_revisions","showNextChange","revisionHistory","9753tfieml","getCustomProperty","getRoot","diff","toViewElement","31808nLhali","_changeIdToChange","_makeModelFromViewString","remove","976968WfWqwd","comment","authors","change","done","_cleanMarkers","for","right","selection","_setConversion","first","data","model","ck-suggestion-preview-marker-","removeMarker:revision-suggestion","isCollapsed","attribute:vid","isAttached","side","_markMarkers","merge","pairId","parent","toViewRange","toViewPosition","_appendChild","_refreshStartEndIndex","schema","index","endIndex","ck-editor__editable__overlay","downcastDispatcher","config","RevisionViewer","_joinTapes","catch","filter","revision-comment:","left","detachRoot","_data","_utils","_markInsertions","ck-revision-history-root-remove","_step","attributesBefore","stop","numberOfChanges","refresh","markerToHighlight","isInline","addRevisionData","isIncorrect","isPremiumPlugin","change:isEnabled","ck-suggestion-marker-split","_cleanUp","ck-revision-history-root--active","document","showPreviousChange","set","reconvertMarker","markers","getDomRoot","hasAttribute","from","1694XVMGzT","_getRevisionsRange","map","markersStart","offsetSize","ck-suggestion-marker-","editingDowncast","forward","end","isBefore","all","setAttribute","getLaterVisibleRevision","findIndex","vid_start","isAfter","markerRange","concat","isOfficialPlugin","ck-suggestion-marker--active","distance","target","unshift","revisionHistoryAttachChange","6084GZpRtK","test","plugins","insertions","level","dataDowncast","commands","ck-revision-history-root-","object","clear","softBreak","item","isNavigationMode","-new","_fixObsoleteTags","revisionHistoryLabel","unbindElementFromMarkerName","_markSuggestions","enqueueChange","suggestion:","getRevisionRootsAttributes","affectsData","attributesAfter","init","_balloon","elementStart","mousedown","insert","changes","modelRange","getClientRects","104iPFors","bottom","editing","_getViewForChange","_getChangeFromId","isAtStart","activeView","change:numberOfChanges","span","pop","deletion","code","elementEnd","hasClass","previousPosition","getAttributes","RevisionHistoryUtils","high","restoreRevisionCallback","type","range","activeChange","add","addMarker:revision-suggestion:deletion","isBlock","repository","suggestion","split","isRemoveSuggestion","element:pre","push","_initInteractions","insertion","isEqual","_threeWayMerge","createRangeIn","ck-suggestion-preview-marker","execute","getAttribute","restoreRevision","data-change-id","addClass","updatePosition","isAddSuggestion","startsWith","_makeModelFromTape","domConverter","roots","slice","isContent","_makeTape","removeMarker","splice","flat","find","compare","isOnRoot","currentChangeNumber","keys","rootName","name"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(576390===-parseInt(e(425))/1+-parseInt(e(622))/2*(-parseInt(e(492))/3)+-parseInt(e(501))/4+-parseInt(e(442))/5*(-parseInt(e(591))/6)+-parseInt(e(567))/7*(parseInt(e(497))/8)+parseInt(e(701))/9+parseInt(e(482))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Xt(647)];[Xt(419)]=null;[Xt(542)];[Xt(698)];[Xt(485)];[Xt(498)];[Xt(615)];static get[Xt(403)](){return Xt(534)}static get[Xt(585)](){return!0}static get[Xt(554)](){return!0}static get[Xt(704)](){return[Z.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Xt;super(t),this[e(647)]=this[e(424)][e(593)][e(471)](e(421)),this[e(542)]=this[e(424)][e(593)][e(471)](e(638)),this[e(561)](e(643),null),this[e(561)](e(628),null),this[e(698)]=null,this[e(561)](e(495),null),this[e(561)](e(401),!1),this[e(561)](e(434),!0),this.on(e(555),((t,i,s)=>{const n=e;this[n(643)]=null,this[n(628)]=null,this[n(424)][n(624)][n(689)][n(504)]((t=>{const e=n;for(const i of this[e(424)][e(624)][e(689)][e(559)][e(669)])s?t[e(683)](e(531),i):t[e(663)](e(531),i)}))})),this[e(699)](e(603)).to(this,e(643),(t=>null!==t)),this[e(699)](e(679)).to(this,e(401),this,e(495),this,e(643),((t,i,s)=>t&&s?i[e(619)][e(444)](s):0)),this[e(699)](e(548)).to(this,e(401),this,e(495),((t,i)=>t?i[e(619)][e(687)]:0)),this[e(485)]=null,this[e(498)]=new Map,this[e(615)]=this[e(424)][e(593)][e(471)](pt.ContextualBalloon)}[Xt(614)](){const t=Xt,e=this[t(424)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(574)});e[t(597)][t(644)](t(560),i),e[t(597)][t(644)](t(490),s),e[t(597)][t(644)](t(661),new se(e)),this.on(t(629),(()=>{const e=t;i[e(549)](),s[e(549)]()})),this[t(510)](),this[t(653)](),e[t(393)](t(473)),e[t(593)][t(429)](t(409))&&e[t(593)][t(471)](t(409))[t(417)](t(473))}async[Xt(486)](t){const e=Xt;return await this[e(542)][e(391)](t,this[e(419)]),this[e(542)][e(486)](t)}async[Xt(611)](t){const e=Xt;return await this[e(542)][e(391)](t,this[e(419)]),this[e(542)][e(611)](t)}async[Xt(677)](t,e,i=!1){const s=Xt;if(!this[s(434)])return;const n=this[s(495)],r=this[s(647)],o=s(450)==typeof t?r[s(458)](t):t,a=s(450)==typeof e?r[s(458)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(495)]&&this[s(495)][s(690)]===c&&this[s(495)][s(467)]===u)return Promise[s(408)]();this[s(401)]=!1,this[s(628)]=null,this[s(643)]=null,this[s(495)]=new Gt(c,u);const l=this[s(568)](o,a,!0)[s(569)]((t=>this[s(542)][s(391)](t,this[s(419)])));return l[s(652)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(577)](l)[s(487)]((()=>{const t=s;if(!this[t(434)])return;this[t(557)]();const e=this[t(709)](c,u);for(const i of e[t(619)])this[t(498)][t(561)](i.id,i);this[t(424)][t(513)][t(609)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(424)][s(513)][s(559)][s(463)]())i[s(540)](t);for(const t of Object[s(680)](e[s(513)])){const n=i[s(420)](t);for(const r of Object[s(680)](e[s(707)][t]))i[s(578)](r,e[s(707)][t][r],n);i[s(618)](e[s(513)][t],n,0)}})),this[t(495)][t(449)](this[t(437)](e[t(619)])),this[t(401)]=!0}))[s(536)]((t=>{const e=s;console[e(433)](t),this[e(557)](),n&&(this[e(495)]=n),this[e(401)]=!0}))}[Xt(552)](t,e){const i=Xt,s=this[i(647)][i(388)](t);return s.on(i(436),((t,i,n)=>e(i,n,s))),this[i(647)][i(440)](s),s}[Xt(557)](){const t=Xt;this[t(643)]=null,this[t(506)](),this[t(485)]&&this[t(485)][t(428)](),this[t(485)]=null,this[t(498)][t(600)](),this[t(424)][t(513)][t(609)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(424)][i(513)][i(559)][i(463)]())e[i(540)](t)}))}[Xt(437)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(424)][e(513)][e(559)][e(463)]()){const n=this[e(424)][e(624)][e(689)][e(564)](t);if(!n)continue;const r=n[e(621)]()[e(602)](0);r&&(i[e(652)](t),s[e(561)](t,r))}return i[e(426)](((t,i)=>{const n=e,r=s[n(471)](t),o=s[n(471)](i);return r.y-o.y||r.x-o.x})),(t=t[e(537)]((t=>i[e(387)](t[e(681)]))))[e(426)](((t,s)=>i[e(697)](t[e(681)])-i[e(697)](s[e(681)]))),t}[Xt(672)](t){const e=Xt,i=Array[e(566)](t[e(563)])[e(537)]((([t,i])=>t[e(666)](e(484))&&!i[e(516)])),s=Array[e(566)](this[e(424)][e(513)][e(657)](t)[e(465)]({singleCharacters:!0}));if(0!=i[e(687)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(649)](":");if(n[e(575)][e(655)](t[e(418)])&&i[e(455)](),(t[e(636)][e(655)](n[e(481)])||t[e(636)][e(582)](n[e(481)]))&&(e(654)==r?t[e(453)]={userId:o}:e(632)==r&&(t[e(395)]={userId:o})),0==i[e(687)])break}return s}[Xt(527)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(687)];s++)e(416)===t[s][e(641)]?(t[s][e(602)][e(691)]=s,t[s][e(602)][e(530)]=s):(e(616)===t[s][e(641)]?t[s][e(602)][e(691)]=s:e(634)===t[s][e(641)]&&(t[s][e(602)][e(530)]=s),i[e(561)](t[s].id,s));for(const s of i[e(411)]())e(616)===t[s][e(641)]?t[s][e(602)][e(530)]=i[e(471)](t[s][e(522)]):e(634)===t[s][e(641)]&&(t[s][e(602)][e(691)]=i[e(471)](t[s][e(522)]))}[Xt(415)](t){const e=Xt;for(let i=0;i<t[e(687)];i++){if(e(616)===t[i][e(641)])t[i][e(602)][e(691)]=i;else if(e(634)===t[i][e(641)]){t[i][e(602)][e(530)]=i;const s=t[i][e(602)][e(691)];t[s][e(522)]=t[i].id,t[i][e(522)]=t[s].id}else t[i][e(602)][e(691)]=i,t[i][e(602)][e(530)]=i,t[i][e(522)]=null;t[i][e(570)]||(t[i][e(570)]=[],t[i][e(468)]=[])}}[Xt(543)](t,e){const i=Xt,s=t[i(537)]((t=>!t[i(453)]));for(let t=0;t<e[i(687)];t++)e[t][i(453)]&&(s[t][i(453)]=e[t][i(453)])}[Xt(709)](t,e=null){const i=Xt,s=this[i(647)][i(458)](t),n=e?this[i(647)][i(458)](e):null,r=this[i(568)](s,n),o=r[r[i(687)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(687)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(680)](e[i(480)]))if(e[i(480)][t][i(460)]){const s=e[i(480)][t][i(460)];s[i(518)]?(u[i(644)](t),l[i(429)](t)&&l[i(471)](t)[i(684)]==s[i(684)]?l[i(384)](t):l[i(561)](t,s)):l[i(429)](t)?(u[i(384)](t),l[i(384)](t)):(u[i(644)](t),l[i(561)](t,s))}else u[i(644)](t)}for(const t of u){const e=l[i(429)](t)&&!l[i(471)](t)[i(518)];let s=e?r[i(687)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(480)][t]){const s=e?o[i(480)][t][i(546)]:o[i(480)][t][i(613)];c[i(707)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(513)]={};for(const e of t[i(503)])a[i(561)](e.id,e);for(const e of u){const s=t[i(480)][e]?t[i(480)][e][i(594)]:"[]",n=t[i(480)][e]?t[i(480)][e][i(399)]:"[]";t[i(513)][e]={insertions:this[i(542)][i(499)](s),deletions:this[i(542)][i(499)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(566)](s[i(513)][t][i(594)][i(563)])[i(537)]((([t])=>!t[i(666)](i(484)))));let h=0;for(const o of r){const r=this[i(672)](o[i(513)][t][i(594)]);o==s?(e=r,n=e[i(687)],e[i(472)]((t=>{t.id=h++})),this[i(415)](e)):this[i(543)](e,r);const a=e[i(537)]((t=>!t[i(453)]))[i(569)]((t=>t.id));let c=0;const l=this[i(672)](o[i(513)][t][i(399)]);l[i(472)]((t=>{t[i(395)]?t.id=n++:t.id=a[c++]})),this[i(415)](l),this[i(385)](e,i(453)),this[i(385)](l,i(395)),o==s&&this[i(520)](e,u),e=this[i(535)](e,l),this[i(527)](e),this[i(385)](e,i(395))}e=e[i(537)]((t=>!(t[i(453)]&&t[i(395)])));const d=new Map(o[i(513)][t][i(399)][i(563)]),f=new Set(u[i(680)]());for(const t of d[i(680)]())f[i(384)](t);this[i(608)](e,f),this[i(605)](e),e=this[i(702)](e),e=this[i(407)](e),e=this[i(423)](e);const{root:m,changes:p}=this[i(667)](e,a,t);c[i(513)][t]=m;const v=l[i(471)](t);if(v){const e=a[i(471)](v[i(684)]),s=new qt({author:e,type:v[i(518)]?i(644):i(500),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(589)](s),c[i(707)][t][i(590)]=s.id}c[i(619)]=c[i(619)][i(584)](p)}return c}[Xt(520)](t,e){const i=Xt;for(let s=0;s<t[i(687)];s++)for(const[n,r]of e)!r[i(516)]&&r[i(481)][i(655)](t[s][i(636)])&&t[s][i(570)][i(652)](n),r[i(575)][i(655)](t[s][i(418)])&&t[s][i(468)][i(652)](n)}[Xt(535)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(687)]||r<e[i(687)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(652)](o);else if(a[i(395)]&&o[i(453)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(656)](t,n,e,r);s=s[i(584)](o),n=a,r=c}else a[i(395)]?(r++,s[i(652)](a)):(n++,s[i(652)](o))}return s}[Xt(608)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(687)];o++){for(let r=0;r<t[o][i(570)][i(687)];r++){const a=t[o][i(570)][r];if(!e[i(429)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(478)!=c||i(654)!=u&&i(632)!=u||(s[i(589)]({type:u,name:a,userId:l}),t[o][i(570)][i(674)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(468)][i(687)];r++){const a=t[o][i(468)][r];if(!e[i(429)](a))continue;const{group:c,type:u}=n(a);if(i(478)!=c||i(654)!=u&&i(632)!=u)continue;t[o][i(468)][i(674)](r,1),r--;const l=s[i(580)]((t=>t[i(682)]==a));l>-1&&s[i(674)](l,1)}}function n(t){const e=i,s=t[e(649)](":");return{group:s[0],type:s[1],subType:s[e(687)]>=5?s[2]:null,id:s[e(687)]<5?s[2]:s[3],authorId:s[e(687)]<5?s[3]:s[4],markerCount:6==s[e(687)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(687)];i++){if(t[e(453)]&&e(654)==s[i][e(641)])return t[e(665)]=s[i],void delete t[e(453)];if(!t[e(453)]&&!t[e(395)]&&e(632)==s[i][e(641)])return void(t[e(650)]=s[i])}}}[Xt(385)](t,e){const i=Xt;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(561)](o.id,s);for(let s=0;s<t[i(687)];s++){if(i(395)==e&&t[s][i(453)]||i(453)==e&&t[s][i(395)])continue;if(i(416)==t[s][i(641)]){t[s][i(587)]=0;continue}const n=r[i(471)](t[s][i(522)]),o=r[i(471)](t[s].id);t[s][i(587)]=n-o}}[Xt(568)](t,e,i=!1){const s=Xt,n=[];let r=this[s(647)][s(444)](t),o=this[s(647)][s(444)](e);for(-1==o&&(o=this[s(647)][s(489)][s(687)],i=!1);r<o;)n[s(652)](this[s(647)][s(458)](r)),r++;return i&&n[s(652)](this[s(647)][s(458)](r)),n}[Xt(656)](t,e,i,s){const n=Xt,r=this[n(424)][n(513)][n(528)];let o=e;for(;t[o]&&t[o][n(453)];)o++;let a=s;for(;i[a]&&i[a][n(395)];)a++;u(t,e,o),u(i,s,a);const c=i[n(670)](s,a)[n(584)](t[n(670)](e,o));return c[n(426)](((t,e)=>t[n(519)]!=e[n(519)]?t[n(519)]-e[n(519)]:t[n(595)]!=e[n(595)]?t[n(595)]-e[n(595)]:t[n(587)]!=e[n(587)]?e[n(587)]-t[n(587)]:!!t[n(453)]!=!!e[n(453)]?-1==t[n(519)]||0==t[n(519)]?t[n(453)]?-1:1:t[n(453)]?1:-1:t[n(529)]-e[n(529)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(454)],c=!0;for(let n=e;n<i;n++)if(r[s(551)](t[n][s(602)])||(c=!1),t[n][s(602)][s(691)]<e&&(o=n),t[n][s(602)][s(530)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(519)]=n<=o?-1:n<a?0:1,t[n][s(529)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(587)]?t[i][s(595)]=u:(u++,t[i][s(595)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(519)]&&(t[n][s(595)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(587)]?t[e][s(595)]=u:(u--,t[e][s(595)]=u,u--)}}[Xt(605)](t){const e=Xt,i=new Map,s=this[e(424)][e(513)][e(528)];for(let n=1;n<t[e(687)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(416)==c[e(641)])continue;if(c[e(641)]!=u[e(641)])continue;if(!s[e(646)](u[e(602)])||s[e(396)](u[e(602)]))continue;if(!s[e(646)](c[e(602)])||s[e(396)](c[e(602)]))continue;if((t[n][e(453)]||t[n][e(665)])&&t[n-1][e(395)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(395)]||!t[n-1][e(453)]&&!t[n-1][e(665)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(595)]==o[e(595)],h=Math[e(685)](r[e(595)])<Math[e(685)](o[e(595)])&&0==o[e(587)];(l||h)&&(i[e(561)](o.id,r.id),t[e(674)](a,1),n--,r[e(453)]=!1)}for(let s=0;s<t[e(687)];s++)i[e(429)](t[s][e(522)])&&(t[s][e(522)]=i[e(471)](t[s][e(522)]))}[Xt(702)](t){const e=Xt,i=new Set(t[e(569)]((t=>t.id)));for(let s=0;s<t[e(687)];s++)i[e(429)](t[s][e(522)])||0==t[s][e(587)]||(t[s][e(553)]=!0);return t[e(537)]((t=>!t[e(553)]))}[Xt(407)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(687)];s++){if(i[e(429)](t[s].id)&&t[s][e(395)]&&(t[s][e(553)]=!0),t[s][e(553)])continue;if(0==t[s][e(587)])continue;if(e(616)!=t[s][e(641)])continue;if(null==t[s][e(522)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(522)];)e(616)==t[n][e(641)]?r++:e(634)==t[n][e(641)]&&r--,n++;if(0!=r)if(t[s][e(395)])t[s][e(553)]=!0;else for(;n!=s;)t[n][e(395)]&&0!=t[n][e(587)]&&(t[n][e(553)]=!0,i[e(644)](t[n][e(522)])),n--}return t[e(537)]((t=>!t[e(553)]))}[Xt(423)](t){const e=Xt,i=this[e(424)][e(513)][e(528)];for(let s=0;s<t[e(687)];s++){if(!(t[s][e(453)]||t[s][e(665)]||t[s][e(395)]||t[s][e(650)]))continue;if(0==t[s][e(587)])continue;const n=t[s][e(602)];i[e(646)](n)||i[e(396)](n)||(t[s][e(453)]&&delete t[s][e(453)],t[s][e(665)]&&delete t[s][e(665)],t[s][e(650)]&&delete t[s][e(650)],t[s][e(395)]&&(t[s][e(553)]=!0))}return t[e(537)]((t=>!t[e(553)]))}[Xt(667)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(513)],c=a[s(528)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(687)];e++)if(s(616)===t[e][s(641)]){t[e][s(636)]=a[s(438)](n,f);const i=new H.Element(t[e][s(602)][s(682)],t[e][s(602)][s(637)]());u[0][s(526)](i),f[s(652)](0),u[s(589)](i),t[e][s(418)]=a[s(438)](n,f)}else s(634)===t[e][s(641)]?(u[s(455)](),t[e][s(636)]=a[s(438)](n,f),f[s(631)](),f[f[s(687)]-1]++,t[e][s(418)]=a[s(438)](n,f)):(t[e][s(636)]=a[s(438)](n,f),d?d[s(541)]+=t[e][s(602)][s(512)]:d=new H.Text(t[e][s(602)][s(512)],t[e][s(602)][s(637)]()),t[e+1]&&s(416)===t[e+1][s(641)]&&v(d,t[e+1][s(602)])||(u[0][s(526)](d),d=null),f[f[s(687)]-1]+=t[e][s(602)][s(571)],t[e][s(418)]=a[s(438)](n,f));for(let e=0;e<t[s(687)];e++){const i=t[e][s(636)],n=t[e][s(418)];for(const n of t[e][s(570)])o[s(561)](n,{start:i,end:null});m(s(650),e,i,n),m(s(665),e,i,n),m(s(395),e,i,n),m(s(453),e,i,n);for(const i of t[e][s(468)]){const t=o[s(471)](i);t?t[s(575)]=n:o[s(561)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(513)][s(469)](e[s(481)],e[s(575)]);n[s(563)][s(561)](t,i)}return r[s(426)](((t,e)=>{const i=s,r=n[i(563)][i(471)](i(484)+t.id),o=n[i(563)][i(471)](i(484)+e.id);return r[i(481)][i(576)](o[i(481)])?-1:r[i(481)][i(582)](o[i(481)])?1:r[i(575)][i(576)](o[i(575)])?-1:r[i(575)][i(582)](o[i(575)])?1:i(644)===t[i(641)]?-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(684)]:null,d=i===t[o(687)]-1,f=h[e][0],m=c[o(398)](t[i][o(602)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(575)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(684)]!==u&&(l[e][o(575)]=n,f&&f[o(684)]===l[e][o(684)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(616)!==t[i][o(641)]||f&&f[o(684)]===u||h[e][o(589)]({userId:u,object:t[i][o(602)],change:l[e]}),o(634)===t[i][o(641)]&&f&&f[o(599)]===t[i][o(602)]&&(h[e][o(455)](),l[e]=f[o(504)])),l[e]&&d&&(l[e][o(575)]=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(602)],f=a[h(528)][h(646)](d)&&!a[h(528)][h(396)](d),m=t[h(705)]==o[h(523)]&&o[h(627)];if(f&&m)return;const p=a[h(469)](t,o),v=e[h(471)](u),g=new qt({author:v,type:h(453)==l||h(665)==l?h(644):h(500),data:{isSuggestion:h(665)==l||h(650)==l},createdAt:new Date,rootName:i});r[h(652)](g),n[h(563)][h(561)](h(484)+g.id,p)}function v(t,e){const i=s,n=t[i(637)](),r=e[i(637)]();for(const t of n){if(t[1]!==e[i(660)](t[0]))return!1;r[i(405)]()}return r[i(405)]()[i(505)]}}[Xt(510)](){const t=Xt;this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(706)}),this[t(424)][t(452)][t(507)](t(573))[t(550)]({model:t(706),view:e=>{const i=t,s=e[i(427)][i(649)](":")[1],n=this[i(626)](s);if(!n)return null;const r=i(644)==n[i(641)]?i(654):i(632),o=[i(389),i(572)+r];return n[i(512)][i(696)]&&o[i(652)](i(572)+r+i(604)),this[i(643)]==n&&o[i(652)](i(586)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(452)][t(507)](t(479))[t(644)]((e=>{const i=t;e.on(i(651),((t,e,s)=>{const n=i,r=e[n(439)][n(414)](0);if(!r||!r.is(n(412),n(633)))return;if(!s[n(413)][n(394)](r,{attributes:[n(581),n(397)]}))return;const o=e[n(620)][n(481)][n(705)];s[n(700)][n(578)](n(581),r[n(660)](n(581)),o),s[n(700)][n(578)](n(397),r[n(660)](n(397)),o)}),{priority:i(475)})})),this[t(424)][t(452)][t(507)](t(479))[t(644)]((e=>{const i=t;e.on(i(412),((t,e,s)=>{const n=i;if(!s[n(413)][n(394)](e[n(439)],{attributes:[n(581),n(397)]}))return;if(e[n(620)][n(516)])return;const r=e[n(620)][n(481)][n(705)];r[n(565)](n(581))||r[n(565)](n(446))||(s[n(700)][n(578)](n(581),e[n(439)][n(660)](n(581)),r),s[n(700)][n(578)](n(397),e[n(439)][n(660)](n(397)),r))}),{priority:i(475)})})),this[t(424)][t(452)][t(507)](t(479))[t(451)]({view:{name:t(630),attributes:{vid:!0}},model:{key:t(446),value:e=>e[t(660)](t(446))}}),this[t(424)][t(513)][t(528)].on(t(392),((e,[,i])=>{const s=t;[s(581),s(397),s(446)][s(387)](i)&&(e[s(477)]=!0,e[s(547)]())}),{priority:t(435)}),this[t(424)][t(452)][t(507)](t(596))[t(644)]((e=>{const i=t;e.on(i(517),((t,e,s)=>{const n=i;if(" "!=e[n(602)][n(512)]||e[n(602)][n(523)][n(686)]>1)return;if(!s[n(413)][n(394)](e[n(602)],t[n(682)]))return;const r=s[n(700)],o=s[n(390)][n(524)](e[n(642)]);r[n(483)](o,r[n(402)](n(630)))}))})),this[t(424)][t(452)][t(507)](t(596))[t(422)]({model:t(706)}),this[t(424)][t(624)][t(532)].on(t(404),function(e){const i=t,s=e[i(593)][i(471)](i(534));return(t,n,r)=>{const o=i,a=n[o(427)][o(649)](":")[1],c=s[o(626)](a);if(!c)return null;const u=o(644)==c[o(641)]?o(649):o(521);if(!r[o(413)][o(592)](n[o(583)],t[o(682)]))return;const l=n[o(583)][o(465)](),h=n[o(583)][o(481)],d=e[o(513)][o(528)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(602)];p=p||d[o(671)](e);const i=r[o(390)][o(496)](e);if(i&&i[o(493)](o(694)))return;o(634)==t[o(641)]&&d[o(646)](e)&&!d[o(396)](e)&&(e[o(410)]||h[o(459)]?f&&f[o(523)]==e||(f=e,g(t[o(636)]),v=!0):m=m||t[o(636)])}function g(t){const e=o,i=r[e(700)][e(470)](e(630),{class:e(572)+u}),a=r[e(390)][e(525)](t);c[e(512)][e(696)]&&r[e(700)][e(663)](e(572)+u+e(604),i),s[e(643)]==c&&r[e(700)][e(663)](e(586),i),r[e(700)][e(618)](a,i),r[e(390)][e(688)](i,n[e(427)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(476),((e,i,s)=>{const n=t,r=s[n(390)][n(456)](i[n(427)]);if(r)for(const t of r)(t[n(635)](n(556))||t[n(635)](n(448)))&&(s[n(390)][n(607)](t,i[n(427)]),s[n(700)][n(500)](t))}),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(404),((e,i,s)=>{const n=t,r=i[n(427)][n(649)](":")[1],o=this[n(626)](r);if(!o)return null;const a=n(644)==o[n(641)]?n(649):n(521);if(s[n(413)][n(592)](i[n(583)],e[n(682)]))for(const t of i[n(583)][n(431)]()){if(!t.is(n(412),n(601)))continue;const e=s[n(700)][n(470)](n(630),{class:n(572)+a}),r=s[n(390)][n(525)](this[n(424)][n(513)][n(443)](t));o[n(512)][n(696)]&&s[n(700)][n(663)](n(572)+a+n(604),e),this[n(643)]==o&&s[n(700)][n(663)](n(586),e),s[n(700)][n(618)](r,e),s[n(390)][n(688)](e,i[n(427)])}}),{priority:t(639)}),this[t(424)][t(513)][t(559)].on(t(504),(()=>{const e=t;this[e(424)][e(624)][e(689)][e(504)]((t=>{const i=e;for(const e of this[i(424)][i(513)][i(559)][i(463)]()){const s=this[i(424)][i(513)][i(559)][i(494)](e),n=this[i(424)][i(624)][i(689)][i(559)][i(494)](e);if(n){const e=s[i(660)](i(590));if(t[i(693)](i(662),n),t[i(683)](i(432),n),t[i(683)](i(544),n),t[i(683)](i(558),n),e){const s=this[i(626)](e);if(!s)return null;t[i(578)](i(662),e,n),t[i(663)](i(598)+s[i(641)],n),this[i(643)]==s&&t[i(663)](i(558),n)}}}}))})),this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(502),model:e=>t(538)+e,converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(648),model:e=>t(464)+e,converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(596))[t(422)]({model:t(478),view:e=>({name:t(610)+e,group:t(478)}),converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(573))[t(550)]({model:t(478),view:e=>{const i=t,s=e[i(427)][i(649)](":")[1];return i(654)!=s&&i(632)!=s?null:{classes:[i(658),i(514)+s]}}}),this[t(424)][t(624)][t(532)].on(t(645),ie(this[t(424)],t(521)),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(708),ie(this[t(424)],t(649)),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(515),((e,i,s)=>{const n=t,r=s[n(390)][n(456)](i[n(427)]);if(r)for(const t of r)t.is(n(474))&&(s[n(390)][n(607)](t,i[n(427)]),s[n(700)][n(500)](t))}),{priority:t(639)})}[Xt(626)](t){const e=Xt;return this[e(498)][e(471)](t)}[Xt(625)](t){const e=Xt;return this[e(485)]&&this[e(485)][e(428)](),this[e(485)]=new Wt(this[e(424)][e(462)],t),this[e(485)]}[Xt(653)](){const t=Xt;this[t(424)][t(513)][t(559)][t(509)][t(445)](t(706)),this.on(t(447),((e,i,s,n)=>{const r=t;n&&this[r(615)][r(500)](n),s&&(this[r(615)][r(644)]({view:s,stackId:r(606),position:{target:()=>{const t=r,e=this[t(424)][t(624)],i=this[t(626)](s[t(692)]);let n;if(i[t(512)][t(678)]){const s=e[t(689)][t(564)](i[t(681)]);n=Array[t(566)](s[t(621)]())}else{const i=this[t(424)][t(513)][t(563)][t(471)](t(484)+s[t(692)]);n=Array[t(566)](e[t(390)][t(456)](i[t(682)]))[t(569)]((i=>e[t(689)][t(668)][t(488)](i)))[t(569)]((e=>Array[t(566)](e[t(621)]())))[t(675)]()}return this[t(698)]&&n[t(676)]((e=>e[t(400)]-3<=this[t(698)].y&&e[t(623)]+3>=this[t(698)].y&&e[t(539)]-3<=this[t(698)].x&&e[t(508)]+3>=this[t(698)].x))||n[0]}}}),this[r(615)][r(695)](r(606)))})),this.on(t(386),((e,i,s,n)=>{const r=t;this[r(628)]=s?this[r(625)](s):null,this[r(424)][r(513)][r(504)]((()=>{const t=r,e=this[t(424)][t(624)];n&&(n[t(512)][t(678)]?e[t(689)][t(504)]((i=>{const s=t;i[s(683)](s(558),e[s(689)][s(559)][s(494)](n[s(681)]))})):e[t(562)](t(484)+n.id)),s&&(s[t(512)][t(678)]?e[t(689)][t(504)]((i=>{const n=t;i[n(663)](n(558),e[n(689)][n(559)][n(494)](s[n(681)]))})):e[t(562)](t(484)+s.id))}))})),this[t(466)](this[t(424)][t(624)][t(689)][t(559)],t(441),((e,i)=>{const s=t;if(this[s(643)])return;const n=this[s(406)](i[s(588)]),r=this[s(498)][s(471)](n);r?(this[s(698)]={x:i[s(430)].x,y:i[s(430)].y},this[s(628)]=this[s(625)](r)):(this[s(698)]=null,this[s(628)]=null)})),this[t(466)](this[t(424)][t(624)][t(689)][t(559)],t(617),((e,i)=>{const s=t,n=this[s(406)](i[s(588)]),r=this[s(498)][s(471)](n);r?(this[s(698)]={x:i[s(430)].x,y:i[s(430)].y},r===this[s(643)]?this[s(615)][s(664)]():this[s(643)]=r):(this[s(698)]=null,this[s(643)]=null)}))}[Xt(406)](t){const e=Xt;do{const i=t[e(660)](e(662));if(i)return i;t=t[e(523)]}while(t);return null}[Xt(506)](){const t=Xt;this[t(424)][t(513)][t(504)]((e=>{const i=t;for(const t of this[i(424)][i(513)][i(563)])e[i(673)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(413)][r(592)](s[r(583)],i[r(682)]))return;const o=s[r(583)][r(465)](),a=s[r(583)][r(481)],c=t[r(513)][r(528)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(602)];h=h||c[r(671)](e);const i=n[r(390)][r(496)](e);if(i&&i[r(493)](r(694)))return;r(634)==t[r(641)]&&c[r(646)](e)&&!c[r(396)](e)&&(e[r(410)]||a[r(459)]?u&&u[r(523)]==e||(u=e,f(t[r(636)]),d=!0):l=l||t[r(636)])}function f(t){const i=r,o=n[i(390)][i(525)](t),a=n[i(700)][i(470)](i(630),{class:i(514)+e});n[i(700)][i(618)](o,a),n[i(390)][i(688)](a,s[i(427)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(593)][e(471)](ee);this[e(612)]=!1,this[e(466)](i,e(461),(()=>this[e(549)]())),this[e(466)](i,e(555),(()=>this[e(549)]()))}[Xt(659)](){const t=Xt,e=this[t(424)],i=e[t(593)][t(471)](ee),s=i[t(401)]?i[t(495)][t(690)]:null;e[t(533)][t(471)](t(491))[t(640)](s)}[Xt(549)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(593)][t(471)](ee),r=n&&s[t(579)](n[t(690)]);this[t(434)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(545)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(593)][i(471)](ee);this[i(612)]=!1,this[i(545)]=i(574)===e?1:-1,this[i(466)](s,i(461),(()=>this[i(549)]())),this[i(466)](s,i(555),(()=>this[i(549)]())),this[i(466)](s,i(386),(()=>this[i(549)]()))}[Xt(659)](){const e=Xt,i=this[e(424)],s=i[e(593)][e(471)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(643)]=n?s[e(495)][e(619)][e(471)](r+this[e(545)]):s[e(495)][e(619)][e(511)],s[e(643)][e(512)][e(678)])o=i[e(624)][e(689)][e(564)](s[e(643)][e(681)]);else{const t=i[e(513)][e(563)][e(471)](e(484)+s[e(643)].id);o=(0,Z.getMarkerDomElement)(i[e(624)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(549)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(593)][t(471)](ee);this[t(434)]=!!(r&&n&&s)&&(!e||(1===this[t(545)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["No changes","625096MHBAlM","bindTemplate","currentChangeNumber","numberOfChanges","280887XVjeAx","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","ck-revision-history-ui","set","span","Show next change","2GVbtce","Loading...","execute","isBackwardNavigationEnabled","setTemplate","div","_statusText","784272VAFZUH","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","isNavigationMode","X_OF_Y_CHANGES","Total","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","forward","918911dqcSWg","isForwardNavigationEnabled","5776443tiHCGX","10yMOIlT","backward","Show previous change","1668208kwaBjz","isEnabled","191810fGNyYP","bind","ck-hidden","isReady","5gVPLAh","ck-revision-history-ui__changes-navigation__navigation","fire"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(113223===parseInt(e(172))/1+parseInt(e(191))/2*(-parseInt(e(184))/3)+parseInt(e(180))/4*(-parseInt(e(176))/5)+-parseInt(e(155))/6+-parseInt(e(164))/7+-parseInt(e(170))/8+parseInt(e(166))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(181)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(188)](e(158),!1),this[e(188)](e(175),!1),this[e(188)](e(182),0),this[e(188)](e(183),0),this[e(188)](e(165),!1),this[e(188)](e(194),!1),this[e(173)](e(186)).to(this,e(175),this,e(183),((t,e)=>t&&e>0)),this[e(173)](e(197)).to(this,e(175),this,e(182),this,e(183),this,e(158),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(192));if(!n)return Q(t,o(179));const a=Q(t,o(161),n);return r?Q(t,o(159),[s+1,n]):a})),s[e(188)]({label:Q(t,e(169)),tooltip:!0,icon:mt.IconChevronUp}),n[e(188)]({label:Q(t,e(190)),tooltip:!0,icon:mt.IconChevronDown}),s[e(173)](e(171)).to(this,e(194)),n[e(173)](e(171)).to(this,e(165)),s.on(e(193),(()=>this[e(178)](e(193),e(168)))),n.on(e(193),(()=>this[e(178)](e(193),e(163)))),this[e(195)]({tag:e(196),attributes:{class:["ck",e(187),e(156)]},children:[{tag:e(189),attributes:{class:[e(185)]},children:[{tag:e(189),attributes:{class:[e(162),i.if(e(186),e(174),(t=>!t))]},children:[{text:i.to(e(158),(i=>i?Q(t,e(157))+": ":Q(t,e(160))+": "))}]},{text:i.to(e(197))}]},new pt.ToolbarSeparatorView,{tag:e(196),attributes:{class:[e(177)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=ve();return(de=function(t,e){return i[t-=173]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(694420===-parseInt(e(180))/1+parseInt(e(190))/2+parseInt(e(193))/3*(-parseInt(e(197))/4)+-parseInt(e(176))/5*(parseInt(e(182))/6)+-parseInt(e(192))/7*(parseInt(e(173))/8)+-parseInt(e(191))/9+-parseInt(e(187))/10*(-parseInt(e(188))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=fe(194);class pe extends U.Plugin{static get[fe(177)](){return fe(189)}static get[fe(184)](){return!0}static get[fe(179)](){return!0}[fe(198)](){const t=fe,e=this[t(186)][t(196)][t(181)];e[t(185)]((i=>{const s=t;for(const t of e[s(183)][s(178)])i[s(195)](me,t)}))}[fe(174)](){const t=fe,e=this[t(186)][t(196)][t(181)];e[t(185)]((i=>{const s=t;for(const t of e[s(183)][s(178)])i[s(175)](me,t)}))}}function ve(){const t=["document","isOfficialPlugin","change","editor","3310270cNDGHD","165SKpsde","RevisionViewerLoadingOverlay","1290892eRoeNK","9050994ZWRaJZ","4191131NCesgk","1783554kVJLbn","ck-editor__editable__loading-overlay","addClass","editing","8QawaOj","show","8HqviHV","hide","removeClass","10tRsYBU","pluginName","roots","isPremiumPlugin","987294QfBblx","view","3407106YNoqOR"];return(ve=function(){return t})()}const ge=ke;function ye(){const t=["310vODJlq","plugins","editor","restoreRevision","init","Restore this revision","forward","168009AENBek","1542465PBPrKE","88saMTTf","isBackwardNavigationEnabled","14LhpRpE","1655910eWPqyz","isReady","add","RevisionViewerUI","bind","closeRevisionViewerCallback","execute","Back to editing","currentChangeNumber","3232284omeLor","isForwardNavigationEnabled","isPremiumPlugin","showNextChange","changesNavigation","hide","isNavigationMode","set","requires","exitToEditing","pluginName","287532GjkVtH","revisionHistory","showPreviousChange","ck-revision-history-ui__back-to-editing","975265TLkcQj","isOfficialPlugin","change:isReady","isEnabled","commands","numberOfChanges","componentFactory","show","436289VYgOPw","get","config","listenTo"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=344]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(532292===-parseInt(e(363))/1+-parseInt(e(386))/2*(parseInt(e(382))/3)+parseInt(e(348))/4+-parseInt(e(383))/5+-parseInt(e(387))/6+parseInt(e(371))/7*(parseInt(e(384))/8)+-parseInt(e(359))/9*(-parseInt(e(375))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(358)](){return ge(390)}static get[ge(364)](){return!0}static get[ge(350)](){return!0}static get[ge(356)](){return[ee,pe]}[ge(379)](){const t=ge,e=this[t(377)],i=e[t(376)][t(372)](ee),s=e[t(376)][t(372)](pe);e.ui[t(369)][t(389)](t(357),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(355)]({label:Q(i,s(346)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(362)}),this[s(374)](n,s(345),(()=>{const t=s;e[t(373)][t(372)](t(360))[t(344)]()})),n})),e.ui[t(369)][t(389)](t(378),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(355)]({label:Q(i,s(380)),withText:!0,tooltip:!0}),n[s(391)](s(366)).to(e[s(367)][s(372)](s(378))),this[s(374)](n,s(345),(()=>e[s(345)](s(378)))),n})),e.ui[t(369)][t(389)](t(352),(s=>{const n=t,r=new ue(s),o=e[n(367)][n(372)](n(361)),a=e[n(367)][n(372)](n(351));return r[n(391)](n(385)).to(o,n(366)),r[n(391)](n(349)).to(a,n(366)),r[n(391)](n(388),n(347),n(368),n(354)).to(i),this[n(374)](r,n(345),((t,i)=>{const s=n;e[s(345)](s(381)===i?s(351):s(361))})),r})),s[t(370)](),i.on(t(365),((e,i,n)=>{const r=t;n?s[r(353)]():s[r(370)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=335]})(t,e)}function Oe(){const t=["placeholder","76170CYIPkz","clientWidth","render","fieldView","value","_updateTooltipText","element","scrollWidth","bindTemplate","1823922gTqbTI","ck-revision-history-sidebar__revision-name","input","extendTemplate","ck-tooltip_multi-line","1198gDcrne","_resizeObserver","8456ANqVMS","12960585DzRXRb","destroy","span","6eXDqLH","6774235oAKKAZ","4683gGmqvg","set","Revision name","1665aXxZIl","779VQKSZG","Enter the revision name","_tooltipString","2100120JaxdrD","listenTo"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(909077===parseInt(e(351))/1*(parseInt(e(339))/2)+-parseInt(e(366))/3+parseInt(e(354))/4+-parseInt(e(346))/5*(parseInt(e(345))/6)+parseInt(e(347))/7*(-parseInt(e(341))/8)+-parseInt(e(350))/9*(-parseInt(e(357))/10)+parseInt(e(342))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(340)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(365)];this[i(348)]({label:Q(t,i(349)),_tooltipString:""}),this[i(360)][i(356)]=Q(t,i(352)),this[i(337)]({tag:i(344),attributes:{class:[i(335)],"data-cke-tooltip-text":s.to(i(353)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(338)}})}[Ie(359)](){const e=Ie;super[e(359)](),this[e(340)]=new t.ResizeObserver(this[e(360)][e(363)],(()=>this[e(362)]())),this[e(355)](this[e(360)],e(336),(()=>this[e(362)]()))}[Ie(343)](){const t=Ie;super[t(343)](),this[t(340)]&&this[t(340)][t(343)]()}[Ie(362)](){const t=Ie,e=this[t(360)][t(363)];this[t(353)]=e[t(364)]>e[t(358)]&&e[t(361)]||""}}var Ne=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=It(),xe.insert=wt().bind(null,"head"),xe.domAPI=kt(),xe.insertStyleElement=Ot();gt()(Ne.A,xe);Ne.A&&Ne.A.locals&&Ne.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=319]})(t,e)}function Ae(){const t=["2678921CIGSBg","set","9IYqFJl","ck-revision-history-sidebar__revision-author","6035282jFEaTU","ck-revision-history-sidebar__revision-author__name","push","8710030eMJSNl","3yUhlbM","74zhSzIX","Revision author","ck-revision-history-sidebar__revision-author_creator","16ZuBsZr","6568164pwSHeS","10AbRMTt","setTemplate","738868AJdAJY","0 0 11 10","Revision creator","12202ccqgBh","name","span","450420eUoIPz"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(682049===-parseInt(e(339))/1*(-parseInt(e(326))/2)+parseInt(e(338))/3*(parseInt(e(323))/4)+parseInt(e(321))/5*(parseInt(e(329))/6)+-parseInt(e(330))/7*(-parseInt(e(319))/8)+parseInt(e(332))/9*(-parseInt(e(337))/10)+parseInt(e(334))/11+-parseInt(e(320))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(331)]({content:mt.IconUser,viewBox:s(324)});const r=["ck",s(333)];i&&r[s(336)](s(341));const o=[{tag:s(328),attributes:{class:["ck",s(335)],title:Q(t,s(i?325:340))},children:[n,e[s(327)]]}];this[s(322)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=439]})(t,e)}function Ee(){var t=["26tjzrpv","3401568aAtfTb","154LcAijC","124580qnZsgR","215438DmLEMa","toLocaleTimeString","27420UBHBpT","1hDCWcY","toLocaleDateString","47264AQVlut","long","498awYwLX","6VUewWf","198124SZueOM","numeric","259BhDoCw","3651672weCKAp"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(345165===-parseInt(e(441))/1*(-parseInt(e(455))/2)+-parseInt(e(446))/3*(-parseInt(e(447))/4)+-parseInt(e(440))/5*(parseInt(e(445))/6)+parseInt(e(449))/7*(-parseInt(e(443))/8)+parseInt(e(452))/9+parseInt(e(454))/10*(-parseInt(e(453))/11)+-parseInt(e(450))/12*(-parseInt(e(451))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["Restore this revision","Name this revision","first","bind","isOpen","158379LgPkWN","class","source","2579427qPpUIs","set","children","isEnabled","Compare against selected","Show more items","panelPosition","change:isActionsDropdownOpen","isReady","buttonView","menu","menuitem","model","items","find","extendTemplate","3413226tePePB","execute","name","844gIpiVu","_action","ck-on","action","add","19275SoCFgA","46YmiPKs","8460788VNWRRH","button","map","16553wBfkhK","listenTo","function","ck-revision-history-sidebar__revision__actions","locale","bindTemplate","stopPropagation","listView","isActionsDropdownOpen","isVisible","5584768HQfqYX"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(671413===-parseInt(e(230))/1*(-parseInt(e(226))/2)+parseInt(e(246))/3+-parseInt(e(220))/4*(parseInt(e(225))/5)+-parseInt(e(217))/6+parseInt(e(227))/7+parseInt(e(240))/8+-parseInt(e(249))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function We(){const t=["isActionsDropdownOpen","length","element","unhighlight","listenTo","isHighlighted","ck-revision-history-sidebar__revision_highlighted","setTemplate","ck-revision-history-sidebar__revision-authors","fire","highlight","fieldView","_requireRevisionName","isEnabled","unshift","creator","change","span","7858qxXNeX","deselect","2986770IJwFVC","_revision","revisionNameView","createdAt","ck-revision-history-sidebar__actions_dropdown_open","revisionActionsView","value","1789219gtRAEN","map","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","render","name","filter","div","set","ck-disabled","428694RyKFQv","isConfirm","select","uiLanguage","220","ck-reset","bindTemplate","closest","1179RWpiKA","8574935CYXDtk","_createdAtFormatted","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","isReady","bind","7807244MGmaLs","296nDCOIZ","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","extendTemplate",".ck-thread__remove-confirm","1217745EjVePt","authors","isSelected","from"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(999592===-parseInt(e(356))/1+-parseInt(e(347))/2*(parseInt(e(374))/3)+-parseInt(e(381))/4+parseInt(e(375))/5+-parseInt(e(349))/6+parseInt(e(366))/7+-parseInt(e(382))/8*(-parseInt(e(389))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(351)];[ze(354)];[ze(350)];[ze(341)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(372)],a=function(t,e){const i=r,s=Array[i(392)](e[i(390)])[i(362)]((t=>t!=e[i(344)]));return e[i(344)]&&s[i(343)](e[i(344)]),s[i(357)]((s=>new Ve(t,s,s==e[i(344)])))}(e,i);this.id=i.id,this[r(350)]=i,this[r(341)]=n,this[r(380)](r(361),r(352)).to(i),this[r(380)](r(376)).to(this,r(352),(t=>{return i=e[r(369)],(s=t)[(n=Me)(442)](i,{month:n(444),day:n(448)})+", "+s[n(439)](i,{hour:n(448),minute:n(448)});var i,s,n})),this[r(364)](r(391),!1),this[r(364)](r(334),!1),this[r(364)](r(393),!1),this[r(364)](r(379),!1),this[r(364)](r(342),!1),this[r(351)]=new Te(e,pt.createLabeledInputText),this[r(351)][r(340)][r(387)]({attributes:{maxlength:r(370)}}),this[r(351)][r(340)][r(380)](r(355)).to(this,r(361),(t=>t||this[r(376)])),this[r(351)][r(380)](r(342)).to(this,r(391),this,r(342),((t,e)=>t&&e)),this[r(354)]=s&&s[r(330)]?function(e,i){const s=je,n=e[s(235)],r=e[s(234)],o=(0,pt.createDropdown)(r);o[s(255)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(234)],n={"Compare against selected":Q(s,i(253)),"Name this revision":Q(s,i(242)),"Restore this revision":Q(s,i(241))};return e[i(229)]((t=>{const e=i,s=n[t[e(219)]];return s&&s!==t[e(219)]&&(t[e(219)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(228),model:new pt.ViewModel({label:t[n(219)],class:t[n(247)],withText:!0,role:n(260),_action:t[n(223)]})};i[n(261)][n(244)](n(252)).to(e,n(238),(i=>n(232)!=typeof t[n(252)]||!i||t[n(252)](e))),o[n(224)](i)}return o}(e,i);return e[s(244)](s(238)).to(o,s(245)),o[s(258)][s(250)]({label:Q(r,s(254)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(264)]({attributes:{class:[s(233),n.if(s(238),s(222))]},on:{click:n.to((t=>t[s(236)]()))}}),o.on(s(218),(t=>{const i=s;e[i(257)]&&i(232)==typeof t[i(248)][i(221)]&&t[i(248)][i(221)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(259)}),o[s(231)](e,s(256),((t,n,r)=>{const a=s;if(r)for(const t of o[a(237)][a(262)]){const s=t[a(251)][a(243)],n=i[a(263)]((t=>t[a(223)]===s[a(221)]))[a(239)];t[a(239)]=void 0===n||n(e)}})),o}(this,s):"",this[r(354)]&&this[r(354)][r(380)](r(342)).to(this),this[r(336)]({tag:r(363),attributes:{class:["ck",r(371),r(358),o.if(r(367),r(383))]},children:[{tag:r(363),attributes:{class:["ck",r(371),r(377),o.if(r(342),r(365),(t=>!t)),o.if(r(391),r(378)),o.if(r(334),r(335)),o.if(r(393),r(353))]},children:[this[r(351)],{tag:r(346),attributes:{class:["ck",r(359)]},children:[{text:o.to(r(376))}]},{tag:r(363),attributes:{class:["ck",r(386)]},children:[{tag:"ul",attributes:{class:["ck",r(337)]},children:a}]},this[r(354)]],on:{click:o.to((t=>{const e=r;t[e(385)][e(373)](e(388))||this[e(379)]&&this[e(342)]&&this[e(338)](e(368),{id:this.id})}))}}]})}[ze(360)](){const t=ze;super[t(360)]();const e=this[t(351)][t(340)][t(331)];this[t(333)](e,t(345),(()=>{const i=t;this[i(341)]&&!e[i(355)]||this[i(338)](i(384),{id:this.id,name:e[i(355)]}),e[i(355)]||(e[i(355)]=this[i(361)]?this[i(361)]:this[i(376)])}))}[ze(368)](){this[ze(391)]=!0}[ze(348)](){this[ze(391)]=!1}[ze(339)](){this[ze(334)]=!0}[ze(332)](){this[ze(334)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const Ni={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ri extends Ii{static create(t){return xi[t]||(xi[t]=new Ri(t)),xi[t]}static resetCache(){xi={},Ti={}}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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=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=Ni[e];"era"===e?s[r]=n:_s(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"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ri.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=Mi(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.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=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(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 ji(this,t,Xs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(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 qi extends Ii{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 Bi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Gi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ns(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 xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function Bs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function $s(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Nn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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 Vn(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,jn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,Nn,xn),Bn=mn(wn,Tn,Nn,xn),$n=mn(_n,Tn,Nn,xn),Yn=mn(Tn,Nn,xn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,Nn,xn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new lr({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 Ge(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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...Bs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{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 Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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 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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return Bi(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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($i.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Nr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(xs(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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(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(xs(i,"a")&&xs(i,"H"))throw new Ye("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 xr(t,e,i){return new Nr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(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,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(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 Ge(t);return e}(t)}}function Kr(t,e){const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of $r)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 Qr(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=Bs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=Br,g=gs(g)):(p=$r,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,Bn],[Zn,$n],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(t,os.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]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=Bs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Nr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(409)](t)[i(396)](e),n=io[i(410)](),r=n[i(405)]({days:1})[i(398)](i(390));let o,a;return s[i(411)](n,i(390))?(o=s[i(398)](i(390))[i(394)](),a=s[i(407)]()):s[i(411)](r,i(390))?(o=r[i(394)](),a=s[i(407)]()):s[i(411)](n,i(392))?(o=s[i(398)](i(392))[i(394)](),a=s[i(395)]||""):s[i(411)](n,i(389))?(o=s[i(398)](i(412))[i(394)](),a=s[i(404)]||""):(o=s[i(398)](i(389))[i(394)](),a=String(s[i(389)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=389]})(t,e)}function oo(){const t=["7IzcTSw","toRelativeCalendar","1010LdEyeS","fromJSDate","local","hasSame","month","33fsFSfg","697221VWaOKB","year","day","13059YGALro","week","13982WFwRjb","toJSDate","weekdayLong","setLocale","2882442zKXgPK","startOf","125FZnssg","38LiuJpZ","55484NjggFs","2689888GrCQqY","716700wYCwqq","monthLong","minus"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(353923===parseInt(e(393))/1*(parseInt(e(400))/2)+parseInt(e(414))/3+-parseInt(e(401))/4*(-parseInt(e(399))/5)+parseInt(e(397))/6*(-parseInt(e(406))/7)+-parseInt(e(402))/8+parseInt(e(391))/9*(parseInt(e(408))/10)+parseInt(e(413))/11*(parseInt(e(403))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=215]})(t,e)}const lo=uo;function ho(){const t=["span","3321992heMucP","addRevision","removeRevision","971898yhVPjL","find","setName","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","4tXEGJl","208617tKexjU","delegate","uiLanguage","_revisionActions","_requireRevisionName","6YtSWEI","12574400aHjFHS","459055zvdqMy","select","locale","div","revisionViews","localizedPeriodName","createCollection","startDate","remove","ck-revision-history-sidebar__time-period__label","add","4tfzGTc","3550617itPLEU","setTemplate","67123oGbEkK"];return(ho=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(211300===-parseInt(e(216))/1*(-parseInt(e(215))/2)+parseInt(e(242))/3+parseInt(e(234))/4*(-parseInt(e(223))/5)+parseInt(e(221))/6*(parseInt(e(237))/7)+parseInt(e(239))/8+parseInt(e(235))/9+-parseInt(e(222))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[lo(230)];[lo(227)];[lo(219)];[lo(220)];constructor(t,e,i,s){const n=lo;super(t);const r=no(e,this[n(225)][n(218)])[n(228)];this[n(230)]=e,this[n(227)]=this[n(229)](),this[n(219)]=i,this[n(220)]=s,this[n(227)][n(217)](n(224)).to(this),this[n(227)][n(217)](n(244)).to(this),this[n(236)]({tag:n(226),attributes:{class:["ck",n(245)]},children:[{tag:n(238),attributes:{class:["ck",n(232)]},children:[{text:r}]},{tag:n(226),attributes:{class:["ck",n(246)]},children:this[n(227)]}]})}[lo(240)](t){const e=lo,i=new Ze(this[e(225)],t,this[e(219)],this[e(220)]);this[e(227)][e(233)](i)}[lo(241)](t){const e=lo,i=this[e(227)][e(243)]((e=>e.id===t.id));this[e(227)][e(231)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=442]})(t,e)}function go(){const t=["setTemplate","66MlVygN","9226944YRijRM","5560029fmTawX","419732iFidBz","2ZaqcaY","1530606QwNAvv","616646LELyEc","content","ck-revision-history-sidebar__header","25UjfOBJ","6OqCbuo","ck-revision-history-sidebar__header__label","div","17206LLhVxB","span","2131730hUgTlR","ck-reset_all","4616ioTTFh","Revision history"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(739352===parseInt(e(448))/1*(-parseInt(e(446))/2)+parseInt(e(452))/3*(-parseInt(e(445))/4)+parseInt(e(451))/5*(parseInt(e(447))/6)+parseInt(e(455))/7*(parseInt(e(459))/8)+-parseInt(e(444))/9+-parseInt(e(457))/10*(parseInt(e(442))/11)+parseInt(e(443))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(449)]=mt.IconHistory,this[e(461)]({tag:e(454),attributes:{class:["ck",e(458),e(450)]},children:[i,{tag:e(456),attributes:{class:["ck",e(453)]},children:[Q(t,e(460))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["unhighlight","startDate","129805ywzdds","highlight","ck-revision-history-sidebar","258eZiCni","locale","addRevision","_revisions","selectRevision","766760jYgeLB","add","div","removeRevision","render","ck-revision-history-sidebar__timeline","createCollection","map","find","revisionSetName","remove","_revisionActions","_getTimePeriodViewByStartDate","some","ck-disabled","uiLanguage","delegate","_removeRevision","1510990tADDns","select","getTime","flat","638fjVYAD","fire","ck-rounded-corners","setName","revisionViews","1322181kKeiwZ","4FyoLMO","_requireRevisionName","12698874yPlMIP","_addRevision","timePeriodViews","2362500hhjIun","5570625hqrvNj","get","setTemplate","deselect","highlightRevisions","createdAt","bindTemplate","isEnabled","8lLILoT","ck-reset","revisionSelected","set"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(967210===parseInt(e(263))/1+-parseInt(e(310))/2+parseInt(e(270))/3*(-parseInt(e(264))/4)+parseInt(e(284))/5*(-parseInt(e(287))/6)+parseInt(e(269))/7*(parseInt(e(278))/8)+-parseInt(e(266))/9+parseInt(e(292))/10*(parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(268)];[wo(290)];[wo(303)];[wo(265)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(276)];this[n(268)]=this[n(298)](),this[n(268)][n(308)](n(311)).to(this),this[n(268)][n(308)](n(261)).to(this),this[n(290)]=e,this[n(303)]=i,this[n(265)]=s,this.on(n(311),((t,e)=>{const i=n;this[i(315)](i(280),e)})),this.on(n(261),((t,e)=>{const i=n;this[i(315)](i(301),e)})),this[n(281)](n(277),!1),this[n(272)]({tag:n(294),attributes:{class:["ck",n(279),n(316),n(286)]},children:[new yo(t),{tag:n(294),attributes:{class:["ck",n(297),r.if(n(277),n(306),(t=>!t))]},children:this[n(268)]}]})}[wo(296)](){const t=wo;super[t(296)]();for(const e of this[t(290)])this[t(267)](e);this[t(290)].on(t(293),((e,i)=>{this[t(267)](i)})),this[t(290)].on(t(302),((e,i)=>{this[t(309)](i)}))}get[wo(262)](){const t=wo;return this[t(268)][t(299)]((e=>e[t(262)][t(299)]((t=>t))))[t(313)]()}[wo(291)](t){const e=wo;for(const i of this[e(262)])t&&t.id===i.id?i[e(311)]():i[e(273)]()}[wo(274)](t){const e=wo;for(const i of this[e(262)])t[e(305)]((({id:t})=>t===i.id))?i[e(285)]():i[e(282)]()}[wo(267)](t){const e=wo,i=no(t[e(275)],this[e(288)][e(307)])[e(283)];let s=this[e(268)][e(271)](0);s&&s[e(283)][e(312)]()===i[e(312)]()||(s=new fo(this[e(288)],i,this[e(303)],this[e(265)]),this[e(268)][e(293)](s)),s[e(289)](t)}[wo(309)](t){const e=wo,i=no(t[e(275)],this[e(288)][e(307)])[e(283)];this[e(304)](i)[e(295)](t)}[wo(304)](t){const e=wo;return this[e(268)][e(300)]((i=>i[e(283)][e(312)]()===t[e(312)]()))}}const Oo=No;function To(){const t=["restoreRevision","config","Restore this revision","469089HxjDuw","getIndex","pluginName","247kGYxrm","451mivRqU","plugins","compareAgainstSelected","bind","revisionViews","7qBeMeC","39DHkNvg","nameRevision","setName","diff","element","listenTo","availableRevisionActions","revisionHistory.requireRevisionName","change:diff","152VBXYyA","data","init","_handleEditorDataReady","_revisionViewer","167298jvXrOK","isReady","1874841ChXHRI","string","focus","name","render","512688fLcqxR","_handleRevisionSetName","_sidebarView","820nYZWjE","revisionHistory.revisionActions","getEarlierVisibleRevision","assign","locale","get","add","selectRevision","editor","_handleDiffChange","1057330aBEzzl","isPremiumPlugin","length","_createRevisionActions","destroy","compare","isSelected","ready","map","requires","RevisionsSidebar","Compare against selected","highlightRevisions","isOfficialPlugin","revisionSelected","restoreRevisionCallback","fieldView","132540imabQm","remove","getRevision","select","_revisions","newRevisionId","_revisionsRepository","timePeriodViews","isVisible","appendChild","defaultRevisionActions","revisionSetName","4ULewip","repository","getLaterVisibleRevision","_handleRevisionSelected","isEnabled","getRevisionsInDiff","revisionHistory","Name this revision","action","revisionHistory.viewerSidebarContainer"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=337]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(833267===-parseInt(e(371))/1*(-parseInt(e(395))/2)+-parseInt(e(387))/3*(parseInt(e(348))/4)+parseInt(e(405))/5+parseInt(e(385))/6*(-parseInt(e(370))/7)+parseInt(e(380))/8*(parseInt(e(361))/9)+parseInt(e(422))/10*(-parseInt(e(365))/11)+parseInt(e(392))/12*(parseInt(e(364))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(384)];[Oo(342)];[Oo(394)];static[Oo(346)]=[Oo(367),Oo(358),Oo(372)];static[Oo(377)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(416),action:({plugins:e},i)=>{const s=t,n=e[s(400)](ee),r=n[s(349)];let o=n[s(374)][s(341)],a=i.id;r[s(362)](o)>r[s(362)](a)&&([o,a]=[a,o]),n[s(410)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(400)](ee);return!(n[s(349)][s(353)](n[s(374)])[s(407)]>2||i[s(411)])}},restoreRevision:{name:t(360),action:(e,{id:i})=>{const s=t;e[s(359)][s(400)](s(354))[s(420)](i)},isVisible:({plugins:e},i)=>!!e[t(400)](ee)[t(349)][t(350)](i.id)},nameRevision:{name:t(355),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(400)](ee),o=r[n(349)][n(397)](i);r[n(410)](i,o),s[n(389)](),s[n(421)][n(339)]()}}}}();static get[Oo(363)](){return Oo(415)}static get[Oo(418)](){return!0}static get[Oo(406)](){return!0}static get[Oo(414)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(384)]=t[e(366)][e(400)](ee),this[e(342)]=this[e(384)][e(349)],this[e(394)]=null}[Oo(382)](){const t=Oo,e=this[t(342)][t(340)],i=this[t(408)](),s=this[t(403)][t(359)][t(400)](t(357));this[t(394)]=new So(this[t(403)][t(399)],e,i,this[t(403)][t(359)][t(400)](t(378))),this[t(394)].on(t(419),this[t(351)][t(368)](this)),this[t(394)].on(t(347),this[t(393)][t(368)](this)),this[t(394)][t(368)](t(352)).to(this[t(384)]),this[t(394)][t(343)].on(t(401),((e,i)=>{const s=t;i[s(369)].on(s(401),((t,e)=>{const i=s;e[i(368)](i(352),i(386)).to(this[i(384)])}))})),this[t(394)][t(391)](),this[t(376)](this[t(403)][t(381)],t(412),this[t(383)][t(368)](this)),this[t(376)](this[t(384)],t(379),this[t(404)][t(368)](this)),s[t(345)](this[t(394)][t(375)])}[Oo(409)](){const t=Oo;this[t(394)][t(375)][t(337)](),this[t(394)][t(409)]()}[Oo(383)](){const t=Oo,e=this[t(342)][t(338)](0);if(e){const i=this[t(342)][t(397)](e.id);this[t(384)][t(410)](e,i)}}[Oo(351)](t,e){const i=Oo,s=this[i(342)][i(338)](e.id),n=this[i(342)][i(397)](s.id);this[i(384)][i(410)](s,n)}[Oo(393)](t,e){const i=Oo;this[i(342)][i(338)](e.id)[i(373)](e[i(390)])}[Oo(404)](t,e,i){const s=Oo,n=this[s(342)][s(353)](i);n[s(407)]>2?(this[s(394)][s(417)](n),this[s(394)][s(402)](null)):(this[s(394)][s(417)]([]),this[s(394)][s(402)](n[0]))}[Oo(408)](){const t=Oo,e=this[t(403)],i=xo[t(377)],s=e[t(359)][t(400)](t(396))||xo[t(346)];if(s[t(407)])return s[t(413)]((s=>{const n=t,r=n(388)==typeof s?Object[n(398)]({},i[s]):s;return r[n(356)]=r[n(356)][n(368)](this,e),r[n(344)]&&(r[n(344)]=r[n(344)][n(368)](this,e)),r}))}}const Ro=xo,Ao=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(427388===-parseInt(e(396))/1*(parseInt(e(402))/2)+parseInt(e(378))/3+parseInt(e(410))/4+parseInt(e(422))/5*(parseInt(e(420))/6)+parseInt(e(418))/7+parseInt(e(411))/8+-parseInt(e(401))/9*(parseInt(e(395))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ao(417)];[Ao(386)];[Ao(392)];get[Ao(405)](){return this[Ao(417)]}constructor(e,i){const s=Ao;super(e),this[s(417)]=i,this[s(386)]=(0,pt.normalizeToolbarConfig)(e[s(391)][s(403)](s(416))),this[s(392)]=new t.ElementReplacer}get[Ao(390)](){const t=Ao;return this[t(405)][t(390)]}[Ao(423)](t){const e=Ao,i=this[e(414)],s=this[e(405)],n=i[e(387)][e(405)],r=s[e(379)],o=n[e(406)][e(394)]();r[e(377)]=o[e(385)],s[e(409)]();const a=r[e(390)];this[e(393)](r[e(377)],a),s[e(379)][e(389)](e(384)).to(this[e(388)]),n[e(421)](a),this[e(392)][e(380)](t,this[e(390)]),this[e(407)](),this[e(383)](e(404))}[Ao(413)](){const t=Ao;super[t(413)]();const e=this[t(405)],i=this[t(414)][t(387)][t(405)];this[t(392)][t(412)](),i[t(400)](e[t(379)][t(377)]),e[t(413)]()}[Ao(407)](){const t=Ao,e=this[t(405)];e[t(397)][t(389)](t(398)).to(this[t(388)],t(384)),e[t(397)][t(415)]=e[t(390)],e[t(397)][t(389)](t(408)).to(this,t(382),(({top:t})=>t)),e[t(416)][t(399)](this[t(386)],this[t(381)]),this[t(419)](e[t(416)])}}function Eo(){const t=["editing","focusTracker","bind","element","config","_elementReplacer","setEditableElement","getRoot","70ZXqdvH","675310kRyXoX","stickyPanel","isActive","fillFromConfig","detachDomRoot","2223747lfgGPM","2QtAUNe","get","ready","view","document","_initToolbar","viewportTopOffset","render","2978028qlICfb","3914136kJKUyK","restore","destroy","editor","limiterElement","toolbar","_view","3806747oaiDTe","addToolbar","2160252NoOuCJ","attachDomRoot","10BobVGy","init","name","1003800jdqBBq","editable","replace","componentFactory","viewportOffset","fire","isFocused","rootName","_toolbarConfig"];return(Eo=function(){return t})()}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(){var t=["47856kFFZTj","stickyPanel","render","content","318120ZYUKpH","toolbar","2787660qivqIE","shouldToolbarGroupWhenFull","18tzoytv","92XPZBEQ","editable","main","654934cgUTnM","9MoDmOG","add","top","_editable","291335OkQczf","284017yboGgE","3032272MDYhIj"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=243]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(257688===parseInt(e(256))/1+parseInt(e(262))/2+-parseInt(e(258))/3*(parseInt(e(247))/4)+parseInt(e(255))/5*(parseInt(e(246))/6)+-parseInt(e(250))/7+-parseInt(e(257))/8*(-parseInt(e(251))/9)+-parseInt(e(244))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(254)];[jo(259)];[jo(243)];get[jo(248)](){return this[jo(254)]}constructor(t,e,i={}){var s=jo;super(t),this[s(259)]=new pt.StickyPanelView(t),this[s(243)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(245)]}),this[s(254)]=new pt.InlineEditableUIView(t,e)}[jo(260)](){var t=jo;super[t(260)](),this[t(259)][t(261)][t(252)](this[t(243)]),this[t(253)][t(252)](this[t(259)]),this[t(249)][t(252)](this[t(248)])}}const zo=Uo;function Wo(){const t=["661734qblBes","9vytVaB","initPlugins","ready","initialData","data","document","config","845858wgkRwN","8NEFoPp","_ui","init","fire","createRoot","view","242613zlebro","435fFPglD","sourceElement","get","editing","create","destroy","2079954gUHhsO","locale","19952MqEXKD","model","1655690JhcseT","3564351loQEVg","updateSourceElement"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(298655===parseInt(e(348))/1+parseInt(e(341))/2+parseInt(e(333))/3+-parseInt(e(328))/4*(-parseInt(e(349))/5)+-parseInt(e(326))/6+-parseInt(e(331))/7*(parseInt(e(342))/8)+-parseInt(e(334))/9*(parseInt(e(330))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(343)];get ui(){return this[zo(343)]}constructor(t,e){const i=zo;super(e),this[i(350)]=t,this[i(329)][i(339)][i(346)]();const s=new Po(this[i(327)],this[i(352)][i(347)],{shouldToolbarGroupWhenFull:!0});this[i(343)]=new Mo(this,s)}[zo(325)](){const t=zo;return this[t(332)](),this.ui[t(325)](),super[t(325)]()}static async[zo(324)](t,e){const i=zo,s=new this(t,e);return await s[i(335)](),await s.ui[i(344)](t),await s[i(338)][i(344)](s[i(340)][i(351)](i(337))||""),s[i(345)](i(336)),s}}const Ho=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(192408===parseInt(e(584))/1+-parseInt(e(491))/2*(parseInt(e(463))/3)+parseInt(e(484))/4+parseInt(e(497))/5+-parseInt(e(538))/6+-parseInt(e(453))/7+parseInt(e(498))/8*(parseInt(e(503))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const Bo=[Ho(527),Ho(581)];class $o extends U.Plugin{[Ho(559)];static get[Ho(488)](){return Ho(566)}static get[Ho(451)](){return!0}static get[Ho(504)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(507)]((t=>String[e(597)](t)))[e(591)]("")}super(t),this[e(559)]=e(522),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["removeMarker","fromCharCode","display","loadRevisionData","element","fromVersion","isOfficialPlugin","setSelection","879641LOxVru","toolbar","roots","_showRevisionViewer","getUser","insert","isReadOnly","_closeRevisionViewer","revisionHistory.viewerEditorElement","PaginationLookup","305907sBhxUS","revisionHistory.editorContainer","init","locale","repository","showRevisionViewerCallback","rootName","change","name","isAnonymous","lazyRoots","isRevisionViewerOpen","_enhanceShowRevisionViewerCallback","enableReadOnlyMode","getRevisions","data","revision-history-missing-configuration","saveRevision","_restoreRevision","adapter","createdAt","1040184SfEpBy","getAttributeKeys","selection","toVersion","pluginName","get","disableReadOnlyMode","2pjBzlI","$graveyard","users","toLocaleDateString","_cleanUp","define","573245jwshBQ","192392NAoWlj","push","getRevisionRootsAttributes","DocumentOutlineUI","remove","9VeAUtr","isPremiumPlugin","Autosave","long","map","parse","_viewerEditor","refreshPositioning","Restored","creator","revision-history-viewer-opened","uiLanguage","save","toJSON","changesNavigation","from","style","getMarkersGroup","indexOf","end","none","includes","isReady","numeric","RevisionHistoryUI","restrictedEditingException","enqueueChange","_getRevisionViewerEditorConfig","revisionHistory.requireRevisionName","addUser","restoreRevision","hide","destroy","removeSelectionAttribute","requires","1153416ytFGIq","isEnabled","RevisionHistoryUtils","view","RevisionsRepository","isOpen","refreshVisibility","plugins","Users","revisionHistory","commands","translations","getRoot","revisionHistory.closeRevisionViewerCallback","RevisionViewer","markers","model","revisionHistory.viewerContainer","RevisionHistory","Annotations","document","result","bind","revisionHistory.restoreRevisionCallback","exitToEditing","update","isAttached","getRevision","RevisionViewerIntegration","error","catch","editor","RevisionTracker","getRevisionDocumentData","then","DocumentOutline","_update","keys","removeAttribute","Dialog","createRangeIn","closeRevisionViewerCallback","revisionHistory.showRevisionViewerCallback","RestrictedEditingMode","set","addRoot","213532plgQSl","setAttribute","has","_recalculatePageBreaks","config","detachRoot","toLocaleTimeString","join","block","_enhanceCloseRevisionViewerCallback","create","addRevisionData"];return(Yo=function(){return t})()}class Go extends U.Plugin{[Ho(509)];static get[Ho(488)](){return Ho(556)}static get[Ho(451)](){return!0}static get[Ho(504)](){return!0}static get[Ho(537)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(569)][i(588)][i(489)](i(547)))throw new t.CKEditorError(i(479),this);this[i(509)]=null,this[i(582)](i(474),!1),this[i(569)][i(588)][i(496)](i(580),(t=>this[i(456)]({...t,translations:this[i(569)][i(466)][i(549)]}))),this[i(569)][i(588)][i(496)](i(551),(t=>this[i(460)](t))),this[i(569)][i(588)][i(496)](i(561),(t=>this[i(481)](t))),this[i(569)][i(588)][i(496)](i(531),!1),this[i(475)](),this[i(593)]()}set[Ho(482)](t){const e=Ho;this[e(569)][e(545)][e(489)](e(570))[e(482)]=t}get[Ho(482)](){const t=Ho;return this[t(569)][t(545)][t(489)](t(570))[t(482)]}[Ho(595)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(570))[e(595)](t)}[Ho(565)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(542))[e(565)](t)}[Ho(477)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(542))[e(477)](t||{toJSON:!1})}[Ho(530)](){const e=Ho,i=this[e(569)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(545)][e(489)](e(570)),r=i[e(545)][e(489)](e(546))[e(493)];return s[e(454)]=[e(562),e(533),e(517)],delete s[e(473)],s[e(545)][e(499)]($o,ee,be,class extends U.Plugin{static get[e(537)](){return[ee,e(546)]}[e(465)](){const s=e,o=this[s(569)][s(545)][s(489)](s(546));for(const t of r)t[s(472)]||o[s(457)](t.id)||o[s(532)](t);const a=n[s(467)][s(477)]();let c=null;const u=this[s(569)][s(545)][s(489)](s(552));u[s(482)]=n[s(482)],u[s(560)](s(539)).to(n),this[s(569)][s(548)][s(489)](s(533))[s(560)](s(539)).to(i,s(459),(t=>!t));for(const e of a){const i=null===e[s(512)];if(i&&e[s(487)]===e[s(450)])continue;const r=e[s(516)]();u[s(595)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(574)](r,o);else if(!o){const e=a[u(516)]();e.id=(0,t.uid)(),n[u(480)](e,a[u(487)])[u(572)]((t=>{c=t}))}}else e[u(574)](r,o)}))}}},Ro),s}[Ho(475)](){const t=Ho,e=this[t(569)][t(588)][t(489)](t(547))[t(468)];this[t(569)][t(588)][t(582)](t(580),(async()=>{const i=t;this[i(569)][i(476)](i(513));const s=this[i(569)][i(545)][i(489)](i(570));if(this[i(569)][i(545)][i(586)](i(505))){const t=this[i(569)][i(545)][i(489)](i(505));await t[i(515)]()}else await s[i(563)]();if(this[i(569)][i(545)][i(586)](i(462))&&this[i(569)][i(545)][i(489)](i(462))[i(587)](),this[i(569)][i(545)][i(586)](i(577))){const t=this[i(569)][i(545)][i(489)](i(577));t[i(543)]&&t[i(534)]()}const n=this[i(530)]();return e(n)[i(572)]((t=>{const e=i;return this[e(509)]=t,this[e(569)][e(545)][e(586)](e(557))&&this[e(569)][e(545)][e(489)](e(557))[e(544)](),this[e(569)][e(545)][e(586)](e(573))&&(this[e(569)][e(545)][e(489)](e(501))[e(541)][e(449)][e(519)][e(447)]=e(523)),t}))[i(568)]((t=>(console[i(567)](t),this[i(569)][i(490)](i(513)),null)))}))}[Ho(593)](){const t=Ho,e=this[t(569)][t(588)][t(489)](t(547))[t(579)];this[t(569)][t(588)][t(582)](t(551),(()=>(this[t(569)][t(545)][t(586)](t(462))&&this[t(569)][t(545)][t(489)](t(462))[t(587)](),this[t(569)][t(545)][t(586)](t(573))&&(this[t(569)][t(545)][t(489)](t(501))[t(541)][t(449)][t(519)][t(447)]=""),this[t(509)][t(545)][t(489)](t(552))[t(495)](),e(this[t(509)])[t(572)]((()=>{const e=t;if(this[e(569)][e(490)](e(513)),this[e(509)]=null,this[e(569)][e(545)][e(586)](e(557))){const t=this[e(569)][e(545)][e(489)](e(557));t[e(544)](),t[e(510)]()}})))))}[Ho(456)](t){const e=Ho,i=this[e(569)][e(588)][e(489)](e(464)),s=this[e(569)][e(588)][e(489)](e(555)),n=this[e(569)][e(588)][e(489)](e(461));return Zo[e(594)](n,t)[e(572)]((t=>(s[e(519)][e(447)]=e(592),i[e(519)][e(447)]=e(523),this[e(474)]=!0,t)))}[Ho(460)](t){const e=Ho,i=this[e(569)][e(588)][e(489)](e(464));return this[e(569)][e(588)][e(489)](e(555))[e(519)][e(447)]=e(523),i[e(519)][e(447)]="",this[e(474)]=!1,t[e(535)]()}async[Ho(481)](t){const e=Ho,i=this[e(569)],s=this[e(509)][e(545)][e(489)](e(552)),n=i[e(545)][e(489)](e(570)),r=i[e(545)][e(489)](e(540)),o=s[e(467)][e(565)](t);let a,c,u;try{await r[e(448)](o,this[e(482)]),a=r[e(571)](o),c=r[e(500)](o)}catch(t){return void console[e(567)](t)}i[e(554)][e(470)]((t=>{const s=e;for(const e of Array[s(518)](i[s(554)][s(553)][s(520)](s(528))))t[s(596)](e)})),s[e(525)]=!1,i[e(554)][e(529)]((t=>{const s=e;t[s(452)](null),t[s(536)](i[s(554)][s(558)][s(486)][s(485)]());const n=Object[s(575)](a);for(const e of i[s(554)][s(558)][s(455)])s(492)!=e[s(469)]&&e[s(564)]()&&!n[s(524)](e[s(469)])&&t[s(589)](e);for(const e of n){let n=i[s(554)][s(558)][s(550)](e);n&&n[s(564)]()||(n=t[s(583)](e));const r=c[e],o=Object[s(575)](r),u=a[e];for(const e of n[s(485)]())o[s(524)](e)||t[s(576)](e,n);for(const i of o)t[s(585)](i,c[e][i],n);t[s(502)](t[s(578)](n)),t[s(458)](i[s(478)][s(508)](u,n),n,0)}}));const l=Q(i[e(466)],e(511));return u=o[e(471)]?-1==o[e(471)][e(521)](l)?l+": "+o[e(471)]:o[e(471)]:l+": "+o[e(483)][e(494)](i[e(466)][e(514)],{month:e(506),day:e(526)})+", "+o[e(483)][e(590)](i[e(466)][e(514)],{hour:e(526),minute:e(526)}),await n[e(480)]({name:u}),s[e(525)]=!0,i[e(588)][e(489)](e(547))[e(579)]()}}function Jo(){var t=["5138301LfNYJl","9BsTUBG","1506rRTRBT","1417112jbEdmY","265NOjXZH","67222BUJPHO","1672064CNNFrb","751854hZZNCr","503460ikhfqN"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=196]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(371422===parseInt(e(197))/1+-parseInt(e(203))/2+-parseInt(e(196))/3+-parseInt(e(204))/4+-parseInt(e(202))/5*(-parseInt(e(200))/6)+parseInt(e(198))/7+parseInt(e(201))/8*(-parseInt(e(199))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|