@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250514.0 → 0.0.0-nightly-20250516.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:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?: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 M.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 V(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?V(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=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=185]})(t,e)}function z(){const t=["createdAt","map","fromVersion","setAttribute","authors","name","creatorId","3104555DSINYH","attributes","36ymEraC","46jUKyxR","_update","626992YaJYjr","model","10wswElr","removeAttribute","authorsIds","toVersion","16004oMDixw","5835929PirQQE","toJSON","fire","set","2028780fTjWDM","creator","setName","4pUxxMJ","221424KSfEWV","2685347TopPwL","diffData"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(325697===-parseInt(e(189))/1*(-parseInt(e(197))/2)+parseInt(e(206))/3*(parseInt(e(205))/4)+-parseInt(e(186))/5+parseInt(e(202))/6+parseInt(e(207))/7+parseInt(e(191))/8*(parseInt(e(188))/9)+parseInt(e(193))/10*(-parseInt(e(198))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(203)];[L(213)];[L(208)];[L(196)];[L(211)];[L(192)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(203)]=e[i(203)]||null,this[i(213)]=e[i(213)]||[],this[i(208)]=e[i(208)]||null,this[i(196)]=e[i(196)]||0,this[i(211)]=e[i(211)]||0,this[i(201)](i(214),e[i(214)]||""),this[i(201)](i(209),e[i(209)]||new Date),this[i(201)](i(187),e[i(187)]||{})}[L(204)](t){this[L(190)]({name:t})}[L(212)](t,e){const i=L,s=A(this[i(187)]);(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(190)]({attributes:s})}[L(194)](t){const e=L,i=A(this[e(187)]);(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]&&V(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(190)]({attributes:i})}[L(190)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(214),i(209),i(208),i(213),i(187),i(196),i(211),i(185)];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(213)]&&(n[i(195)]=n[i(213)][i(210)]((t=>t.id)),delete n[i(213)]),this[i(200)](i(190),n,e))}[L(199)](){const t=L;return{id:this.id,name:this[t(214)],creatorId:this[t(203)]?this[t(203)].id:null,authorsIds:this[t(213)][t(210)]((t=>t.id)),diffData:this[t(208)],createdAt:this[t(209)],attributes:this[t(187)],fromVersion:this[t(211)],toVersion:this[t(196)]}}}var U=i(782),Z=i(211),H=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=361]})(t,e)}const $=q;function B(){const t=["later","Users","getRevision","map","1080NULhiI","1371447jYsuUQ","diffData","reverse","afterInit","newRevisionId","length","push","430mSkfZf","fromCharCode","isOfficialPlugin","name","add","18lWMrYH","pluginName","oldRevisionId","getRevisionsIterator","getRevisionsInDiff","toVersion","147192HFtixO","getEarlierVisibleRevision","creatorId","createdAt","isPremiumPlugin","getUser","requires","fromVersion","join","12290ktcpQM","19811SMYbqu","72578PUFXBZ","addRevision","RevisionsRepository","plugins","from","_revisions","authorsIds","getRevisions","data","attributes","get","77394MOVNRj","createRevision","getIndex","82197ZeDFdv","9818333saMwZu","getLaterVisibleRevision","editor","isNaN","toJSON","earlier","href"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(865214===parseInt(e(399))/1+-parseInt(e(372))/2*(-parseInt(e(411))/3)+-parseInt(e(361))/4+parseInt(e(406))/5*(-parseInt(e(383))/6)+parseInt(e(387))/7+parseInt(e(398))/8*(parseInt(e(386))/9)+-parseInt(e(370))/10*(parseInt(e(371))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends U.Plugin{[$(377)];static get[$(367)](){return[Z.Users]}static get[$(412)](){return $(374)}static get[$(408)](){return!0}static get[$(365)](){return!0}get[$(404)](){const t=$;return this[t(377)][t(404)]}constructor(e){const i=$;super(e),this[i(377)]=new t.Collection}[$(402)](){!async function(e){const i=k([114,68,122,89,120,51,118,56,105,70,106,76,48,79,49,74,113,102,86,72,88,65,111,98,71,84,90,57,101,53,55,52,75,82,50,78,97,83,117,66,115,116,54,109,121,81,107,69,80,85,100,73,104,103,67,99,87,112,108,110,119,77]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(390)](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([114]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(397)]((t=>String[e(407)](t)))[e(369)]("")}!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:1747180800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(393)]);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)}[$(384)](t){const e=$,i=this[e(389)][e(375)][e(382)](e(395));return new W({id:t.id,name:t[e(409)],creator:t[e(363)]?i[e(366)](t[e(363)]):null,diffData:t[e(400)]||t[e(380)],authors:t[e(378)][e(397)]((t=>i[e(366)](t))),createdAt:new Date(t[e(364)]),attributes:t[e(381)],fromVersion:t[e(368)],toVersion:t[e(416)]})}[$(373)](t,e=0){const i=$;this[i(377)][i(410)](t,e)}[$(396)](t){const e=$;return this[e(377)][e(382)](t)}[$(379)](t={toJSON:!1}){const e=$,i=Array[e(376)](this[e(377)]);return i[e(401)](),t[e(391)]?i[e(397)]((t=>t[e(391)]())):i}[$(385)](t){const e=$;return this[e(377)][e(385)](t)}[$(362)](t){const e=$,[,i]=this[e(414)](t,{direction:e(392)});return i}[$(388)](t){const e=$,[,i]=this[e(414)](t,{direction:e(394)});return i}[$(415)](t){const e=$,i=[];for(const s of this[e(414)](t[e(403)]))if(i[e(405)](s),s.id===t[e(413)])break;return i}*[$(414)](t,{direction:e=$(392),filter:i=()=>!0}={}){const s=$,n=s(392)===e?1:-1;let r=this[s(377)][s(382)](t),o=this[s(385)](r);for(yield r;r;){if(o+=n,r=this[s(396)](o),!r)return;i(r)&&(yield r)}}}const Y=K;function G(){const t=["_getViewFromDiffObj","useFillerType","processor","config","1719356ifkNty","attributes","toData","name","10xYDBGi","toModel","isOfficialPlugin","editor","revision-start","17768151NkykxS","customProperties","_getTypeCharForViewElement","createElement","9XChWrI","view","loadRevisionData","_makeModelFromViewString","from","div","marked","default","_removeRevisionMarkers","getRevisionDocumentData","8eeKJeX","1WVNSTs","startsWith","_appendChild","revision-end","72ypIJLs","get","getRevision","render","parse","5347969AtUjmJ","type","_setCustomProperty","getFillerOffset","editing","attributesAfter","insertions","diffData","children","3587914vhqRPz","map","_typeCharToViewClass","childNodes","viewChildrenToDom","constructor","isAttached","fillerOffset","_viewClassToTypeChar","7764168PVidcT","length","string","7886305TczAPy","htmlProcessor","pluginName","domConverter","6085058qvDHll","data","domDocument","attachChange","isPremiumPlugin","append","data-revision-","forEach","RevisionHistoryUtils","innerHTML","domChildrenToView","filter","collaboration.channelId","getRevisionRootsAttributes","document"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(988112===-parseInt(e(556))/1*(-parseInt(e(497))/2)+-parseInt(e(545))/3*(-parseInt(e(532))/4)+-parseInt(e(509))/5+parseInt(e(506))/6+parseInt(e(513))/7*(-parseInt(e(555))/8)+parseInt(e(541))/9*(parseInt(e(536))/10)+-parseInt(e(565))/11*(parseInt(e(560))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends U.Plugin{static get[Y(511)](){return Y(521)}static get[Y(538)](){return!0}static get[Y(517)](){return!0}[Y(505)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[Y(499)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[Y(547)](t,e){const i=Y;if(t[i(495)]||!e)return;const s=this[i(539)][i(531)][i(561)](i(525)),n=await e[i(562)]({channelId:s,revisionId:t.id});t[i(495)]=n[i(495)]}[Y(554)](t){const e=Y,i={};for(const s in t[e(495)]){if(t[e(495)][s][e(516)]&&!t[e(495)][s][e(516)][e(503)])continue;const n=this[e(553)](JSON[e(564)](t[e(495)][s][e(494)])),r=this[e(539)][e(492)][e(546)][e(527)],o=new H.ViewDocumentFragment(r,n[e(498)]((t=>this[e(528)](t,!1))));this[e(539)][e(514)][e(530)][e(529)](e(551)),i[s]=this[e(539)][e(514)][e(530)][e(534)](o),this[e(539)][e(514)][e(530)][e(529)](e(552))}return i}[Y(526)](t){const e=Y,i={};for(const s in t[e(495)])t[e(495)][s][e(516)]&&!t[e(495)][s][e(516)][e(503)]||(i[s]=t[e(495)][s][e(493)]||{});return i}[Y(543)](t){const e=Y;return this[e(505)][e(561)](t[e(502)])}[Y(528)](t,e){const i=Y,s=this[i(539)][i(492)][i(546)][i(527)];if(i(508)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(566)]||"r"==t[i(566)]?[]:t[i(496)][i(498)]((t=>this[i(528)](t,e)));const o=this[i(499)][i(561)](t[i(566)])||H.ViewElement,a=this[i(539)][i(514)][i(510)][i(512)];if(n=new o(s,t[i(535)],t[i(533)],r),"u"==t[i(566)]&&t[i(496)][0]){const r=t[i(496)][0];if(n[i(563)]=function(t){const e=i,s=t[e(544)](e(550));return s[e(522)]=r,s[e(500)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(558)](n);const e=Array[i(549)](a[i(501)](t,{bind:!1})),r=a[i(515)][i(544)](i(550));r[i(518)](...e),n=Array[i(549)](a[i(523)](r))[0]}}else if("r"==t[i(566)]&&t[i(496)][0]){const r=t[i(496)][0];if(n[i(563)]=function(t){t[i(522)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(558)](n);const e=Array[i(549)](a[i(501)](t,{bind:!1})),r=a[i(515)][i(544)](i(550));r[i(518)](...e);const o=Array[i(549)](a[i(523)](r));o[i(507)]>1?n[i(558)](o):n=o[0]}}if(t[i(542)])for(const[e,s]of t[i(542)])n[i(567)](e,s);const c=void 0===t[i(504)]?null:t[i(504)];return null!==c&&(n[i(491)]=()=>c),n}}[Y(548)](t){const e=Y,i=JSON[e(564)](t),s=this[e(539)][e(492)][e(546)][e(527)],n=new H.ViewDocumentFragment(s,i[e(498)]((t=>this[e(528)](t,!0))));return this[e(539)][e(514)][e(537)](n)}[Y(553)](t){const e=Y;return(t=t[e(524)]((t=>!t[e(535)]||e(540)!==t[e(535)]&&e(559)!==t[e(535)])))[e(520)]((t=>{const i=e;i(508)!=typeof t&&(t[i(496)]=this[i(553)](t[i(496)]),t[i(533)]=t[i(533)][i(524)]((t=>!t[0][i(557)](i(519)))))})),t}}function X(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)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}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,M;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)}function rt(){const t=["loadRevisionData","getChildren","_clone","destroy","keys","split","_appendChild","previousPosition","408228xzGBsE","_createInitialRevision","$comment","dataDowncast","rootsAttributes","_continueCurrentRevision","featureNotAllowed","filter","type","fromEntries","getUser","revisionHistoryLicenseKeyDomainLimit","update","authorsIds","offset","for","_createFromRanges","insertion","item","_getVidAttributeName","_touched","diffData","creatorId","85eHxijp","merge","baseVersion","oldRange","isEnabled","_replaceEditorDataWithRevisionData","size","delete","_utils","_transformMarkers","_prepareViewToSave","_diffRoots","RevisionHistoryUtils","getRoot","element","outerHTML","PENDING_ACTION_REVISION_HISTORY","userId","text","getRevisionRootsAttributes","Empty document","_processRootBeforeSave","reverse","RealTimeCollaborationClient","deletion","clone","ready","_cloneOperation","_source","domConverter","_makeModelFromViewString","start","insertionPosition","domDocument","roots","add","tableCell","init","addRootAttribute","isPremiumPlugin","deletions","revisionHistoryLicenseKeyNotAllowed","_authorId","attachChange","12SeIGkw","_makeIdsRoot","bind","reInit","stringify","insert","$text","setSource","createRangeIn","Users","remove","_loadState","_findInsertionIndex","updateRevisions","4800328RcJppU","trim","getNodeByPath","getRootNames","getAttributes","getIndex","revisionHistory.resumeUnsavedRevision","_idsRoots","getAttribute","566GTEGjy","_createCurrentRevision","range","markers","_getFromVersion","domainLimit","_generateTape","vid_end","7HzhiJG","vid_start","getCurrentRevisionId","newRange","isAdd","splitPosition","howMany","keepParagraph","evaluationLimit","_touchedMarkers","revision","_getViewJson","_copyMarkers","getRange","getRevisionDocumentData","initial","_markers","revisionHistoryLicenseKeyValid","getTransformedByOperation","_diffRootsAttributes","move","createPositionAt","getWalker","addRoot","fromVersion","stickiness","_isAttached","$graveyard","finally","documentFragment","201UYMmRN","_isPendingUpdate","_handleMoveOperation","createPositionBefore","getCustomProperties","resolve","55452qCcPdS","rawElement","revisionHistoryLicenseKeyExpired","_revisionId","_removeMetaData","_startingVersion","currentRevision","invalid","_lastTo","isEqual","attributesBefore","fillerOffset","_handleMergeOperation","revisionHistoryLicenseKeyUsageLimit","adapter","_removePendingAction","some","revision:","htmlProcessor","usageLimit","changeRootAttribute","vid","innerHTML","config","_revisionDataBuilder","graveyardPosition","affectsData","_touchedRoots","attributesAfter","length","_isInit","requires","insertions","_addPendingAction","paragraph","getRevisions","getMovedRangeStart","loadState","_lastFrom","name","end","_baseRoots","_saveMetaData","version","sourcePosition","saveRevision","collaboration.channelId","createPositionFromPath","model","getLatestVersion","_handleSplitOperation","getOperations","_setAttribute","root","markerToData","_markChanges","source","revisionHistoryLicenseKeyEvaluationLimit","getOperation","from","_getTypeCharForViewElement","creator","rootName","newValue","getRevision","getChild","has","isReady","buildRevisionData","999450taoPSp","addRevisionData","createRange","_getBaseVids","includes","revisionHistoryLicenseKeyTrialLimit","slice","history","sendBufferedUpdates","parent","define","path","trialLimit","dataToMarker","editor-initial-data-replaced-with-revision-data","createElement","hasContent","elementEnd","elementStart","upcast","_fixOperation","customProperties","_savedMetaData","_setConversion","_handleRootOperation","_execute","_insertChild","_fixRange","pluginName","editor","toView","conversion","sort","_licenseKeyCheckInterval","_getPreviousFrom","createRevision","createdAt","nodes","afterInit","NEGATIVE_INFINITY","_handleInsertOperation","map","isOfficialPlugin","getAncestors","childCount","_reset","getFillerOffset","_makeRevision","1835118IDufgP","RevisionTracker","_applyOperations","nodeAfter","_handleOperation","isAttached","render","_pendingAction","shift","_baseIdsRoots","RevisionHistory","revisionHistoryLicenseKeyInvalid","_loadedStateData","setRevisionData","authors","document","getTime","toVersion","position","values","_handleMarkerOperation","_initialRevisionId","_startingRevisionId","get","createPositionAfter","detachRoot","_fixPosition","data","max","targetPosition","marker","key","_showLicenseError","Initial revision","repository","locale","initialData","_bufferUpdate","_handleRootAttributeOperation","removeRootAttribute","clear","licenseKey","RevisionsRepository","_calculateMetaData","startsWith","then","addRevision","reinsert","6188664ptkQhb","_bufferedUpdates","push","PendingActions","_operations","find","_update","set","offsetSize","getData","children","plugins","66rBWunq","_getState","uiElement","_baseRootsAttributes","string","expired"];return(rt=function(){return t})()}const ot=at;function at(t,e){const i=rt();return(at=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(310776===-parseInt(e(469))/1*(-parseInt(e(756))/2)+-parseInt(e(733))/3*(-parseInt(e(666))/4)+parseInt(e(689))/5*(parseInt(e(475))/6)+-parseInt(e(764))/7*(-parseInt(e(747))/8)+parseInt(e(592))/9+parseInt(e(544))/10*(-parseInt(e(652))/11)+-parseInt(e(640))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ct extends U.Plugin{[ot(633)];[ot(577)];[ot(481)]=null;[ot(626)];[ot(489)]=null;[ot(499)];[ot(717)];[ot(613)];[ot(641)];[ot(697)];[ot(599)];[ot(671)];[ot(480)];[ot(604)];static get[ot(572)](){return ot(593)}static get[ot(586)](){return!0}static get[ot(728)](){return!0}static get[ot(506)](){return[Z.Users,J,Q,U.PendingActions]}constructor(e){const i=ot;super(e),this[i(626)]=this[i(573)][i(651)][i(615)](i(634)),this[i(697)]=this[i(573)][i(651)][i(615)](i(701)),this[i(499)]=new ut(this[i(573)]),this[i(613)]=this[i(573)][i(498)][i(615)](i(521))||i(454),this[i(641)]=new Map,this[i(604)]=null;const s=(0,t.uid)();this[i(717)]={history:this[i(573)][i(523)][i(607)][i(551)],getLatestVersion:()=>Promise[i(474)](this[i(573)][i(523)][i(607)][i(518)]),getCurrentRevisionId:()=>s},this[i(647)](i(542),!1),this[i(647)](i(693),!0),this[i(647)](i(470),!1),this[i(573)][i(498)][i(554)](i(753),!0),this[i(573)][i(575)][i(681)](i(563))[i(557)]({view:i(449)})}[ot(726)](){const t=ot;this[t(567)](),this[t(573)][t(619)].on(t(715),(()=>{const e=t,i=this[e(626)][e(539)](0),s=i&&null===i[e(536)]?i:null;if(this[e(671)]=!!s&&this[e(573)][e(498)][e(615)](e(753)),this[e(573)][e(651)][e(541)](e(712))){const t=this[e(717)][e(766)](),n=this[e(626)][e(539)](t);if(n)this[e(480)]=n[e(463)],this[e(671)]=!1;else{const t=this[e(717)][e(551)][e(644)][e(645)]((t=>!t[e(505)])),n=t?t[e(691)]:this[e(717)][e(551)][e(518)];i?(i[e(609)]<n&&i[e(646)]({toVersion:n}),this[e(671)]?(this[e(717)][e(766)]=()=>s.id,this[e(480)]=s[e(463)]):(this[e(480)]=i[e(609)],this[e(671)]=!1)):(this[e(480)]=n,this[e(671)]=!1)}}else s&&(this[e(573)][e(523)][e(607)][e(551)][e(518)]=Math[e(620)](s[e(609)],this[e(573)][e(523)][e(607)][e(551)][e(518)]),s[e(463)]===s[e(609)]?(0!==s[e(463)]&&(this[e(717)][e(766)]=()=>s.id),this[e(671)]=!1):this[e(671)]&&(this[e(717)][e(766)]=()=>s.id,this[e(480)]=s[e(463)])),this[e(671)]||(this[e(480)]=this[e(573)][e(523)][e(607)][e(518)]);this[e(499)][e(726)](this[e(717)][e(551)]),this[e(667)](this[e(480)]),this[e(757)](this[e(480)]),this[e(489)]&&this[e(552)]()})),this[t(735)](t(542)).to(this,t(470),(t=>!t)),this[t(633)]=this[t(573)][t(498)][t(615)](t(633));const e=this[t(573)];this[t(577)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(456)==r||i(603)==r||i(477)==r||i(677)==r||i(730)==r||i(532)==r||i(549)==r||i(488)==r){delete e[n],s=r,clearInterval(this[i(577)]),this[i(577)]=void 0;break}}i(603)==s&&e[i(624)](i(482)),i(477)==s&&e[i(624)](i(657)),i(677)==s&&e[i(624)](i(761)),i(730)==s&&e[i(624)](i(672),i(602)),i(532)==s&&e[i(624)](i(447)),i(549)==s&&e[i(624)](i(556)),i(488)==s&&e[i(624)](i(494))}),1e3)}async[ot(582)](){const t=ot;if(this[t(626)][t(504)]>0){const e=this[t(626)][t(539)](0),i=await this[t(453)](e),s=await this[t(708)](e);this[t(694)](i,s)}}[ot(661)](){const t=ot;super[t(661)](),this[t(577)]&&clearInterval(this[t(577)])}[ot(740)](t){this[ot(717)]=t}async[ot(678)](){const t=ot,e=await this[t(717)][t(524)]();if(e>this[t(481)][t(609)]){await this[t(744)]();const i=this[t(543)]({revision:this[t(481)],to:e});i[t(606)]=i[t(679)][t(585)]((e=>this[t(573)][t(651)][t(615)](t(742))[t(676)](e))),this[t(481)][t(646)](i)}}async[ot(520)](e={},i=null){const s=ot,n=[];await this[s(744)](),this[s(671)]=!1,i>this[s(481)][s(609)]&&(i=null),null===i&&(i=await this[s(717)][s(524)]());const r=this[s(760)](i),o=this[s(543)]({from:r,to:i});if(this[s(481)][s(609)]<i){const t=this[s(543)]({revision:this[s(481)],from:i,to:i});t[s(606)]=[],t[s(679)]=[],t.id=this[s(481)].id,this[s(481)][s(646)](t,!0),delete t[s(606)],n[s(642)](t)}e[s(688)]=this[s(573)][s(651)][s(615)](s(742)).me.id,e[s(514)]=e[s(514)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(545)](e);n[s(642)](e);const c=this[s(626)][s(752)](a);if(0!==c){const t=this[s(626)][s(539)](c-1);if(t[s(463)]!==i){const r=this[s(499)][s(649)](i,t[s(609)]),o={id:t.id,diffData:r[s(687)],authorsIds:r[s(679)],authors:r[s(679)][s(585)]((t=>this[s(573)][s(651)][s(615)](s(742))[s(676)](t))),fromVersion:i};t===this[s(481)]&&(o[s(580)]=new Date(e[s(580)][s(608)]()+10)),t[s(646)](o,!0),delete o[s(606)],n[s(642)](o)}}if(this[s(489)]){for(const t of n)this[s(629)](t.id,t,!0);this[s(552)]()}return a}[ot(545)](t){const e=ot,i=this[e(626)][e(579)](t);return this[e(489)]&&i.on(e(646),((t,i,s)=>{const n=e;s||(this[n(629)](i.id,i,!0),this[n(552)]())})),this[e(626)][e(638)](i,this[e(745)](i)),i}async[ot(453)](t){const e=ot;return await this[e(697)][e(658)](t,this[e(489)]),this[e(697)][e(453)](t)}async[ot(708)](t){const e=ot;return await this[e(697)][e(658)](t,this[e(489)]),this[e(697)][e(708)](t)}[ot(552)](){const t=ot;if(0===this[t(641)][t(695)])return;if(this[t(470)])return;let e=Array[t(534)](this[t(641)][t(611)]());this[t(641)][t(632)]();for(let i=0;i<e[t(504)];i++){const s=e[i];let n=!1;for(const e of Object[t(662)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(673)]((t=>null!==t)),!e[t(504)])return;for(let i=0;i<e[t(504)];i++){const s=e[i];void 0!==s[t(463)]&&void 0===s[t(609)]&&(s[t(609)]=this[t(626)][t(539)](s.id)[t(609)]),void 0!==s[t(609)]&&void 0===s[t(463)]&&(s[t(463)]=this[t(626)][t(539)](s.id)[t(463)])}const i=this[t(573)][t(498)][t(615)](t(521));this[t(470)]=!0,this[t(508)](),this[t(489)][t(746)](e,i)[t(467)]((()=>{this[t(470)]=!1}))[t(637)]((e=>{const i=t;if(e)for(const t of e)this[i(605)]({id:t.id,createdAt:t[i(580)]});this[i(490)](),this[i(552)]()}))}[ot(543)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(463)],i=null!==i?i:t[s(609)];const n=this[s(499)][s(649)](e,i),r={diffData:n[s(687)],authorsIds:n[s(679)],fromVersion:e,toVersion:i};if(!t||i!==t[s(609)]){const t=i-1,e=this[s(717)][s(551)][s(533)](t);r[s(580)]=e&&e[s(580)]||new Date}if(this[s(604)]&&e===this[s(604)][s(463)])for(const t of this[s(604)][s(606)])r[s(679)][s(548)](t.id)||r[s(679)][s(642)](t.id);return r}[ot(629)](t,e,i){const s=ot;if(this[s(641)][s(541)](t)){const n=this[s(641)][s(615)](t);e=i?{...n,...e}:{...e,...n}}this[s(641)][s(647)](t,e)}[ot(605)](t){const e=ot,i=this[e(626)][e(539)](t.id);if(t[e(580)]&&(t[e(580)]=new Date(t[e(580)])),t[e(679)]){const i=this[e(573)][e(651)][e(615)](e(742));t[e(606)]=t[e(679)][e(585)]((t=>i[e(676)](t)))}i[e(646)](t,!0)}[ot(667)](t){const e=ot,i=this[e(626)][e(539)](this[e(626)][e(504)]-1);if(i)this[e(613)]=i.id;else{const i=!this[e(573)][e(523)][e(607)][e(723)][e(645)]((t=>this[e(573)][e(523)][e(560)](t))),s=this[e(573)][e(651)][e(615)](e(742)).me.id,n=X(this[e(573)][e(627)],e(i?709:625));this[e(591)]({from:t,to:t,id:this[e(613)],name:n,creatorId:s})}}[ot(757)](t){const e=ot,i=this[e(717)][e(766)]();this[e(481)]=this[e(626)][e(539)](i),this[e(481)]||(this[e(481)]=this[e(591)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(744)](){const t=ot;this[t(671)]&&!this[t(604)]&&(await this[t(697)][t(658)](this[t(481)],this[t(489)]),this[t(499)][t(512)](this[t(481)]),this[t(604)]={fromVersion:this[t(481)][t(463)],authors:this[t(481)][t(606)][t(550)]()})}[ot(694)](e,i){const s=ot;let n=this[s(573)][s(498)][s(615)](s(628)),r=this[s(573)][s(498)][s(615)](s(670));if(void 0===n){n={};for(const t of this[s(573)][s(523)][s(607)][s(750)]())n[t]=""}if(s(656)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(573)][s(523)][s(607)][s(750)]())r[t]={}}let o=!1;const a=Object[s(662)](n),c=Object[s(662)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(748)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(662)](r[t])[s(504)]>0){o=!0;break}}o||(o=c[s(491)]((t=>!this[s(573)][s(523)][s(607)][s(702)](t)))),o&&(0,t.logWarning)(s(558),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(573)][s(498)][s(647)](s(628),e),this[s(573)][s(498)][s(647)](s(670),i)}[ot(508)](){const t=ot;if(!this[t(599)]){const e=this[t(573)][t(651)][t(615)](t(643));this[t(599)]=e[t(724)](X(this[t(573)][t(627)],t(705)))}}[ot(490)](){const t=ot;this[t(599)]&&(this[t(573)][t(651)][t(615)](t(643))[t(743)](this[t(599)]),this[t(599)]=null)}[ot(745)](t){const e=ot,i=this[e(626)][e(510)]();i[e(711)]();let s=0;for(;s<i[e(504)];){const n=i[s];if(n===this[e(481)]){s++;continue}if(n.id===this[e(613)])break;const r=t[e(609)]-n[e(609)]||t[e(463)]-n[e(463)];if(r>0)break;if(r<0)s++;else{if(!t[e(536)]&&n[e(536)])break;if(n[e(536)]||!t[e(536)]){if(t[e(580)]>n[e(580)])break;s++}else s++}}return s}[ot(760)](t){const e=ot,i=this[e(626)][e(510)]();i[e(711)](),i[e(600)]();const s=i[e(645)]((i=>i[e(609)]<=t))[e(609)];return s<this[e(480)]?this[e(480)]:s}[ot(591)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(543)]({from:e,to:i});o[r(514)]=t,o[r(688)]=s,o.id=n;const a=this[r(545)](o);return this[r(489)]&&this[r(629)](o.id,o,!0),a}[ot(567)](){const t=ot;this[t(573)][t(575)][t(681)](t(669))[t(529)]({model:t(449)})}}class ut{[ot(573)];[ot(531)];[ot(566)];[ot(513)];[ot(483)];[ot(455)];[ot(700)];[ot(458)];[ot(516)];[ot(655)];[ot(754)];[ot(601)];[ot(686)];[ot(448)];[ot(502)];[ot(478)];[ot(614)];constructor(t){const e=ot;this[e(573)]=t,this[e(566)]=new Map,this[e(513)]=-1,this[e(483)]=-1,this[e(455)]=new Map,this[e(700)]=new Map,this[e(458)]=new Map,this[e(516)]=new Map,this[e(655)]=new Map,this[e(754)]=new Map,this[e(601)]=new Map,this[e(686)]=new Map,this[e(448)]=new Map,this[e(502)]=new Map,this[e(478)]=1}[ot(726)](t){const e=ot;this[e(531)]=t;const i=new Map,s=new Map,n=this[e(573)][e(523)][e(607)][e(723)][e(585)]((t=>t[e(537)]));for(const t of n){const n=this[e(573)][e(523)][e(607)][e(702)](t),r=lt(n);i[e(647)](t,r),s[e(647)](t,Object[e(675)](n[e(751)]()))}const r=Array[e(534)](this[e(573)][e(523)][e(759)])[e(585)]((t=>[t[e(514)],t[e(452)]()])),o=this[e(531)][e(518)];this[e(517)](o,i,r,s),this[e(614)]=this[e(478)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(647)](t,i),c[e(647)](t,{})}this[e(517)](Number[e(583)],a,[],c)}[ot(649)](t,e){const i=ot;if(this[i(513)]===t&&this[i(483)]<=e)this[i(566)][i(695)]>1&&this[i(479)](this[i(483)]),this[i(594)](this[i(483)],e,!0);else{if(!this[i(566)][i(541)](t)){const e=this[i(578)](t);this[i(635)](e,t,!1)}this[i(635)](t,e,!0)}return this[i(513)]=t,this[i(483)]=e,this[i(653)]()}[ot(512)](t){const e=ot,i=this[e(573)][e(651)][e(615)](e(701));this[e(589)](),this[e(513)]=t[e(463)],this[e(483)]=t[e(609)];for(const s in t[e(687)]){const n=t[e(687)][s][e(732)],r=A(t[e(687)][s][e(485)])||{},o=i[e(719)](t[e(687)][s][e(729)]);o[e(537)]=s,o[e(465)]=!n||!n[e(597)],o[e(597)]=()=>o[e(465)],this[e(516)][e(647)](s,o),this[e(655)][e(647)](s,r),n&&this[e(502)][e(647)](s,n);const a=this[e(734)](o);this[e(601)][e(647)](s,a);for(const[t,i]of o[e(759)]){if(!t[e(636)](e(492)))continue;const s=t[e(663)](":")[2];for(const t of i[e(461)]({singleCharacters:!0})){const i=this[e(685)](t),n=e(561)==t[e(674)]?t[e(665)][e(555)][e(550)](0,-1):t[e(665)][e(555)],r=a[e(749)](n)[e(755)](i);this[e(686)][e(647)](r,{userId:s})}}}this[e(614)]=this[e(478)];const s=[...Array(this[e(478)])[e(662)]()][e(550)](1)[e(673)]((t=>!this[e(686)][e(541)](t)));let n=0;const r=new Map;for(const o in t[e(687)]){const a=t[e(687)][o][e(732)],c=A(t[e(687)][o][e(503)])||{},u=i[e(719)](t[e(687)][o][e(507)]);u[e(537)]=o,u[e(465)]=!a||a[e(597)],u[e(597)]=()=>u[e(465)],this[e(700)][e(647)](o,u),this[e(458)][e(647)](o,c);const l=this[e(734)](u,Number[e(583)]);this[e(754)][e(647)](o,l),r[e(647)](o,u[e(597)]()?c:{});for(const[t,i]of u[e(759)]){if(!t[e(636)](e(492)))continue;const s=t[e(663)](":")[2];for(const t of i[e(461)]({singleCharacters:!0})){const i=this[e(685)](t),n=this[e(478)]++,r=e(561)==t[e(674)]?t[e(665)][e(555)][e(550)](0,-1):t[e(665)][e(555)];l[e(749)](r)[e(527)](i,n),this[e(686)][e(647)](n,{userId:s})}}for(const t of this[e(573)][e(523)][e(741)](u)[e(461)]({singleCharacters:!0})){const i=this[e(685)](t),r=e(561)==t[e(674)]?t[e(665)][e(555)][e(550)](0,-1):t[e(665)][e(555)],o=l[e(749)](r);o[e(755)](i)>0||o[e(527)](i,s[n++])}for(const[t,i]of u[e(759)])t[e(636)](e(492))||this[e(455)][e(647)](t,i)}const o=ht(e(466));this[e(516)][e(647)](e(466),o),this[e(601)][e(647)](e(466),this[e(734)](o,1));const a=ht(e(466));this[e(700)][e(647)](e(466),a),this[e(754)][e(647)](e(466),this[e(734)](a,1));const c=Array[e(534)](this[e(700)])[e(585)]((([t,e])=>[t,lt(e)]));this[e(517)](this[e(483)],c,this[e(455)],r)}[ot(736)](){const t=ot;this[t(589)](),this[t(513)]=-1,this[t(483)]=-1,this[t(566)][t(632)](),this[t(726)](this[t(531)])}[ot(517)](t,e,i,s){const n=ot,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(647)](t,{start:e[n(720)][n(714)](),end:e[n(515)][n(714)](),rootName:e[n(528)][n(537)]});this[n(566)][n(647)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(479)](t){const e=ot;this[e(566)][e(696)](t)}[ot(589)](){const t=ot;this[t(686)][t(632)](),this[t(448)][t(632)](),this[t(502)][t(632)](),this[t(700)][t(632)](),this[t(458)][t(632)](),this[t(516)][t(632)](),this[t(655)][t(632)](),this[t(754)][t(632)](),this[t(601)][t(632)](),this[t(455)][t(632)](),this[t(478)]=1,this[t(614)]=this[t(478)]}[ot(734)](t,e=null){const i=ot;let s=null;t.is(i(468))||(s=new H.Element(t[i(514)],{vid_start:null===e?this[i(478)]++:e++}));const n=[];for(const s of t[i(659)]())if(s.is(i(703))){n[i(642)](this[i(734)](s,e));const t=n[n[i(504)]-1];null!==e&&(e=t.is(i(703),i(739))?t[i(755)](i(496))+1:t[i(755)](i(763))+1)}else for(let t=0;t<s[i(648)];t++)n[i(642)](new H.Element(i(739),{vid:null===e?this[i(478)]++:e++}));if(t.is(i(468))){const e=ht(t[i(537)]);return e[i(570)](0,n),e}return s[i(527)](i(763),null===e?this[i(478)]++:e++),s[i(570)](0,n),s}[ot(635)](t,e,i){const s=ot;this[s(589)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(566)][s(615)](t);this[s(516)]=new Map(n),this[s(655)]=new Map(A(o));for(const[t,e]of this[s(516)])if(s(466)!==t&&(this[s(700)][s(647)](t,lt(e)),this[s(458)]=new Map(A(o)),i)){const i=this[s(478)];this[s(754)][s(647)](t,this[s(734)](e)),this[s(601)][s(647)](t,this[s(734)](e,i))}this[s(614)]=this[s(478)],this[s(700)][s(647)](s(466),lt(this[s(516)][s(615)](s(466)))),i&&this[s(754)][s(647)](s(466),this[s(734)](this[s(516)][s(615)](s(466))));for(const[t,e]of r){const i=this[s(516)][s(615)](e[s(537)]),n=this[s(700)][s(615)](e[s(537)]),r=new H.Range(this[s(618)](e[s(720)],i),this[s(618)](e[s(515)],i)),o=this[s(571)](r,n);i[s(759)][s(647)](t,r),this[s(455)][s(647)](t,o)}this[s(594)](t,e,i)}[ot(594)](t,e,i){const s=ot;for(const n of this[s(531)][s(526)](t,e))this[s(596)](n,i);for(const t of this[s(700)][s(611)]())t[s(759)][s(632)]();for(const[t,e]of this[s(455)])this[s(700)][s(615)](e[s(528)][s(537)])[s(759)][s(647)](t,e[s(714)]());const n=new Map,r=new Map;for(const[t,e]of this[s(700)])n[s(647)](t,lt(e)),r[s(647)](t,this[s(458)][s(615)](t));this[s(517)](e,n,this[s(455)],r)}[ot(578)](t){const e=ot,i=Array[e(534)](this[e(566)][e(662)]());i[e(576)](((t,e)=>t-e)),i[e(711)]();for(const e of i)if(e<t)return e;return Number[e(583)]}[ot(451)](t,e){const i=ot,s=Array[i(534)](e[i(759)])[i(585)]((([e,s])=>[e,this[i(571)](s,t)]));t[i(759)]=new Map(s)}[ot(698)](t){const e=ot;for(const i of this[e(455)][e(611)]()){const s=i[e(457)](t),n=H.Range[e(682)](s);i[e(720)]=n[e(720)],i[e(515)]=n[e(515)]}}[ot(596)](t,e){const i=ot;if(i(462)!=t[i(674)]&&i(617)!=t[i(674)]){if(i(738)==t[i(674)]){const s=t[i(610)][i(528)][i(537)];this[i(700)][i(541)](s)||(this[i(700)][i(647)](s,ht(s,!0)),this[i(458)][i(647)](s,{}),e&&this[i(754)][i(647)](s,ht(s,!0)))}else{if(i(727)==t[i(674)]||i(631)==t[i(674)]||i(495)==t[i(674)])return void this[i(630)](t);i(622)==t[i(674)]&&this[i(612)](t)}if(i(622)!==t[i(674)]){const e=this[i(716)](t,this[i(700)]);e[i(569)](),this[i(698)](e)}if(e)switch(t[i(674)]){case i(738):this[i(584)](t);break;case i(459):case i(743):case i(639):this[i(471)](t);break;case i(690):this[i(487)](t);break;case i(663):this[i(525)](t)}}else this[i(568)](t,e)}[ot(716)](t,e){const i=ot,s=t[i(714)]();return s[i(731)]=t[i(731)],this[i(564)](s,e),s}[ot(547)](t){const e=ot;return t[e(585)]((t=>{const i=e,s=this[i(685)](t);return Number(t[i(684)][i(755)](s))}))}[ot(762)](t,e){const i=ot;if(t.is(i(703),i(739)))e[i(642)]({item:t,type:i(707)});else{t.is(i(703))&&e[i(642)]({item:t,type:i(562)});for(const s of t[i(659)]())this[i(762)](s,e);t.is(i(703))&&e[i(642)]({item:t,type:i(561)})}return e}[ot(653)](){const t=ot,e=new Map(this[t(686)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(516)][t(662)](),...this[t(700)][t(662)]()]);a[t(696)](t(466));for(const e of a){const i=this[t(700)][t(615)](e)||ht(e,!1),s=this[t(516)][t(615)](e)||ht(e,!1);i[t(597)]()||s[t(597)]()?(n[t(507)][e]=lt(i),n[t(729)][e]=lt(s),this[t(451)](n[t(729)][e],s),this[t(451)](n[t(507)][e],i),r[t(507)][e]=this[t(762)](this[t(754)][t(615)](e),[]),r[t(729)][e]=this[t(762)](this[t(601)][t(615)](e)||ht(e,!1),[])):a[t(696)](e)}for(const n of a){const o=r[t(507)][n];for(const n of o){const r=this[t(685)](n),o=n[t(684)][t(755)](r);i[t(696)](o),o>=this[t(614)]&&s[t(647)](o,e[t(615)](o))}}for(const n of a){const a=r[t(507)][n],c=this[t(547)](r[t(729)][n]);let u=0;for(const n of a){const r=this[t(685)](n),a=n[t(684)][t(755)](r);if(!s[t(541)](a)&&!o[t(541)](a))if(i[t(541)](a))u++;else{if(a!=c[u]){const s=e[t(615)](a)||e[t(615)](c[u]);for(;a!=c[u];)i[t(541)](c[u])||(o[t(647)](c[u],s),e[t(647)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(507)][e];for(const e of n){const n=this[t(685)](e),r=e[t(684)][t(755)](n);if(o[t(541)](r)){const e=o[t(615)](r);i[t(541)](r)||i[t(647)](r,{...e}),s[t(647)](r,{...e})}}}for(const e of i[t(662)]())e>=this[t(614)]&&i[t(696)](e);const c=new Map;for(const e of a){let n=r[t(507)][e];for(const e of n)if(e[t(684)].is(t(703),t(725))){const i=this[t(685)](e),n=e[t(684)][t(755)](i);if(s[t(541)](n)){const i=e[t(684)][t(553)][t(553)][t(755)](t(765)),r=c[t(615)](i)||new Set;r[t(724)](s[t(615)](n)[t(706)]),c[t(647)](i,r)}}n=r[t(729)][e];for(const e of n)if(e[t(684)].is(t(703),t(725))){const s=this[t(685)](e),n=e[t(684)][t(755)](s);if(i[t(541)](n)){const s=e[t(684)][t(553)][t(553)][t(755)](t(765)),r=c[t(615)](s)||new Set;r[t(724)](i[t(615)](n)[t(706)]),c[t(647)](s,r)}}for(const e of c[t(662)]())(s[t(541)](e)||i[t(541)](e))&&c[t(696)](e)}for(const e of a){const n=r[t(507)][e];let o=null,a=null;for(const e of n){const n=this[t(685)](e),r=e[t(684)][t(755)](n),u=c[t(615)](r);u&&t(562)==e[t(674)]&&(o=Array[t(534)](u)[0],a=e[t(684)][t(755)](t(763))),o&&(i[t(647)](r,{userId:o}),s[t(647)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(729)][e],a=n[t(507)][e];for(const{userId:e}of this[t(448)][t(611)]())null!==e&&l[t(724)](e);for(const{userId:e}of this[t(502)][t(611)]())null!==e&&l[t(724)](e);this[t(530)](a,r[t(507)][e],s,t(683),l),this[t(530)](o,r[t(729)][e],i,t(713),l),u[e]={insertions:this[t(699)](a),deletions:this[t(699)](o),attachChange:this[t(502)][t(615)](e)||null,attributesBefore:A(this[t(655)][t(615)](e))||{},attributesAfter:A(this[t(458)][t(615)](e))}}return{diffData:u,authorsIds:Array[t(534)](l)}}[ot(710)](t){const e=ot;for(const[,i]of t[e(759)]){const t=i[e(720)][e(587)]()[e(673)]((t=>e(725)==t[e(514)]));for(const i of t)1==i[e(588)]&&i[e(540)](0).is(e(703),e(509))&&i[e(540)](0)[e(527)](e(771),!0)}}[ot(699)](t){const e=ot;this[e(710)](t);const i=this[e(573)][e(619)][e(574)](t,{}),s=Array[e(534)](i[e(659)]())[e(585)]((t=>this[e(450)](t)));return JSON[e(737)](s)}[ot(450)](t){const e=ot;if(t.is(e(739)))return t[e(619)];{const i=this[e(573)][e(651)][e(615)](e(701)),s=t,n=this[e(573)][e(619)][e(493)][e(718)],r={type:i[e(535)](s),name:s[e(514)],attributes:Array[e(534)](s[e(751)]()),children:Array[e(534)](s[e(659)]())[e(585)]((t=>this[e(450)](t)))};if(t.is(e(654))&&e(668)!=t[e(514)]){const i=t[e(598)](n[e(722)],n);r[e(650)][e(642)](i[e(704)])}else if(t.is(e(476))){const i=n[e(722)][e(559)](s[e(514)]);t[e(598)](i,n),r[e(650)][e(642)](i[e(497)])}const o=Array[e(534)](s[e(473)]());o[e(504)]>0&&(r[e(565)]=o);const a=s[e(590)]();return null!==a&&(r[e(486)]=a),r}}[ot(530)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(573)][r(523)];for(let s=0;s<e[r(504)];s++){const n=this[r(685)](e[s]),c=e[s][r(684)][r(755)](n),h=i[r(615)](c),d=s==e[r(504)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(706)]!=o[r(706)])&&(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(706)],d=l(492)+s+":"+h+":"+c++,f=u[l(546)](i,a);t[l(759)][l(647)](d,f),null!==h&&n[l(724)](h)}}[ot(685)](t){const e=ot;switch(t[e(674)]){case e(562):return e(765);case e(561):return e(763);default:return e(496)}}[ot(564)](t,e){const i=ot;t[i(691)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(615)](n[i(528)][i(537)]);t[s]=this[i(618)](n,r)}if(n instanceof H.Range){const r=e[i(615)](n[i(528)][i(537)]);t[s]=this[i(571)](n,r)}i(528)===s&&(t[i(528)]=e[i(615)](t[i(528)][i(537)]))}}[ot(571)](t,e){const i=ot;return this[i(573)][i(523)][i(546)](this[i(618)](t[i(720)],e),this[i(618)](t[i(515)],e))}[ot(618)](t,e){const i=ot;return this[i(573)][i(523)][i(522)](e,t[i(555)],t[i(464)])}[ot(584)](t){const e=ot,i=this[e(754)][e(615)](t[e(610)][e(528)][e(537)]),s=this[e(618)](t[e(610)],i),n=null===t[e(731)]?null:t[e(731)]||this[e(573)][e(651)][e(615)](e(742)).me.id,r=s[e(553)],o=this[e(478)],a=[];for(const i of t[e(581)])if(i.is(e(703)))a[e(642)](this[e(734)](i));else for(let t=0;t<i[e(648)];t++)a[e(642)](new H.Element(e(739),{vid:this[e(478)]++}));const c=this[e(478)];for(let t=o;t<c;t++)this[e(686)][e(647)](t,{userId:n});r[e(570)](s[e(680)],a)}[ot(471)](t){const e=ot;(t=this[e(716)](t,this[e(754)]))[e(569)]();const i=null===t[e(731)]?null:t[e(731)]||this[e(573)][e(651)][e(615)](e(742)).me.id,s=t[e(511)](),n=s[e(553)],r=s[e(680)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(540)](e);r.is(a(703),a(739))?s[a(647)](r[a(755)](a(496)),{userId:i}):(s[a(647)](r[a(755)](a(765)),{userId:i}),t(s,r,0,r[a(588)]),s[a(647)](r[a(755)](a(763)),{userId:i}))}}(this[e(686)],n,r,r+t[e(770)])}[ot(487)](t){const e=ot,i=null===(t=this[e(716)](t,this[e(754)]))[e(731)]?null:t[e(731)]||this[e(573)][e(651)][e(615)](e(742)).me.id,s=t[e(621)][e(553)],n=t[e(519)][e(553)],r=s[e(755)](e(763)),o=n[e(755)](e(765));s[e(527)](e(763),n[e(755)](e(763))),n[e(527)](e(763),r),this[e(686)][e(647)](o,{userId:i}),this[e(686)][e(647)](r,{userId:i}),t[e(569)]()}[ot(525)](t){const e=ot,i=null===(t=this[e(716)](t,this[e(754)]))[e(731)]?null:t[e(731)]||this[e(573)][e(651)][e(615)](e(742)).me.id,s=t[e(500)],n=t[e(769)][e(553)];t[e(569)]();const r=n[e(755)](e(763)),o=t[e(721)][e(595)];if(s){const t=o[e(755)](e(763)),s=n[e(755)](e(763));n[e(527)](e(763),t),o[e(527)](e(763),s),this[e(686)][e(647)](n[e(755)](e(763)),{userId:i}),this[e(686)][e(647)](o[e(755)](e(765)),{userId:i})}else{const t=this[e(478)]++,s=this[e(478)]++;n[e(527)](e(763),t),o[e(527)](e(765),s),o[e(527)](e(763),r),this[e(686)][e(647)](t,{userId:i}),this[e(686)][e(647)](s,{userId:i})}}[ot(612)](t){const e=ot;if(!t[e(501)])return;const i=(t=this[e(716)](t,this[e(700)]))[e(692)]?t[e(692)][e(528)]:null,s=t[e(767)]?t[e(767)][e(528)]:null;i&&this[e(455)][e(696)](t[e(514)]),s&&this[e(455)][e(647)](t[e(514)],t[e(767)][e(714)]());const n=null===t[e(731)]?null:t[e(731)]||this[e(573)][e(651)][e(615)](e(742)).me.id,r=t[e(514)];if(!this[e(448)][e(541)](r))return void this[e(448)][e(647)](r,{range:t[e(692)],userId:n});const o=this[e(448)][e(615)](r),a=o[e(758)],c=t[e(767)];null==a&&null==c||a&&c&&a[e(484)](c)?this[e(448)][e(696)](t[e(514)]):o[e(706)]=n}[ot(568)](t,e){const i=ot;this[i(700)][i(541)](t[i(537)])?this[i(700)][i(615)](t[i(537)])[i(465)]=t[i(768)]:(this[i(700)][i(647)](t[i(537)],ht(t[i(537)],!0)),this[i(458)][i(647)](t[i(537)],{}),e&&this[i(754)][i(647)](t[i(537)],ht(t[i(537)],!0)));const s=null===t[i(731)]?null:t[i(731)]||this[i(573)][i(651)][i(615)](i(742)).me.id,n=this[i(502)][i(615)](t[i(537)]);n&&n[i(706)]===s?this[i(502)][i(696)](t[i(537)]):this[i(502)][i(647)](t[i(537)],{userId:s,isAttached:t[i(768)]})}[ot(630)](t){const e=ot,i=this[e(458)][e(615)](t[e(528)][e(537)]);null===t[e(538)]?delete i[t[e(623)]]:i[t[e(623)]]=t[e(538)]}}function lt(t){const e=ot,i=ht(t[e(537)],t[e(597)]());for(const s of t[e(659)]()){const t=s[e(660)](!0);i[e(664)](t)}return i}function ht(t,e=!0){const i=ot,s=new H.DocumentFragment;return s[i(537)]=t,s[i(465)]=e,s[i(597)]=()=>s[i(465)],s}function dt(t,e,i){const s=ot,n=s(561)==t[s(674)]?i[s(460)](t[s(684)],s(515)):i[s(472)](t[s(684)]);return i[s(522)](e,n[s(555)],n[s(464)])}function ft(t,e,i){const s=ot,n=s(562)==t[s(674)]?i[s(460)](t[s(684)],0):i[s(616)](t[s(684)]);return i[s(522)](e,n[s(555)],n[s(464)])}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=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=226]})(t,e)}function Dt(){const t=["optional","listenTo","render","arrowleft","keystrokes","form","arrowup","extendTemplate","revisionNameInputValue","trim","value","ck-revision-history-save-revision-form","10888BKMsZT","add","setTemplate","555Vhsqsa","1351dNnSSJ","220","Name of the revision","1220949AgVOMw","arrowdown","revisionName","35XGUZdQ","420162NSAxIj","ck-responsive-form","label","stopPropagation","set","39739600AMyKTh","errorText","reset","arrowright","362406oWmDpL","revisionNameInputView","locale","fieldView","4521492ozDXFj","element","input","13144SocDIO","_createRevisionNameInput","focusTracker","focus"];return(Dt=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(747152===-parseInt(e(249))/1+-parseInt(e(253))/2+-parseInt(e(245))/3*(parseInt(e(226))/4)+parseInt(e(252))/5*(-parseInt(e(262))/6)+parseInt(e(246))/7*(-parseInt(e(242))/8)+-parseInt(e(266))/9+parseInt(e(258))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Et extends pt.View{[At(228)];[At(234)];[At(263)];constructor(e,i){const s=At;super(e),this[s(228)]=new t.FocusTracker,this[s(234)]=new t.KeystrokeHandler,this[s(257)](s(238),""),this[s(263)]=this[s(227)](i),this[s(244)]({tag:s(235),attributes:{class:["ck",s(241),s(254)],tabindex:"-1"},children:[this[s(263)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(232)](){const t=At;super[t(232)](),(0,pt.submitHandler)({view:this}),this[t(228)][t(243)](this[t(263)][t(267)]),this[t(234)][t(231)](this[t(267)]);const e=e=>e[t(256)]();this[t(234)][t(257)](t(261),e),this[t(234)][t(257)](t(233),e),this[t(234)][t(257)](t(236),e),this[t(234)][t(257)](t(250),e)}[At(229)](){const t=At;this[t(263)][t(229)]()}get[At(251)](){const t=At;return this[t(263)][t(265)][t(267)][t(240)][t(239)]()}set[At(251)](t){const e=At;this[e(263)][e(265)][e(267)][e(240)]=t[e(239)]()}[At(260)](){const t=At;this[t(263)][t(265)][t(267)][t(240)]="",this[t(263)][t(259)]=null}[At(227)](t){const e=At,i=new pt.LabeledFieldView(this[e(264)],pt.createLabeledInputText),s=i[e(265)];s[e(237)]({attributes:{maxlength:e(247)}});let n=X(this[e(264)],e(248));return!t&&(n+=" ("+X(this[e(264)],e(230))+")"),i[e(255)]=n,s.on(e(268),(()=>{const t=e;this[t(238)]=s[t(267)][t(240)][t(239)]()})),i}}const Vt=Ft;!function(t){const e=Ft,i=t();for(;;)try{if(998681===parseInt(e(132))/1+-parseInt(e(138))/2*(parseInt(e(107))/3)+parseInt(e(129))/4*(parseInt(e(155))/5)+parseInt(e(139))/6+-parseInt(e(150))/7+-parseInt(e(134))/8*(parseInt(e(103))/9)+-parseInt(e(114))/10*(parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Ct extends U.Plugin{static get[Vt(135)](){return Vt(109)}static get[Vt(117)](){return!0}static get[Vt(160)](){return!0}static get[Vt(140)](){return[ct]}[Vt(164)];[Vt(122)](){const t=Vt,e=this[t(115)],i=e[t(116)][t(125)](t(156));e.ui[t(118)][t(148)](t(159),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(133)][n(131)],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(112)](n(169)).to(i,n(111),i,n(169),e,n(124),((t,e,i)=>t&&e&&!i)),r[n(167)][n(123)]({icon:mt.IconHistory,label:X(s,n(119)),tooltip:!0}),u[n(123)]({label:X(s,n(149)),withText:!0,role:n(102)}),u[n(112)](n(169)).to(i,n(111),i,n(169),e,n(124),((t,e,i)=>t&&e&&!i)),u.on(n(113),(()=>this[n(110)]())),h[n(123)]({label:X(s,n(153)),withText:!0,role:n(102)}),h[n(112)](n(169)).to(i,n(111),e,n(124),((t,e)=>t&&!e)),h.on(n(113),(()=>{const t=n;e[t(168)][t(125)](t(159))[t(163)](),r[t(126)]=!1,e[t(144)][t(108)][t(130)]()})),c[n(131)][n(148)](u),l[n(131)][n(148)](h),a[n(136)]=n(128),a[n(154)][n(170)]([c,l]),o[n(148)](a),r})),e.ui[t(118)][t(148)](t(151),(()=>this[t(127)]()))}[Vt(127)](){const t=Vt,e=this[t(115)],i=e[t(141)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(167)][t(123)]({icon:mt.IconHistory,label:X(i,t(119))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(123)]({label:X(i,t(149))}),o[t(146)](t(113)).to(s),o.on(t(113),(()=>{this[t(110)]()})),r[t(131)][t(148)](o),n[t(154)][t(148)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(123)]({label:X(i,t(153))}),c[t(146)](t(113)).to(s),c.on(t(113),(()=>{const i=t;e[i(168)][i(125)](i(159))[i(163)]()})),a[t(131)][t(148)](c),n[t(154)][t(148)](a),s[t(133)][t(131)][t(148)](n),s}[Vt(110)](){const t=Vt,e=this[t(115)],i=e[t(141)],s=e[t(116)][t(125)](t(157)),n=e[t(116)][t(125)](t(156));function r(n){const r=t;e[r(168)][r(125)](r(158))&&""===n[r(105)]?n[r(101)][r(145)]=X(i,r(121)):(e[r(116)][r(125)](ct)[r(162)]({name:n[r(105)]}),s[r(165)]())}this[t(164)]||(this[t(161)](),this[t(164)].on(t(142),(()=>r(this[t(164)])))),this[t(164)][t(166)](),s[t(104)]({id:t(143),title:X(i,t(149)),isModal:!0,content:this[t(164)],actionButtons:[{label:X(e[t(141)],t(120)),withText:!0,onExecute:()=>s[t(165)]()},{label:X(e[t(141)],t(106)),class:t(152),withText:!0,onCreate(i){const s=t;i[s(112)](s(169)).to(n,s(111),n,s(169),e,s(124),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(164)])}]})}[Vt(161)](){const t=Vt,e=this[t(115)],i=e[t(141)];this[t(164)]=new Et(i,e[t(168)][t(125)](t(158))),this[t(164)][t(137)]()}}function Ft(t,e){const i=jt();return(Ft=function(t,e){return i[t-=101]})(t,e)}function jt(){const t=["RevisionHistoryUI","_showDialog","isReady","bind","execute","4920ykCEMC","editor","plugins","isOfficialPlugin","componentFactory","Revision history","Cancel","The revision name cannot be empty.","init","set","isReadOnly","get","isOpen","_registerMenuComponent","menu","373556DfdnWq","focus","children","1492767yhTikZ","panelView","8DRDocR","pluginName","role","render","2maPLJi","2929740DNGkbL","requires","locale","submit","revisionSave","editing","errorText","delegate","22418NhDnaP","add","Save current revision","8981539AWlbMZ","menuBar:revisionHistory","ck-button-action","Open revision history","items","105KneETr","RevisionTracker","Dialog","revisionHistory.requireRevisionName","revisionHistory","isPremiumPlugin","_createSaveRevisionFormView","saveRevision","showRevisionViewerCallback","_saveRevisionFormView","hide","reset","buttonView","config","isEnabled","addMany","revisionNameInputView","menuitem","4456809GhhAic","show","revisionName","Accept","487713qPpIxy","view"];return(jt=function(){return t})()}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=420]})(t,e)}function zt(){const t=["2591451yhKzDe","set","ck-revision-change__label","changeId","215256JdGHaJ","5ZMDbmQ","Added by","Suggested by","ck-revision-change__","add","focus","1314356ojPRlT","div","59RwZbsQ","_model","data","Removed by","isSuggestion","setTemplate","3666368QihyNv","3781911eVcmIk","type","1830fRpUQF","718950aBgSul","span","name","element","ck-revision-change","ck-annotation","author","bindTemplate"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(276792===-parseInt(e(446))/1*(parseInt(e(424))/2)+-parseInt(e(425))/3+parseInt(e(444))/4+parseInt(e(438))/5*(parseInt(e(437))/6)+-parseInt(e(422))/7+parseInt(e(421))/8+parseInt(e(433))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Lt(436)];[Lt(447)];constructor(t,e){const i=Lt;super(t),this[i(447)]=e,this[i(436)]=e.id;const s=this[i(432)],n=X(t,e[i(448)][i(450)]?i(440):i(442)==e[i(423)]?i(439):i(449));this[i(434)](i(423),e[i(423)]),this[i(420)]({tag:i(445),attributes:{class:[i(430),i(429),s.to(i(423),(t=>i(441)+t))],tabindex:-1},children:[{tag:i(426),children:[{tag:i(426),attributes:{class:[i(435)]},children:[{text:n}]},{text:" "+e[i(431)][i(427)]}]}]})}[Lt(443)](){const t=Lt;this[t(428)][t(443)]()}}function Ut(t,e){var i=qt();return(Ut=function(t,e){return i[t-=368]})(t,e)}var Zt=Ut;!function(t){for(var e=Ut,i=t();;)try{if(526293===parseInt(e(371))/1+parseInt(e(378))/2+-parseInt(e(374))/3+parseInt(e(384))/4*(-parseInt(e(368))/5)+-parseInt(e(373))/6+-parseInt(e(380))/7*(-parseInt(e(375))/8)+-parseInt(e(376))/9*(-parseInt(e(372))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends((0,t.ObservableMixin)()){id;[Zt(379)];[Zt(377)];[Zt(370)];[Zt(382)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(379)]=e[i(379)],this[i(377)]=e[i(377)],this[i(370)]=e[i(370)]||{},this[i(382)]=e[i(382)],this[i(369)](i(383),e[i(383)])}[Zt(381)](){var t=Zt;return{id:this.id,authorId:this[t(379)].id,type:this[t(377)],data:this[t(370)],createdAt:this[t(383)]}}}function qt(){var t=["type","515638ZagsVX","author","49knTakU","toJSON","rootName","createdAt","8xJJYcL","2499395pDnkWA","set","data","551269gcEsaC","2370voTQOy","2005824qRsCYa","2553471uPMFlN","914984RtKUNx","41841gQTHCR"];return(qt=function(){return t})()}function $t(t,e){const i=Jt();return($t=function(t,e){return i[t-=218]})(t,e)}const Bt=$t;function Jt(){const t=["1254QKvpDz","oldRevisionId","192DinKVC","4580828qkYiqt","20961TzjGfP","747915obvsTj","15zTSkQS","590692KGgKiZ","add","106670ZDkrAx","68627KLMcKB","3568RWaKaO","changes","_setChanges","8BFmQyv","6bjKCAr","143977DxnkVH","newRevisionId"];return(Jt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(630828===-parseInt(e(229))/1*(-parseInt(e(227))/2)+-parseInt(e(218))/3+parseInt(e(220))/4*(-parseInt(e(219))/5)+parseInt(e(228))/6*(parseInt(e(234))/7)+-parseInt(e(224))/8*(parseInt(e(235))/9)+-parseInt(e(222))/10*(-parseInt(e(231))/11)+parseInt(e(233))/12*(-parseInt(e(223))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[Bt(230)];[Bt(232)];[Bt(225)];constructor(e,i){const s=Bt;this[s(230)]=e,this[s(232)]=i,this[s(225)]=new t.Collection}[Bt(226)](t){const e=Bt;for(const i of t)this[e(225)][e(221)](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 Qt=te;function Xt(){const t=["removeMarker:revision-suggestion","ck-revision-history-root-add","ck-revision-history-root--active","shift","schema","revision-comment:","refresh","element:pre","dataToMarker","domEvent","commands","enqueueChange","vid","ck-suggestion-preview-marker-","string","nextSibling","authors","compare","revision-suggestion","showStack","flat","all","updatePosition","_initInteractions","_makeModelFromTape","getClientRects","attachChange","right","findIndex","forward","find","top","change:activeView","ck-suggestion-marker-","values","_cleanMarkers","_changeView","toViewPosition","pop","isRemoveSuggestion","span","includes","ck-revision-history-root-remove","nodeAfter","revision:","unshift","add","_update","selection","pairId","startIndex","stop","offsetSize","createUIElement","bind","511pljvtG","reconvertMarker","isOfficialPlugin","keys","currentChangeNumber","toViewRange","wrap","test","_setChanges","getAttribute","merge","isSuggestion","has","checkAttribute","return","restoreRevision","modelRange","isAtEnd","revision-viewer","deletion","getWalker","createRevision","15561MrxFMT","set","removeMarker:revision","WidgetToolbarRepository","getRootNames","isAfter","pluginName","3mfvoxl","deletions","abs","44awHtHz","addMarker:revision-suggestion:deletion","getRevision","for","numberOfChanges","isEnabled","mapper","showPreviousChange","object","bottom","vid_start","mouseover","ck-revision-history-root-","getCustomProperty","remove","locale","slice","_step","10215XOOuNn","from","ck-suggestion-marker-merge","editor","addRevisionData","resolve","_changeIdToChange","_removeMissingPairs","isOnRoot","_threeWayMerge","setAttribute","consume","172148urTfxE","getIndex","editingDowncast","attribute:vid","diffData","range","map","1208PyEmMC","isAddSuggestion","forEach","getDomRoot","destroy","high","getRoot","item","previousPosition","isRemoved","unbindElementFromMarkerName","getAttributes","model","push","level","revisionHistoryLabel","splice","editing","removeAttribute","filter","change","split","code","side","viewItem","516305qRkeqm","activeChange","suggestion","RevisionHistoryUtils","createAttributeElement","addRoot","done","upcast","init","createRange","9198qtUZKk","listenTo","isContent","insert","mapViewToDom","restoreRevisionCallback","next","rootName","isBefore","createRangeIn","isNavigationMode","_markInsertions","createPositionFromPath","delete","view","_getRevisionsRange","_findChangeIdFromDomTarget","changeId","addMarker:revision","isAdded","adapter","document","_balloon","addHighlight","newRevisionId","isEqual","activeView","suggestion:","concat","consumable","plugins","_joinTapes","execute","_fixObsoleteTags","_sortAndFilterDiffChanges","start","startsWith","conversion","data","_setDistance","domConverter","_makeModelFromViewString","elementEnd","parent","_revisions","change:activeChange","error","addMarker:revision-suggestion:insertion","attributesBefore","highest","isAttached","diff","ck-suggestion-marker--active","length","getItems","_makeTape","isInline","observeMarkers","getRevisionDocumentData","_removeUnsupportedChanges","_refreshStartEndIndex","_activeViewTarget","markerRange","repository","addClass","isBlock","revision-suggestion:","uiElement","_getChangeFromId","_markMarkers","64CxUrrS","removeClass","hasAttribute","50770DtBQoI","_cleanUp","_utils","revisionHistoryAttachChange","end","_markSuggestions","ck-editor__editable__overlay","isPremiumPlugin","mousedown","252876QvmACq","markerToHighlight","catch","requires","endIndex","insertion","createPositionBefore","data-change-id","low","attributes","RevisionViewer","oldRevisionId","getChild","softBreak","markerName","markers","writer","then","markerToData","_getViewForChange","isAtStart","get","getLaterVisibleRevision","config","RevisionsRepository","isCollapsed","toViewElement","_getDiff","enableReadOnlyMode","_appendChild","first","ck-suggestion-marker","markersStart","dataDowncast","507sDyjYT","element","clear","ck-suggestion-preview-marker","hasClass","text","comment","attributesAfter","detachRoot","name","loadRevisionData","ck-suggestion-marker-split","type","isIncorrect","maxOffset","markersEnd","index","elementStart","markerNameToElements","distance","isLimit","revisionHistory","showNextChange","_data","sort","_processTape","changes","_markMismatchedRemovedTags","bindElementToMarker","roots","affectsData","_setConversion","getRevisionRootsAttributes","isObject","change:numberOfChanges","nextPosition","revision","indexOf","target","removeMarker","downcastDispatcher","POSITIVE_INFINITY","forceDisabled","vid_end","userId","insertions","isReady","elementToAttribute","change:isEnabled","change:isReady","backward","-new","addRevision","left"];return(Xt=function(){return t})()}function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(179191===parseInt(e(704))/1*(-parseInt(e(499))/2)+-parseInt(e(683))/3*(parseInt(e(716))/4)+-parseInt(e(419))/5+-parseInt(e(429))/6*(-parseInt(e(654))/7)+parseInt(e(723))/8*(-parseInt(e(676))/9)+-parseInt(e(502))/10*(parseInt(e(686))/11)+-parseInt(e(511))/12*(-parseInt(e(545))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends U.Plugin{[Qt(492)];[Qt(449)]=null;[Qt(504)];[Qt(490)];[Qt(635)];[Qt(710)];[Qt(451)];static get[Qt(682)](){return Qt(521)}static get[Qt(656)](){return!0}static get[Qt(509)](){return!0}static get[Qt(514)](){return[Z.Users,pt.ContextualBalloon,J,Q]}constructor(t){const e=Qt;super(t),this[e(492)]=this[e(707)][e(459)][e(532)](e(535)),this[e(504)]=this[e(707)][e(459)][e(532)](e(422)),this[e(677)](e(420),null),this[e(677)](e(455),null),this[e(490)]=null,this[e(677)](e(480),null),this[e(677)](e(591),!1),this[e(677)](e(691),!0),this.on(e(593),((t,i,s)=>{const n=e;this[n(420)]=null,this[n(455)]=null,this[n(707)][n(411)][n(443)][n(414)]((t=>{const e=n;for(const i of this[e(707)][e(411)][e(443)][e(450)][e(574)])s?t[e(500)](e(508),i):t[e(493)](e(508),i)}))})),this[e(653)](e(439)).to(this,e(420),(t=>null!==t)),this[e(653)](e(658)).to(this,e(591),this,e(480),this,e(420),((t,i,s)=>t&&s?i[e(571)][e(717)](s):0)),this[e(653)](e(690)).to(this,e(591),this,e(480),((t,i)=>t?i[e(571)][e(482)]:0)),this[e(635)]=null,this[e(710)]=new Map,this[e(451)]=this[e(707)][e(459)][e(532)](pt.ContextualBalloon)}[Qt(427)](){const t=Qt,e=this[t(707)],i=new ne(e,{direction:t(595)}),s=new ne(e,{direction:t(628)});e[t(609)][t(645)](t(693),i),e[t(609)][t(645)](t(567),s),e[t(609)][t(645)](t(669),new se(e)),this.on(t(579),(()=>{const e=t;i[e(605)](),s[e(605)]()})),this[t(576)](),this[t(622)](),e[t(539)](t(672)),e[t(459)][t(666)](t(679))&&e[t(459)][t(532)](t(679))[t(587)](t(672))}async[Qt(487)](t){const e=Qt;return await this[e(504)][e(555)](t,this[e(449)]),this[e(504)][e(487)](t)}async[Qt(577)](t){const e=Qt;return await this[e(504)][e(555)](t,this[e(449)]),this[e(504)][e(577)](t)}async[Qt(616)](t,e,i=!1){const s=Qt;if(!this[s(691)])return;const n=this[s(480)],r=this[s(492)],o=s(613)==typeof t?r[s(688)](t):t,a=s(613)==typeof e?r[s(688)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(480)]&&this[s(480)][s(453)]===c&&this[s(480)][s(522)]===u)return Promise[s(709)]();this[s(591)]=!1,this[s(455)]=null,this[s(420)]=null,this[s(480)]=new Yt(c,u);const l=this[s(444)](o,a,!0)[s(722)]((t=>this[s(504)][s(555)](t,this[s(449)])));return l[s(407)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(620)](l)[s(528)]((()=>{const t=s;if(!this[t(691)])return;this[t(503)]();const e=this[t(538)](c,u);for(const i of e[t(571)])this[t(710)][t(677)](i.id,i);this[t(707)][t(406)][t(610)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(707)][s(406)][s(450)][s(680)]())i[s(553)](t);for(const t of Object[s(657)](e[s(406)])){const n=i[s(424)](t);for(const r of Object[s(657)](e[s(520)][t]))i[s(714)](r,e[s(520)][t][r],n);i[s(432)](e[s(406)][t],n,0)}})),this[t(480)][t(662)](this[t(463)](e[t(571)])),this[t(591)]=!0}))[s(513)]((t=>{const e=s;console[e(475)](t),this[e(503)](),n&&(this[e(480)]=n),this[e(591)]=!0}))}[Qt(708)](t,e){const i=Qt,s=this[i(492)][i(675)](t);return s.on(i(646),((t,i,n)=>e(i,n,s))),this[i(492)][i(597)](s),s}[Qt(503)](){const t=Qt;this[t(420)]=null,this[t(634)](),this[t(635)]&&this[t(635)][t(398)](),this[t(635)]=null,this[t(710)][t(547)](),this[t(707)][t(406)][t(610)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(707)][i(406)][i(450)][i(680)]())e[i(553)](t)}))}[Qt(463)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(707)][e(406)][e(450)][e(680)]()){const n=this[e(707)][e(411)][e(443)][e(726)](t);if(!n)continue;const r=n[e(624)]()[e(401)](0);r&&(i[e(407)](t),s[e(677)](t,r))}return i[e(569)](((t,i)=>{const n=e,r=s[n(532)](t),o=s[n(532)](i);return r.y-o.y||r.x-o.x})),(t=t[e(413)]((t=>i[e(640)](t[e(436)]))))[e(569)](((t,s)=>i[e(582)](t[e(436)])-i[e(582)](s[e(436)]))),t}[Qt(484)](t){const e=Qt,i=Array[e(705)](t[e(526)])[e(413)]((([t,i])=>t[e(465)](e(643))&&!i[e(536)])),s=Array[e(705)](this[e(707)][e(406)][e(438)](t)[e(674)]({singleCharacters:!0}));if(0!=i[e(482)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(415)](":");if(n[e(506)][e(454)](t[e(580)])&&i[e(602)](),(t[e(402)][e(454)](n[e(464)])||t[e(402)][e(681)](n[e(464)]))&&(e(516)==r?t[e(448)]={userId:o}:e(673)==r&&(t[e(403)]={userId:o})),0==i[e(482)])break}return s}[Qt(489)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(482)];s++)e(550)===t[s][e(557)]?(t[s][e(401)][e(649)]=s,t[s][e(401)][e(515)]=s):(e(562)===t[s][e(557)]?t[s][e(401)][e(649)]=s:e(471)===t[s][e(557)]&&(t[s][e(401)][e(515)]=s),i[e(677)](t[s].id,s));for(const s of i[e(633)]())e(562)===t[s][e(557)]?t[s][e(401)][e(515)]=i[e(532)](t[s][e(648)]):e(471)===t[s][e(557)]&&(t[s][e(401)][e(649)]=i[e(532)](t[s][e(648)]))}[Qt(570)](t){const e=Qt;for(let i=0;i<t[e(482)];i++){if(e(562)===t[i][e(557)])t[i][e(401)][e(649)]=i;else if(e(471)===t[i][e(557)]){t[i][e(401)][e(515)]=i;const s=t[i][e(401)][e(649)];t[s][e(648)]=t[i].id,t[i][e(648)]=t[s].id}else t[i][e(401)][e(649)]=i,t[i][e(401)][e(515)]=i,t[i][e(648)]=null;t[i][e(543)]||(t[i][e(543)]=[],t[i][e(560)]=[])}}[Qt(440)](t,e){const i=Qt,s=t[i(413)]((t=>!t[i(448)]));for(let t=0;t<e[i(482)];t++)e[t][i(448)]&&(s[t][i(448)]=e[t][i(448)])}[Qt(538)](t,e=null){const i=Qt,s=this[i(492)][i(688)](t),n=e?this[i(492)][i(688)](e):null,r=this[i(444)](s,n),o=r[r[i(482)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(482)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(657)](e[i(720)]))if(e[i(720)][t][i(625)]){const s=e[i(720)][t][i(625)];s[i(479)]?(u[i(645)](t),l[i(666)](t)&&l[i(532)](t)[i(589)]==s[i(589)]?l[i(442)](t):l[i(677)](t,s)):l[i(666)](t)?(u[i(442)](t),l[i(442)](t)):(u[i(645)](t),l[i(677)](t,s))}else u[i(645)](t)}for(const t of u){const e=l[i(666)](t)&&!l[i(532)](t)[i(479)];let s=e?r[i(482)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(720)][t]){const s=e?o[i(720)][t][i(477)]:o[i(720)][t][i(552)];c[i(520)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(406)]={};for(const e of t[i(615)])a[i(677)](e.id,e);for(const e of u){const s=t[i(720)][e]?t[i(720)][e][i(590)]:"[]",n=t[i(720)][e]?t[i(720)][e][i(684)]:"[]";t[i(406)][e]={insertions:this[i(504)][i(470)](s),deletions:this[i(504)][i(470)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(705)](s[i(406)][t][i(590)][i(526)])[i(413)]((([t])=>!t[i(465)](i(643)))));let h=0;for(const o of r){const r=this[i(484)](o[i(406)][t][i(590)]);o==s?(e=r,n=e[i(482)],e[i(725)]((t=>{t.id=h++})),this[i(570)](e)):this[i(440)](e,r);const a=e[i(413)]((t=>!t[i(448)]))[i(722)]((t=>t.id));let c=0;const l=this[i(484)](o[i(406)][t][i(684)]);l[i(725)]((t=>{t[i(403)]?t.id=n++:t.id=a[c++]})),this[i(570)](l),this[i(468)](e,i(448)),this[i(468)](l,i(403)),o==s&&this[i(498)](e,u),e=this[i(460)](e,l),this[i(489)](e),this[i(468)](e,i(403))}e=e[i(413)]((t=>!(t[i(448)]&&t[i(403)])));const d=new Map(o[i(406)][t][i(684)][i(526)]),f=new Set(u[i(657)]());for(const t of d[i(657)]())f[i(442)](t);this[i(507)](e,f),this[i(462)](e),e=this[i(711)](e),e=this[i(572)](e),e=this[i(488)](e);const{root:m,changes:p}=this[i(623)](e,a,t);c[i(406)][t]=m;const v=l[i(532)](t);if(v){const e=a[i(532)](v[i(589)]),s=new Ht({author:e,type:v[i(479)]?i(645):i(700),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(644)](s),c[i(520)][t][i(505)]=s.id}c[i(571)]=c[i(571)][i(457)](p)}return c}[Qt(498)](t,e){const i=Qt;for(let s=0;s<t[i(482)];s++)for(const[n,r]of e)!r[i(536)]&&r[i(464)][i(454)](t[s][i(402)])&&t[s][i(543)][i(407)](n),r[i(506)][i(454)](t[s][i(580)])&&t[s][i(560)][i(407)](n)}[Qt(460)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(482)]||r<e[i(482)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(407)](o);else if(a[i(403)]&&o[i(448)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(713)](t,n,e,r);s=s[i(457)](o),n=a,r=c}else a[i(403)]?(r++,s[i(407)](a)):(n++,s[i(407)](o))}return s}[Qt(507)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(482)];o++){for(let r=0;r<t[o][i(543)][i(482)];r++){const a=t[o][i(543)][r];if(!e[i(666)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(617)!=c||i(516)!=u&&i(673)!=u||(s[i(644)]({type:u,name:a,userId:l}),t[o][i(543)][i(410)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(560)][i(482)];r++){const a=t[o][i(560)][r];if(!e[i(666)](a))continue;const{group:c,type:u}=n(a);if(i(617)!=c||i(516)!=u&&i(673)!=u)continue;t[o][i(560)][i(410)](r,1),r--;const l=s[i(627)]((t=>t[i(554)]==a));l>-1&&s[i(410)](l,1)}}function n(t){const e=i,s=t[e(415)](":");return{group:s[0],type:s[1],subType:s[e(482)]>=5?s[2]:null,id:s[e(482)]<5?s[2]:s[3],authorId:s[e(482)]<5?s[3]:s[4],markerCount:6==s[e(482)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(482)];i++){if(t[e(448)]&&e(516)==s[i][e(557)]&&t[e(448)][e(589)]==s[i][e(589)])return t[e(724)]=s[i],void delete t[e(448)];if(!t[e(448)]&&!t[e(403)]&&e(673)==s[i][e(557)])return void(t[e(638)]=s[i])}}}[Qt(468)](t,e){const i=Qt;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(677)](o.id,s);for(let s=0;s<t[i(482)];s++){if(i(403)==e&&t[s][i(448)]||i(448)==e&&t[s][i(403)])continue;if(i(550)==t[s][i(557)]){t[s][i(564)]=0;continue}const n=r[i(532)](t[s][i(648)]),o=r[i(532)](t[s].id);t[s][i(564)]=n-o}}[Qt(444)](t,e,i=!1){const s=Qt,n=[];let r=this[s(492)][s(717)](t),o=this[s(492)][s(717)](e);for(-1==o&&(o=this[s(492)][s(473)][s(482)],i=!1);r<o;)n[s(407)](this[s(492)][s(688)](r)),r++;return i&&n[s(407)](this[s(492)][s(688)](r)),n}[Qt(713)](t,e,i,s){const n=Qt,r=this[n(707)][n(406)][n(603)];let o=e;for(;t[o]&&t[o][n(448)];)o++;let a=s;for(;i[a]&&i[a][n(403)];)a++;u(t,e,o),u(i,s,a);const c=i[n(702)](s,a)[n(457)](t[n(702)](e,o));return c[n(569)](((t,e)=>t[n(417)]!=e[n(417)]?t[n(417)]-e[n(417)]:t[n(408)]!=e[n(408)]?t[n(408)]-e[n(408)]:t[n(564)]!=e[n(564)]?e[n(564)]-t[n(564)]:!!t[n(448)]!=!!e[n(448)]?-1==t[n(417)]||0==t[n(417)]?t[n(448)]?-1:1:t[n(448)]?1:-1:t[n(561)]-e[n(561)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(586)],c=!0;for(let n=e;n<i;n++)if(r[s(485)](t[n][s(401)])||(c=!1),t[n][s(401)][s(649)]<e&&(o=n),t[n][s(401)][s(515)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(417)]=n<=o?-1:n<a?0:1,t[n][s(561)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(564)]?t[i][s(408)]=u:(u++,t[i][s(408)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(417)]&&(t[n][s(408)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(564)]?t[e][s(408)]=u:(u--,t[e][s(408)]=u,u--)}}[Qt(462)](t){const e=Qt,i=new Map,s=this[e(707)][e(406)][e(603)];for(let n=1;n<t[e(482)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(550)==c[e(557)])continue;if(c[e(557)]!=u[e(557)])continue;if(!s[e(494)](u[e(401)])||s[e(565)](u[e(401)]))continue;if(!s[e(494)](c[e(401)])||s[e(565)](c[e(401)]))continue;if((t[n][e(448)]||t[n][e(724)])&&t[n-1][e(403)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(403)]||!t[n-1][e(448)]&&!t[n-1][e(724)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(408)]==o[e(408)],h=Math[e(685)](r[e(408)])<Math[e(685)](o[e(408)])&&0==o[e(564)];(l||h)&&(i[e(677)](o.id,r.id),t[e(410)](a,1),n--,r[e(448)]=!1)}for(let s=0;s<t[e(482)];s++)i[e(666)](t[s][e(648)])&&(t[s][e(648)]=i[e(532)](t[s][e(648)]))}[Qt(711)](t){const e=Qt,i=new Set(t[e(722)]((t=>t.id)));for(let s=0;s<t[e(482)];s++)i[e(666)](t[s][e(648)])||0==t[s][e(564)]||(t[s][e(558)]=!0);return t[e(413)]((t=>!t[e(558)]))}[Qt(572)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(482)];s++){if(i[e(666)](t[s].id)&&t[s][e(403)]&&(t[s][e(558)]=!0),t[s][e(558)])continue;if(0==t[s][e(564)])continue;if(e(562)!=t[s][e(557)])continue;if(null==t[s][e(648)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(648)];)e(562)==t[n][e(557)]?r++:e(471)==t[n][e(557)]&&r--,n++;if(0!=r)if(t[s][e(403)])t[s][e(558)]=!0;else for(;n!=s;)t[n][e(403)]&&0!=t[n][e(564)]&&(t[n][e(558)]=!0,i[e(645)](t[n][e(648)])),n--}return t[e(413)]((t=>!t[e(558)]))}[Qt(488)](t){const e=Qt,i=this[e(707)][e(406)][e(603)];for(let s=0;s<t[e(482)];s++){if(!(t[s][e(448)]||t[s][e(724)]||t[s][e(403)]||t[s][e(638)]))continue;if(0==t[s][e(564)])continue;const n=t[s][e(401)];i[e(494)](n)||i[e(565)](n)||(t[s][e(448)]&&delete t[s][e(448)],t[s][e(724)]&&delete t[s][e(724)],t[s][e(638)]&&delete t[s][e(638)],t[s][e(403)]&&(t[s][e(558)]=!0))}return t[e(413)]((t=>!t[e(558)]))}[Qt(623)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(707)][s(406)],c=a[s(603)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(482)];e++)if(s(562)===t[e][s(557)]){t[e][s(402)]=a[s(441)](n,f);const i=new H.Element(t[e][s(401)][s(554)],t[e][s(401)][s(405)]());u[0][s(540)](i),f[s(407)](0),u[s(644)](i),t[e][s(580)]=a[s(441)](n,f)}else s(471)===t[e][s(557)]?(u[s(602)](),t[e][s(402)]=a[s(441)](n,f),f[s(637)](),f[f[s(482)]-1]++,t[e][s(580)]=a[s(441)](n,f)):(t[e][s(402)]=a[s(441)](n,f),d?d[s(568)]+=t[e][s(401)][s(467)]:d=new H.Text(t[e][s(401)][s(467)],t[e][s(401)][s(405)]()),t[e+1]&&s(550)===t[e+1][s(557)]&&v(d,t[e+1][s(401)])||(u[0][s(540)](d),d=null),f[f[s(482)]-1]+=t[e][s(401)][s(651)],t[e][s(580)]=a[s(441)](n,f));for(let e=0;e<t[s(482)];e++){const i=t[e][s(402)],n=t[e][s(580)];for(const n of t[e][s(543)])o[s(677)](n,{start:i,end:null});m(s(638),e,i,n),m(s(724),e,i,n),m(s(403),e,i,n),m(s(448),e,i,n);for(const i of t[e][s(560)]){const t=o[s(532)](i);t?t[s(506)]=n:o[s(677)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(707)][s(406)][s(428)](e[s(464)],e[s(506)]);n[s(526)][s(677)](t,i)}return r[s(569)](((t,e)=>{const i=s,r=n[i(526)][i(532)](i(643)+t.id),o=n[i(526)][i(532)](i(643)+e.id);return r[i(464)][i(437)](o[i(464)])?-1:r[i(464)][i(681)](o[i(464)])?1:r[i(506)][i(437)](o[i(506)])?-1:r[i(506)][i(681)](o[i(506)])?1:i(645)===t[i(557)]?-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(589)]:null,d=i===t[o(482)]-1,f=h[e][0],m=c[o(578)](t[i][o(401)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(506)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(589)]!==u&&(l[e][o(506)]=n,f&&f[o(589)]===l[e][o(589)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(562)!==t[i][o(557)]||f&&f[o(589)]===u||h[e][o(644)]({userId:u,object:t[i][o(401)],change:l[e]}),o(471)===t[i][o(557)]&&f&&f[o(694)]===t[i][o(401)]&&(h[e][o(602)](),l[e]=f[o(414)])),l[e]&&d&&(l[e][o(506)]=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(401)],f=a[h(603)][h(494)](d)&&!a[h(603)][h(565)](d),m=t[h(642)]==o[h(472)]&&o[h(531)];if(f&&m)return;const p=a[h(428)](t,o),v=e[h(532)](u),g=new Ht({author:v,type:h(448)==l||h(724)==l?h(645):h(700),data:{isSuggestion:h(724)==l||h(638)==l},createdAt:new Date,rootName:i});r[h(407)](g),n[h(526)][h(677)](h(643)+g.id,p)}function v(t,e){const i=s,n=t[i(405)](),r=e[i(405)]();for(const t of n){if(t[1]!==e[i(663)](t[0]))return!1;r[i(435)]()}return r[i(435)]()[i(425)]}}[Qt(576)](){const t=Qt;this[t(707)][t(466)][t(689)](t(426))[t(607)]({view:t(581)}),this[t(707)][t(466)][t(689)](t(718))[t(512)]({model:t(581),view:e=>{const i=t,s=e[i(525)][i(415)](":")[1],n=this[i(497)](s);if(!n)return null;const r=i(645)==n[i(557)]?i(516):i(673),o=[i(542),i(632)+r];return n[i(467)][i(665)]&&o[i(407)](i(632)+r+i(596)),this[i(420)]==n&&o[i(407)](i(481)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(707)][t(466)][t(689)](t(426))[t(645)]((e=>{const i=t;e.on(i(606),((t,e,s)=>{const n=i,r=e[n(418)][n(523)](0);if(!r||!r.is(n(546),n(416)))return;if(!s[n(458)][n(715)](r,{attributes:[n(696),n(588)]}))return;const o=e[n(670)][n(464)][n(642)];s[n(527)][n(714)](n(696),r[n(663)](n(696)),o),s[n(527)][n(714)](n(588),r[n(663)](n(588)),o)}),{priority:i(519)})})),this[t(707)][t(466)][t(689)](t(426))[t(645)]((e=>{const i=t;e.on(i(546),((t,e,s)=>{const n=i;if(!s[n(458)][n(715)](e[n(418)],{attributes:[n(696),n(588)]}))return;if(e[n(670)][n(536)])return;const r=e[n(670)][n(464)][n(642)];r[n(501)](n(696))||r[n(501)](n(611))||(s[n(527)][n(714)](n(696),e[n(418)][n(663)](n(696)),r),s[n(527)][n(714)](n(588),e[n(418)][n(663)](n(588)),r))}),{priority:i(519)})})),this[t(707)][t(466)][t(689)](t(426))[t(592)]({view:{name:t(639),attributes:{vid:!0}},model:{key:t(611),value:e=>e[t(663)](t(611))}}),this[t(707)][t(406)][t(603)].on(t(667),((e,[,i])=>{const s=t;[s(696),s(588),s(611)][s(640)](i)&&(e[s(668)]=!0,e[s(650)]())}),{priority:t(478)}),this[t(707)][t(466)][t(689)](t(544))[t(645)]((e=>{const i=t;e.on(i(719),((t,e,s)=>{const n=i;if(" "!=e[n(401)][n(467)]||e[n(401)][n(472)][n(559)]>1)return;if(!s[n(458)][n(715)](e[n(401)],t[n(554)]))return;const r=s[n(527)],o=s[n(692)][n(659)](e[n(721)]);r[n(660)](o,r[n(423)](n(639)))}))})),this[t(707)][t(466)][t(689)](t(544))[t(529)]({model:t(581)}),this[t(707)][t(411)][t(585)].on(t(447),function(e){const i=t,s=e[i(459)][i(532)](i(521));return(t,n,r)=>{const o=i,a=n[o(525)][o(415)](":")[1],c=s[o(497)](a);if(!c)return null;const u=o(645)==c[o(557)]?o(415):o(664);if(!r[o(458)][o(661)](n[o(491)],t[o(554)]))return;const l=n[o(491)][o(674)](),h=n[o(491)][o(464)],d=e[o(406)][o(603)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(401)];p=p||d[o(431)](e);const i=r[o(692)][o(537)](e);if(i&&i[o(699)](o(452)))return;o(471)==t[o(557)]&&d[o(494)](e)&&!d[o(565)](e)&&(e[o(614)]||h[o(671)]?f&&f[o(472)]==e||(f=e,g(t[o(402)]),v=!0):m=m||t[o(402)])}function g(t){const e=o,i=r[e(527)][e(652)](e(639),{class:e(632)+u}),a=r[e(692)][e(636)](t);c[e(467)][e(665)]&&r[e(527)][e(493)](e(632)+u+e(596),i),s[e(420)]==c&&r[e(527)][e(493)](e(481),i),r[e(527)][e(432)](a,i),r[e(692)][e(573)](i,n[e(525)])}p||v||!m||g(m)}}(this[t(707)]),{priority:t(399)}),this[t(707)][t(411)][t(585)].on(t(678),((e,i,s)=>{const n=t,r=s[n(692)][n(563)](i[n(525)]);if(r)for(const t of r)(t[n(549)](n(556))||t[n(549)](n(706)))&&(s[n(692)][n(404)](t,i[n(525)]),s[n(527)][n(700)](t))}),{priority:t(399)}),this[t(707)][t(411)][t(585)].on(t(447),((e,i,s)=>{const n=t,r=i[n(525)][n(415)](":")[1],o=this[n(497)](r);if(!o)return null;const a=n(645)==o[n(557)]?n(415):n(664);if(s[n(458)][n(661)](i[n(491)],e[n(554)]))for(const t of i[n(491)][n(483)]()){if(!t.is(n(546),n(524)))continue;const e=s[n(527)][n(652)](n(639),{class:n(632)+a}),r=s[n(692)][n(636)](this[n(707)][n(406)][n(517)](t));o[n(467)][n(665)]&&s[n(527)][n(493)](n(632)+a+n(596),e),this[n(420)]==o&&s[n(527)][n(493)](n(481),e),s[n(527)][n(432)](r,e),s[n(692)][n(573)](e,i[n(525)])}}),{priority:t(399)}),this[t(707)][t(406)][t(450)].on(t(414),(()=>{const e=t;this[e(707)][e(411)][e(443)][e(414)]((t=>{const i=e;for(const e of this[i(707)][i(406)][i(450)][i(680)]()){const s=this[i(707)][i(406)][i(450)][i(400)](e),n=this[i(707)][i(411)][i(443)][i(450)][i(400)](e);if(n){const e=s[i(663)](i(505));if(t[i(412)](i(518),n),t[i(500)](i(600),n),t[i(500)](i(641),n),t[i(500)](i(601),n),e){const s=this[i(497)](e);if(!s)return null;t[i(714)](i(518),e,n),t[i(493)](i(698)+s[i(557)],n),this[i(420)]==s&&t[i(493)](i(601),n)}}}}))})),this[t(707)][t(466)][t(689)](t(426))[t(607)]({view:t(551),model:e=>t(604)+e,converterPriority:t(478)}),this[t(707)][t(466)][t(689)](t(426))[t(607)]({view:t(421),model:e=>t(495)+e,converterPriority:t(478)}),this[t(707)][t(466)][t(689)](t(544))[t(529)]({model:t(617),view:e=>({name:t(456)+e,group:t(617)}),converterPriority:t(478)}),this[t(707)][t(466)][t(689)](t(718))[t(512)]({model:t(617),view:e=>{const i=t,s=e[i(525)][i(415)](":")[1];return i(516)!=s&&i(673)!=s?null:{classes:[i(548),i(612)+s]}}}),this[t(707)][t(411)][t(585)].on(t(687),ie(this[t(707)],t(664)),{priority:t(399)}),this[t(707)][t(411)][t(585)].on(t(476),ie(this[t(707)],t(415)),{priority:t(399)}),this[t(707)][t(411)][t(585)].on(t(599),((e,i,s)=>{const n=t,r=s[n(692)][n(563)](i[n(525)]);if(r)for(const t of r)t.is(n(496))&&(s[n(692)][n(404)](t,i[n(525)]),s[n(527)][n(700)](t))}),{priority:t(399)})}[Qt(497)](t){const e=Qt;return this[e(710)][e(532)](t)}[Qt(530)](t){const e=Qt;return this[e(635)]&&this[e(635)][e(398)](),this[e(635)]=new Wt(this[e(707)][e(701)],t),this[e(635)]}[Qt(622)](){const t=Qt;this[t(707)][t(406)][t(450)][t(647)][t(486)](t(581)),this.on(t(631),((e,i,s,n)=>{const r=t;n&&this[r(451)][r(700)](n),s&&(this[r(451)][r(645)]({view:s,stackId:r(409),position:{target:()=>{const t=r,e=this[t(707)][t(411)],i=this[t(497)](s[t(446)]);let n;if(i[t(467)][t(712)]){const s=e[t(443)][t(726)](i[t(436)]);n=Array[t(705)](s[t(624)]())}else{const i=this[t(707)][t(406)][t(526)][t(532)](t(643)+s[t(446)]);n=Array[t(705)](e[t(692)][t(563)](i[t(554)]))[t(722)]((i=>e[t(443)][t(469)][t(433)](i)))[t(722)]((e=>Array[t(705)](e[t(624)]())))[t(619)]()}return this[t(490)]&&n[t(629)]((e=>e[t(630)]-3<=this[t(490)].y&&e[t(695)]+3>=this[t(490)].y&&e[t(598)]-3<=this[t(490)].x&&e[t(626)]+3>=this[t(490)].x))||n[0]}}}),this[r(451)][r(618)](r(409)))})),this.on(t(474),((e,i,s,n)=>{const r=t;this[r(455)]=s?this[r(530)](s):null,this[r(707)][r(406)][r(414)]((()=>{const t=r,e=this[t(707)][t(411)];n&&(n[t(467)][t(712)]?e[t(443)][t(414)]((i=>{const s=t;i[s(500)](s(601),e[s(443)][s(450)][s(400)](n[s(436)]))})):e[t(655)](t(643)+n.id)),s&&(s[t(467)][t(712)]?e[t(443)][t(414)]((i=>{const n=t;i[n(493)](n(601),e[n(443)][n(450)][n(400)](s[n(436)]))})):e[t(655)](t(643)+s.id))}))})),this[t(430)](this[t(707)][t(411)][t(443)][t(450)],t(697),((e,i)=>{const s=t;if(this[s(420)])return;const n=this[s(445)](i[s(583)]),r=this[s(710)][s(532)](n);r?(this[s(490)]={x:i[s(608)].x,y:i[s(608)].y},this[s(455)]=this[s(530)](r)):(this[s(490)]=null,this[s(455)]=null)})),this[t(430)](this[t(707)][t(411)][t(443)][t(450)],t(510),((e,i)=>{const s=t,n=this[s(445)](i[s(583)]),r=this[s(710)][s(532)](n);r?(this[s(490)]={x:i[s(608)].x,y:i[s(608)].y},r===this[s(420)]?this[s(451)][s(621)]():this[s(420)]=r):(this[s(490)]=null,this[s(420)]=null)}))}[Qt(445)](t){const e=Qt;do{const i=t[e(663)](e(518));if(i)return i;t=t[e(472)]}while(t);return null}[Qt(634)](){const t=Qt;this[t(707)][t(406)][t(414)]((e=>{const i=t;for(const t of this[i(707)][i(406)][i(526)])e[i(584)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(458)][r(661)](s[r(491)],i[r(554)]))return;const o=s[r(491)][r(674)](),a=s[r(491)][r(464)],c=t[r(406)][r(603)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(401)];h=h||c[r(431)](e);const i=n[r(692)][r(537)](e);if(i&&i[r(699)](r(452)))return;r(471)==t[r(557)]&&c[r(494)](e)&&!c[r(565)](e)&&(e[r(614)]||a[r(671)]?u&&u[r(472)]==e||(u=e,f(t[r(402)]),d=!0):l=l||t[r(402)])}function f(t){const i=r,o=n[i(692)][i(636)](t),a=n[i(527)][i(652)](i(639),{class:i(612)+e});n[i(527)][i(432)](o,a),n[i(692)][i(573)](a,s[i(525)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(459)][e(532)](ee);this[e(575)]=!1,this[e(430)](i,e(594),(()=>this[e(605)]())),this[e(430)](i,e(593),(()=>this[e(605)]()))}[Qt(461)](){const t=Qt,e=this[t(707)],i=e[t(459)][t(532)](ee),s=i[t(591)]?i[t(480)][t(453)]:null;e[t(534)][t(532)](t(566))[t(434)](s)}[Qt(605)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(707)][t(459)][t(532)](ee),r=n&&s[t(533)](n[t(453)]);this[t(691)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(703)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(459)][i(532)](ee);this[i(575)]=!1,this[i(703)]=i(628)===e?1:-1,this[i(430)](s,i(594),(()=>this[i(605)]())),this[i(430)](s,i(593),(()=>this[i(605)]())),this[i(430)](s,i(474),(()=>this[i(605)]()))}[Qt(461)](){const e=Qt,i=this[e(707)],s=i[e(459)][e(532)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(420)]=n?s[e(480)][e(571)][e(532)](r+this[e(703)]):s[e(480)][e(571)][e(541)],s[e(420)][e(467)][e(712)])o=i[e(411)][e(443)][e(726)](s[e(420)][e(436)]);else{const t=i[e(406)][e(526)][e(532)](e(643)+s[e(420)].id);o=(0,Z.getMarkerDomElement)(i[e(411)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(605)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(707)][t(459)][t(532)](ee);this[t(691)]=!!(r&&n&&s)&&(!e||(1===this[t(703)]?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-=157]})(t,e)}function ce(){const t=["Loading...","isReady","ck-revision-history-ui__changes-navigation__navigation","17230TEldEi","326178XQmMeq","9568071eSEmQq","bindTemplate","ck-revision-history-ui__changes-navigation__label","6347YdGlsF","bind","_isStatusLabelVisible","ck-revision-history-ui","14spbMDq","NUMBER_OF_CHANGES","EDIT_X_OF_Y_REVISIONS","set","ck-revision-history-ui__changes-navigation__wrapper","numberOfChanges","span","isEnabled","10356829qfmCnf","_statusText","isNavigationMode","setTemplate","forward","9104832oORLMz","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","Show next change","2741152NWDYFu","execute","isForwardNavigationEnabled","currentChangeNumber","10QfTeCm","Total","No changes","div","fire","72961nxscpe","Show previous change","8vtCDJq","isBackwardNavigationEnabled","ck-hidden","backward"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(857996===parseInt(e(181))/1*(-parseInt(e(199))/2)+-parseInt(e(191))/3+-parseInt(e(172))/4*(-parseInt(e(176))/5)+parseInt(e(168))/6+-parseInt(e(163))/7*(parseInt(e(183))/8)+parseInt(e(192))/9+parseInt(e(190))/10*(-parseInt(e(195))/11))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(193)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(158)](e(165),!1),this[e(158)](e(188),!1),this[e(158)](e(175),0),this[e(158)](e(160),0),this[e(158)](e(174),!1),this[e(158)](e(184),!1),this[e(196)](e(197)).to(this,e(188),this,e(160),((t,e)=>t&&e>0)),this[e(196)](e(164)).to(this,e(188),this,e(175),this,e(160),this,e(165),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(187));if(!n)return X(t,o(178));const a=X(t,o(200),n);return r?X(t,o(170),[s+1,n]):a})),s[e(158)]({label:X(t,e(182)),tooltip:!0,icon:mt.IconChevronUp}),n[e(158)]({label:X(t,e(171)),tooltip:!0,icon:mt.IconChevronDown}),s[e(196)](e(162)).to(this,e(184)),n[e(196)](e(162)).to(this,e(174)),s.on(e(173),(()=>this[e(180)](e(173),e(186)))),n.on(e(173),(()=>this[e(180)](e(173),e(167)))),this[e(166)]({tag:e(179),attributes:{class:["ck",e(198),e(169)]},children:[{tag:e(161),attributes:{class:[e(159)]},children:[{tag:e(161),attributes:{class:[e(194),i.if(e(197),e(185),(t=>!t))]},children:[{text:i.to(e(165),(i=>i?X(t,e(157))+": ":X(t,e(177))+": "))}]},{text:i.to(e(164))}]},new pt.ToolbarSeparatorView,{tag:e(179),attributes:{class:[e(189)]},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=me();return(de=function(t,e){return i[t-=442]})(t,e)}const fe=de;function me(){const t=["10841PnovdW","725838mUEokS","view","104vUKBrJ","show","RevisionViewerLoadingOverlay","hide","roots","editor","15bTzGZP","editing","ck-editor__editable__loading-overlay","660065UXpnIC","change","197217uQundt","isOfficialPlugin","6716574UCGDvf","3519840QRsXTO","pluginName","44EdDdrk","document","removeClass","addClass","1830290XAXNDK","isPremiumPlugin"];return(me=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(374780===parseInt(e(444))/1*(parseInt(e(447))/2)+parseInt(e(458))/3*(parseInt(e(463))/4)+-parseInt(e(453))/5*(-parseInt(e(445))/6)+parseInt(e(456))/7+-parseInt(e(461))/8+-parseInt(e(460))/9+-parseInt(e(442))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=fe(455);class ve extends U.Plugin{static get[fe(462)](){return fe(449)}static get[fe(459)](){return!0}static get[fe(443)](){return!0}[fe(448)](){const t=fe,e=this[t(452)][t(454)][t(446)];e[t(457)]((i=>{const s=t;for(const t of e[s(464)][s(451)])i[s(466)](pe,t)}))}[fe(450)](){const t=fe,e=this[t(452)][t(454)][t(446)];e[t(457)]((i=>{const s=t;for(const t of e[s(464)][s(451)])i[s(465)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=191]})(t,e)}function ke(){const t=["isReady","560834cDtZDu","forward","restoreRevision","exitToEditing","60585xnVMSv","closeRevisionViewerCallback","requires","currentChangeNumber","69472ihXfyx","isOfficialPlugin","componentFactory","revisionHistory","execute","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","pluginName","listenTo","4241972WCGkcN","3BJUMRc","get","change:isReady","RevisionViewerUI","hide","2287212ATPmOo","editor","add","numberOfChanges","plugins","changesNavigation","commands","bind","1249434hdZSzA","showPreviousChange","isForwardNavigationEnabled","config","init","6RknMbj","show","Restore this revision","isPremiumPlugin","Back to editing","2263136tmJdEq","showNextChange","isEnabled","isNavigationMode","set"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(308701===-parseInt(e(207))/1+parseInt(e(199))/2+parseInt(e(217))/3*(parseInt(e(222))/4)+-parseInt(e(203))/5+-parseInt(e(235))/6*(parseInt(e(216))/7)+parseInt(e(193))/8+-parseInt(e(230))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(214)](){return ge(220)}static get[ge(208)](){return!0}static get[ge(191)](){return!0}static get[ge(205)](){return[ee,ve]}[ge(234)](){const t=ge,e=this[t(223)],i=e[t(226)][t(218)](ee),s=e[t(226)][t(218)](ve);e.ui[t(209)][t(224)](t(202),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(197)]({label:X(i,s(192)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(213)}),this[s(215)](n,s(211),(()=>{const t=s;e[t(233)][t(218)](t(210))[t(204)]()})),n})),e.ui[t(209)][t(224)](t(201),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(197)]({label:X(i,s(237)),withText:!0,tooltip:!0}),n[s(229)](s(195)).to(e[s(228)][s(218)](s(201))),this[s(215)](n,s(211),(()=>e[s(211)](s(201)))),n})),e.ui[t(209)][t(224)](t(227),(s=>{const n=t,r=new ue(s),o=e[n(228)][n(218)](n(231)),a=e[n(228)][n(218)](n(194));return r[n(229)](n(212)).to(o,n(195)),r[n(229)](n(232)).to(a,n(195)),r[n(229)](n(198),n(206),n(225),n(196)).to(i),this[n(215)](r,n(211),((t,i)=>{const s=n;e[s(211)](s(200)===i?s(194):s(231))})),r})),s[t(236)](),i.on(t(219),((e,i,n)=>{const r=t;n?s[r(221)]():s[r(236)]()}))}}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=Oe;function Se(){const t=["502976oswEQR","ck-revision-history-sidebar__revision-name","Enter the revision name","set","input","extendTemplate","24431RNoaBa","_tooltipString","placeholder","1828640vJztTd","4273864xIGHUV","bindTemplate","ck-tooltip_multi-line","scrollWidth","element","2991160PsrFys","listenTo","12mzglcQ","_updateTooltipText","9rFiYsE","span","render","4755090clYHks","21480NsxSJM","clientWidth","destroy","fieldView","_resizeObserver","Revision name","value","92484AhnkmO","355jJlHeh"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=189]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(974e3===-parseInt(e(199))/1+-parseInt(e(208))/2+-parseInt(e(189))/3+parseInt(e(197))/4*(-parseInt(e(198))/5)+parseInt(e(216))/6*(parseInt(e(209))/7)+parseInt(e(214))/8*(-parseInt(e(218))/9)+parseInt(e(190))/10*(parseInt(e(205))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(194)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(210)];this[i(202)]({label:X(t,i(195)),_tooltipString:""}),this[i(193)][i(207)]=X(t,i(201)),this[i(204)]({tag:i(219),attributes:{class:[i(200)],"data-cke-tooltip-text":s.to(i(206)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(211)}})}[Ie(220)](){const e=Ie;super[e(220)](),this[e(194)]=new t.ResizeObserver(this[e(193)][e(213)],(()=>this[e(217)]())),this[e(215)](this[e(193)],e(203),(()=>this[e(217)]()))}[Ie(192)](){const t=Ie;super[t(192)](),this[t(194)]&&this[t(194)][t(192)]()}[Ie(217)](){const t=Ie,e=this[t(193)][t(213)];this[t(206)]=e[t(212)]>e[t(191)]&&e[t(196)]||""}}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(t,e){const i=Ae();return(Re=function(t,e){return i[t-=495]})(t,e)}function Ae(){const t=["0 0 11 10","span","249270quksGA","329234GdDPmD","push","ck-revision-history-sidebar__revision-author_creator","87248PTZRgO","Revision creator","name","1163844QuQJhL","365154ntnnIk","469725QubIOr","Revision author","782655RomLQn","setTemplate","ck-revision-history-sidebar__revision-author","set","ck-revision-history-sidebar__revision-author__name"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(155193===parseInt(e(510))/1+-parseInt(e(511))/2+parseInt(e(501))/3+-parseInt(e(499))/4+parseInt(e(503))/5+parseInt(e(500))/6+-parseInt(e(496))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Me extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(506)]({content:mt.IconUser,viewBox:s(508)});const r=["ck",s(505)];i&&r[s(512)](s(495));const o=[{tag:s(509),attributes:{class:["ck",s(507)],title:X(t,s(i?497:502))},children:[n,e[s(498)]]}];this[s(504)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Ee();return(De=function(t,e){return i[t-=121]})(t,e)}function Ee(){var t=["873dCnltF","numeric","long","692CTNwRl","1534740hHjCXu","toLocaleDateString","8978321fbzowv","12ffQCSi","toLocaleTimeString","6366JFOeFB","34624xZhNUH","2853592tvIpET","479988CgQkZR","198240MkzjrB","1nWWPva"];return(Ee=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(321763===-parseInt(e(135))/1*(parseInt(e(133))/2)+parseInt(e(130))/3*(parseInt(e(124))/4)+-parseInt(e(125))/5*(parseInt(e(128))/6)+-parseInt(e(132))/7+parseInt(e(131))/8*(parseInt(e(121))/9)+-parseInt(e(134))/10+parseInt(e(127))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=178]})(t,e)}function je(){const t=["bindTemplate","Name this revision","stopPropagation","model","set","action","bind","ck-on","579519IwyEOe","children","button","listView","panelPosition","extendTemplate","3127516LFKGjf","first","ck-revision-history-sidebar__revision__actions","class","4218vJvJyS","locale","27chegYk","listenTo","name","items","Compare against selected","Restore this revision","isReady","374840INDTHZ","270630ocMwVZ","isVisible","find","Show more items","menuitem","isOpen","_action","change:isActionsDropdownOpen","add","924890lRZJab","menu","buttonView","isActionsDropdownOpen","function","48992sXbVcX","1oUcbuA","2155KLGaKV","isEnabled","source","map","execute"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(300633===parseInt(e(205))/1*(-parseInt(e(199))/2)+parseInt(e(219))/3+-parseInt(e(204))/4+-parseInt(e(206))/5*(-parseInt(e(180))/6)+parseInt(e(225))/7+parseInt(e(189))/8*(-parseInt(e(182))/9)+-parseInt(e(190))/10)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=Ue();return(We=function(t,e){return i[t-=398]})(t,e)}function Ue(){const t=["unshift","revisionActionsView","isSelected","isReady","select","ck-disabled","873248GFLxhA","_revision","div","extendTemplate","1946IGGtUe","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","uiLanguage","value","550VHWCIO","29598PZMmuJ",".ck-thread__remove-confirm","isHighlighted","closest","ck-revision-history-sidebar__revision__date","listenTo","_requireRevisionName","ck-reset","change","unhighlight","highlight","fieldView","from","createdAt","220","revisionNameView","set","1131yohcVY","42327URqpSd","ck-revision-history-sidebar__actions_dropdown_open","authors","456208QBlJfg","ck-revision-history-sidebar__revision_highlighted","isConfirm","element","map","226583EkvXpa","span","fire","ck-revision-history-sidebar__revision-wrapper","1739738cWIjAp","110DPyLOd","name","ck-revision-history-sidebar__revision_selected","bindTemplate","_createdAtFormatted","srcElement","length","setTemplate","creator","isEnabled","deselect","isActionsDropdownOpen","render","bind","21fZoMSY","filter","ck-revision-history-sidebar__revision","setName","ck-revision-history-sidebar__revision__controls-wrapper"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(195995===parseInt(e(450))/1+-parseInt(e(418))/2*(-parseInt(e(441))/3)+-parseInt(e(414))/4+-parseInt(e(455))/5*(parseInt(e(424))/6)+parseInt(e(403))/7*(-parseInt(e(445))/8)+parseInt(e(442))/9*(parseInt(e(423))/10)+-parseInt(e(454))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(439)];[ze(409)];[ze(415)];[ze(430)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(458)],a=function(t,e){const i=r,s=Array[i(436)](e[i(444)])[i(404)]((t=>t!=e[i(463)]));return e[i(463)]&&s[i(408)](e[i(463)]),s[i(449)]((s=>new Me(t,s,s==e[i(463)])))}(e,i);this.id=i.id,this[r(415)]=i,this[r(430)]=n,this[r(402)](r(456),r(437)).to(i),this[r(402)](r(459)).to(this,r(437),(t=>{return i=e[r(421)],(s=t)[(n=De)(126)](i,{month:n(123),day:n(122)})+", "+s[n(129)](i,{hour:n(122),minute:n(122)});var i,s,n})),this[r(440)](r(410),!1),this[r(440)](r(426),!1),this[r(440)](r(400),!1),this[r(440)](r(411),!1),this[r(440)](r(398),!1),this[r(439)]=new Te(e,pt.createLabeledInputText),this[r(439)][r(435)][r(417)]({attributes:{maxlength:r(438)}}),this[r(439)][r(435)][r(402)](r(422)).to(this,r(456),(t=>t||this[r(459)])),this[r(439)][r(402)](r(398)).to(this,r(410),this,r(398),((t,e)=>t&&e)),this[r(409)]=s&&s[r(461)]?function(e,i){const s=Fe,n=e[s(211)],r=e[s(181)],o=(0,pt.createDropdown)(r);o[s(223)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(181)],n={"Compare against selected":X(s,i(186)),"Name this revision":X(s,i(212)),"Restore this revision":X(s,i(187))};return e[i(209)]((t=>{const e=i,s=n[t[e(184)]];return s&&s!==t[e(184)]&&(t[e(184)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(221),model:new pt.ViewModel({label:t[n(184)],class:t[n(179)],withText:!0,role:n(194),_action:t[n(216)]})};i[n(214)][n(217)](n(207)).to(e,n(202),(i=>n(203)!=typeof t[n(207)]||!i||t[n(207)](e))),o[n(198)](i)}return o}(e,i);return e[s(217)](s(202)).to(o,s(195)),o[s(201)][s(215)]({label:X(r,s(193)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(224)]({attributes:{class:[s(178),n.if(s(202),s(218))]},on:{click:n.to((t=>t[s(213)]()))}}),o.on(s(210),(t=>{const i=s;e[i(188)]&&i(203)==typeof t[i(208)][i(196)]&&t[i(208)][i(196)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(200)}),o[s(183)](e,s(197),((t,n,r)=>{const a=s;if(r)for(const t of o[a(222)][a(185)]){const s=t[a(220)][a(226)],n=i[a(192)]((t=>t[a(216)]===s[a(196)]))[a(191)];t[a(191)]=void 0===n||n(e)}})),o}(this,s):"",this[r(409)]&&this[r(409)][r(402)](r(398)).to(this),this[r(462)]({tag:r(416),attributes:{class:["ck",r(431),r(453),o.if(r(447),r(420))]},children:[{tag:r(416),attributes:{class:["ck",r(431),r(405),o.if(r(398),r(413),(t=>!t)),o.if(r(410),r(457)),o.if(r(426),r(446)),o.if(r(400),r(443))]},children:[this[r(439)],{tag:r(451),attributes:{class:["ck",r(428)]},children:[{text:o.to(r(459))}]},{tag:r(416),attributes:{class:["ck",r(407)]},children:[{tag:"ul",attributes:{class:["ck",r(419)]},children:a}]},this[r(409)]],on:{click:o.to((t=>{const e=r;t[e(460)][e(427)](e(425))||this[e(411)]&&this[e(398)]&&this[e(452)](e(412),{id:this.id})}))}}]})}[ze(401)](){const t=ze;super[t(401)]();const e=this[t(439)][t(435)][t(448)];this[t(429)](e,t(432),(()=>{const i=t;this[i(430)]&&!e[i(422)]||this[i(452)](i(406),{id:this.id,name:e[i(422)]}),e[i(422)]||(e[i(422)]=this[i(456)]?this[i(456)]:this[i(459)])}))}[ze(412)](){this[ze(410)]=!0}[ze(399)](){this[ze(410)]=!1}[ze(434)](){this[ze(426)]=!0}[ze(433)](){this[ze(426)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Je extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,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 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 Zs(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 Mi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Ei={};let Vi={};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 Ms(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=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[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,Mi={},Ei={},Vi={}}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=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?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,Qs,(()=>{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${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?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 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"},Ji={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]},Yi=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 Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=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 Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.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,...Js(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,...Js(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Js(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Js(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 Je("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 Ms(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 Vs(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 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}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Js(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["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 Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Ys];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 Xs=["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[...Xs];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 Ms(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 Qs(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:Vs(t[e+3])},null,e+4]}function xn(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 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 Mn(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(Vs(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?Us(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?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(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: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,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Jn=mn(Tn,xn,Nn);const Yn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="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 Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(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 Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(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,Yn])}(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 Ye(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):Xn}toHuman(t={}){if(!this.isValid)return Xn;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||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(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Ji){const[i,n]=Ji[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 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,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(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 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=Vs(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 Je("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",Mr=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 Vr(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+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(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},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Jr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["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 Ye(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=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_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 Qr(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 Xr(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||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]=Xr(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]=Xr(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=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.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:Ui.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=Ui.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 Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Je("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Jr,v=qr,g=ps(g,r,o)):u?(p=Yr,v=$r,g=gs(g)):(p=Br,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,$n],[Zn,Bn],[Hn,Jn])}(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),[Vn,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=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}=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,Qn])}(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,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?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(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=$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 Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Je("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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(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(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 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=Ui.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-=398]})(t,e)}function ro(){const t=["setLocale","516510gqwHxh","monthLong","10rzuJcf","startOf","1IiHDQL","hasSame","8327040OBggov","toJSDate","1647608ykZcgn","local","3zpNVqc","month","minus","8557596hFwPVN","year","fromJSDate","week","7032QSuRWB","toRelativeCalendar","weekdayLong","7672AOeQjP","15328610DHBtIL","2005288ETvXfd","day"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(406)](t)[i(415)](e),n=io[i(400)](),r=n[i(403)]({days:1})[i(419)](i(414));let o,a;return s[i(421)](n,i(414))?(o=s[i(419)](i(414))[i(398)](),a=s[i(409)]()):s[i(421)](r,i(414))?(o=r[i(398)](),a=s[i(409)]()):s[i(421)](n,i(407))?(o=s[i(419)](i(407))[i(398)](),a=s[i(410)]||""):s[i(421)](n,i(405))?(o=s[i(419)](i(402))[i(398)](),a=s[i(417)]||""):(o=s[i(419)](i(405))[i(398)](),a=String(s[i(405)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(742130===-parseInt(e(420))/1*(-parseInt(e(399))/2)+-parseInt(e(401))/3*(-parseInt(e(413))/4)+parseInt(e(416))/5+parseInt(e(408))/6*(-parseInt(e(411))/7)+parseInt(e(422))/8+parseInt(e(404))/9+parseInt(e(418))/10*(-parseInt(e(412))/11))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=ho();return(lo=function(t,e){return i[t-=275]})(t,e)}function ho(){const t=["2325526ZOCKzx","find","ck-revision-history-sidebar__time-period","startDate","div","10465407HcQSti","8TxFGLy","_requireRevisionName","ck-revision-history-sidebar__time-period__label","setName","span","remove","_revisionActions","delegate","setTemplate","15UZKhwe","select","112340BclkkF","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","revisionViews","881202vdidnq","addRevision","removeRevision","add","301984CZvhrq","391825SJxsOp","createCollection","uiLanguage","locale","262079MLaKet"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(203378===-parseInt(e(294))/1+-parseInt(e(281))/2+-parseInt(e(279))/3*(parseInt(e(289))/4)+-parseInt(e(290))/5+parseInt(e(285))/6+-parseInt(e(295))/7*(parseInt(e(301))/8)+parseInt(e(300))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(298)];[uo(284)];[uo(276)];[uo(302)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(293)][n(292)])[n(283)];this[n(298)]=e,this[n(284)]=this[n(291)](),this[n(276)]=i,this[n(302)]=s,this[n(284)][n(277)](n(280)).to(this),this[n(284)][n(277)](n(304)).to(this),this[n(278)]({tag:n(299),attributes:{class:["ck",n(297)]},children:[{tag:n(305),attributes:{class:["ck",n(303)]},children:[{text:r}]},{tag:n(299),attributes:{class:["ck",n(282)]},children:this[n(284)]}]})}[uo(286)](t){const e=uo,i=new Ze(this[e(293)],t,this[e(276)],this[e(302)]);this[e(284)][e(288)](i)}[uo(287)](t){const e=uo,i=this[e(284)][e(296)]((e=>e.id===t.id));this[e(284)][e(275)](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(){const t=["1207997iDfJWt","10wUCnhF","content","setTemplate","24esCQMw","485238czzLXm","span","4144735uIsrUW","div","1278258cNmtiM","2521712ROPZWR","362iJLQRP","ck-revision-history-sidebar__header__label","1439757LUkJZJ","ck-revision-history-sidebar__header","2474GNyzec","ck-reset_all","Revision history"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(420002===parseInt(e(463))/1*(parseInt(e(459))/2)+-parseInt(e(457))/3+parseInt(e(458))/4+-parseInt(e(455))/5+-parseInt(e(453))/6+-parseInt(e(448))/7*(-parseInt(e(452))/8)+-parseInt(e(461))/9*(-parseInt(e(449))/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(450)]=mt.IconHistory,this[e(451)]({tag:e(456),attributes:{class:["ck",e(446),e(462)]},children:[i,{tag:e(454),attributes:{class:["ck",e(460)]},children:[X(t,e(447))]}]})}}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=So();return(_o=function(t,e){return i[t-=333]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(728537===-parseInt(e(352))/1*(parseInt(e(363))/2)+-parseInt(e(366))/3+parseInt(e(351))/4+parseInt(e(385))/5+parseInt(e(377))/6*(parseInt(e(362))/7)+-parseInt(e(383))/8*(parseInt(e(338))/9)+parseInt(e(373))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class Io extends pt.View{[wo(356)];[wo(334)];[wo(371)];[wo(350)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(340)];this[n(356)]=this[n(370)](),this[n(356)][n(355)](n(347)).to(this),this[n(356)][n(355)](n(343)).to(this),this[n(334)]=e,this[n(371)]=i,this[n(350)]=s,this.on(n(347),((t,e)=>{const i=n;this[i(380)](i(386),e)})),this.on(n(343),((t,e)=>{const i=n;this[i(380)](i(378),e)})),this[n(358)](n(360),!1),this[n(357)]({tag:n(353),attributes:{class:["ck",n(333),n(336),n(364)]},children:[new yo(t),{tag:n(353),attributes:{class:["ck",n(365),r.if(n(360),n(337),(t=>!t))]},children:this[n(356)]}]})}[wo(382)](){const t=wo;super[t(382)]();for(const e of this[t(334)])this[t(345)](e);this[t(334)].on(t(381),((e,i)=>{this[t(345)](i)})),this[t(334)].on(t(349),((e,i)=>{this[t(375)](i)}))}get[wo(368)](){const t=wo;return this[t(356)][t(348)]((e=>e[t(368)][t(348)]((t=>t))))[t(379)]()}[wo(361)](t){const e=wo;for(const i of this[e(368)])t&&t.id===i.id?i[e(347)]():i[e(341)]()}[wo(384)](t){const e=wo;for(const i of this[e(368)])t[e(376)]((({id:t})=>t===i.id))?i[e(344)]():i[e(354)]()}[wo(345)](t){const e=wo,i=oo(t[e(387)],this[e(374)][e(372)])[e(346)];let s=this[e(356)][e(367)](0);s&&s[e(346)][e(339)]()===i[e(339)]()||(s=new fo(this[e(374)],i,this[e(371)],this[e(350)]),this[e(356)][e(381)](s)),s[e(369)](t)}[wo(375)](t){const e=wo,i=oo(t[e(387)],this[e(374)][e(372)])[e(346)];this[e(359)](i)[e(342)](t)}[wo(359)](t){const e=wo;return this[e(356)][e(335)]((i=>i[e(346)][e(339)]()===t[e(339)]()))}}function So(){const t=["map","remove","_requireRevisionName","5096984fZgPWk","9661qOYisa","div","unhighlight","delegate","timePeriodViews","setTemplate","set","_getTimePeriodViewByStartDate","isEnabled","selectRevision","4279604yKeiCX","88hodCvM","ck-revision-history-sidebar","ck-revision-history-sidebar__timeline","3207078cMdcBT","get","revisionViews","addRevision","createCollection","_revisionActions","uiLanguage","1669170rzCWHL","locale","_removeRevision","some","6PwKjMT","revisionSetName","flat","fire","add","render","9153912TEwxiy","highlightRevisions","6571755eiGRwW","revisionSelected","createdAt","ck-reset","_revisions","find","ck-rounded-corners","ck-disabled","9JvwPfo","getTime","bindTemplate","deselect","removeRevision","setName","highlight","_addRevision","startDate","select"];return(So=function(){return t})()}const Oo=To;function To(t,e){const i=Ro();return(To=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(874631===-parseInt(e(244))/1+parseInt(e(228))/2+parseInt(e(251))/3*(-parseInt(e(202))/4)+-parseInt(e(212))/5+-parseInt(e(249))/6+parseInt(e(198))/7+parseInt(e(238))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class xo extends U.Plugin{[Oo(232)];[Oo(204)];[Oo(246)];static[Oo(231)]=[Oo(221),Oo(236),Oo(200)];static[Oo(214)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(234),action:({plugins:e},i)=>{const s=t,n=e[s(242)](ee),r=n[s(269)];let o=n[s(216)][s(205)],a=i.id;r[s(209)](o)>r[s(209)](a)&&([o,a]=[a,o]),n[s(250)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(242)](ee);return!(n[s(269)][s(268)](n[s(216)])[s(272)]>2||i[s(256)])}},restoreRevision:{name:t(224),action:(e,{id:i})=>{const s=t;e[s(254)][s(242)](s(195))[s(270)](i)},isVisible:({plugins:e},i)=>!!e[t(242)](ee)[t(269)][t(222)](i.id)},nameRevision:{name:t(262),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(242)](ee),o=r[n(269)][n(208)](i);r[n(250)](i,o),s[n(247)](),s[n(225)][n(207)]()}}}}();static get[Oo(213)](){return Oo(271)}static get[Oo(264)](){return!0}static get[Oo(229)](){return!0}static get[Oo(215)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(232)]=t[e(265)][e(242)](ee),this[e(204)]=this[e(232)][e(269)],this[e(246)]=null}[Oo(211)](){const t=Oo,e=this[t(204)][t(239)],i=this[t(235)](),s=this[t(210)][t(254)][t(242)](t(253));this[t(246)]=new Io(this[t(210)][t(219)],e,i,this[t(210)][t(254)][t(242)](t(266))),this[t(246)].on(t(258),this[t(263)][t(203)](this)),this[t(246)].on(t(227),this[t(267)][t(203)](this)),this[t(246)][t(203)](t(237)).to(this[t(232)]),this[t(246)][t(218)].on(t(226),((e,i)=>{const s=t;i[s(252)].on(s(226),((t,e)=>{const i=s;e[i(203)](i(237),i(257)).to(this[i(232)])}))})),this[t(246)][t(220)](),this[t(260)](this[t(210)][t(194)],t(241),this[t(259)][t(203)](this)),this[t(260)](this[t(232)],t(193),this[t(261)][t(203)](this)),s[t(233)](this[t(246)][t(243)])}[Oo(248)](){const t=Oo;this[t(246)][t(243)][t(196)](),this[t(246)][t(248)]()}[Oo(259)](){const t=Oo,e=this[t(204)][t(199)](0);if(e){const i=this[t(204)][t(208)](e.id);this[t(232)][t(250)](e,i)}}[Oo(263)](t,e){const i=Oo,s=this[i(204)][i(199)](e.id),n=this[i(204)][i(208)](s.id);this[i(232)][i(250)](s,n)}[Oo(267)](t,e){const i=Oo;this[i(204)][i(199)](e.id)[i(223)](e[i(230)])}[Oo(261)](t,e,i){const s=Oo,n=this[s(204)][s(268)](i);n[s(272)]>2?(this[s(246)][s(201)](n),this[s(246)][s(206)](null)):(this[s(246)][s(201)]([]),this[s(246)][s(206)](n[0]))}[Oo(235)](){const t=Oo,e=this[t(210)],i=xo[t(214)],s=e[t(254)][t(242)](t(240))||xo[t(231)];if(s[t(272)])return s[t(217)]((s=>{const n=t,r=n(245)==typeof s?Object[n(273)]({},i[s]):s;return r[n(197)]=r[n(197)][n(203)](this,e),r[n(255)]&&(r[n(255)]=r[n(255)][n(203)](this,e)),r}))}}const No=xo;function Ro(){const t=["editor","init","5945640JuXeOZ","pluginName","availableRevisionActions","requires","diff","map","timePeriodViews","locale","render","compareAgainstSelected","getLaterVisibleRevision","setName","Restore this revision","fieldView","add","revisionSetName","3261268mDGezK","isPremiumPlugin","name","defaultRevisionActions","_revisionViewer","appendChild","Compare against selected","_createRevisionActions","restoreRevision","isEnabled","14847232hosJpJ","_revisions","revisionHistory.revisionActions","ready","get","element","1097324TbFmby","string","_sidebarView","focus","destroy","7754586XyfFFy","compare","1818vswKvG","revisionViews","revisionHistory.viewerSidebarContainer","config","isVisible","isSelected","isReady","revisionSelected","_handleEditorDataReady","listenTo","_handleDiffChange","Name this revision","_handleRevisionSelected","isOfficialPlugin","plugins","revisionHistory.requireRevisionName","_handleRevisionSetName","getRevisionsInDiff","repository","restoreRevisionCallback","RevisionsSidebar","length","assign","change:diff","data","revisionHistory","remove","action","6904576ridWFD","getRevision","nameRevision","highlightRevisions","128fRjpGy","bind","_revisionsRepository","newRevisionId","selectRevision","select","getEarlierVisibleRevision","getIndex"];return(Ro=function(){return t})()}const Ao=Do;function Mo(){const t=["get","100KuDIpa","rootName","limiterElement","12tjALXk","detachDomRoot","_toolbarConfig","fire","document","8aZaccz","_view","isActive","2766102SwNirv","viewportOffset","render","editor","view","stickyPanel","4350593rYYLkc","addToolbar","replace","config","355690cNMMfb","88017HjOxEe","77WfCJtU","isFocused","element","ready","name","10tUcxqE","focusTracker","5zytZvk","editing","attachDomRoot","_elementReplacer","bind","viewportTopOffset","componentFactory","getRoot","fillFromConfig","8945928MGkyhl","_initToolbar","init","374930CkRbWe","toolbar","setEditableElement","6027252noHlMm","destroy","restore","editable"];return(Mo=function(){return t})()}function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(553200===parseInt(e(126))/1*(parseInt(e(138))/2)+-parseInt(e(118))/3*(parseInt(e(146))/4)+parseInt(e(124))/5*(-parseInt(e(107))/6)+parseInt(e(141))/7*(parseInt(e(104))/8)+parseInt(e(135))/9+parseInt(e(117))/10*(-parseInt(e(119))/11)+-parseInt(e(149))/12*(parseInt(e(113))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends pt.EditorUI{[Ao(105)];[Ao(151)];[Ao(129)];get[Ao(111)](){return this[Ao(105)]}constructor(e,i){const s=Ao;super(e),this[s(105)]=i,this[s(151)]=(0,pt.normalizeToolbarConfig)(e[s(116)][s(145)](s(139))),this[s(129)]=new t.ElementReplacer}get[Ao(121)](){const t=Ao;return this[t(111)][t(121)]}[Ao(137)](t){const e=Ao,i=this[e(110)],s=this[e(111)],n=i[e(127)][e(111)],r=s[e(144)],o=n[e(153)][e(133)]();r[e(123)]=o[e(147)],s[e(109)]();const a=r[e(121)];this[e(140)](r[e(123)],a),s[e(144)][e(130)](e(120)).to(this[e(125)]),n[e(128)](a),this[e(129)][e(115)](t,this[e(121)]),this[e(136)](),this[e(152)](e(122))}[Ao(142)](){const t=Ao;super[t(142)]();const e=this[t(111)],i=this[t(110)][t(127)][t(111)];this[t(129)][t(143)](),i[t(150)](e[t(144)][t(123)]),e[t(142)]()}[Ao(136)](){const t=Ao,e=this[t(111)];e[t(112)][t(130)](t(106)).to(this[t(125)],t(120)),e[t(112)][t(148)]=e[t(121)],e[t(112)][t(130)](t(131)).to(this,t(108),(({top:t})=>t)),e[t(139)][t(134)](this[t(151)],this[t(132)]),this[t(114)](e[t(139)])}}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;var Fo=jo;function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=398]})(t,e)}function Lo(){var t=["348paLWQd","shouldToolbarGroupWhenFull","10MuAOix","183812pkparE","1627cFIgNb","454860ARczpF","editable","88QEWqkr","render","4339686xuvVBG","474887BJfbsO","155890NDWVGA","toolbar","stickyPanel","top","content","137665rNAqIs","156BeviCO","add","main","_editable","744ZPonaU","42BOJVzp"];return(Lo=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(529853===parseInt(e(417))/1*(parseInt(e(413))/2)+-parseInt(e(412))/3*(-parseInt(e(416))/4)+parseInt(e(401))/5*(-parseInt(e(407))/6)+parseInt(e(400))/7*(-parseInt(e(420))/8)+-parseInt(e(418))/9*(-parseInt(e(415))/10)+parseInt(e(406))/11*(parseInt(e(411))/12)+parseInt(e(399))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(410)];[Fo(403)];[Fo(402)];get[Fo(419)](){return this[Fo(410)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(403)]=new pt.StickyPanelView(t),this[s(402)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(414)]}),this[s(410)]=new pt.InlineEditableUIView(t,e)}[Fo(398)](){var t=Fo;super[t(398)](),this[t(403)][t(405)][t(408)](this[t(402)]),this[t(404)][t(408)](this[t(403)]),this[t(409)][t(408)](this[t(419)])}}function zo(){const t=["ready","get","31368uShavX","8766580JiTXeg","initialData","config","createRoot","data","init","sourceElement","_ui","initPlugins","882sSTIrx","view","destroy","document","fire","1383977MTMAck","locale","427228GUMQWV","updateSourceElement","90634VgeooW","10eaKYWY","create","editing","884694nGbIwM","17664swtMri","6cMhoQY","model"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=241]})(t,e)}const Uo=Wo;!function(t){const e=Wo,i=t();for(;;)try{if(216766===-parseInt(e(253))/1*(parseInt(e(247))/2)+parseInt(e(251))/3+-parseInt(e(245))/4+parseInt(e(248))/5*(parseInt(e(252))/6)+-parseInt(e(243))/7+parseInt(e(257))/8*(-parseInt(e(267))/9)+parseInt(e(258))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Uo(265)];get ui(){return this[Uo(265)]}constructor(t,e){const i=Uo;super(e),this[i(264)]=t,this[i(254)][i(241)][i(261)]();const s=new Po(this[i(244)],this[i(250)][i(268)],{shouldToolbarGroupWhenFull:!0});this[i(265)]=new Eo(this,s)}[Uo(269)](){const t=Uo;return this[t(246)](),this.ui[t(269)](),super[t(269)]()}static async[Uo(249)](t,e){const i=Uo,s=new this(t,e);return await s[i(266)](),await s.ui[i(263)](t),await s[i(262)][i(263)](s[i(260)][i(256)](i(259))||""),s[i(242)](i(255)),s}}const Ho=$o;function qo(){const t=["refreshVisibility","isAttached","change","error","isOpen","addUser","revisionHistory.requireRevisionName","_closeRevisionViewer","revisionHistory","enableReadOnlyMode","fromCharCode","Restored","revision-history-viewer-opened","toolbar","removeSelectionAttribute","bind","locale","RevisionViewer","2107304EEjFgA","isEnabled","isReadOnly","RevisionViewerIntegration","fromVersion","parse","none","changesNavigation","Annotations","isReady","map","loadRevisionData","_enhanceCloseRevisionViewerCallback","disableReadOnlyMode","_viewerEditor","from","createdAt","isRevisionViewerOpen","addRevisionData","96258LUANHy","1012XYlDop","users","revisionHistory.closeRevisionViewerCallback","_restoreRevision","RevisionsRepository","removeAttribute","adapter","uiLanguage","revisionHistory.viewerEditorElement","style","has","RevisionHistoryUtils","name","catch","getRevisionDocumentData","roots","revisionHistory.restoreRevisionCallback","document","hide","showRevisionViewerCallback","long","detachRoot","RevisionHistoryUI","setSelection","Users","toJSON","destroy","then","includes","pluginName","$graveyard","display","Dialog","revisionHistory.showRevisionViewerCallback","_recalculatePageBreaks","_cleanUp","1422jFeaNQ","rootName","getMarkersGroup","get","lazyRoots","Autosave","create","numeric","element","translations","result","RestrictedEditingMode","_showRevisionViewer","keys","getUser","restoreRevision","selection","RevisionHistory","define","toVersion","markers","isPremiumPlugin","requires","createRangeIn","getAttributeKeys","creator","refreshPositioning","repository","insert","restrictedEditingException","165dcfctB","data","set","model","remove","commands","update","_getRevisionViewerEditorConfig","isAnonymous","save","4250778ygdswl","addRoot","getRevisions","toLocaleTimeString","PaginationLookup","editor","config","349398AjItxS","RevisionTracker","_enhanceShowRevisionViewerCallback","193365TFJHCa","2874htrXQN","plugins","DocumentOutlineUI","saveRevision","init","push","enqueueChange","removeMarker","join","getRoot","toLocaleDateString","getRevision","59060lswHeu","exitToEditing","closeRevisionViewerCallback","view","revision-history-missing-configuration","setAttribute","isOfficialPlugin","block","revisionHistory.editorContainer","_update","getRevisionRootsAttributes","end","revisionHistory.viewerContainer","DocumentOutline","indexOf"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=255]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(341248===-parseInt(e(342))/1+-parseInt(e(339))/2+-parseInt(e(343))/3*(-parseInt(e(256))/4)+parseInt(e(322))/5*(parseInt(e(255))/6)+parseInt(e(332))/7+parseInt(e(388))/8+-parseInt(e(292))/9*(parseInt(e(355))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(278),Ho(303)];class Jo extends U.Plugin{[Ho(302)];static get[Ho(285)](){return Ho(391)}static get[Ho(361)](){return!0}static get[Ho(313)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(398)]((t=>String[e(380)](t)))[e(351)]("")}super(t),this[e(302)]=e(366),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 Yo extends U.Plugin{[Ho(402)];static get[Ho(285)](){return Ho(309)}static get[Ho(361)](){return!0}static get[Ho(313)](){return!0}static get[Ho(314)](){return[ct,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(337)][i(338)][i(295)](i(378)))throw new t.CKEditorError(i(359),this);this[i(402)]=null,this[i(324)](i(405),!1),this[i(337)][i(338)][i(310)](i(289),(t=>this[i(304)]({...t,translations:this[i(337)][i(386)][i(301)]}))),this[i(337)][i(338)][i(310)](i(258),(t=>this[i(377)](t))),this[i(337)][i(338)][i(310)](i(272),(t=>this[i(259)](t))),this[i(337)][i(338)][i(310)](i(376),!1),this[i(341)](),this[i(400)]()}set[Ho(262)](t){const e=Ho;this[e(337)][e(344)][e(295)](e(340))[e(262)]=t}get[Ho(262)](){const t=Ho;return this[t(337)][t(344)][t(295)](t(340))[t(262)]}[Ho(406)](t){const e=Ho;return this[e(337)][e(344)][e(295)](e(340))[e(406)](t)}[Ho(354)](t){const e=Ho;return this[e(337)][e(344)][e(295)](e(260))[e(354)](t)}[Ho(334)](t){const e=Ho;return this[e(337)][e(344)][e(295)](e(260))[e(334)](t||{toJSON:!1})}[Ho(329)](){const e=Ho,i=this[e(337)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(344)][e(295)](e(340)),r=i[e(344)][e(295)](e(280))[e(257)];return s[e(383)]=[e(356),e(307),e(395)],delete s[e(296)],s[e(344)][e(348)](Jo,ee,be,class extends U.Plugin{static get[e(314)](){return[ee,e(280)]}[e(347)](){const s=e,o=this[s(337)][s(344)][s(295)](s(280));for(const t of r)t[s(330)]||o[s(306)](t.id)||o[s(375)](t);const a=n[s(319)][s(334)]();let c=null;const u=this[s(337)][s(344)][s(295)](s(387));u[s(262)]=n[s(262)],u[s(385)](s(389)).to(n),this[s(337)][s(327)][s(295)](s(307))[s(385)](s(389)).to(i,s(390),(t=>!t));for(const e of a){const i=null===e[s(317)];if(i&&e[s(311)]===e[s(392)])continue;const r=e[s(281)]();u[s(406)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(364)](r,o);else if(!o){const e=a[u(281)]();e.id=(0,t.uid)(),n[u(346)](e,a[u(311)])[u(283)]((t=>{c=t}))}}else e[u(364)](r,o)}))}}},No),s}[Ho(341)](){const t=Ho,e=this[t(337)][t(338)][t(295)](t(378))[t(275)];this[t(337)][t(338)][t(324)](t(289),(async()=>{const i=t;this[i(337)][i(379)](i(382));const s=this[i(337)][i(344)][i(295)](i(340));if(this[i(337)][i(344)][i(266)](i(297))){const t=this[i(337)][i(344)][i(295)](i(297));await t[i(331)]()}else await s[i(328)]();if(this[i(337)][i(344)][i(266)](i(336))&&this[i(337)][i(344)][i(295)](i(336))[i(290)](),this[i(337)][i(344)][i(266)](i(288))){const t=this[i(337)][i(344)][i(295)](i(288));t[i(374)]&&t[i(274)]()}const n=this[i(329)]();return e(n)[i(283)]((t=>{const e=i;return this[e(402)]=t,this[e(337)][e(344)][e(266)](e(396))&&this[e(337)][e(344)][e(295)](e(396))[e(370)](),this[e(337)][e(344)][e(266)](e(368))&&(this[e(337)][e(344)][e(295)](e(345))[e(358)][e(300)][e(265)][e(287)]=e(394)),t}))[i(269)]((t=>(console[i(373)](t),this[i(337)][i(401)](i(382)),null)))}))}[Ho(400)](){const t=Ho,e=this[t(337)][t(338)][t(295)](t(378))[t(357)];this[t(337)][t(338)][t(324)](t(258),(()=>(this[t(337)][t(344)][t(266)](t(336))&&this[t(337)][t(344)][t(295)](t(336))[t(290)](),this[t(337)][t(344)][t(266)](t(368))&&(this[t(337)][t(344)][t(295)](t(345))[t(358)][t(300)][t(265)][t(287)]=""),this[t(402)][t(344)][t(295)](t(387))[t(291)](),e(this[t(402)])[t(283)]((()=>{const e=t;if(this[e(337)][e(401)](e(382)),this[e(402)]=null,this[e(337)][e(344)][e(266)](e(396))){const t=this[e(337)][e(344)][e(295)](e(396));t[e(370)](),t[e(318)]()}})))))}[Ho(304)](t){const e=Ho,i=this[e(337)][e(338)][e(295)](e(363)),s=this[e(337)][e(338)][e(295)](e(367)),n=this[e(337)][e(338)][e(295)](e(264));return Zo[e(298)](n,t)[e(283)]((t=>(s[e(265)][e(287)]=e(362),i[e(265)][e(287)]=e(394),this[e(405)]=!0,t)))}[Ho(377)](t){const e=Ho,i=this[e(337)][e(338)][e(295)](e(363));return this[e(337)][e(338)][e(295)](e(367))[e(265)][e(287)]=e(394),i[e(265)][e(287)]="",this[e(405)]=!1,t[e(282)]()}async[Ho(259)](t){const e=Ho,i=this[e(337)],s=this[e(402)][e(344)][e(295)](e(387)),n=i[e(344)][e(295)](e(340)),r=i[e(344)][e(295)](e(267)),o=s[e(319)][e(354)](t);let a,c,u;try{await r[e(399)](o,this[e(262)]),a=r[e(270)](o),c=r[e(365)](o)}catch(t){return void console[e(373)](t)}i[e(325)][e(372)]((t=>{const s=e;for(const e of Array[s(403)](i[s(325)][s(312)][s(294)](s(321))))t[s(350)](e)})),s[e(397)]=!1,i[e(325)][e(349)]((t=>{const s=e;t[s(279)](null),t[s(384)](i[s(325)][s(273)][s(308)][s(316)]());const n=Object[s(305)](a);for(const e of i[s(325)][s(273)][s(271)])s(286)!=e[s(293)]&&e[s(371)]()&&!n[s(284)](e[s(293)])&&t[s(277)](e);for(const e of n){let n=i[s(325)][s(273)][s(352)](e);n&&n[s(371)]()||(n=t[s(333)](e));const r=c[e],o=Object[s(305)](r),u=a[e];for(const e of n[s(316)]())o[s(284)](e)||t[s(261)](e,n);for(const i of o)t[s(360)](i,c[e][i],n);t[s(326)](t[s(315)](n)),t[s(320)](i[s(323)][s(393)](u,n),n,0)}}));const l=X(i[e(386)],e(381));return u=o[e(268)]?-1==o[e(268)][e(369)](l)?l+": "+o[e(268)]:o[e(268)]:l+": "+o[e(404)][e(353)](i[e(386)][e(263)],{month:e(276),day:e(299)})+", "+o[e(404)][e(335)](i[e(386)][e(263)],{hour:e(299),minute:e(299)}),await n[e(346)]({name:u}),s[e(397)]=!0,i[e(338)][e(295)](e(378))[e(357)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=442]})(t,e)}function Ko(){var t=["2072368pMrntu","450365opkzTR","3660062EBnpyZ","2SAFiMS","202743GbsGlE","350swVnsW","30NKKbYd","2038420nqpLZE","422585YovlOn","94362pmmWOb"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(298836===parseInt(e(450))/1+parseInt(e(445))/2*(-parseInt(e(451))/3)+parseInt(e(449))/4+parseInt(e(443))/5*(parseInt(e(448))/6)+-parseInt(e(444))/7+parseInt(e(442))/8+-parseInt(e(446))/9*(parseInt(e(447))/10))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:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,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 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 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}}function L(){const t=["authors","38392zZiKvY","37620uEqidE","2WeGYzv","set","toJSON","authorsIds","1510212MdfrGJ","diffData","name","creator","1632EVAbhy","removeAttribute","213288PcJmuq","attributes","917325cmTyUW","fire","model","116QHUjWm","createdAt","_update","toVersion","setAttribute","fromVersion","map","creatorId","1470izdpiv","454825GeiRpv","setName","63gsHvYJ"];return(L=function(){return t})()}const P=z;function z(t,e){const i=L();return(z=function(t,e){return i[t-=219]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(159185===parseInt(e(239))/1*(-parseInt(e(237))/2)+parseInt(e(247))/3*(parseInt(e(224))/4)+parseInt(e(233))/5+parseInt(e(243))/6+parseInt(e(235))/7*(parseInt(e(219))/8)+parseInt(e(221))/9+parseInt(e(232))/10*(-parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class W extends((0,t.ObservableMixin)()){id;[P(246)];[P(236)];[P(244)];[P(227)];[P(229)];[P(223)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(246)]=e[i(246)]||null,this[i(236)]=e[i(236)]||[],this[i(244)]=e[i(244)]||null,this[i(227)]=e[i(227)]||0,this[i(229)]=e[i(229)]||0,this[i(240)](i(245),e[i(245)]||""),this[i(240)](i(225),e[i(225)]||new Date),this[i(240)](i(220),e[i(220)]||{})}[P(234)](t){this[P(226)]({name:t})}[P(228)](t,e){const i=P,s=A(this[i(220)]);(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(226)]({attributes:s})}[P(248)](t){const e=P,i=A(this[e(220)]);(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(226)]({attributes:i})}[P(226)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(245),i(225),i(244),i(236),i(220),i(227),i(229),i(231)];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(236)]&&(n[i(242)]=n[i(236)][i(230)]((t=>t.id)),delete n[i(236)]),this[i(222)](i(226),n,e))}[P(241)](){const t=P;return{id:this.id,name:this[t(245)],creatorId:this[t(246)]?this[t(246)].id:null,authorsIds:this[t(236)][t(230)]((t=>t.id)),diffData:this[t(244)],createdAt:this[t(225)],attributes:this[t(220)],fromVersion:this[t(229)],toVersion:this[t(227)]}}}var Z=i(782),H=i(211),U=i(783);function q(){const t=["21TeoUmV","fromCharCode","addRevision","get","getRevisionsIterator","getRevisions","earlier","editor","from","getRevisionsInDiff","join","createRevision","11Jntoha","getEarlierVisibleRevision","reverse","getLaterVisibleRevision","map","getRevision","href","authorsIds","_revisions","plugins","diffData","add","12068217mTzlhK","fromVersion","386096GjdkYm","newRevisionId","oldRevisionId","isOfficialPlugin","811884aWHnHd","data","133hPlfFG","4195755qrilfe","28387690JHRMoW","isPremiumPlugin","later","Users","100194QqobaI","getUser","attributes","afterInit","name","RevisionsRepository","creatorId","requires","230092HoOnbX","8WcmOTX","pluginName","toVersion","length","push","isNaN","toJSON","getIndex","createdAt"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=402]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(724724===-parseInt(e(436))/1+-parseInt(e(452))/2+parseInt(e(406))/3*(parseInt(e(432))/4)+-parseInt(e(439))/5+-parseInt(e(444))/6*(-parseInt(e(438))/7)+-parseInt(e(453))/8*(parseInt(e(430))/9)+-parseInt(e(440))/10*(-parseInt(e(418))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends Z.Plugin{[$(426)];static get[$(451)](){return[H.Users]}static get[$(454)](){return $(449)}static get[$(435)](){return!0}static get[$(441)](){return!0}get[$(456)](){const t=$;return this[t(426)][t(456)]}constructor(e){const i=$;super(e),this[i(426)]=new t.Collection}[$(447)](){!async function(e){const i=k([80,112,85,122,117,107,75,57,84,114,76,81,120,100,69,55,70,67,111,83,109,102,71,74,99,101,73,53,68,56,97,50,88,87,110,89,86,77,51,90,118,54,105,78,48,121,119,79,66,82,103,49,52,116,104,98,72,108,65,115,106,113]),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(402)](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([80]);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=B;return t[e(422)]((t=>String[e(407)](t)))[e(416)]("")}!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:1747353600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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(424)]);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)}[$(417)](t){const e=$,i=this[e(413)][e(427)][e(409)](e(443));return new W({id:t.id,name:t[e(448)],creator:t[e(450)]?i[e(445)](t[e(450)]):null,diffData:t[e(428)]||t[e(437)],authors:t[e(425)][e(422)]((t=>i[e(445)](t))),createdAt:new Date(t[e(405)]),attributes:t[e(446)],fromVersion:t[e(431)],toVersion:t[e(455)]})}[$(408)](t,e=0){const i=$;this[i(426)][i(429)](t,e)}[$(423)](t){const e=$;return this[e(426)][e(409)](t)}[$(411)](t={toJSON:!1}){const e=$,i=Array[e(414)](this[e(426)]);return i[e(420)](),t[e(403)]?i[e(422)]((t=>t[e(403)]())):i}[$(404)](t){const e=$;return this[e(426)][e(404)](t)}[$(419)](t){const e=$,[,i]=this[e(410)](t,{direction:e(412)});return i}[$(421)](t){const e=$,[,i]=this[e(410)](t,{direction:e(442)});return i}[$(415)](t){const e=$,i=[];for(const s of this[e(410)](t[e(433)]))if(i[e(457)](s),s.id===t[e(434)])break;return i}*[$(410)](t,{direction:e=$(412),filter:i=()=>!0}={}){const s=$,n=s(412)===e?1:-1;let r=this[s(426)][s(409)](t),o=this[s(404)](r);for(yield r;r;){if(o+=n,r=this[s(423)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["attributesAfter","data","constructor","marked","getRevisionRootsAttributes","viewChildrenToDom","1270CLTdKN","parse","6sUaLDc","4738CIFWJl","_typeCharToViewClass","forEach","domConverter","2184413wvtYGX","loadRevisionData","config","_setCustomProperty","revision-end","childNodes","_viewClassToTypeChar","getFillerOffset","map","domChildrenToView","editor","1298448zSrGmR","customProperties","processor","attributes","domDocument","revision-start","fillerOffset","1370SPQaXR","2006406uRYBtX","_makeModelFromViewString","22JMIZzb","length","_getTypeCharForViewElement","useFillerType","view","collaboration.channelId","document","div","isAttached","default","type","editing","getRevision","insertions","name","RevisionHistoryUtils","_appendChild","pluginName","string","toData","filter","toModel","children","isPremiumPlugin","append","diffData","innerHTML","htmlProcessor","data-revision-","createElement","getRevisionDocumentData","_getViewFromDiffObj","1473ZCkhwk","1236980eSqTnp","get","render","348VNBZyw","_removeRevisionMarkers","attachChange","startsWith","isOfficialPlugin","from"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(157218===-parseInt(e(553))/1+-parseInt(e(550))/2*(parseInt(e(534))/3)+parseInt(e(538))/4*(parseInt(e(499))/5)+parseInt(e(552))/6*(parseInt(e(481))/7)+parseInt(e(492))/8+parseInt(e(500))/9+-parseInt(e(535))/10*(parseInt(e(502))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends Z.Plugin{static get[J(519)](){return J(517)}static get[J(542)](){return!0}static get[J(525)](){return!0}[J(487)]=new Map([[U.ViewContainerElement,"c"],[U.ViewAttributeElement,"a"],[U.ViewEmptyElement,"e"],[U.ViewRawElement,"r"],[U.ViewUIElement,"u"]]);[J(554)]=new Map([["c",U.ViewContainerElement],["a",U.ViewAttributeElement],["e",U.ViewEmptyElement],["r",U.ViewRawElement],["u",U.ViewUIElement]]);async[J(482)](t,e){const i=J;if(t[i(527)]||!e)return;const s=this[i(491)][i(483)][i(536)](i(507)),n=await e[i(514)]({channelId:s,revisionId:t.id});t[i(527)]=n[i(527)]}[J(532)](t){const e=J,i={};for(const s in t[e(527)]){if(t[e(527)][s][e(540)]&&!t[e(527)][s][e(540)][e(510)])continue;const n=this[e(539)](JSON[e(551)](t[e(527)][s][e(515)])),r=this[e(491)][e(513)][e(506)][e(508)],o=new U.ViewDocumentFragment(r,n[e(489)]((t=>this[e(533)](t,!1))));this[e(491)][e(545)][e(494)][e(505)](e(547)),i[s]=this[e(491)][e(545)][e(494)][e(521)](o),this[e(491)][e(545)][e(494)][e(505)](e(511))}return i}[J(548)](t){const e=J,i={};for(const s in t[e(527)])t[e(527)][s][e(540)]&&!t[e(527)][s][e(540)][e(510)]||(i[s]=t[e(527)][s][e(544)]||{});return i}[J(504)](t){const e=J;return this[e(487)][e(536)](t[e(546)])}[J(533)](t,e){const i=J,s=this[i(491)][i(513)][i(506)][i(508)];if(i(520)==typeof t)return new U.ViewText(s,t);{let n,r;r="u"==t[i(512)]||"r"==t[i(512)]?[]:t[i(524)][i(489)]((t=>this[i(533)](t,e)));const o=this[i(554)][i(536)](t[i(512)])||U.ViewElement,a=this[i(491)][i(545)][i(529)][i(556)];if(n=new o(s,t[i(516)],t[i(495)],r),"u"==t[i(512)]&&t[i(524)][0]){const r=t[i(524)][0];if(n[i(537)]=function(t){const e=i,s=t[e(531)](e(509));return s[e(528)]=r,s[e(486)][0]},e){const t=new U.ViewDocumentFragment(s);t[i(518)](n);const e=Array[i(543)](a[i(549)](t,{bind:!1})),r=a[i(496)][i(531)](i(509));r[i(526)](...e),n=Array[i(543)](a[i(490)](r))[0]}}else if("r"==t[i(512)]&&t[i(524)][0]){const r=t[i(524)][0];if(n[i(537)]=function(t){t[i(528)]=r},e){const t=new U.ViewDocumentFragment(s);t[i(518)](n);const e=Array[i(543)](a[i(549)](t,{bind:!1})),r=a[i(496)][i(531)](i(509));r[i(526)](...e);const o=Array[i(543)](a[i(490)](r));o[i(503)]>1?n[i(518)](o):n=o[0]}}if(t[i(493)])for(const[e,s]of t[i(493)])n[i(484)](e,s);const c=void 0===t[i(498)]?null:t[i(498)];return null!==c&&(n[i(488)]=()=>c),n}}[J(501)](t){const e=J,i=JSON[e(551)](t),s=this[e(491)][e(513)][e(506)][e(508)],n=new U.ViewDocumentFragment(s,i[e(489)]((t=>this[e(533)](t,!0))));return this[e(491)][e(545)][e(523)](n)}[J(539)](t){const e=J;return(t=t[e(522)]((t=>!t[e(516)]||e(497)!==t[e(516)]&&e(485)!==t[e(516)])))[e(555)]((t=>{const i=e;i(520)!=typeof t&&(t[i(524)]=this[i(539)](t[i(524)]),t[i(495)]=t[i(495)][i(522)]((t=>!t[0][i(541)](i(530)))))})),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 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(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)}function rt(){const t=["_copyMarkers","createRevision","adapter","_prepareViewToSave","_baseIdsRoots","reinsert","revisionHistoryLicenseKeyTrialLimit","NEGATIVE_INFINITY","_generateTape","getChildren","detachRoot","source","getCurrentRevisionId","domDocument","addRoot","trialLimit","evaluationLimit","attributesBefore","_savedMetaData","isReady","_licenseKeyCheckInterval","attachChange","offset","_isAttached","_reset","_createFromRanges","string","config","marker","childCount","targetPosition","getRange","map","diffData","currentRevision","addRevision","outerHTML","$comment","creatorId","getWalker","revision:","_utils","sourcePosition","from","isAttached","type","getUser","add","roots","createRange","_getViewJson","elementStart","getAncestors","RealTimeCollaborationClient","_bufferUpdate","some","_authorId","oldRange","_transformMarkers","authorsIds","children","end","size","_getFromVersion","newRange","htmlProcessor","Users","parent","_findInsertionIndex","domainLimit","_loadedStateData","editor","removeRootAttribute","34786830tRrxAH","createPositionFromPath","$text","loadState","PENDING_ACTION_REVISION_HISTORY","nodeAfter","length","_fixOperation","upcast","revisionHistoryLicenseKeyExpired","_lastFrom","_touched","revision","createPositionBefore","clear","_handleRootOperation","_handleInsertOperation","_initialRevisionId","_pendingAction","find","rootsAttributes","dataToMarker","_fixPosition","model","elementEnd","RevisionsRepository","_isInit","saveRevision","_removePendingAction","loadRevisionData","for","getFillerOffset","featureNotAllowed","getOperation","_saveMetaData","insertionPosition","Empty document","11839392wXtjci","RevisionTracker","data","locale","_loadState","howMany","conversion","_lastTo","getTime","_makeModelFromViewString","insertion","tableCell","shift","_startingRevisionId","version","_bufferedUpdates","_startingVersion","repository","_handleRootAttributeOperation","authors","fromVersion","filter","hasContent","nodes","_showLicenseError","element","reInit","getAttributes","addRevisionData","fillerOffset","_revisionDataBuilder","offsetSize","domConverter","dataDowncast","createPositionAfter","move","_appendChild","_setConversion","customProperties","then","getData","PendingActions","setSource","root","update","getIndex","changeRootAttribute","merge","_execute","newValue","invalid","split","getRevisionDocumentData","setRevisionData","startsWith","createdAt","vid","text","revisionHistoryLicenseKeyNotAllowed","11489128kyVfcW","RevisionHistoryUtils","Initial revision","_idsRoots","markers","name","_touchedRoots","getMovedRangeStart","toVersion","_getTypeCharForViewElement","toView","slice","_createCurrentRevision","affectsData","_cloneOperation","rawElement","ready","vid_start","values","_setAttribute","getRevision","revisionHistoryLicenseKeyUsageLimit","RevisionHistory","_getVidAttributeName","_makeIdsRoot","baseVersion","_removeMetaData","_fixRange","plugins","55xdOoZZ","28IBVUjJ","_operations","bind","stringify","trim","_update","documentFragment","_isPendingUpdate","revisionHistoryLicenseKeyInvalid","keys","sort","isPremiumPlugin","keepParagraph","_handleSplitOperation","rootName","_revisionId","history","isOfficialPlugin","_baseRootsAttributes","document","_diffRoots","previousPosition","push","remove","define","sendBufferedUpdates","_touchedMarkers","_calculateMetaData","getAttribute","path","start","markerToData","licenseKey","deletion","deletions","stickiness","_handleMarkerOperation","_getBaseVids","item","initial","836910ABuZNk","collaboration.channelId","_insertChild","_diffRootsAttributes","_handleOperation","position","range","expired","_getState","_addPendingAction","buildRevisionData","key","uiElement","initialData","graveyardPosition","getRevisions","delete","has","_applyOperations","getTransformedByOperation","_markers","isAdd","_markChanges","createRangeIn","clone","4GdyIFr","163004IjatXx","getRootNames","_processRootBeforeSave","getRoot","_clone","getLatestVersion","splitPosition","editor-initial-data-replaced-with-revision-data","getCustomProperties","reverse","set","innerHTML","636259muGquv","resolve","fromEntries","paragraph","pluginName","isEqual","max","creator","render","createElement","addRootAttribute","insertions","attributesAfter","userId","_source","$graveyard","get","usageLimit","_createInitialRevision","init","requires","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyValid","createPositionAt","insert","finally","isEnabled","1130001xYtSEN","destroy","vid_end","revisionHistory.resumeUnsavedRevision","getChild","_baseRoots","getRevisionRootsAttributes","_replaceEditorDataWithRevisionData","getNodeByPath","getOperations","revisionHistoryLicenseKeyDomainLimit","afterInit","includes","_handleMoveOperation","_handleMergeOperation","updateRevisions","_continueCurrentRevision","_makeRevision","_getPreviousFrom"];return(rt=function(){return t})()}const ot=at;function at(t,e){const i=rt();return(at=function(t,e){return i[t-=167]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(962236===-parseInt(e(350))/1+-parseInt(e(337))/2*(parseInt(e(377))/3)+-parseInt(e(338))/4*(parseInt(e(271))/5)+parseInt(e(312))/6*(-parseInt(e(272))/7)+-parseInt(e(242))/8+parseInt(e(183))/9+parseInt(e(469))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ct extends Z.Plugin{[ot(304)];[ot(416)];[ot(430)]=null;[ot(200)];[ot(398)]=null;[ot(213)];[ot(364)];[ot(486)];[ot(198)];[ot(437)];[ot(487)];[ot(393)];[ot(199)];[ot(466)];static get[ot(354)](){return ot(184)}static get[ot(289)](){return!0}static get[ot(283)](){return!0}static get[ot(370)](){return[H.Users,Y,X,Z.PendingActions]}constructor(e){const i=ot;super(e),this[i(200)]=this[i(467)][i(270)][i(366)](i(171)),this[i(437)]=this[i(467)][i(270)][i(366)](i(243)),this[i(213)]=new ut(this[i(467)]),this[i(486)]=this[i(467)][i(423)][i(366)](i(313))||i(311),this[i(198)]=new Map,this[i(466)]=null;const s=(0,t.uid)();this[i(364)]={history:this[i(467)][i(169)][i(291)][i(288)],getLatestVersion:()=>Promise[i(351)](this[i(467)][i(169)][i(291)][i(197)]),getCurrentRevisionId:()=>s},this[i(348)](i(415),!1),this[i(348)](i(376),!0),this[i(348)](i(279),!1),this[i(467)][i(423)][i(296)](i(380),!0),this[i(467)][i(189)][i(176)](i(477))[i(167)]({view:i(481)})}[ot(369)](){const t=ot;this[t(220)](),this[t(467)][t(185)].on(t(258),(()=>{const e=t,i=this[e(200)][e(262)](0),s=i&&null===i[e(357)]?i:null;if(this[e(393)]=!!s&&this[e(467)][e(423)][e(366)](e(380)),this[e(467)][e(270)][e(329)](e(449))){const t=this[e(364)][e(408)](),n=this[e(200)][e(262)](t);if(n)this[e(199)]=n[e(203)],this[e(393)]=!1;else{const t=this[e(364)][e(288)][e(273)][e(488)]((t=>!t[e(172)])),n=t?t[e(267)]:this[e(364)][e(288)][e(197)];i?(i[e(250)]<n&&i[e(277)]({toVersion:n}),this[e(393)]?(this[e(364)][e(408)]=()=>s.id,this[e(199)]=s[e(203)]):(this[e(199)]=i[e(250)],this[e(393)]=!1)):(this[e(199)]=n,this[e(393)]=!1)}}else s&&(this[e(467)][e(169)][e(291)][e(288)][e(197)]=Math[e(356)](s[e(250)],this[e(467)][e(169)][e(291)][e(288)][e(197)]),s[e(203)]===s[e(250)]?(0!==s[e(203)]&&(this[e(364)][e(408)]=()=>s.id),this[e(393)]=!1):this[e(393)]&&(this[e(364)][e(408)]=()=>s.id,this[e(199)]=s[e(203)])),this[e(393)]||(this[e(199)]=this[e(467)][e(169)][e(291)][e(197)]);this[e(213)][e(369)](this[e(364)][e(288)]),this[e(368)](this[e(199)]),this[e(254)](this[e(199)]),this[e(398)]&&this[e(297)]()})),this[t(274)](t(415)).to(this,t(279),(t=>!t)),this[t(304)]=this[t(467)][t(423)][t(366)](t(304));const e=this[t(467)];this[t(416)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(372)==r||i(280)==r||i(478)==r||i(387)==r||i(241)==r||i(371)==r||i(402)==r||i(263)==r){delete e[n],s=r,clearInterval(this[i(416)]),this[i(416)]=void 0;break}}i(280)==s&&e[i(207)](i(233)),i(478)==s&&e[i(207)](i(319)),i(387)==s&&e[i(207)](i(465)),i(241)==s&&e[i(207)](i(178),i(264)),i(371)==s&&e[i(207)](i(412)),i(402)==s&&e[i(207)](i(411)),i(263)==s&&e[i(207)](i(367))}),1e3)}async[ot(388)](){const t=ot;if(this[t(200)][t(475)]>0){const e=this[t(200)][t(262)](0),i=await this[t(235)](e),s=await this[t(383)](e);this[t(384)](i,s)}}[ot(378)](){const t=ot;super[t(378)](),this[t(416)]&&clearInterval(this[t(416)])}[ot(225)](t){this[ot(364)]=t}async[ot(227)](){const t=ot,e=await this[t(364)][t(343)]();if(e>this[t(430)][t(250)]){await this[t(187)]();const i=this[t(322)]({revision:this[t(430)],to:e});i[t(202)]=i[t(455)][t(428)]((e=>this[t(467)][t(270)][t(366)](t(462))[t(442)](e))),this[t(430)][t(277)](i)}}async[ot(173)](e={},i=null){const s=ot,n=[];await this[s(187)](),this[s(393)]=!1,i>this[s(430)][s(250)]&&(i=null),null===i&&(i=await this[s(364)][s(343)]());const r=this[s(459)](i),o=this[s(322)]({from:r,to:i});if(this[s(430)][s(250)]<i){const t=this[s(322)]({revision:this[s(430)],from:i,to:i});t[s(202)]=[],t[s(455)]=[],t.id=this[s(430)].id,this[s(430)][s(277)](t,!0),delete t[s(202)],n[s(294)](t)}e[s(434)]=this[s(467)][s(270)][s(366)](s(462)).me.id,e[s(247)]=e[s(247)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(211)](e);n[s(294)](e);const c=this[s(200)][s(228)](a);if(0!==c){const t=this[s(200)][s(262)](c-1);if(t[s(203)]!==i){const r=this[s(213)][s(223)](i,t[s(250)]),o={id:t.id,diffData:r[s(429)],authorsIds:r[s(455)],authors:r[s(455)][s(428)]((t=>this[s(467)][s(270)][s(366)](s(462))[s(442)](t))),fromVersion:i};t===this[s(430)]&&(o[s(238)]=new Date(e[s(238)][s(191)]()+10)),t[s(277)](o,!0),delete o[s(202)],n[s(294)](o)}}if(this[s(398)]){for(const t of n)this[s(450)](t.id,t,!0);this[s(297)]()}return a}[ot(211)](t){const e=ot,i=this[e(200)][e(397)](t);return this[e(398)]&&i.on(e(277),((t,i,s)=>{const n=e;s||(this[n(450)](i.id,i,!0),this[n(297)]())})),this[e(200)][e(431)](i,this[e(464)](i)),i}async[ot(235)](t){const e=ot;return await this[e(437)][e(175)](t,this[e(398)]),this[e(437)][e(235)](t)}async[ot(383)](t){const e=ot;return await this[e(437)][e(175)](t,this[e(398)]),this[e(437)][e(383)](t)}[ot(297)](){const t=ot;if(0===this[t(198)][t(458)])return;if(this[t(279)])return;let e=Array[t(439)](this[t(198)][t(260)]());this[t(198)][t(483)]();for(let i=0;i<e[t(475)];i++){const s=e[i];let n=!1;for(const e of Object[t(281)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(204)]((t=>null!==t)),!e[t(475)])return;for(let i=0;i<e[t(475)];i++){const s=e[i];void 0!==s[t(203)]&&void 0===s[t(250)]&&(s[t(250)]=this[t(200)][t(262)](s.id)[t(250)]),void 0!==s[t(250)]&&void 0===s[t(203)]&&(s[t(203)]=this[t(200)][t(262)](s.id)[t(203)])}const i=this[t(467)][t(423)][t(366)](t(313));this[t(279)]=!0,this[t(321)](),this[t(398)][t(392)](e,i)[t(375)]((()=>{this[t(279)]=!1}))[t(222)]((e=>{const i=t;if(e)for(const t of e)this[i(236)]({id:t.id,createdAt:t[i(238)]});this[i(174)](),this[i(297)]()}))}[ot(322)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(203)],i=null!==i?i:t[s(250)];const n=this[s(213)][s(223)](e,i),r={diffData:n[s(429)],authorsIds:n[s(455)],fromVersion:e,toVersion:i};if(!t||i!==t[s(250)]){const t=i-1,e=this[s(364)][s(288)][s(179)](t);r[s(238)]=e&&e[s(238)]||new Date}if(this[s(466)]&&e===this[s(466)][s(203)])for(const t of this[s(466)][s(202)])r[s(455)][s(389)](t.id)||r[s(455)][s(294)](t.id);return r}[ot(450)](t,e,i){const s=ot;if(this[s(198)][s(329)](t)){const n=this[s(198)][s(366)](t);e=i?{...n,...e}:{...e,...n}}this[s(198)][s(348)](t,e)}[ot(236)](t){const e=ot,i=this[e(200)][e(262)](t.id);if(t[e(238)]&&(t[e(238)]=new Date(t[e(238)])),t[e(455)]){const i=this[e(467)][e(270)][e(366)](e(462));t[e(202)]=t[e(455)][e(428)]((t=>i[e(442)](t)))}i[e(277)](t,!0)}[ot(368)](t){const e=ot,i=this[e(200)][e(262)](this[e(200)][e(475)]-1);if(i)this[e(486)]=i.id;else{const i=!this[e(467)][e(169)][e(291)][e(444)][e(488)]((t=>this[e(467)][e(169)][e(205)](t))),s=this[e(467)][e(270)][e(366)](e(462)).me.id,n=Q(this[e(467)][e(186)],e(i?182:244));this[e(394)]({from:t,to:t,id:this[e(486)],name:n,creatorId:s})}}[ot(254)](t){const e=ot,i=this[e(364)][e(408)]();this[e(430)]=this[e(200)][e(262)](i),this[e(430)]||(this[e(430)]=this[e(394)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(187)](){const t=ot;this[t(393)]&&!this[t(466)]&&(await this[t(437)][t(175)](this[t(430)],this[t(398)]),this[t(213)][t(472)](this[t(430)]),this[t(466)]={fromVersion:this[t(430)][t(203)],authors:this[t(430)][t(202)][t(253)]()})}[ot(384)](e,i){const s=ot;let n=this[s(467)][s(423)][s(366)](s(325)),r=this[s(467)][s(423)][s(366)](s(489));if(void 0===n){n={};for(const t of this[s(467)][s(169)][s(291)][s(339)]())n[t]=""}if(s(422)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(467)][s(169)][s(291)][s(339)]())r[t]={}}let o=!1;const a=Object[s(281)](n),c=Object[s(281)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(276)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(281)](r[t])[s(475)]>0){o=!0;break}}o||(o=c[s(451)]((t=>!this[s(467)][s(169)][s(291)][s(341)](t)))),o&&(0,t.logWarning)(s(345),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(467)][s(423)][s(348)](s(325),e),this[s(467)][s(423)][s(348)](s(489),i)}[ot(321)](){const t=ot;if(!this[t(487)]){const e=this[t(467)][t(270)][t(366)](t(224));this[t(487)]=e[t(443)](Q(this[t(467)][t(186)],t(473)))}}[ot(174)](){const t=ot;this[t(487)]&&(this[t(467)][t(270)][t(366)](t(224))[t(295)](this[t(487)]),this[t(487)]=null)}[ot(464)](t){const e=ot,i=this[e(200)][e(327)]();i[e(347)]();let s=0;for(;s<i[e(475)];){const n=i[s];if(n===this[e(430)]){s++;continue}if(n.id===this[e(486)])break;const r=t[e(250)]-n[e(250)]||t[e(203)]-n[e(203)];if(r>0)break;if(r<0)s++;else{if(!t[e(357)]&&n[e(357)])break;if(n[e(357)]||!t[e(357)]){if(t[e(238)]>n[e(238)])break;s++}else s++}}return s}[ot(459)](t){const e=ot,i=this[e(200)][e(327)]();i[e(347)](),i[e(195)]();const s=i[e(488)]((i=>i[e(250)]<=t))[e(250)];return s<this[e(199)]?this[e(199)]:s}[ot(394)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(322)]({from:e,to:i});o[r(247)]=t,o[r(434)]=s,o.id=n;const a=this[r(211)](o);return this[r(398)]&&this[r(450)](o.id,o,!0),a}[ot(220)](){const t=ot;this[t(467)][t(189)][t(176)](t(216))[t(303)]({model:t(481)})}}class ut{[ot(467)];[ot(407)];[ot(414)];[ot(479)];[ot(190)];[ot(332)];[ot(292)];[ot(315)];[ot(382)];[ot(290)];[ot(245)];[ot(400)];[ot(480)];[ot(298)];[ot(248)];[ot(287)];[ot(196)];constructor(t){const e=ot;this[e(467)]=t,this[e(414)]=new Map,this[e(479)]=-1,this[e(190)]=-1,this[e(332)]=new Map,this[e(292)]=new Map,this[e(315)]=new Map,this[e(382)]=new Map,this[e(290)]=new Map,this[e(245)]=new Map,this[e(400)]=new Map,this[e(480)]=new Map,this[e(298)]=new Map,this[e(248)]=new Map,this[e(287)]=1}[ot(369)](t){const e=ot;this[e(407)]=t;const i=new Map,s=new Map,n=this[e(467)][e(169)][e(291)][e(444)][e(428)]((t=>t[e(286)]));for(const t of n){const n=this[e(467)][e(169)][e(291)][e(341)](t),r=lt(n);i[e(348)](t,r),s[e(348)](t,Object[e(352)](n[e(210)]()))}const r=Array[e(439)](this[e(467)][e(169)][e(246)])[e(428)]((t=>[t[e(247)],t[e(427)]()])),o=this[e(407)][e(197)];this[e(180)](o,i,r,s),this[e(196)]=this[e(287)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(348)](t,i),c[e(348)](t,{})}this[e(180)](Number[e(403)],a,[],c)}[ot(223)](t,e){const i=ot;if(this[i(479)]===t&&this[i(190)]<=e)this[i(414)][i(458)]>1&&this[i(268)](this[i(190)]),this[i(330)](this[i(190)],e,!0);else{if(!this[i(414)][i(329)](t)){const e=this[i(395)](t);this[i(299)](e,t,!1)}this[i(299)](t,e,!0)}return this[i(479)]=t,this[i(190)]=e,this[i(320)]()}[ot(472)](t){const e=ot,i=this[e(467)][e(270)][e(366)](e(243));this[e(420)](),this[e(479)]=t[e(203)],this[e(190)]=t[e(250)];for(const s in t[e(429)]){const n=t[e(429)][s][e(417)],r=A(t[e(429)][s][e(413)])||{},o=i[e(192)](t[e(429)][s][e(306)]);o[e(286)]=s,o[e(419)]=!n||!n[e(440)],o[e(440)]=()=>o[e(419)],this[e(382)][e(348)](s,o),this[e(290)][e(348)](s,r),n&&this[e(248)][e(348)](s,n);const a=this[e(266)](o);this[e(400)][e(348)](s,a);for(const[t,i]of o[e(246)]){if(!t[e(237)](e(436)))continue;const s=t[e(234)](":")[2];for(const t of i[e(435)]({singleCharacters:!0})){const i=this[e(265)](t),n=e(170)==t[e(441)]?t[e(293)][e(301)][e(253)](0,-1):t[e(293)][e(301)],r=a[e(385)](n)[e(300)](i);this[e(480)][e(348)](r,{userId:s})}}}this[e(196)]=this[e(287)];const s=[...Array(this[e(287)])[e(281)]()][e(253)](1)[e(204)]((t=>!this[e(480)][e(329)](t)));let n=0;const r=new Map;for(const o in t[e(429)]){const a=t[e(429)][o][e(417)],c=A(t[e(429)][o][e(362)])||{},u=i[e(192)](t[e(429)][o][e(361)]);u[e(286)]=o,u[e(419)]=!a||a[e(440)],u[e(440)]=()=>u[e(419)],this[e(292)][e(348)](o,u),this[e(315)][e(348)](o,c);const l=this[e(266)](u,Number[e(403)]);this[e(245)][e(348)](o,l),r[e(348)](o,u[e(440)]()?c:{});for(const[t,i]of u[e(246)]){if(!t[e(237)](e(436)))continue;const s=t[e(234)](":")[2];for(const t of i[e(435)]({singleCharacters:!0})){const i=this[e(265)](t),n=this[e(287)]++,r=e(170)==t[e(441)]?t[e(293)][e(301)][e(253)](0,-1):t[e(293)][e(301)];l[e(385)](r)[e(261)](i,n),this[e(480)][e(348)](n,{userId:s})}}for(const t of this[e(467)][e(169)][e(335)](u)[e(435)]({singleCharacters:!0})){const i=this[e(265)](t),r=e(170)==t[e(441)]?t[e(293)][e(301)][e(253)](0,-1):t[e(293)][e(301)],o=l[e(385)](r);o[e(300)](i)>0||o[e(261)](i,s[n++])}for(const[t,i]of u[e(246)])t[e(237)](e(436))||this[e(332)][e(348)](t,i)}const o=ht(e(365));this[e(382)][e(348)](e(365),o),this[e(400)][e(348)](e(365),this[e(266)](o,1));const a=ht(e(365));this[e(292)][e(348)](e(365),a),this[e(245)][e(348)](e(365),this[e(266)](a,1));const c=Array[e(439)](this[e(292)])[e(428)]((([t,e])=>[t,lt(e)]));this[e(180)](this[e(190)],c,this[e(332)],r)}[ot(209)](){const t=ot;this[t(420)](),this[t(479)]=-1,this[t(190)]=-1,this[t(414)][t(483)](),this[t(369)](this[t(407)])}[ot(180)](t,e,i,s){const n=ot,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(348)](t,{start:e[n(302)][n(336)](),end:e[n(457)][n(336)](),rootName:e[n(226)][n(286)]});this[n(414)][n(348)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(268)](t){const e=ot;this[e(414)][e(328)](t)}[ot(420)](){const t=ot;this[t(480)][t(483)](),this[t(298)][t(483)](),this[t(248)][t(483)](),this[t(292)][t(483)](),this[t(315)][t(483)](),this[t(382)][t(483)](),this[t(290)][t(483)](),this[t(245)][t(483)](),this[t(400)][t(483)](),this[t(332)][t(483)](),this[t(287)]=1,this[t(196)]=this[t(287)]}[ot(266)](t,e=null){const i=ot;let s=null;t.is(i(278))||(s=new U.Element(t[i(247)],{vid_start:null===e?this[i(287)]++:e++}));const n=[];for(const s of t[i(405)]())if(s.is(i(208))){n[i(294)](this[i(266)](s,e));const t=n[n[i(475)]-1];null!==e&&(e=t.is(i(208),i(471))?t[i(300)](i(239))+1:t[i(300)](i(379))+1)}else for(let t=0;t<s[i(214)];t++)n[i(294)](new U.Element(i(471),{vid:null===e?this[i(287)]++:e++}));if(t.is(i(278))){const e=ht(t[i(286)]);return e[i(314)](0,n),e}return s[i(261)](i(379),null===e?this[i(287)]++:e++),s[i(314)](0,n),s}[ot(299)](t,e,i){const s=ot;this[s(420)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(414)][s(366)](t);this[s(382)]=new Map(n),this[s(290)]=new Map(A(o));for(const[t,e]of this[s(382)])if(s(365)!==t&&(this[s(292)][s(348)](t,lt(e)),this[s(315)]=new Map(A(o)),i)){const i=this[s(287)];this[s(245)][s(348)](t,this[s(266)](e)),this[s(400)][s(348)](t,this[s(266)](e,i))}this[s(196)]=this[s(287)],this[s(292)][s(348)](s(365),lt(this[s(382)][s(366)](s(365)))),i&&this[s(245)][s(348)](s(365),this[s(266)](this[s(382)][s(366)](s(365))));for(const[t,e]of r){const i=this[s(382)][s(366)](e[s(286)]),n=this[s(292)][s(366)](e[s(286)]),r=new U.Range(this[s(168)](e[s(302)],i),this[s(168)](e[s(457)],i)),o=this[s(269)](r,n);i[s(246)][s(348)](t,r),this[s(332)][s(348)](t,o)}this[s(330)](t,e,i)}[ot(330)](t,e,i){const s=ot;for(const n of this[s(407)][s(386)](t,e))this[s(316)](n,i);for(const t of this[s(292)][s(260)]())t[s(246)][s(483)]();for(const[t,e]of this[s(332)])this[s(292)][s(366)](e[s(226)][s(286)])[s(246)][s(348)](t,e[s(336)]());const n=new Map,r=new Map;for(const[t,e]of this[s(292)])n[s(348)](t,lt(e)),r[s(348)](t,this[s(315)][s(366)](t));this[s(180)](e,n,this[s(332)],r)}[ot(395)](t){const e=ot,i=Array[e(439)](this[e(414)][e(281)]());i[e(282)](((t,e)=>t-e)),i[e(347)]();for(const e of i)if(e<t)return e;return Number[e(403)]}[ot(396)](t,e){const i=ot,s=Array[i(439)](e[i(246)])[i(428)]((([e,s])=>[e,this[i(269)](s,t)]));t[i(246)]=new Map(s)}[ot(454)](t){const e=ot;for(const i of this[e(332)][e(260)]()){const s=i[e(331)](t),n=U.Range[e(421)](s);i[e(302)]=n[e(302)],i[e(457)]=n[e(457)]}}[ot(316)](t,e){const i=ot;if(i(410)!=t[i(441)]&&i(406)!=t[i(441)]){if(i(374)==t[i(441)]){const s=t[i(317)][i(226)][i(286)];this[i(292)][i(329)](s)||(this[i(292)][i(348)](s,ht(s,!0)),this[i(315)][i(348)](s,{}),e&&this[i(245)][i(348)](s,ht(s,!0)))}else{if(i(360)==t[i(441)]||i(468)==t[i(441)]||i(229)==t[i(441)])return void this[i(201)](t);i(424)==t[i(441)]&&this[i(308)](t)}if(i(424)!==t[i(441)]){const e=this[i(256)](t,this[i(292)]);e[i(231)](),this[i(454)](e)}if(e)switch(t[i(441)]){case i(374):this[i(485)](t);break;case i(218):case i(295):case i(401):this[i(390)](t);break;case i(230):this[i(391)](t);break;case i(234):this[i(285)](t)}}else this[i(484)](t,e)}[ot(256)](t,e){const i=ot,s=t[i(336)]();return s[i(452)]=t[i(452)],this[i(476)](s,e),s}[ot(309)](t){const e=ot;return t[e(428)]((t=>{const i=e,s=this[i(265)](t);return Number(t[i(310)][i(300)](s))}))}[ot(404)](t,e){const i=ot;if(t.is(i(208),i(471)))e[i(294)]({item:t,type:i(240)});else{t.is(i(208))&&e[i(294)]({item:t,type:i(447)});for(const s of t[i(405)]())this[i(404)](s,e);t.is(i(208))&&e[i(294)]({item:t,type:i(170)})}return e}[ot(320)](){const t=ot,e=new Map(this[t(480)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(382)][t(281)](),...this[t(292)][t(281)]()]);a[t(328)](t(365));for(const e of a){const i=this[t(292)][t(366)](e)||ht(e,!1),s=this[t(382)][t(366)](e)||ht(e,!1);i[t(440)]()||s[t(440)]()?(n[t(361)][e]=lt(i),n[t(306)][e]=lt(s),this[t(396)](n[t(306)][e],s),this[t(396)](n[t(361)][e],i),r[t(361)][e]=this[t(404)](this[t(245)][t(366)](e),[]),r[t(306)][e]=this[t(404)](this[t(400)][t(366)](e)||ht(e,!1),[])):a[t(328)](e)}for(const n of a){const o=r[t(361)][n];for(const n of o){const r=this[t(265)](n),o=n[t(310)][t(300)](r);i[t(328)](o),o>=this[t(196)]&&s[t(348)](o,e[t(366)](o))}}for(const n of a){const a=r[t(361)][n],c=this[t(309)](r[t(306)][n]);let u=0;for(const n of a){const r=this[t(265)](n),a=n[t(310)][t(300)](r);if(!s[t(329)](a)&&!o[t(329)](a))if(i[t(329)](a))u++;else{if(a!=c[u]){const s=e[t(366)](a)||e[t(366)](c[u]);for(;a!=c[u];)i[t(329)](c[u])||(o[t(348)](c[u],s),e[t(348)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(361)][e];for(const e of n){const n=this[t(265)](e),r=e[t(310)][t(300)](n);if(o[t(329)](r)){const e=o[t(366)](r);i[t(329)](r)||i[t(348)](r,{...e}),s[t(348)](r,{...e})}}}for(const e of i[t(281)]())e>=this[t(196)]&&i[t(328)](e);const c=new Map;for(const e of a){let n=r[t(361)][e];for(const e of n)if(e[t(310)].is(t(208),t(194))){const i=this[t(265)](e),n=e[t(310)][t(300)](i);if(s[t(329)](n)){const i=e[t(310)][t(463)][t(463)][t(300)](t(259)),r=c[t(366)](i)||new Set;r[t(443)](s[t(366)](n)[t(363)]),c[t(348)](i,r)}}n=r[t(306)][e];for(const e of n)if(e[t(310)].is(t(208),t(194))){const s=this[t(265)](e),n=e[t(310)][t(300)](s);if(i[t(329)](n)){const s=e[t(310)][t(463)][t(463)][t(300)](t(259)),r=c[t(366)](s)||new Set;r[t(443)](i[t(366)](n)[t(363)]),c[t(348)](s,r)}}for(const e of c[t(281)]())(s[t(329)](e)||i[t(329)](e))&&c[t(328)](e)}for(const e of a){const n=r[t(361)][e];let o=null,a=null;for(const e of n){const n=this[t(265)](e),r=e[t(310)][t(300)](n),u=c[t(366)](r);u&&t(447)==e[t(441)]&&(o=Array[t(439)](u)[0],a=e[t(310)][t(300)](t(379))),o&&(i[t(348)](r,{userId:o}),s[t(348)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(306)][e],a=n[t(361)][e];for(const{userId:e}of this[t(298)][t(260)]())null!==e&&l[t(443)](e);for(const{userId:e}of this[t(248)][t(260)]())null!==e&&l[t(443)](e);this[t(334)](a,r[t(361)][e],s,t(193),l),this[t(334)](o,r[t(306)][e],i,t(305),l),u[e]={insertions:this[t(399)](a),deletions:this[t(399)](o),attachChange:this[t(248)][t(366)](e)||null,attributesBefore:A(this[t(290)][t(366)](e))||{},attributesAfter:A(this[t(315)][t(366)](e))}}return{diffData:u,authorsIds:Array[t(439)](l)}}[ot(340)](t){const e=ot;for(const[,i]of t[e(246)]){const t=i[e(302)][e(448)]()[e(204)]((t=>e(194)==t[e(247)]));for(const i of t)1==i[e(425)]&&i[e(381)](0).is(e(208),e(353))&&i[e(381)](0)[e(261)](e(284),!0)}}[ot(399)](t){const e=ot;this[e(340)](t);const i=this[e(467)][e(185)][e(252)](t,{}),s=Array[e(439)](i[e(405)]())[e(428)]((t=>this[e(446)](t)));return JSON[e(275)](s)}[ot(446)](t){const e=ot;if(t.is(e(471)))return t[e(185)];{const i=this[e(467)][e(270)][e(366)](e(243)),s=t,n=this[e(467)][e(185)][e(461)][e(215)],r={type:i[e(251)](s),name:s[e(247)],attributes:Array[e(439)](s[e(210)]()),children:Array[e(439)](s[e(405)]())[e(428)]((t=>this[e(446)](t)))};if(t.is(e(324))&&e(433)!=t[e(247)]){const i=t[e(358)](n[e(409)],n);r[e(456)][e(294)](i[e(432)])}else if(t.is(e(257))){const i=n[e(409)][e(359)](s[e(247)]);t[e(358)](i,n),r[e(456)][e(294)](i[e(349)])}const o=Array[e(439)](s[e(346)]());o[e(475)]>0&&(r[e(221)]=o);const a=s[e(177)]();return null!==a&&(r[e(212)]=a),r}}[ot(334)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(467)][r(169)];for(let s=0;s<e[r(475)];s++){const n=this[r(265)](e[s]),c=e[s][r(310)][r(300)](n),h=i[r(366)](c),d=s==e[r(475)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(363)]!=o[r(363)])&&(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(363)],d=l(436)+s+":"+h+":"+c++,f=u[l(445)](i,a);t[l(246)][l(348)](d,f),null!==h&&n[l(443)](h)}}[ot(265)](t){const e=ot;switch(t[e(441)]){case e(447):return e(259);case e(170):return e(379);default:return e(239)}}[ot(476)](t,e){const i=ot;t[i(267)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(366)](n[i(226)][i(286)]);t[s]=this[i(168)](n,r)}if(n instanceof U.Range){const r=e[i(366)](n[i(226)][i(286)]);t[s]=this[i(269)](n,r)}i(226)===s&&(t[i(226)]=e[i(366)](t[i(226)][i(286)]))}}[ot(269)](t,e){const i=ot;return this[i(467)][i(169)][i(445)](this[i(168)](t[i(302)],e),this[i(168)](t[i(457)],e))}[ot(168)](t,e){const i=ot;return this[i(467)][i(169)][i(470)](e,t[i(301)],t[i(307)])}[ot(485)](t){const e=ot,i=this[e(245)][e(366)](t[e(317)][e(226)][e(286)]),s=this[e(168)](t[e(317)],i),n=null===t[e(452)]?null:t[e(452)]||this[e(467)][e(270)][e(366)](e(462)).me.id,r=s[e(463)],o=this[e(287)],a=[];for(const i of t[e(206)])if(i.is(e(208)))a[e(294)](this[e(266)](i));else for(let t=0;t<i[e(214)];t++)a[e(294)](new U.Element(e(471),{vid:this[e(287)]++}));const c=this[e(287)];for(let t=o;t<c;t++)this[e(480)][e(348)](t,{userId:n});r[e(314)](s[e(418)],a)}[ot(390)](t){const e=ot;(t=this[e(256)](t,this[e(245)]))[e(231)]();const i=null===t[e(452)]?null:t[e(452)]||this[e(467)][e(270)][e(366)](e(462)).me.id,s=t[e(249)](),n=s[e(463)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(381)](e);r.is(a(208),a(471))?s[a(348)](r[a(300)](a(239)),{userId:i}):(s[a(348)](r[a(300)](a(259)),{userId:i}),t(s,r,0,r[a(425)]),s[a(348)](r[a(300)](a(379)),{userId:i}))}}(this[e(480)],n,r,r+t[e(188)])}[ot(391)](t){const e=ot,i=null===(t=this[e(256)](t,this[e(245)]))[e(452)]?null:t[e(452)]||this[e(467)][e(270)][e(366)](e(462)).me.id,s=t[e(426)][e(463)],n=t[e(438)][e(463)],r=s[e(300)](e(379)),o=n[e(300)](e(259));s[e(261)](e(379),n[e(300)](e(379))),n[e(261)](e(379),r),this[e(480)][e(348)](o,{userId:i}),this[e(480)][e(348)](r,{userId:i}),t[e(231)]()}[ot(285)](t){const e=ot,i=null===(t=this[e(256)](t,this[e(245)]))[e(452)]?null:t[e(452)]||this[e(467)][e(270)][e(366)](e(462)).me.id,s=t[e(326)],n=t[e(344)][e(463)];t[e(231)]();const r=n[e(300)](e(379)),o=t[e(181)][e(474)];if(s){const t=o[e(300)](e(379)),s=n[e(300)](e(379));n[e(261)](e(379),t),o[e(261)](e(379),s),this[e(480)][e(348)](n[e(300)](e(379)),{userId:i}),this[e(480)][e(348)](o[e(300)](e(259)),{userId:i})}else{const t=this[e(287)]++,s=this[e(287)]++;n[e(261)](e(379),t),o[e(261)](e(259),s),o[e(261)](e(379),r),this[e(480)][e(348)](t,{userId:i}),this[e(480)][e(348)](s,{userId:i})}}[ot(308)](t){const e=ot;if(!t[e(255)])return;const i=(t=this[e(256)](t,this[e(292)]))[e(453)]?t[e(453)][e(226)]:null,s=t[e(460)]?t[e(460)][e(226)]:null;i&&this[e(332)][e(328)](t[e(247)]),s&&this[e(332)][e(348)](t[e(247)],t[e(460)][e(336)]());const n=null===t[e(452)]?null:t[e(452)]||this[e(467)][e(270)][e(366)](e(462)).me.id,r=t[e(247)];if(!this[e(298)][e(329)](r))return void this[e(298)][e(348)](r,{range:t[e(453)],userId:n});const o=this[e(298)][e(366)](r),a=o[e(318)],c=t[e(460)];null==a&&null==c||a&&c&&a[e(355)](c)?this[e(298)][e(328)](t[e(247)]):o[e(363)]=n}[ot(484)](t,e){const i=ot;this[i(292)][i(329)](t[i(286)])?this[i(292)][i(366)](t[i(286)])[i(419)]=t[i(333)]:(this[i(292)][i(348)](t[i(286)],ht(t[i(286)],!0)),this[i(315)][i(348)](t[i(286)],{}),e&&this[i(245)][i(348)](t[i(286)],ht(t[i(286)],!0)));const s=null===t[i(452)]?null:t[i(452)]||this[i(467)][i(270)][i(366)](i(462)).me.id,n=this[i(248)][i(366)](t[i(286)]);n&&n[i(363)]===s?this[i(248)][i(328)](t[i(286)]):this[i(248)][i(348)](t[i(286)],{userId:s,isAttached:t[i(333)]})}[ot(201)](t){const e=ot,i=this[e(315)][e(366)](t[e(226)][e(286)]);null===t[e(232)]?delete i[t[e(323)]]:i[t[e(323)]]=t[e(232)]}}function lt(t){const e=ot,i=ht(t[e(286)],t[e(440)]());for(const s of t[e(405)]()){const t=s[e(342)](!0);i[e(219)](t)}return i}function ht(t,e=!0){const i=ot,s=new U.DocumentFragment;return s[i(286)]=t,s[i(419)]=e,s[i(440)]=()=>s[i(419)],s}function dt(t,e,i){const s=ot,n=s(170)==t[s(441)]?i[s(373)](t[s(310)],s(457)):i[s(482)](t[s(310)]);return i[s(470)](e,n[s(301)],n[s(307)])}function ft(t,e,i){const s=ot,n=s(447)==t[s(441)]?i[s(373)](t[s(310)],0):i[s(217)](t[s(310)]);return i[s(470)](e,n[s(301)],n[s(307)])}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=Mt;function Vt(){const t=["Name of the revision","arrowdown","264vSnJjM","label","ck-responsive-form","634QkkQSw","220","arrowup","extendTemplate","2568330ZDuQkt","15136630JDNYpq","render","optional","locale","2188PofKIT","arrowleft","focus","set","_createRevisionNameInput","4127125Ozkbqt","241458zDhuxN","trim","98becmZM","listenTo","fieldView","5567760DvOpou","arrowright","value","36952mkqWzE","errorText","add","keystrokes","stopPropagation","revisionName","focusTracker","ck-revision-history-save-revision-form","input","element","revisionNameInputValue","form","setTemplate","reset","revisionNameInputView"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(416088===parseInt(e(367))/1*(parseInt(e(376))/2)+parseInt(e(364))/3*(-parseInt(e(390))/4)+-parseInt(e(381))/5+-parseInt(e(382))/6*(parseInt(e(384))/7)+parseInt(e(387))/8+-parseInt(e(371))/9+parseInt(e(372))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(396)];[At(393)];[At(361)];constructor(e,i){const s=At;super(e),this[s(396)]=new t.FocusTracker,this[s(393)]=new t.KeystrokeHandler,this[s(379)](s(357),""),this[s(361)]=this[s(380)](i),this[s(359)]({tag:s(358),attributes:{class:["ck",s(397),s(366)],tabindex:"-1"},children:[this[s(361)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(373)](){const t=At;super[t(373)](),(0,pt.submitHandler)({view:this}),this[t(396)][t(392)](this[t(361)][t(399)]),this[t(393)][t(385)](this[t(399)]);const e=e=>e[t(394)]();this[t(393)][t(379)](t(388),e),this[t(393)][t(379)](t(377),e),this[t(393)][t(379)](t(369),e),this[t(393)][t(379)](t(363),e)}[At(378)](){const t=At;this[t(361)][t(378)]()}get[At(395)](){const t=At;return this[t(361)][t(386)][t(399)][t(389)][t(383)]()}set[At(395)](t){const e=At;this[e(361)][e(386)][e(399)][e(389)]=t[e(383)]()}[At(360)](){const t=At;this[t(361)][t(386)][t(399)][t(389)]="",this[t(361)][t(391)]=null}[At(380)](t){const e=At,i=new pt.LabeledFieldView(this[e(375)],pt.createLabeledInputText),s=i[e(386)];s[e(370)]({attributes:{maxlength:e(368)}});let n=Q(this[e(375)],e(362));return!t&&(n+=" ("+Q(this[e(375)],e(374))+")"),i[e(365)]=n,s.on(e(398),(()=>{const t=e;this[t(357)]=s[t(399)][t(389)][t(383)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=275]})(t,e)}function Ft(){const t=["Accept","bind","menuitem","1777378TusRuu","isOpen","39396fdMIUB","panelView","ck-button-action","reset","_registerMenuComponent","45097GRJMey","locale","Cancel","5268ciGbUv","delegate","revisionName","execute","set","9714KdFpSV","Dialog","_saveRevisionFormView","The revision name cannot be empty.","isEnabled","config","requires","errorText","revisionHistory","showRevisionViewerCallback","Save current revision","Revision history","4529ODLdha","menuBar:revisionHistory","isReadOnly","submit","get","show","editing","init","revisionSave","view","9sHcUDe","menu","11erXzaY","2094780lhtOoI","isReady","270YstChs","buttonView","render","items","componentFactory","1mcoZJU","RevisionHistoryUI","_showDialog","isOfficialPlugin","role","focus","revisionHistory.requireRevisionName","pluginName","addMany","_createSaveRevisionFormView","saveRevision","isPremiumPlugin","11088144kpYpCv","Open revision history","hide","871956iFQFtN","plugins","children","editor","revisionNameInputView","RevisionTracker","add"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(908697===-parseInt(e(283))/1*(parseInt(e(308))/2)+parseInt(e(298))/3+parseInt(e(310))/4*(parseInt(e(278))/5)+parseInt(e(323))/6*(parseInt(e(335))/7)+-parseInt(e(295))/8*(parseInt(e(345))/9)+parseInt(e(276))/10*(-parseInt(e(275))/11)+-parseInt(e(318))/12*(-parseInt(e(315))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends Z.Plugin{static get[Dt(290)](){return Dt(284)}static get[Dt(286)](){return!0}static get[Dt(294)](){return!0}static get[Dt(329)](){return[ct]}[Dt(325)];[Dt(342)](){const t=Dt,e=this[t(301)],i=e[t(299)][t(339)](t(303));e.ui[t(282)][t(304)](t(331),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(311)][n(300)],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(306)](n(327)).to(i,n(277),i,n(327),e,n(337),((t,e,i)=>t&&e&&!i)),r[n(279)][n(322)]({icon:mt.IconHistory,label:Q(s,n(334)),tooltip:!0}),u[n(322)]({label:Q(s,n(333)),withText:!0,role:n(307)}),u[n(306)](n(327)).to(i,n(277),i,n(327),e,n(337),((t,e,i)=>t&&e&&!i)),u.on(n(321),(()=>this[n(285)]())),h[n(322)]({label:Q(s,n(296)),withText:!0,role:n(307)}),h[n(306)](n(327)).to(i,n(277),e,n(337),((t,e)=>t&&!e)),h.on(n(321),(()=>{const t=n;e[t(328)][t(339)](t(331))[t(332)](),r[t(309)]=!1,e[t(341)][t(344)][t(288)]()})),c[n(300)][n(304)](u),l[n(300)][n(304)](h),a[n(287)]=n(346),a[n(281)][n(291)]([c,l]),o[n(304)](a),r})),e.ui[t(282)][t(304)](t(336),(()=>this[t(314)]()))}[Dt(314)](){const t=Dt,e=this[t(301)],i=e[t(316)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(279)][t(322)]({icon:mt.IconHistory,label:Q(i,t(334))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(322)]({label:Q(i,t(333))}),o[t(319)](t(321)).to(s),o.on(t(321),(()=>{this[t(285)]()})),r[t(300)][t(304)](o),n[t(281)][t(304)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(322)]({label:Q(i,t(296))}),c[t(319)](t(321)).to(s),c.on(t(321),(()=>{const i=t;e[i(328)][i(339)](i(331))[i(332)]()})),a[t(300)][t(304)](c),n[t(281)][t(304)](a),s[t(311)][t(300)][t(304)](n),s}[Dt(285)](){const t=Dt,e=this[t(301)],i=e[t(316)],s=e[t(299)][t(339)](t(324)),n=e[t(299)][t(339)](t(303));function r(n){const r=t;e[r(328)][r(339)](r(289))&&""===n[r(320)]?n[r(302)][r(330)]=Q(i,r(326)):(e[r(299)][r(339)](ct)[r(293)]({name:n[r(320)]}),s[r(297)]())}this[t(325)]||(this[t(292)](),this[t(325)].on(t(338),(()=>r(this[t(325)])))),this[t(325)][t(313)](),s[t(340)]({id:t(343),title:Q(i,t(333)),isModal:!0,content:this[t(325)],actionButtons:[{label:Q(e[t(316)],t(317)),withText:!0,onExecute:()=>s[t(297)]()},{label:Q(e[t(316)],t(305)),class:t(312),withText:!0,onCreate(i){const s=t;i[s(306)](s(327)).to(n,s(277),n,s(327),e,s(337),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(325)])}]})}[Dt(292)](){const t=Dt,e=this[t(301)],i=e[t(316)];this[t(325)]=new Et(i,e[t(328)][t(339)](t(289))),this[t(325)][t(280)]()}}const Lt=zt;function Pt(){const t=["add","4822990uYFdsi","changeId","setTemplate","bindTemplate","data","2540316xWUJwn","focus","679256mpAWMA","set","element","4694657gqtnAD","515172GWpWmi","49YwrRRl","name","type","7238682riFBYS","2eKPTIu","ck-revision-change__label","isSuggestion","738498OrCLeb","Added by","author","Removed by","ck-revision-change","ck-revision-change__","30hiHFeF","ck-annotation","span","_model","4zEjOIp","Suggested by","div"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(535602===-parseInt(e(397))/1*(parseInt(e(394))/2)+-parseInt(e(383))/3+parseInt(e(407))/4*(parseInt(e(411))/5)+parseInt(e(389))/6+-parseInt(e(390))/7*(-parseInt(e(385))/8)+-parseInt(e(393))/9+-parseInt(e(403))/10*(-parseInt(e(388))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends pt.View{[Lt(379)];[Lt(406)];constructor(t,e){const i=Lt;super(t),this[i(406)]=e,this[i(379)]=e.id;const s=this[i(381)],n=Q(t,e[i(382)][i(396)]?i(408):i(410)==e[i(392)]?i(398):i(400));this[i(386)](i(392),e[i(392)]),this[i(380)]({tag:i(409),attributes:{class:[i(404),i(401),s.to(i(392),(t=>i(402)+t))],tabindex:-1},children:[{tag:i(405),children:[{tag:i(405),attributes:{class:[i(395)]},children:[{text:n}]},{text:" "+e[i(399)][i(391)]}]}]})}[Lt(384)](){const t=Lt;this[t(387)][t(384)]()}}var Zt=Ut;function Ht(){var t=["33241EBcOvQ","34746ZUHrZY","createdAt","245ywMBbm","21783Xpmewv","author","data","1746BKIqYq","rootName","405421orbrNT","11220EcjIrB","205mKaVrJ","2sPVGKM","type","2952840TNCSsa","496CzHQrm","58184iNExEd","toJSON","set","61630QdoSfz"];return(Ht=function(){return t})()}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=345]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(985794===parseInt(e(347))/1*(parseInt(e(350))/2)+parseInt(e(362))/3*(-parseInt(e(353))/4)+-parseInt(e(349))/5*(parseInt(e(359))/6)+-parseInt(e(361))/7*(-parseInt(e(354))/8)+-parseInt(e(345))/9*(parseInt(e(357))/10)+parseInt(e(352))/11+parseInt(e(348))/12*(parseInt(e(358))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(363)];[Zt(351)];[Zt(364)];[Zt(346)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(363)]=e[i(363)],this[i(351)]=e[i(351)],this[i(364)]=e[i(364)]||{},this[i(346)]=e[i(346)],this[i(356)](i(360),e[i(360)])}[Zt(355)](){var t=Zt;return{id:this.id,authorId:this[t(363)].id,type:this[t(351)],data:this[t(364)],createdAt:this[t(360)]}}}function $t(t,e){const i=Jt();return($t=function(t,e){return i[t-=425]})(t,e)}const Bt=$t;!function(t){const e=$t,i=t();for(;;)try{if(207226===-parseInt(e(430))/1+parseInt(e(434))/2*(-parseInt(e(439))/3)+-parseInt(e(437))/4*(parseInt(e(440))/5)+parseInt(e(425))/6*(-parseInt(e(427))/7)+parseInt(e(428))/8+parseInt(e(438))/9+-parseInt(e(435))/10*(-parseInt(e(431))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[Bt(429)];[Bt(426)];[Bt(432)];constructor(e,i){const s=Bt;this[s(429)]=e,this[s(426)]=i,this[s(432)]=new t.Collection}[Bt(433)](t){const e=Bt;for(const i of t)this[e(432)][e(436)](i)}}function Jt(){const t=["5544ZBTJKV","changes","_setChanges","862pDqNYG","19130WyYExx","add","4IIpLdU","658296pMBmmj","837mMdZFd","782570vLQOka","32892iEUbsV","oldRevisionId","469LkffpD","1648992sHJdjA","newRevisionId","392137aTaxoD"];return(Jt=function(){return t})()}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=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=119]})(t,e)}function te(){const t=["set","get","for","revisionHistoryLabel","isOfficialPlugin","listenTo","isEqual","isSuggestion","_joinTapes","2313290aIHXZB","offsetSize","compare","_data","isNavigationMode","abs","object","filter","highest","961173oYdNdv","startsWith","observeMarkers","getAttributes","oldRevisionId","length","_appendChild","activeChange","distance","_setChanges","addRevisionData","endIndex","isBefore","suggestion:","insertion","_getViewForChange","mapViewToDom","2270ZIppfJ","nextSibling","vid","isAtStart","low","getRoot","12HvOQHf","bindElementToMarker","createRevision","left","_cleanMarkers","_makeModelFromTape","revisionHistoryAttachChange","setAttribute","changes","pop","model","catch","_markMarkers","toViewPosition","schema","affectsData","-new","ck-suggestion-marker--active","showStack","forward","toViewRange","hasAttribute","showPreviousChange","change:numberOfChanges","conversion","ck-suggestion-preview-marker","restoreRevision","change","forEach","change:activeChange","addRoot","editing","restoreRevisionCallback","getChild","_fixObsoleteTags","addMarker:revision-suggestion:deletion","createRange","numberOfChanges","getDomRoot","bind","rootName","32265BZmxhG","isReady","change:activeView","getRevisionDocumentData","attribute:vid","downcastDispatcher","push","requires","execute","resolve","split","elementStart","unbindElementFromMarkerName","isLimit","isObject","writer","getIndex","mousedown","from","isIncorrect","attributesAfter","checkAttribute","addRevision","view","_removeUnsupportedChanges","data-change-id","_setConversion","attributes","comment","keys","markersEnd","consumable","deletions","_getRevisionsRange","adapter","isAtEnd","level","element","_markInsertions","error","commands","getRootNames","revision:","config","element:pre","_markSuggestions","maxOffset","insertions","return","getLaterVisibleRevision","_activeViewTarget","revision-comment:","createPositionFromPath","markerToData","diff","slice","viewItem","createAttributeElement","_step","getAttribute","ck-suggestion-marker-","_refreshStartEndIndex","931465mtJoQA","markerNameToElements","range","splice","detachRoot","attributesBefore","isRemoveSuggestion","removeClass","domConverter","_makeModelFromViewString","ck-revision-history-root-","revisionHistory","ck-suggestion-marker","removeMarker:revision","start","addMarker:revision","currentChangeNumber","dataDowncast","6489679wcdswo","markerToHighlight","right","ck-revision-history-root-add","addClass","_revisions","add","_getChangeFromId","showNextChange","remove","startIndex","init","ck-revision-history-root-remove","_changeIdToChange","uiElement","_setDistance","parent","isPremiumPlugin","isEnabled","changeId","insert","type","bottom","vid_end","hasClass","flat","then","addHighlight","shift","reconvertMarker","_makeTape","removeAttribute","code","dataToMarker","RevisionHistoryUtils","next","unshift","isOnRoot","sort","done","isContent","1175852bxUHms","_processTape","updatePosition","isInline","clear","5114550HzBNlG","all","_threeWayMerge","change:isReady","_initInteractions","index","softBreak","_update","selection","name","removeMarker:revision-suggestion","upcast","data","WidgetToolbarRepository","markers","enqueueChange","ck-suggestion-preview-marker-","delete","ck-suggestion-marker-merge","_changeView","domEvent","diffData","ck-revision-history-root--active","_findChangeIdFromDomTarget","revision-suggestion:","loadRevisionData","text","_sortAndFilterDiffChanges","markersStart","consume","stop","change:isEnabled","test","_removeMissingPairs","document","isCollapsed","repository","pairId","ck-editor__editable__overlay","refresh","editingDowncast","removeMarker","modelRange","isBlock","has","high","end","revision","span","elementEnd","markerName","side","_getDiff","createRangeIn","RevisionViewer","indexOf","concat","elementToAttribute","mapper","markerRange","includes","first","getRevisionRootsAttributes","destroy","revision-viewer","enableReadOnlyMode","getClientRects","_cleanUp","map","pluginName","nextPosition","vid_start","ck-suggestion-marker-split","authors","createUIElement","toViewElement","isAddSuggestion","8VeYYVs","userId","createPositionBefore","isAfter","POSITIVE_INFINITY","_markMismatchedRemovedTags","backward","getCustomProperty","locale","isAttached","findIndex","previousPosition","target","wrap","values","isAdded","activeView","item","newRevisionId","deletion","suggestion","forceDisabled","string","roots","isRemoved","top","RevisionsRepository","merge","_utils","plugins","revision-suggestion","getItems","_balloon","editor","find","getWalker","attachChange","mouseover","getRevision","addMarker:revision-suggestion:insertion","nodeAfter"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(575411===-parseInt(e(355))/1+-parseInt(e(414))/2+parseInt(e(229))/3*(-parseInt(e(252))/4)+parseInt(e(220))/5+parseInt(e(419))/6+parseInt(e(373))/7*(parseInt(e(170))/8)+-parseInt(e(293))/9*(-parseInt(e(246))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends Z.Plugin{[Xt(129)];[Xt(327)]=null;[Xt(198)];[Xt(343)];[Xt(438)];[Xt(386)];[Xt(202)];static get[Xt(162)](){return Xt(147)}static get[Xt(215)](){return!0}static get[Xt(390)](){return!0}static get[Xt(300)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(129)]=this[e(203)][e(199)][e(212)](e(196)),this[e(198)]=this[e(203)][e(199)][e(212)](e(407)),this[e(211)](e(236),null),this[e(211)](e(186),null),this[e(343)]=null,this[e(211)](e(347),null),this[e(211)](e(294),!1),this[e(211)](e(391),!0),this.on(e(124),((t,i,s)=>{const n=e;this[n(236)]=null,this[n(186)]=null,this[n(203)][n(283)][n(316)][n(279)]((t=>{const e=n;for(const i of this[e(203)][e(283)][e(316)][e(127)][e(193)])s?t[e(362)](e(131),i):t[e(377)](e(131),i)}))})),this[e(291)](e(224)).to(this,e(236),(t=>null!==t)),this[e(291)](e(371)).to(this,e(294),this,e(347),this,e(236),((t,i,s)=>t&&s?i[e(260)][e(309)](s):0)),this[e(291)](e(289)).to(this,e(294),this,e(347),((t,i)=>t?i[e(260)][e(234)]:0)),this[e(438)]=null,this[e(386)]=new Map,this[e(202)]=this[e(203)][e(199)][e(212)](pt.ContextualBalloon)}[Xt(384)](){const t=Xt,e=this[t(203)],i=new ne(e,{direction:t(176)}),s=new ne(e,{direction:t(271)});e[t(333)][t(379)](t(274),i),e[t(333)][t(379)](t(381),s),e[t(333)][t(379)](t(278),new se(e)),this.on(t(275),(()=>{const e=t;i[e(132)](),s[e(132)]()})),this[t(319)](),this[t(423)](),e[t(158)](t(157)),e[t(199)][t(137)](t(432))&&e[t(199)][t(212)](t(432))[t(191)](t(157))}async[Xt(296)](t){const e=Xt;return await this[e(198)][e(444)](t,this[e(327)]),this[e(198)][e(296)](t)}async[Xt(155)](t){const e=Xt;return await this[e(198)][e(444)](t,this[e(327)]),this[e(198)][e(155)](t)}async[Xt(222)](t,e,i=!1){const s=Xt;if(!this[s(391)])return;const n=this[s(347)],r=this[s(129)],o=s(192)==typeof t?r[s(208)](t):t,a=s(192)==typeof e?r[s(208)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(347)]&&this[s(347)][s(188)]===c&&this[s(347)][s(233)]===u)return Promise[s(302)]();this[s(294)]=!1,this[s(186)]=null,this[s(236)]=null,this[s(347)]=new Yt(c,u);const l=this[s(326)](o,a,!0)[s(161)]((t=>this[s(198)][s(444)](t,this[s(327)])));return l[s(299)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(420)](l)[s(399)]((()=>{const t=s;if(!this[t(391)])return;this[t(160)]();const e=this[t(145)](c,u);for(const i of e[t(260)])this[t(386)][t(211)](i.id,i);this[t(203)][t(262)][t(434)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(203)][s(262)][s(127)][s(334)]())i[s(359)](t);for(const t of Object[s(322)](e[s(262)])){const n=i[s(282)](t);for(const r of Object[s(322)](e[s(320)][t]))i[s(259)](r,e[s(320)][t][r],n);i[s(393)](e[s(262)][t],n,0)}})),this[t(347)][t(238)](this[t(120)](e[t(260)])),this[t(294)]=!0}))[s(263)]((t=>{const e=s;console[e(332)](t),this[e(160)](),n&&(this[e(347)]=n),this[e(294)]=!0}))}[Xt(239)](t,e){const i=Xt,s=this[i(129)][i(254)](t);return s.on(i(426),((t,i,n)=>e(i,n,s))),this[i(129)][i(315)](s),s}[Xt(160)](){const t=Xt;this[t(236)]=null,this[t(256)](),this[t(438)]&&this[t(438)][t(156)](),this[t(438)]=null,this[t(386)][t(418)](),this[t(203)][t(262)][t(434)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(203)][i(262)][i(127)][i(334)]())e[i(359)](t)}))}[Xt(120)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(203)][e(262)][e(127)][e(334)]()){const n=this[e(203)][e(283)][e(316)][e(290)](t);if(!n)continue;const r=n[e(159)]()[e(187)](0);r&&(i[e(299)](t),s[e(211)](t,r))}return i[e(411)](((t,i)=>{const n=e,r=s[n(212)](t),o=s[n(212)](i);return r.y-o.y||r.x-o.x})),(t=t[e(227)]((t=>i[e(153)](t[e(292)]))))[e(411)](((t,s)=>i[e(148)](t[e(292)])-i[e(148)](s[e(292)]))),t}[Xt(403)](t){const e=Xt,i=Array[e(311)](t[e(433)])[e(227)]((([t,i])=>t[e(230)](e(335))&&!i[e(128)])),s=Array[e(311)](this[e(203)][e(262)][e(146)](t)[e(205)]({singleCharacters:!0}));if(0!=i[e(234)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(303)](":");if(n[e(139)][e(217)](t[e(163)])&&i[e(401)](),(t[e(181)][e(217)](n[e(369)])||t[e(181)][e(173)](n[e(369)]))&&(e(243)==r?t[e(185)]={userId:o}:e(189)==r&&(t[e(194)]={userId:o})),0==i[e(234)])break}return s}[Xt(354)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(234)];s++)e(119)===t[s][e(394)]?(t[s][e(187)][e(383)]=s,t[s][e(187)][e(240)]=s):(e(304)===t[s][e(394)]?t[s][e(187)][e(383)]=s:e(142)===t[s][e(394)]&&(t[s][e(187)][e(240)]=s),i[e(211)](t[s].id,s));for(const s of i[e(184)]())e(304)===t[s][e(394)]?t[s][e(187)][e(240)]=i[e(212)](t[s][e(130)]):e(142)===t[s][e(394)]&&(t[s][e(187)][e(383)]=i[e(212)](t[s][e(130)]))}[Xt(415)](t){const e=Xt;for(let i=0;i<t[e(234)];i++){if(e(304)===t[i][e(394)])t[i][e(187)][e(383)]=i;else if(e(142)===t[i][e(394)]){t[i][e(187)][e(240)]=i;const s=t[i][e(187)][e(383)];t[s][e(130)]=t[i].id,t[i][e(130)]=t[s].id}else t[i][e(187)][e(383)]=i,t[i][e(187)][e(240)]=i,t[i][e(130)]=null;t[i][e(121)]||(t[i][e(121)]=[],t[i][e(323)]=[])}}[Xt(331)](t,e){const i=Xt,s=t[i(227)]((t=>!t[i(185)]));for(let t=0;t<e[i(234)];t++)e[t][i(185)]&&(s[t][i(185)]=e[t][i(185)])}[Xt(145)](t,e=null){const i=Xt,s=this[i(129)][i(208)](t),n=e?this[i(129)][i(208)](e):null,r=this[i(326)](s,n),o=r[r[i(234)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(234)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(322)](e[i(440)]))if(e[i(440)][t][i(206)]){const s=e[i(440)][t][i(206)];s[i(179)]?(u[i(379)](t),l[i(137)](t)&&l[i(212)](t)[i(171)]==s[i(171)]?l[i(436)](t):l[i(211)](t,s)):l[i(137)](t)?(u[i(436)](t),l[i(436)](t)):(u[i(379)](t),l[i(211)](t,s))}else u[i(379)](t)}for(const t of u){const e=l[i(137)](t)&&!l[i(212)](t)[i(179)];let s=e?r[i(234)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(440)][t]){const s=e?o[i(440)][t][i(360)]:o[i(440)][t][i(313)];c[i(320)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(262)]={};for(const e of t[i(166)])a[i(211)](e.id,e);for(const e of u){const s=t[i(440)][e]?t[i(440)][e][i(340)]:"[]",n=t[i(440)][e]?t[i(440)][e][i(325)]:"[]";t[i(262)][e]={insertions:this[i(198)][i(364)](s),deletions:this[i(198)][i(364)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(311)](s[i(262)][t][i(340)][i(433)])[i(227)]((([t])=>!t[i(230)](i(335)))));let h=0;for(const o of r){const r=this[i(403)](o[i(262)][t][i(340)]);o==s?(e=r,n=e[i(234)],e[i(280)]((t=>{t.id=h++})),this[i(415)](e)):this[i(331)](e,r);const a=e[i(227)]((t=>!t[i(185)]))[i(161)]((t=>t.id));let c=0;const l=this[i(403)](o[i(262)][t][i(325)]);l[i(280)]((t=>{t[i(194)]?t.id=n++:t.id=a[c++]})),this[i(415)](l),this[i(388)](e,i(185)),this[i(388)](l,i(194)),o==s&&this[i(264)](e,u),e=this[i(219)](e,l),this[i(354)](e),this[i(388)](e,i(194))}e=e[i(227)]((t=>!(t[i(185)]&&t[i(194)])));const d=new Map(o[i(262)][t][i(325)][i(433)]),f=new Set(u[i(322)]());for(const t of d[i(322)]())f[i(436)](t);this[i(338)](e,f),this[i(286)](e),e=this[i(126)](e),e=this[i(175)](e),e=this[i(317)](e);const{root:m,changes:p}=this[i(257)](e,a,t);c[i(262)][t]=m;const v=l[i(212)](t);if(v){const e=a[i(212)](v[i(171)]),s=new qt({author:e,type:v[i(179)]?i(379):i(382),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(409)](s),c[i(320)][t][i(258)]=s.id}c[i(260)]=c[i(260)][i(149)](p)}return c}[Xt(264)](t,e){const i=Xt;for(let s=0;s<t[i(234)];s++)for(const[n,r]of e)!r[i(128)]&&r[i(369)][i(217)](t[s][i(181)])&&t[s][i(121)][i(299)](n),r[i(139)][i(217)](t[s][i(163)])&&t[s][i(323)][i(299)](n)}[Xt(219)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(234)]||r<e[i(234)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(299)](o);else if(a[i(194)]&&o[i(185)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(421)](t,n,e,r);s=s[i(149)](o),n=a,r=c}else a[i(194)]?(r++,s[i(299)](a)):(n++,s[i(299)](o))}return s}[Xt(338)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(234)];o++){for(let r=0;r<t[o][i(121)][i(234)];r++){const a=t[o][i(121)][r];if(!e[i(137)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(200)!=c||i(243)!=u&&i(189)!=u||(s[i(409)]({type:u,name:a,userId:l}),t[o][i(121)][i(358)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(323)][i(234)];r++){const a=t[o][i(323)][r];if(!e[i(137)](a))continue;const{group:c,type:u}=n(a);if(i(200)!=c||i(243)!=u&&i(189)!=u)continue;t[o][i(323)][i(358)](r,1),r--;const l=s[i(180)]((t=>t[i(428)]==a));l>-1&&s[i(358)](l,1)}}function n(t){const e=i,s=t[e(303)](":");return{group:s[0],type:s[1],subType:s[e(234)]>=5?s[2]:null,id:s[e(234)]<5?s[2]:s[3],authorId:s[e(234)]<5?s[3]:s[4],markerCount:6==s[e(234)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(234)];i++){if(t[e(185)]&&e(243)==s[i][e(394)]&&t[e(185)][e(171)]==s[i][e(171)])return t[e(169)]=s[i],void delete t[e(185)];if(!t[e(185)]&&!t[e(194)]&&e(189)==s[i][e(394)])return void(t[e(361)]=s[i])}}}[Xt(388)](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(211)](o.id,s);for(let s=0;s<t[i(234)];s++){if(i(194)==e&&t[s][i(185)]||i(185)==e&&t[s][i(194)])continue;if(i(119)==t[s][i(394)]){t[s][i(237)]=0;continue}const n=r[i(212)](t[s][i(130)]),o=r[i(212)](t[s].id);t[s][i(237)]=n-o}}[Xt(326)](t,e,i=!1){const s=Xt,n=[];let r=this[s(129)][s(309)](t),o=this[s(129)][s(309)](e);for(-1==o&&(o=this[s(129)][s(378)][s(234)],i=!1);r<o;)n[s(299)](this[s(129)][s(208)](r)),r++;return i&&n[s(299)](this[s(129)][s(208)](r)),n}[Xt(421)](t,e,i,s){const n=Xt,r=this[n(203)][n(262)][n(266)];let o=e;for(;t[o]&&t[o][n(185)];)o++;let a=s;for(;i[a]&&i[a][n(194)];)a++;u(t,e,o),u(i,s,a);const c=i[n(348)](s,a)[n(149)](t[n(348)](e,o));return c[n(411)](((t,e)=>t[n(144)]!=e[n(144)]?t[n(144)]-e[n(144)]:t[n(329)]!=e[n(329)]?t[n(329)]-e[n(329)]:t[n(237)]!=e[n(237)]?e[n(237)]-t[n(237)]:!!t[n(185)]!=!!e[n(185)]?-1==t[n(144)]||0==t[n(144)]?t[n(185)]?-1:1:t[n(185)]?1:-1:t[n(424)]-e[n(424)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(174)],c=!0;for(let n=e;n<i;n++)if(r[s(417)](t[n][s(187)])||(c=!1),t[n][s(187)][s(383)]<e&&(o=n),t[n][s(187)][s(240)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(144)]=n<=o?-1:n<a?0:1,t[n][s(424)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(237)]?t[i][s(329)]=u:(u++,t[i][s(329)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(144)]&&(t[n][s(329)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(237)]?t[e][s(329)]=u:(u--,t[e][s(329)]=u,u--)}}[Xt(286)](t){const e=Xt,i=new Map,s=this[e(203)][e(262)][e(266)];for(let n=1;n<t[e(234)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(119)==c[e(394)])continue;if(c[e(394)]!=u[e(394)])continue;if(!s[e(136)](u[e(187)])||s[e(306)](u[e(187)]))continue;if(!s[e(136)](c[e(187)])||s[e(306)](c[e(187)]))continue;if((t[n][e(185)]||t[n][e(169)])&&t[n-1][e(194)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(194)]||!t[n-1][e(185)]&&!t[n-1][e(169)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(329)]==o[e(329)],h=Math[e(225)](r[e(329)])<Math[e(225)](o[e(329)])&&0==o[e(237)];(l||h)&&(i[e(211)](o.id,r.id),t[e(358)](a,1),n--,r[e(185)]=!1)}for(let s=0;s<t[e(234)];s++)i[e(137)](t[s][e(130)])&&(t[s][e(130)]=i[e(212)](t[s][e(130)]))}[Xt(126)](t){const e=Xt,i=new Set(t[e(161)]((t=>t.id)));for(let s=0;s<t[e(234)];s++)i[e(137)](t[s][e(130)])||0==t[s][e(237)]||(t[s][e(312)]=!0);return t[e(227)]((t=>!t[e(312)]))}[Xt(175)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(234)];s++){if(i[e(137)](t[s].id)&&t[s][e(194)]&&(t[s][e(312)]=!0),t[s][e(312)])continue;if(0==t[s][e(237)])continue;if(e(304)!=t[s][e(394)])continue;if(null==t[s][e(130)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(130)];)e(304)==t[n][e(394)]?r++:e(142)==t[n][e(394)]&&r--,n++;if(0!=r)if(t[s][e(194)])t[s][e(312)]=!0;else for(;n!=s;)t[n][e(194)]&&0!=t[n][e(237)]&&(t[n][e(312)]=!0,i[e(379)](t[n][e(130)])),n--}return t[e(227)]((t=>!t[e(312)]))}[Xt(317)](t){const e=Xt,i=this[e(203)][e(262)][e(266)];for(let s=0;s<t[e(234)];s++){if(!(t[s][e(185)]||t[s][e(169)]||t[s][e(194)]||t[s][e(361)]))continue;if(0==t[s][e(237)])continue;const n=t[s][e(187)];i[e(136)](n)||i[e(306)](n)||(t[s][e(185)]&&delete t[s][e(185)],t[s][e(169)]&&delete t[s][e(169)],t[s][e(361)]&&delete t[s][e(361)],t[s][e(194)]&&(t[s][e(312)]=!0))}return t[e(227)]((t=>!t[e(312)]))}[Xt(257)](t,e,i){const s=Xt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(203)][s(262)],c=a[s(266)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(234)];e++)if(s(304)===t[e][s(394)]){t[e][s(181)]=a[s(345)](n,f);const i=new U.Element(t[e][s(187)][s(428)],t[e][s(187)][s(232)]());u[0][s(235)](i),f[s(299)](0),u[s(409)](i),t[e][s(163)]=a[s(345)](n,f)}else s(142)===t[e][s(394)]?(u[s(401)](),t[e][s(181)]=a[s(345)](n,f),f[s(261)](),f[f[s(234)]-1]++,t[e][s(163)]=a[s(345)](n,f)):(t[e][s(181)]=a[s(345)](n,f),d?d[s(223)]+=t[e][s(187)][s(431)]:d=new U.Text(t[e][s(187)][s(431)],t[e][s(187)][s(232)]()),t[e+1]&&s(119)===t[e+1][s(394)]&&v(d,t[e+1][s(187)])||(u[0][s(235)](d),d=null),f[f[s(234)]-1]+=t[e][s(187)][s(221)],t[e][s(163)]=a[s(345)](n,f));for(let e=0;e<t[s(234)];e++){const i=t[e][s(181)],n=t[e][s(163)];for(const n of t[e][s(121)])o[s(211)](n,{start:i,end:null});m(s(361),e,i,n),m(s(169),e,i,n),m(s(194),e,i,n),m(s(185),e,i,n);for(const i of t[e][s(323)]){const t=o[s(212)](i);t?t[s(139)]=n:o[s(211)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(203)][s(262)][s(288)](e[s(369)],e[s(139)]);n[s(433)][s(211)](t,i)}return r[s(411)](((t,e)=>{const i=s,r=n[i(433)][i(212)](i(335)+t.id),o=n[i(433)][i(212)](i(335)+e.id);return r[i(369)][i(241)](o[i(369)])?-1:r[i(369)][i(173)](o[i(369)])?1:r[i(139)][i(241)](o[i(139)])?-1:r[i(139)][i(173)](o[i(139)])?1:i(379)===t[i(394)]?-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(171)]:null,d=i===t[o(234)]-1,f=h[e][0],m=c[o(307)](t[i][o(187)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(139)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(171)]!==u&&(l[e][o(139)]=n,f&&f[o(171)]===l[e][o(171)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(304)!==t[i][o(394)]||f&&f[o(171)]===u||h[e][o(409)]({userId:u,object:t[i][o(187)],change:l[e]}),o(142)===t[i][o(394)]&&f&&f[o(226)]===t[i][o(187)]&&(h[e][o(401)](),l[e]=f[o(279)])),l[e]&&d&&(l[e][o(139)]=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(187)],f=a[h(266)][h(136)](d)&&!a[h(266)][h(306)](d),m=t[h(210)]==o[h(389)]&&o[h(249)];if(f&&m)return;const p=a[h(288)](t,o),v=e[h(212)](u),g=new qt({author:v,type:h(185)==l||h(169)==l?h(379):h(382),data:{isSuggestion:h(169)==l||h(361)==l},createdAt:new Date,rootName:i});r[h(299)](g),n[h(433)][h(211)](h(335)+g.id,p)}function v(t,e){const i=s,n=t[i(232)](),r=e[i(232)]();for(const t of n){if(t[1]!==e[i(352)](t[0]))return!1;r[i(408)]()}return r[i(408)]()[i(412)]}}[Xt(319)](){const t=Xt;this[t(203)][t(276)][t(213)](t(430))[t(406)]({view:t(140)}),this[t(203)][t(276)][t(213)](t(133))[t(374)]({model:t(140),view:e=>{const i=t,s=e[i(143)][i(303)](":")[1],n=this[i(380)](s);if(!n)return null;const r=i(379)==n[i(394)]?i(243):i(189),o=[i(367),i(353)+r];return n[i(431)][i(218)]&&o[i(299)](i(353)+r+i(268)),this[i(236)]==n&&o[i(299)](i(269)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(203)][t(276)][t(213)](t(430))[t(379)]((e=>{const i=t;e.on(i(337),((t,e,s)=>{const n=i,r=e[n(349)][n(285)](0);if(!r||!r.is(n(330),n(405)))return;if(!s[n(324)][n(122)](r,{attributes:[n(164),n(396)]}))return;const o=e[n(135)][n(369)][n(210)];s[n(308)][n(259)](n(164),r[n(352)](n(164)),o),s[n(308)][n(259)](n(396),r[n(352)](n(396)),o)}),{priority:i(250)})})),this[t(203)][t(276)][t(213)](t(430))[t(379)]((e=>{const i=t;e.on(i(330),((t,e,s)=>{const n=i;if(!s[n(324)][n(122)](e[n(349)],{attributes:[n(164),n(396)]}))return;if(e[n(135)][n(128)])return;const r=e[n(135)][n(369)][n(210)];r[n(273)](n(164))||r[n(273)](n(248))||(s[n(308)][n(259)](n(164),e[n(349)][n(352)](n(164)),r),s[n(308)][n(259)](n(396),e[n(349)][n(352)](n(396)),r))}),{priority:i(250)})})),this[t(203)][t(276)][t(213)](t(430))[t(150)]({view:{name:t(141),attributes:{vid:!0}},model:{key:t(248),value:e=>e[t(352)](t(248))}}),this[t(203)][t(262)][t(266)].on(t(314),((e,[,i])=>{const s=t;[s(164),s(396),s(248)][s(153)](i)&&(e[s(341)]=!0,e[s(123)]())}),{priority:t(228)}),this[t(203)][t(276)][t(213)](t(372))[t(379)]((e=>{const i=t;e.on(i(297),((t,e,s)=>{const n=i;if(" "!=e[n(187)][n(431)]||e[n(187)][n(389)][n(339)]>1)return;if(!s[n(324)][n(122)](e[n(187)],t[n(428)]))return;const r=s[n(308)],o=s[n(151)][n(272)](e[n(357)]);r[n(183)](o,r[n(350)](n(141)))}))})),this[t(203)][t(276)][t(213)](t(372))[t(346)]({model:t(140)}),this[t(203)][t(283)][t(298)].on(t(370),function(e){const i=t,s=e[i(199)][i(212)](i(147));return(t,n,r)=>{const o=i,a=n[o(143)][o(303)](":")[1],c=s[o(380)](a);if(!c)return null;const u=o(379)==c[o(394)]?o(303):o(197);if(!r[o(324)][o(125)](n[o(152)],t[o(428)]))return;const l=n[o(152)][o(205)](),h=n[o(152)][o(369)],d=e[o(262)][o(266)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(187)];p=p||d[o(413)](e);const i=r[o(151)][o(168)](e);if(i&&i[o(177)](o(400)))return;o(142)==t[o(394)]&&d[o(136)](e)&&!d[o(306)](e)&&(e[o(247)]||h[o(328)]?f&&f[o(389)]==e||(f=e,g(t[o(181)]),v=!0):m=m||t[o(181)])}function g(t){const e=o,i=r[e(308)][e(167)](e(141),{class:e(353)+u}),a=r[e(151)][e(265)](t);c[e(431)][e(218)]&&r[e(308)][e(377)](e(353)+u+e(268),i),s[e(236)]==c&&r[e(308)][e(377)](e(269),i),r[e(308)][e(393)](a,i),r[e(151)][e(253)](i,n[e(143)])}p||v||!m||g(m)}}(this[t(203)]),{priority:t(138)}),this[t(203)][t(283)][t(298)].on(t(368),((e,i,s)=>{const n=t,r=s[n(151)][n(356)](i[n(143)]);if(r)for(const t of r)(t[n(397)](n(165))||t[n(397)](n(437)))&&(s[n(151)][n(305)](t,i[n(143)]),s[n(308)][n(382)](t))}),{priority:t(138)}),this[t(203)][t(283)][t(298)].on(t(370),((e,i,s)=>{const n=t,r=i[n(143)][n(303)](":")[1],o=this[n(380)](r);if(!o)return null;const a=n(379)==o[n(394)]?n(303):n(197);if(s[n(324)][n(125)](i[n(152)],e[n(428)]))for(const t of i[n(152)][n(201)]()){if(!t.is(n(330),n(425)))continue;const e=s[n(308)][n(167)](n(141),{class:n(353)+a}),r=s[n(151)][n(265)](this[n(203)][n(262)][n(172)](t));o[n(431)][n(218)]&&s[n(308)][n(377)](n(353)+a+n(268),e),this[n(236)]==o&&s[n(308)][n(377)](n(269),e),s[n(308)][n(393)](r,e),s[n(151)][n(253)](e,i[n(143)])}}),{priority:t(138)}),this[t(203)][t(262)][t(127)].on(t(279),(()=>{const e=t;this[e(203)][e(283)][e(316)][e(279)]((t=>{const i=e;for(const e of this[i(203)][i(262)][i(127)][i(334)]()){const s=this[i(203)][i(262)][i(127)][i(251)](e),n=this[i(203)][i(283)][i(316)][i(127)][i(251)](e);if(n){const e=s[i(352)](i(258));if(t[i(404)](i(318),n),t[i(362)](i(376),n),t[i(362)](i(385),n),t[i(362)](i(441),n),e){const s=this[i(380)](e);if(!s)return null;t[i(259)](i(318),e,n),t[i(377)](i(365)+s[i(394)],n),this[i(236)]==s&&t[i(377)](i(441),n)}}}}))})),this[t(203)][t(276)][t(213)](t(430))[t(406)]({view:t(321),model:e=>t(344)+e,converterPriority:t(228)}),this[t(203)][t(276)][t(213)](t(430))[t(406)]({view:t(190),model:e=>t(443)+e,converterPriority:t(228)}),this[t(203)][t(276)][t(213)](t(372))[t(346)]({model:t(200),view:e=>({name:t(242)+e,group:t(200)}),converterPriority:t(228)}),this[t(203)][t(276)][t(213)](t(133))[t(374)]({model:t(200),view:e=>{const i=t,s=e[i(143)][i(303)](":")[1];return i(243)!=s&&i(189)!=s?null:{classes:[i(277),i(435)+s]}}}),this[t(203)][t(283)][t(298)].on(t(287),ie(this[t(203)],t(197)),{priority:t(138)}),this[t(203)][t(283)][t(298)].on(t(209),ie(this[t(203)],t(303)),{priority:t(138)}),this[t(203)][t(283)][t(298)].on(t(429),((e,i,s)=>{const n=t,r=s[n(151)][n(356)](i[n(143)]);if(r)for(const t of r)t.is(n(387))&&(s[n(151)][n(305)](t,i[n(143)]),s[n(308)][n(382)](t))}),{priority:t(138)})}[Xt(380)](t){const e=Xt;return this[e(386)][e(212)](t)}[Xt(244)](t){const e=Xt;return this[e(438)]&&this[e(438)][e(156)](),this[e(438)]=new Wt(this[e(203)][e(178)],t),this[e(438)]}[Xt(423)](){const t=Xt;this[t(203)][t(262)][t(127)][t(427)][t(231)](t(140)),this.on(t(295),((e,i,s,n)=>{const r=t;n&&this[r(202)][r(382)](n),s&&(this[r(202)][r(379)]({view:s,stackId:r(214),position:{target:()=>{const t=r,e=this[t(203)][t(283)],i=this[t(380)](s[t(392)]);let n;if(i[t(431)][t(410)]){const s=e[t(316)][t(290)](i[t(292)]);n=Array[t(311)](s[t(159)]())}else{const i=this[t(203)][t(262)][t(433)][t(212)](t(335)+s[t(392)]);n=Array[t(311)](e[t(151)][t(356)](i[t(428)]))[t(161)]((i=>e[t(316)][t(363)][t(245)](i)))[t(161)]((e=>Array[t(311)](e[t(159)]())))[t(398)]()}return this[t(343)]&&n[t(204)]((e=>e[t(195)]-3<=this[t(343)].y&&e[t(395)]+3>=this[t(343)].y&&e[t(255)]-3<=this[t(343)].x&&e[t(375)]+3>=this[t(343)].x))||n[0]}}}),this[r(202)][r(270)](r(214)))})),this.on(t(281),((e,i,s,n)=>{const r=t;this[r(186)]=s?this[r(244)](s):null,this[r(203)][r(262)][r(279)]((()=>{const t=r,e=this[t(203)][t(283)];n&&(n[t(431)][t(410)]?e[t(316)][t(279)]((i=>{const s=t;i[s(362)](s(441),e[s(316)][s(127)][s(251)](n[s(292)]))})):e[t(402)](t(335)+n.id)),s&&(s[t(431)][t(410)]?e[t(316)][t(279)]((i=>{const n=t;i[n(377)](n(441),e[n(316)][n(127)][n(251)](s[n(292)]))})):e[t(402)](t(335)+s.id))}))})),this[t(216)](this[t(203)][t(283)][t(316)][t(127)],t(207),((e,i)=>{const s=t;if(this[s(236)])return;const n=this[s(442)](i[s(182)]),r=this[s(386)][s(212)](n);r?(this[s(343)]={x:i[s(439)].x,y:i[s(439)].y},this[s(186)]=this[s(244)](r)):(this[s(343)]=null,this[s(186)]=null)})),this[t(216)](this[t(203)][t(283)][t(316)][t(127)],t(310),((e,i)=>{const s=t,n=this[s(442)](i[s(182)]),r=this[s(386)][s(212)](n);r?(this[s(343)]={x:i[s(439)].x,y:i[s(439)].y},r===this[s(236)]?this[s(202)][s(416)]():this[s(236)]=r):(this[s(343)]=null,this[s(236)]=null)}))}[Xt(442)](t){const e=Xt;do{const i=t[e(352)](e(318));if(i)return i;t=t[e(389)]}while(t);return null}[Xt(256)](){const t=Xt;this[t(203)][t(262)][t(279)]((e=>{const i=t;for(const t of this[i(203)][i(262)][i(433)])e[i(134)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(324)][r(125)](s[r(152)],i[r(428)]))return;const o=s[r(152)][r(205)](),a=s[r(152)][r(369)],c=t[r(262)][r(266)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(187)];h=h||c[r(413)](e);const i=n[r(151)][r(168)](e);if(i&&i[r(177)](r(400)))return;r(142)==t[r(394)]&&c[r(136)](e)&&!c[r(306)](e)&&(e[r(247)]||a[r(328)]?u&&u[r(389)]==e||(u=e,f(t[r(181)]),d=!0):l=l||t[r(181)])}function f(t){const i=r,o=n[i(151)][i(265)](t),a=n[i(308)][i(167)](i(141),{class:i(435)+e});n[i(308)][i(393)](o,a),n[i(151)][i(253)](a,s[i(143)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(199)][e(212)](ee);this[e(267)]=!1,this[e(216)](i,e(422),(()=>this[e(132)]())),this[e(216)](i,e(124),(()=>this[e(132)]()))}[Xt(301)](){const t=Xt,e=this[t(203)],i=e[t(199)][t(212)](ee),s=i[t(294)]?i[t(347)][t(188)]:null;e[t(336)][t(212)](t(366))[t(284)](s)}[Xt(132)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(203)][t(199)][t(212)](ee),r=n&&s[t(342)](n[t(188)]);this[t(391)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(351)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(199)][i(212)](ee);this[i(267)]=!1,this[i(351)]=i(271)===e?1:-1,this[i(216)](s,i(422),(()=>this[i(132)]())),this[i(216)](s,i(124),(()=>this[i(132)]())),this[i(216)](s,i(281),(()=>this[i(132)]()))}[Xt(301)](){const e=Xt,i=this[e(203)],s=i[e(199)][e(212)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(236)]=n?s[e(347)][e(260)][e(212)](r+this[e(351)]):s[e(347)][e(260)][e(154)],s[e(236)][e(431)][e(410)])o=i[e(283)][e(316)][e(290)](s[e(236)][e(292)]);else{const t=i[e(262)][e(433)][e(212)](e(335)+s[e(236)].id);o=(0,H.getMarkerDomElement)(i[e(283)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(132)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(203)][t(199)][t(212)](ee);this[t(391)]=!!(r&&n&&s)&&(!e||(1===this[t(351)]?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=["27rIdyex","setTemplate","ck-revision-history-ui__changes-navigation__label","2WzDPPs","_statusText","Total","isNavigationMode","Show next change","fire","bindTemplate","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","401476EUhDtF","numberOfChanges","14413170dzMLWl","3565611MbgPca","div","7284160jhHezJ","6592cqEOxC","ck-revision-history-ui","backward","EDIT_X_OF_Y_REVISIONS","5009211PLZjqF","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","forward","isReady","1460KNgNOX","ck-revision-history-ui__changes-navigation__navigation","No changes","isForwardNavigationEnabled","bind","set","isEnabled","Show previous change","currentChangeNumber","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","Loading...","isBackwardNavigationEnabled","execute","8873706DsLakM","span"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(853856===parseInt(e(132))/1*(-parseInt(e(141))/2)+-parseInt(e(108))/3+-parseInt(e(147))/4*(-parseInt(e(113))/5)+-parseInt(e(127))/6+parseInt(e(144))/7+-parseInt(e(146))/8+parseInt(e(129))/9*(parseInt(e(143))/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(138)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(118)](e(135),!1),this[e(118)](e(112),!1),this[e(118)](e(121),0),this[e(118)](e(142),0),this[e(118)](e(116),!1),this[e(118)](e(125),!1),this[e(117)](e(140)).to(this,e(112),this,e(142),((t,e)=>t&&e>0)),this[e(117)](e(133)).to(this,e(112),this,e(121),this,e(142),this,e(135),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(124));if(!n)return Q(t,o(115));const a=Q(t,o(110),n);return r?Q(t,o(109),[s+1,n]):a})),s[e(118)]({label:Q(t,e(120)),tooltip:!0,icon:mt.IconChevronUp}),n[e(118)]({label:Q(t,e(136)),tooltip:!0,icon:mt.IconChevronDown}),s[e(117)](e(119)).to(this,e(125)),n[e(117)](e(119)).to(this,e(116)),s.on(e(126),(()=>this[e(137)](e(126),e(106)))),n.on(e(126),(()=>this[e(137)](e(126),e(111)))),this[e(130)]({tag:e(145),attributes:{class:["ck",e(148),e(139)]},children:[{tag:e(128),attributes:{class:[e(122)]},children:[{tag:e(128),attributes:{class:[e(131),i.if(e(140),e(123),(t=>!t))]},children:[{text:i.to(e(135),(i=>i?Q(t,e(107))+": ":Q(t,e(134))+": "))}]},{text:i.to(e(133))}]},new pt.ToolbarSeparatorView,{tag:e(145),attributes:{class:[e(114)]},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-=130]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(756671===parseInt(e(147))/1*(parseInt(e(145))/2)+parseInt(e(144))/3+-parseInt(e(133))/4*(-parseInt(e(156))/5)+-parseInt(e(154))/6*(parseInt(e(136))/7)+parseInt(e(130))/8+parseInt(e(137))/9*(-parseInt(e(151))/10)+parseInt(e(131))/11*(-parseInt(e(146))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=fe(155);class pe extends Z.Plugin{static get[fe(142)](){return fe(141)}static get[fe(149)](){return!0}static get[fe(139)](){return!0}[fe(135)](){const t=fe,e=this[t(138)][t(143)][t(134)];e[t(150)]((i=>{const s=t;for(const t of e[s(153)][s(132)])i[s(148)](me,t)}))}[fe(140)](){const t=fe,e=this[t(138)][t(143)][t(134)];e[t(150)]((i=>{const s=t;for(const t of e[s(153)][s(132)])i[s(152)](me,t)}))}}function ve(){const t=["12126070IdSqXM","removeClass","document","1568982elamyw","ck-editor__editable__loading-overlay","557815XxSuQw","8601664NxZWYl","605eThZWY","roots","36QzAQcQ","view","show","35jGpOBK","9EErDKW","editor","isPremiumPlugin","hide","RevisionViewerLoadingOverlay","pluginName","editing","3166623zZMEkz","52yLmzpb","109356hVuOMt","24737AUtzFP","addClass","isOfficialPlugin","change"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=be();return(ye=function(t,e){return i[t-=248]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(558240===-parseInt(e(291))/1+parseInt(e(289))/2+parseInt(e(279))/3+-parseInt(e(265))/4+-parseInt(e(250))/5+-parseInt(e(268))/6*(-parseInt(e(290))/7)+-parseInt(e(255))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class ke extends Z.Plugin{static get[ge(259)](){return ge(274)}static get[ge(266)](){return!0}static get[ge(260)](){return!0}static get[ge(264)](){return[ee,pe]}[ge(288)](){const t=ge,e=this[t(253)],i=e[t(292)][t(263)](ee),s=e[t(292)][t(263)](pe);e.ui[t(287)][t(276)](t(258),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(282)]({label:Q(i,s(267)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(281)}),this[s(249)](n,s(275),(()=>{const t=s;e[t(262)][t(263)](t(261))[t(284)]()})),n})),e.ui[t(287)][t(276)](t(269),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(282)]({label:Q(i,s(252)),withText:!0,tooltip:!0}),n[s(278)](s(248)).to(e[s(254)][s(263)](s(269))),this[s(249)](n,s(275),(()=>e[s(275)](s(269)))),n})),e.ui[t(287)][t(276)](t(251),(s=>{const n=t,r=new ue(s),o=e[n(254)][n(263)](n(293)),a=e[n(254)][n(263)](n(285));return r[n(278)](n(286)).to(o,n(248)),r[n(278)](n(270)).to(a,n(248)),r[n(278)](n(273),n(280),n(256),n(272)).to(i),this[n(249)](r,n(275),((t,i)=>{const s=n;e[s(275)](s(277)===i?s(285):s(293))})),r})),s[t(257)](),i.on(t(283),((e,i,n)=>{const r=t;n?s[r(271)]():s[r(257)]()}))}}function be(){const t=["Back to editing","18ytrJXl","restoreRevision","isForwardNavigationEnabled","hide","isNavigationMode","isReady","RevisionViewerUI","execute","add","forward","bind","2553849hrfNTX","currentChangeNumber","ck-revision-history-ui__back-to-editing","set","change:isReady","closeRevisionViewerCallback","showNextChange","isBackwardNavigationEnabled","componentFactory","init","1719420SQXszc","1679034CgHWIa","495403GHBYrZ","plugins","showPreviousChange","isEnabled","listenTo","431740dvHrvE","changesNavigation","Restore this revision","editor","commands","6705768ENFSyB","numberOfChanges","show","exitToEditing","pluginName","isPremiumPlugin","revisionHistory","config","get","requires","1809468CBdxDa","isOfficialPlugin"];return(be=function(){return t})()}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=Oe;function Se(){const t=["input","render","listenTo","placeholder","1000164BxSduw","span","_tooltipString","destroy","Revision name","2922690zkuXJH","747292rWYWtB","element","ck-tooltip_multi-line","bindTemplate","_updateTooltipText","_resizeObserver","extendTemplate","set","value","1068806yFiXXZ","clientWidth","2414307LhKbiW","scrollWidth","ck-revision-history-sidebar__revision-name","3riWfUR","656583qpRTdj","fieldView","1480168QmXpbW","Enter the revision name","27xmmJyC"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(376157===parseInt(e(405))/1+-parseInt(e(399))/2*(-parseInt(e(404))/3)+-parseInt(e(420))/4+-parseInt(e(419))/5+parseInt(e(414))/6+parseInt(e(401))/7+parseInt(e(407))/8*(-parseInt(e(409))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(395)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(423)];this[i(397)]({label:Q(t,i(418)),_tooltipString:""}),this[i(406)][i(413)]=Q(t,i(408)),this[i(396)]({tag:i(415),attributes:{class:[i(403)],"data-cke-tooltip-text":s.to(i(416)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(422)}})}[Ie(411)](){const e=Ie;super[e(411)](),this[e(395)]=new t.ResizeObserver(this[e(406)][e(421)],(()=>this[e(424)]())),this[e(412)](this[e(406)],e(410),(()=>this[e(424)]()))}[Ie(417)](){const t=Ie;super[t(417)](),this[t(395)]&&this[t(395)][t(417)]()}[Ie(424)](){const t=Ie,e=this[t(406)][t(421)];this[t(416)]=e[t(402)]>e[t(400)]&&e[t(398)]||""}}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(t,e){const i=Ae();return(Re=function(t,e){return i[t-=481]})(t,e)}function Ae(){const t=["Revision author","setTemplate","0 0 11 10","push","120066XAmirF","2200LdqGuM","ck-revision-history-sidebar__revision-author_creator","name","35QXemQV","2684184tpOkDZ","41252vQoJpL","2010285LfMvQE","7skmnKy","Revision creator","3865048fASkHA","ck-revision-history-sidebar__revision-author","17720JqZXxz","147964kVlwmP","span","3IQKwQM","set","ck-revision-history-sidebar__revision-author__name"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(255155===-parseInt(e(489))/1+parseInt(e(495))/2*(parseInt(e(482))/3)+-parseInt(e(502))/4*(parseInt(e(493))/5)+-parseInt(e(494))/6+-parseInt(e(497))/7*(-parseInt(e(499))/8)+parseInt(e(496))/9+-parseInt(e(501))/10*(-parseInt(e(490))/11))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(483)]({content:mt.IconUser,viewBox:s(487)});const r=["ck",s(500)];i&&r[s(488)](s(491));const o=[{tag:s(481),attributes:{class:["ck",s(484)],title:Q(t,s(i?498:485))},children:[n,e[s(492)]]}];this[s(486)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=385]})(t,e)}function Ee(){var t=["48mcGMkt","toLocaleDateString","6270272KVtACu","443802thgDCj","5721516baUlvN","60CdNsNa","numeric","toLocaleTimeString","4142661YxKNyt","12432812JHXyeq","796wqoFyr","long","71991kQTaIe"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(942435===parseInt(e(397))/1*(parseInt(e(387))/2)+parseInt(e(395))/3+parseInt(e(391))/4+parseInt(e(392))/5*(-parseInt(e(390))/6)+-parseInt(e(396))/7+parseInt(e(389))/8+-parseInt(e(386))/9)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(t,e){const i=je();return(Fe=function(t,e){return i[t-=444]})(t,e)}function je(){const t=["isEnabled","171zRGyOJ","ck-revision-history-sidebar__revision__actions","execute","2DVToRu","source","button","isOpen","set","listenTo","stopPropagation","buttonView","menuitem","function","10124672uuRWve","change:isActionsDropdownOpen","bindTemplate","extendTemplate","action","Show more items","isVisible","_action","map","302232dIvgoA","isReady","2246157UcfoOG","840601GVaXXw","first","listView","4032015excXNj","menu","panelPosition","add","Name this revision","24JPJShj","locale","find","name","348780RaddLJ","ck-on","children","class","Compare against selected","bind","items","Restore this revision","model","1045695OMRRay","isActionsDropdownOpen"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(701997===parseInt(e(487))/1+parseInt(e(465))/2*(parseInt(e(486))/3)+-parseInt(e(484))/4+-parseInt(e(490))/5+-parseInt(e(446))/6*(-parseInt(e(459))/7)+-parseInt(e(475))/8+-parseInt(e(462))/9*(-parseInt(e(450))/10))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=Ze();return(We=function(t,e){return i[t-=285]})(t,e)}function Ze(){const t=["isConfirm","ck-reset","isHighlighted","filter","name","1722590xYqGNE","highlight","153036olZaWW","createdAt","authors","fieldView","select","66492qTpnWJ","closest","setTemplate","creator","deselect","isReady","isSelected","4657386ROWZTo","3HJztWa","change","unshift","ck-disabled","ck-revision-history-sidebar__revision-authors","setName","length","ck-revision-history-sidebar__revision__date","8ZDRLne","listenTo","bindTemplate","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","isEnabled","ck-revision-history-sidebar__revision","srcElement","uiLanguage",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__controls-wrapper","value","ck-revision-history-sidebar__revision_highlighted","_createdAtFormatted","span","fire","set","unhighlight","map","isActionsDropdownOpen","_requireRevisionName","424GCEDMJ","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","9522800VVsGCI","220","3873359TCbzDi","bind","render","ck-revision-history-sidebar__actions_dropdown_open","revisionNameView","div","extendTemplate","776964IwzTQw","ck-revision-history-sidebar__revision_selected","from","element","_revision"];return(Ze=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(461702===parseInt(e(322))/1+-parseInt(e(310))/2*(-parseInt(e(335))/3)+-parseInt(e(343))/4*(-parseInt(e(320))/5)+-parseInt(e(334))/6+-parseInt(e(303))/7+-parseInt(e(299))/8*(parseInt(e(327))/9)+parseInt(e(301))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(307)];[ze(346)];[ze(314)];[ze(298)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(345)],a=function(t,e){const i=r,s=Array[i(312)](e[i(324)])[i(318)]((t=>t!=e[i(330)]));return e[i(330)]&&s[i(337)](e[i(330)]),s[i(296)]((s=>new Ve(t,s,s==e[i(330)])))}(e,i);this.id=i.id,this[r(314)]=i,this[r(298)]=n,this[r(304)](r(319),r(323)).to(i),this[r(304)](r(291)).to(this,r(323),(t=>{return i=e[r(286)],(s=t)[(n=Me)(388)](i,{month:n(385),day:n(393)})+", "+s[n(394)](i,{hour:n(393),minute:n(393)});var i,s,n})),this[r(294)](r(333),!1),this[r(294)](r(317),!1),this[r(294)](r(297),!1),this[r(294)](r(332),!1),this[r(294)](r(348),!1),this[r(307)]=new Te(e,pt.createLabeledInputText),this[r(307)][r(325)][r(309)]({attributes:{maxlength:r(302)}}),this[r(307)][r(325)][r(304)](r(289)).to(this,r(319),(t=>t||this[r(291)])),this[r(307)][r(304)](r(348)).to(this,r(333),this,r(348),((t,e)=>t&&e)),this[r(346)]=s&&s[r(341)]?function(e,i){const s=Fe,n=e[s(477)],r=e[s(447)],o=(0,pt.createDropdown)(r);o[s(492)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(447)],n={"Compare against selected":Q(s,i(454)),"Name this revision":Q(s,i(445)),"Restore this revision":Q(s,i(457))};return e[i(483)]((t=>{const e=i,s=n[t[e(449)]];return s&&s!==t[e(449)]&&(t[e(449)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(467),model:new pt.ViewModel({label:t[n(449)],class:t[n(453)],withText:!0,role:n(473),_action:t[n(479)]})};i[n(458)][n(455)](n(461)).to(e,n(460),(i=>n(474)!=typeof t[n(461)]||!i||t[n(461)](e))),o[n(444)](i)}return o}(e,i);return e[s(455)](s(460)).to(o,s(468)),o[s(472)][s(469)]({label:Q(r,s(480)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(478)]({attributes:{class:[s(463),n.if(s(460),s(451))]},on:{click:n.to((t=>t[s(471)]()))}}),o.on(s(464),(t=>{const i=s;e[i(485)]&&i(474)==typeof t[i(466)][i(482)]&&t[i(466)][i(482)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(491)}),o[s(470)](e,s(476),((t,n,r)=>{const a=s;if(r)for(const t of o[a(489)][a(456)]){const s=t[a(452)][a(488)],n=i[a(448)]((t=>t[a(479)]===s[a(482)]))[a(481)];t[a(481)]=void 0===n||n(e)}})),o}(this,s):"",this[r(346)]&&this[r(346)][r(304)](r(348)).to(this),this[r(329)]({tag:r(308),attributes:{class:["ck",r(316),r(347),o.if(r(315),r(300))]},children:[{tag:r(308),attributes:{class:["ck",r(316),r(349),o.if(r(348),r(338),(t=>!t)),o.if(r(333),r(311)),o.if(r(317),r(290)),o.if(r(297),r(306))]},children:[this[r(307)],{tag:r(292),attributes:{class:["ck",r(342)]},children:[{text:o.to(r(291))}]},{tag:r(308),attributes:{class:["ck",r(288)]},children:[{tag:"ul",attributes:{class:["ck",r(339)]},children:a}]},this[r(346)]],on:{click:o.to((t=>{const e=r;t[e(285)][e(328)](e(287))||this[e(332)]&&this[e(348)]&&this[e(293)](e(326),{id:this.id})}))}}]})}[ze(305)](){const t=ze;super[t(305)]();const e=this[t(307)][t(325)][t(313)];this[t(344)](e,t(336),(()=>{const i=t;this[i(298)]&&!e[i(289)]||this[i(293)](i(340),{id:this.id,name:e[i(289)]}),e[i(289)]||(e[i(289)]=this[i(319)]?this[i(319)]:this[i(291)])}))}[ze(326)](){this[ze(333)]=!0}[ze(331)](){this[ze(333)]=!1}[ze(321)](){this[ze(317)]=!0}[ze(295)](){this[ze(317)]=!1}}class Ue extends Error{}class qe extends Ue{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ue{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ue{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ue{}class Je extends Ue{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ue{}class Ke extends Ue{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 Hs(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 Hs(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 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 Zi{static fromOpts(t){return Zi.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 Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.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?Zi.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 Hi=null;class Ui extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Ui(0)),Hi}static instance(t){return 0===t?Ui.utcInstance:new Ui(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Ui(Us(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?Ui.utcInstance:Ui.parseSpecifier(i)||Ri.create(t)}return Is(t)?Ui.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(){Zi.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 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 Zs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(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 Us(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]]=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 xn(t,e){const i=!t[e]&&!t[e+1],s=Us(t[e+1],t[e+2]);return[{},i?null:Ui.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(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?Zs(Ms(e)):Ms(e),month:Gs.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:Us(l,h),[d,new Ui(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),Ui.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Ui.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Un=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||Zi.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:Zi.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||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.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])=>Us(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,Zs);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 Ui(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(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 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(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(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 Hr(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 Ur={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(Mr(i));const s=Zi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Ur[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||Zi.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=Ui.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:Zi.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:$i(e.zone,os.defaultZone),loc:Zi.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:Zi.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(Mr(i));const s=Zi.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=Ur);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],[Zn,$n],[Hn,Bn],[Un,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 Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.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,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.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(Ui.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(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=$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=Zr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(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":"")+Hr(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?Zr(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(Zi.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=Zi.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=Zi.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(){const t=["day","hasSame","weekdayLong","3442839gmvBws","minus","6494691rqnmps","startOf","toJSDate","year","toRelativeCalendar","local","692mwEkBq","week","month","3790992fxuKAf","fromJSDate","10040apHVUd","8596341RKPXoK","72Weedla","monthLong","2095EKQPBD","6823544ReNzgC","setLocale"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=106]})(t,e)}function oo(t,e){const i=ro,s=io[i(111)](t)[i(118)](e),n=io[i(106)](),r=n[i(123)]({days:1})[i(125)](i(119));let o,a;return s[i(120)](n,i(119))?(o=s[i(125)](i(119))[i(126)](),a=s[i(128)]()):s[i(120)](r,i(119))?(o=r[i(126)](),a=s[i(128)]()):s[i(120)](n,i(108))?(o=s[i(125)](i(108))[i(126)](),a=s[i(121)]||""):s[i(120)](n,i(127))?(o=s[i(125)](i(109))[i(126)](),a=s[i(115)]||""):(o=s[i(125)](i(127))[i(126)](),a=String(s[i(127)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(962133===parseInt(e(114))/1*(-parseInt(e(112))/2)+parseInt(e(122))/3+parseInt(e(107))/4*(-parseInt(e(116))/5)+-parseInt(e(110))/6+-parseInt(e(124))/7+parseInt(e(117))/8+parseInt(e(113))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);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(){const t=["658352FwWVKN","removeRevision","localizedPeriodName","addRevision","1201554RwBiAM","7919890bxuLKx","ck-revision-history-sidebar__time-period__label","setTemplate","_requireRevisionName","revisionViews","45UbuACY","4268034HCzicL","3lxMlHT","3651432efGtTn","112ACiXgS","createCollection","ck-revision-history-sidebar__time-period","_revisionActions","779202aDgLJD","remove","delegate","locale","4741896puftRn","select","add","setName","startDate","div","find","span","uiLanguage","ck-revision-history-sidebar__time-period__revisions"];return(uo=function(){return t})()}const lo=ho;function ho(t,e){const i=uo();return(ho=function(t,e){return i[t-=440]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(989120===parseInt(e(446))/1+-parseInt(e(441))/2*(-parseInt(e(440))/3)+parseInt(e(450))/4+-parseInt(e(470))/5*(parseInt(e(464))/6)+parseInt(e(442))/7*(-parseInt(e(460))/8)+-parseInt(e(471))/9+parseInt(e(465))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class fo extends pt.View{[lo(454)];[lo(469)];[lo(445)];[lo(468)];constructor(t,e,i,s){const n=lo;super(t);const r=oo(e,this[n(449)][n(458)])[n(462)];this[n(454)]=e,this[n(469)]=this[n(443)](),this[n(445)]=i,this[n(468)]=s,this[n(469)][n(448)](n(451)).to(this),this[n(469)][n(448)](n(453)).to(this),this[n(467)]({tag:n(455),attributes:{class:["ck",n(444)]},children:[{tag:n(457),attributes:{class:["ck",n(466)]},children:[{text:r}]},{tag:n(455),attributes:{class:["ck",n(459)]},children:this[n(469)]}]})}[lo(463)](t){const e=lo,i=new He(this[e(449)],t,this[e(445)],this[e(468)]);this[e(469)][e(452)](i)}[lo(461)](t){const e=lo,i=this[e(469)][e(456)]((e=>e.id===t.id));this[e(469)][e(447)](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(){const t=["1809420hBoMXI","setTemplate","Revision history","span","297788jyvWoW","ck-revision-history-sidebar__header","320221vtHHae","content","21160vEhSfH","ck-revision-history-sidebar__header__label","3502503vqvnFN","300176rXWYFc","ck-reset_all","39TzxNlz","25256TAuVsm","div","7TsoHIq"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(165195===-parseInt(e(187))/1+-parseInt(e(195))/2*(parseInt(e(194))/3)+-parseInt(e(185))/4+-parseInt(e(189))/5+parseInt(e(198))/6+-parseInt(e(197))/7*(-parseInt(e(192))/8)+parseInt(e(191))/9)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(188)]=mt.IconHistory,this[e(199)]({tag:e(196),attributes:{class:["ck",e(193),e(186)]},children:[i,{tag:e(201),attributes:{class:["ck",e(190)]},children:[Q(t,e(200))]}]})}}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-=127]})(t,e)}function Io(){const t=["_requireRevisionName","add","map","55VAeRLL","getTime","highlightRevisions","some","_revisionActions","setName","201ekBioM","bindTemplate","timePeriodViews","revisionSelected","get","find","remove","7736FuEQZg","412715plvqTa","render","createCollection","fire","deselect","33844vcaTKT","setTemplate","removeRevision","64416sXLSxt","unhighlight","ck-disabled","revisionSetName","406098LeHNuD","set","createdAt","locale","ck-reset","1323pEFIAG","isEnabled","flat","ck-revision-history-sidebar__timeline","delegate","_addRevision","selectRevision","_getTimePeriodViewByStartDate","19094680sSEsrs","uiLanguage","div","_revisions","revisionViews","ck-rounded-corners","select","1859134srZGqY","highlight","addRevision","240OTUkLH","startDate","ck-revision-history-sidebar","_removeRevision"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(667584===-parseInt(e(154))/1+parseInt(e(130))/2+-parseInt(e(146))/3*(parseInt(e(159))/4)+-parseInt(e(140))/5*(parseInt(e(162))/6)+-parseInt(e(171))/7*(-parseInt(e(153))/8)+parseInt(e(166))/9*(-parseInt(e(133))/10)+parseInt(e(179))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(148)];[wo(182)];[wo(144)];[wo(137)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(147)];this[n(148)]=this[n(156)](),this[n(148)][n(175)](n(129)).to(this),this[n(148)][n(175)](n(145)).to(this),this[n(182)]=e,this[n(144)]=i,this[n(137)]=s,this.on(n(129),((t,e)=>{const i=n;this[i(157)](i(149),e)})),this.on(n(145),((t,e)=>{const i=n;this[i(157)](i(165),e)})),this[n(167)](n(172),!1),this[n(160)]({tag:n(181),attributes:{class:["ck",n(170),n(128),n(135)]},children:[new yo(t),{tag:n(181),attributes:{class:["ck",n(174),r.if(n(172),n(164),(t=>!t))]},children:this[n(148)]}]})}[wo(155)](){const t=wo;super[t(155)]();for(const e of this[t(182)])this[t(176)](e);this[t(182)].on(t(138),((e,i)=>{this[t(176)](i)})),this[t(182)].on(t(152),((e,i)=>{this[t(136)](i)}))}get[wo(127)](){const t=wo;return this[t(148)][t(139)]((e=>e[t(127)][t(139)]((t=>t))))[t(173)]()}[wo(177)](t){const e=wo;for(const i of this[e(127)])t&&t.id===i.id?i[e(129)]():i[e(158)]()}[wo(142)](t){const e=wo;for(const i of this[e(127)])t[e(143)]((({id:t})=>t===i.id))?i[e(131)]():i[e(163)]()}[wo(176)](t){const e=wo,i=oo(t[e(168)],this[e(169)][e(180)])[e(134)];let s=this[e(148)][e(150)](0);s&&s[e(134)][e(141)]()===i[e(141)]()||(s=new fo(this[e(169)],i,this[e(144)],this[e(137)]),this[e(148)][e(138)](s)),s[e(132)](t)}[wo(136)](t){const e=wo,i=oo(t[e(168)],this[e(169)][e(180)])[e(134)];this[e(178)](i)[e(161)](t)}[wo(178)](t){const e=wo;return this[e(148)][e(151)]((i=>i[e(134)][e(141)]()===t[e(141)]()))}}const Oo=xo;function To(){const t=["highlightRevisions","isReady","compareAgainstSelected","_revisionViewer","length","getRevisionsInDiff","locale","revisionSetName","revisionHistory","getRevision","destroy","init","assign","fieldView","revisionHistory.revisionActions","revisionHistory.requireRevisionName","diff","_handleEditorDataReady","120339oKZLZp","compare","timePeriodViews","240uxNPTU","getLaterVisibleRevision","plugins","newRevisionId","setName","listenTo","defaultRevisionActions","get","isVisible","2676450CBNXur","change:diff","data","Compare against selected","_createRevisionActions","element","focus","map","_sidebarView","_handleDiffChange","2QxnFHR","render","525086EqDAdf","availableRevisionActions","remove","getEarlierVisibleRevision","revisionHistory.viewerSidebarContainer","4674166WJWnOh","editor","isPremiumPlugin","select","6BzyYmC","selectRevision","_handleRevisionSetName","Name this revision","isOfficialPlugin","isEnabled","Restore this revision","revisionSelected","6183001dlfMPu","restoreRevision","appendChild","name","819618lMUtVr","revisionViews","requires","bind","repository","pluginName","_revisionsRepository","string","_handleRevisionSelected","nameRevision","restoreRevisionCallback","isSelected","add","ready","config","RevisionsSidebar","getIndex","action","_revisions","4yEDYFu","1750970tVtdGu"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(383388===parseInt(e(452))/1*(parseInt(e(454))/2)+-parseInt(e(391))/3*(-parseInt(e(410))/4)+-parseInt(e(442))/5*(parseInt(e(379))/6)+-parseInt(e(375))/7+-parseInt(e(433))/8*(-parseInt(e(430))/9)+-parseInt(e(411))/10+parseInt(e(387))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends Z.Plugin{[Oo(415)];[Oo(397)];[Oo(450)];static[Oo(439)]=[Oo(414),Oo(388),Oo(400)];static[Oo(455)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(445),action:({plugins:e},i)=>{const s=t,n=e[s(440)](ee),r=n[s(395)];let o=n[s(428)][s(436)],a=i.id;r[s(407)](o)>r[s(407)](a)&&([o,a]=[a,o]),n[s(431)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(440)](ee);return!(n[s(395)][s(417)](n[s(428)])[s(416)]>2||i[s(402)])}},restoreRevision:{name:t(385),action:(e,{id:i})=>{const s=t;e[s(405)][s(440)](s(420))[s(401)](i)},isVisible:({plugins:e},i)=>!!e[t(440)](ee)[t(395)][t(434)](i.id)},nameRevision:{name:t(382),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(440)](ee),o=r[n(395)][n(373)](i);r[n(431)](i,o),s[n(448)](),s[n(425)][n(378)]()}}}}();static get[Oo(396)](){return Oo(406)}static get[Oo(383)](){return!0}static get[Oo(377)](){return!0}static get[Oo(393)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(415)]=t[e(435)][e(440)](ee),this[e(397)]=this[e(415)][e(395)],this[e(450)]=null}[Oo(423)](){const t=Oo,e=this[t(397)][t(409)],i=this[t(446)](),s=this[t(376)][t(405)][t(440)](t(374));this[t(450)]=new So(this[t(376)][t(418)],e,i,this[t(376)][t(405)][t(440)](t(427))),this[t(450)].on(t(386),this[t(399)][t(394)](this)),this[t(450)].on(t(419),this[t(381)][t(394)](this)),this[t(450)][t(394)](t(384)).to(this[t(415)]),this[t(450)][t(432)].on(t(403),((e,i)=>{const s=t;i[s(392)].on(s(403),((t,e)=>{const i=s;e[i(394)](i(384),i(413)).to(this[i(415)])}))})),this[t(450)][t(453)](),this[t(438)](this[t(376)][t(444)],t(404),this[t(429)][t(394)](this)),this[t(438)](this[t(415)],t(443),this[t(451)][t(394)](this)),s[t(389)](this[t(450)][t(447)])}[Oo(422)](){const t=Oo;this[t(450)][t(447)][t(372)](),this[t(450)][t(422)]()}[Oo(429)](){const t=Oo,e=this[t(397)][t(421)](0);if(e){const i=this[t(397)][t(373)](e.id);this[t(415)][t(431)](e,i)}}[Oo(399)](t,e){const i=Oo,s=this[i(397)][i(421)](e.id),n=this[i(397)][i(373)](s.id);this[i(415)][i(431)](s,n)}[Oo(381)](t,e){const i=Oo;this[i(397)][i(421)](e.id)[i(437)](e[i(390)])}[Oo(451)](t,e,i){const s=Oo,n=this[s(397)][s(417)](i);n[s(416)]>2?(this[s(450)][s(412)](n),this[s(450)][s(380)](null)):(this[s(450)][s(412)]([]),this[s(450)][s(380)](n[0]))}[Oo(446)](){const t=Oo,e=this[t(376)],i=No[t(455)],s=e[t(405)][t(440)](t(426))||No[t(439)];if(s[t(416)])return s[t(449)]((s=>{const n=t,r=n(398)==typeof s?Object[n(424)]({},i[s]):s;return r[n(408)]=r[n(408)][n(394)](this,e),r[n(441)]&&(r[n(441)]=r[n(441)][n(394)](this,e)),r}))}}const Ro=No,Ao=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(198580===parseInt(e(220))/1+-parseInt(e(242))/2+parseInt(e(216))/3+parseInt(e(217))/4*(-parseInt(e(222))/5)+parseInt(e(226))/6+parseInt(e(223))/7+parseInt(e(212))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ao(229)];[Ao(244)];[Ao(243)];get[Ao(247)](){return this[Ao(229)]}constructor(e,i){const s=Ao;super(e),this[s(229)]=i,this[s(244)]=(0,pt.normalizeToolbarConfig)(e[s(237)][s(235)](s(253))),this[s(243)]=new t.ElementReplacer}get[Ao(225)](){const t=Ao;return this[t(247)][t(225)]}[Ao(239)](t){const e=Ao,i=this[e(245)],s=this[e(247)],n=i[e(246)][e(247)],r=s[e(227)],o=n[e(249)][e(224)]();r[e(230)]=o[e(214)],s[e(215)]();const a=r[e(225)];this[e(240)](r[e(230)],a),s[e(227)][e(255)](e(238)).to(this[e(254)]),n[e(213)](a),this[e(243)][e(231)](t,this[e(225)]),this[e(234)](),this[e(233)](e(250))}[Ao(221)](){const t=Ao;super[t(221)]();const e=this[t(247)],i=this[t(245)][t(246)][t(247)];this[t(243)][t(251)](),i[t(218)](e[t(227)][t(230)]),e[t(221)]()}[Ao(234)](){const t=Ao,e=this[t(247)];e[t(248)][t(255)](t(236)).to(this[t(254)],t(238)),e[t(248)][t(241)]=e[t(225)],e[t(248)][t(255)](t(256)).to(this,t(232),(({top:t})=>t)),e[t(253)][t(252)](this[t(244)],this[t(228)]),this[t(219)](e[t(253)])}}function Eo(){const t=["96282SXjurK","editable","componentFactory","_view","name","replace","viewportOffset","fire","_initToolbar","get","isActive","config","isFocused","init","setEditableElement","limiterElement","543922dVYHRq","_elementReplacer","_toolbarConfig","editor","editing","view","stickyPanel","document","ready","restore","fillFromConfig","toolbar","focusTracker","bind","viewportTopOffset","2830664kjvQrY","attachDomRoot","rootName","render","590196oWlCGv","28rlYLSg","detachDomRoot","addToolbar","49105zIouJP","destroy","251320nneGVP","1446704Nichtv","getRoot","element"];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;var Fo=Lo;function jo(){var t=["433624YMJXBx","main","editable","513670TqZNju","641463THmEZZ","_editable","1396822UqYuWU","top","76572TDYGwZ","render","8JAJsqk","add","302444kLOQDO","content","1284734ahJmwy","1GMQheg","stickyPanel","27oYExsp","10VErZcG","shouldToolbarGroupWhenFull","toolbar"];return(jo=function(){return t})()}function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=201]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(115254===parseInt(e(207))/1*(-parseInt(e(204))/2)+parseInt(e(217))/3+-parseInt(e(202))/4*(parseInt(e(216))/5)+parseInt(e(221))/6+parseInt(e(219))/7+parseInt(e(213))/8*(parseInt(e(209))/9)+-parseInt(e(210))/10*(parseInt(e(206))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(218)];[Fo(208)];[Fo(212)];get[Fo(215)](){return this[Fo(218)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(208)]=new pt.StickyPanelView(t),this[s(212)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(211)]}),this[s(218)]=new pt.InlineEditableUIView(t,e)}[Fo(201)](){var t=Fo;super[t(201)](),this[t(208)][t(205)][t(203)](this[t(212)]),this[t(220)][t(203)](this[t(208)]),this[t(214)][t(203)](this[t(215)])}}function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=431]})(t,e)}function Wo(){const t=["initialData","model","updateSourceElement","view","126104IZiZbw","49VeFmjw","get","_ui","config","create","destroy","init","createRoot","15706098kJXCUw","locale","fire","ready","935154vmnnZj","initPlugins","1788478Xjodpa","5360376zXzWjj","data","sourceElement","3210635nXYNrq","editing","document","8VDZNNz","1557510gksYAz"];return(Wo=function(){return t})()}const Zo=zo;!function(t){const e=zo,i=t();for(;;)try{if(664032===parseInt(e(452))/1+parseInt(e(439))/2+parseInt(e(447))/3*(-parseInt(e(446))/4)+-parseInt(e(443))/5+parseInt(e(437))/6*(-parseInt(e(453))/7)+parseInt(e(440))/8+parseInt(e(433))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,Z.ElementApiMixin)(Z.Editor)){[Zo(455)];get ui(){return this[Zo(455)]}constructor(t,e){const i=Zo;super(e),this[i(442)]=t,this[i(449)][i(445)][i(432)]();const s=new Po(this[i(434)],this[i(444)][i(451)],{shouldToolbarGroupWhenFull:!0});this[i(455)]=new Mo(this,s)}[Zo(458)](){const t=Zo;return this[t(450)](),this.ui[t(458)](),super[t(458)]()}static async[Zo(457)](t,e){const i=Zo,s=new this(t,e);return await s[i(438)](),await s.ui[i(431)](t),await s[i(441)][i(431)](s[i(456)][i(454)](i(448))||""),s[i(435)](i(436)),s}}const Uo=qo;function qo(t,e){const i=Bo();return(qo=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(505701===-parseInt(e(532))/1+parseInt(e(519))/2*(-parseInt(e(493))/3)+-parseInt(e(496))/4*(parseInt(e(506))/5)+parseInt(e(438))/6+-parseInt(e(409))/7*(-parseInt(e(533))/8)+-parseInt(e(482))/9+parseInt(e(424))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const $o=[Uo(516),Uo(501)];function Bo(){const t=["toLocaleTimeString","revision-history-missing-configuration","adapter","2041416jyRIdk","creator","display","_enhanceCloseRevisionViewerCallback","toJSON","restrictedEditingException","enqueueChange","_viewerEditor","view","error","isRevisionViewerOpen","1302867KitJje","Annotations","Restored","12rhzAUt","revisionHistory.restoreRevisionCallback","toolbar","result","_closeRevisionViewer","RestrictedEditingMode","Dialog","RevisionHistory","keys","isEnabled","247395gtZUPu","fromVersion","_update","getRoot","changesNavigation","_showRevisionViewer","createRangeIn","toVersion","remove","RevisionViewerIntegration","RevisionHistoryUI","editor","refreshPositioning","4ElKhUB","getAttributeKeys","_getRevisionViewerEditorConfig","end","showRevisionViewerCallback","getMarkersGroup","selection","has","isAnonymous","push","closeRevisionViewerCallback","restoreRevision","refreshVisibility","651713AdjTBB","112mxsUzg","update","enableReadOnlyMode","exitToEditing","getRevisionRootsAttributes","hide","_recalculatePageBreaks","from","addUser","rootName","addRoot","addRevisionData","RevisionTracker","data","lazyRoots","isReady","removeMarker","_restoreRevision","revisionHistory.viewerEditorElement","removeSelectionAttribute","init","parse","includes","$graveyard","create","then","set","setAttribute","249599xunzlu","commands","long","catch","none","_cleanUp","getRevisionDocumentData","DocumentOutlineUI","save","toLocaleDateString","revisionHistory.closeRevisionViewerCallback","translations","insert","createdAt","getRevisions","11024950BHmYkK","destroy","numeric","DocumentOutline","change","define","RevisionsRepository","get","style","RevisionViewer","RevisionHistoryUtils","join","setSelection","revisionHistory.viewerContainer","4797360JKjAEj","pluginName","fromCharCode","requires","roots","saveRevision","name","markers","document","revisionHistory.editorContainer","_enhanceShowRevisionViewerCallback","element","detachRoot","isAttached","revisionHistory","repository","isOfficialPlugin","isOpen","model","block","PaginationLookup","indexOf","getRevision","Autosave","locale","getUser","map","Users","revision-history-viewer-opened","bind","isPremiumPlugin","isReadOnly","revisionHistory.showRevisionViewerCallback","plugins","disableReadOnlyMode","loadRevisionData","revisionHistory.requireRevisionName","users","uiLanguage","config","removeAttribute"];return(Bo=function(){return t})()}class Yo extends Z.Plugin{[Uo(499)];static get[Uo(439)](){return Uo(515)}static get[Uo(454)](){return!0}static get[Uo(468)](){return!0}constructor(t){const e=Uo;function i(t){const e=qo;return t[e(464)]((t=>String[e(440)](t)))[e(435)]("")}super(t),this[e(499)]=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])})}}class Jo extends Z.Plugin{[Uo(489)];static get[Uo(439)](){return Uo(503)}static get[Uo(454)](){return!0}static get[Uo(468)](){return!0}static get[Uo(441)](){return[ct,jt]}constructor(e){const i=Uo;if(super(e),!this[i(517)][i(477)][i(431)](i(452)))throw new t.CKEditorError(i(480),this);this[i(489)]=null,this[i(407)](i(492),!1),this[i(517)][i(477)][i(429)](i(470),(t=>this[i(511)]({...t,translations:this[i(517)][i(462)][i(420)]}))),this[i(517)][i(477)][i(429)](i(419),(t=>this[i(500)](t))),this[i(517)][i(477)][i(429)](i(497),(t=>this[i(398)](t))),this[i(517)][i(477)][i(429)](i(474),!1),this[i(448)](),this[i(485)]()}set[Uo(481)](t){const e=Uo;this[e(517)][e(471)][e(431)](e(393))[e(481)]=t}get[Uo(481)](){const t=Uo;return this[t(517)][t(471)][t(431)](t(393))[t(481)]}[Uo(392)](t){const e=Uo;return this[e(517)][e(471)][e(431)](e(393))[e(392)](t)}[Uo(460)](t){const e=Uo;return this[e(517)][e(471)][e(431)](e(430))[e(460)](t)}[Uo(423)](t){const e=Uo;return this[e(517)][e(471)][e(431)](e(430))[e(423)](t||{toJSON:!1})}[Uo(521)](){const e=Uo,i=this[e(517)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(471)][e(431)](e(393)),r=i[e(471)][e(431)](e(465))[e(475)];return s[e(498)]=[e(536),e(530),e(510)],delete s[e(395)],s[e(471)][e(528)](Yo,ee,ke,class extends Z.Plugin{static get[e(441)](){return[ee,e(465)]}[e(401)](){const s=e,o=this[s(517)][s(471)][s(431)](s(465));for(const t of r)t[s(527)]||o[s(463)](t.id)||o[s(541)](t);const a=n[s(453)][s(423)]();let c=null;const u=this[s(517)][s(471)][s(431)](s(433));u[s(481)]=n[s(481)],u[s(467)](s(505)).to(n),this[s(517)][s(410)][s(431)](s(530))[s(467)](s(505)).to(i,s(469),(t=>!t));for(const e of a){const i=null===e[s(483)];if(i&&e[s(513)]===e[s(507)])continue;const r=e[s(486)]();u[s(392)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(508)](r,o);else if(!o){const e=a[u(486)]();e.id=(0,t.uid)(),n[u(443)](e,a[u(513)])[u(406)]((t=>{c=t}))}}else e[u(508)](r,o)}))}}},Ro),s}[Uo(448)](){const t=Uo,e=this[t(517)][t(477)][t(431)](t(452))[t(523)];this[t(517)][t(477)][t(407)](t(470),(async()=>{const i=t;this[i(517)][i(535)](i(466));const s=this[i(517)][i(471)][i(431)](i(393));if(this[i(517)][i(471)][i(526)](i(461))){const t=this[i(517)][i(471)][i(431)](i(461));await t[i(417)]()}else await s[i(534)]();if(this[i(517)][i(471)][i(526)](i(458))&&this[i(517)][i(471)][i(431)](i(458))[i(539)](),this[i(517)][i(471)][i(526)](i(502))){const t=this[i(517)][i(471)][i(431)](i(502));t[i(455)]&&t[i(538)]()}const n=this[i(521)]();return e(n)[i(406)]((t=>{const e=i;return this[e(489)]=t,this[e(517)][e(471)][e(526)](e(494))&&this[e(517)][e(471)][e(431)](e(494))[e(531)](),this[e(517)][e(471)][e(526)](e(427))&&(this[e(517)][e(471)][e(431)](e(416))[e(490)][e(449)][e(432)][e(484)]=e(413)),t}))[i(412)]((t=>(console[i(491)](t),this[i(517)][i(472)](i(466)),null)))}))}[Uo(485)](){const t=Uo,e=this[t(517)][t(477)][t(431)](t(452))[t(529)];this[t(517)][t(477)][t(407)](t(419),(()=>(this[t(517)][t(471)][t(526)](t(458))&&this[t(517)][t(471)][t(431)](t(458))[t(539)](),this[t(517)][t(471)][t(526)](t(427))&&(this[t(517)][t(471)][t(431)](t(416))[t(490)][t(449)][t(432)][t(484)]=""),this[t(489)][t(471)][t(431)](t(433))[t(414)](),e(this[t(489)])[t(406)]((()=>{const e=t;if(this[e(517)][e(472)](e(466)),this[e(489)]=null,this[e(517)][e(471)][e(526)](e(494))){const t=this[e(517)][e(471)][e(431)](e(494));t[e(531)](),t[e(518)]()}})))))}[Uo(511)](t){const e=Uo,i=this[e(517)][e(477)][e(431)](e(447)),s=this[e(517)][e(477)][e(431)](e(437)),n=this[e(517)][e(477)][e(431)](e(399));return Ho[e(405)](n,t)[e(406)]((t=>(s[e(432)][e(484)]=e(457),i[e(432)][e(484)]=e(413),this[e(492)]=!0,t)))}[Uo(500)](t){const e=Uo,i=this[e(517)][e(477)][e(431)](e(447));return this[e(517)][e(477)][e(431)](e(437))[e(432)][e(484)]=e(413),i[e(432)][e(484)]="",this[e(492)]=!1,t[e(425)]()}async[Uo(398)](t){const e=Uo,i=this[e(517)],s=this[e(489)][e(471)][e(431)](e(433)),n=i[e(471)][e(431)](e(393)),r=i[e(471)][e(431)](e(434)),o=s[e(453)][e(460)](t);let a,c,u;try{await r[e(473)](o,this[e(481)]),a=r[e(415)](o),c=r[e(537)](o)}catch(t){return void console[e(491)](t)}i[e(456)][e(428)]((t=>{const s=e;for(const e of Array[s(540)](i[s(456)][s(445)][s(524)](s(487))))t[s(397)](e)})),s[e(396)]=!1,i[e(456)][e(488)]((t=>{const s=e;t[s(436)](null),t[s(400)](i[s(456)][s(446)][s(525)][s(520)]());const n=Object[s(504)](a);for(const e of i[s(456)][s(446)][s(442)])s(404)!=e[s(542)]&&e[s(451)]()&&!n[s(403)](e[s(542)])&&t[s(450)](e);for(const e of n){let n=i[s(456)][s(446)][s(509)](e);n&&n[s(451)]()||(n=t[s(391)](e));const r=c[e],o=Object[s(504)](r),u=a[e];for(const e of n[s(520)]())o[s(403)](e)||t[s(478)](e,n);for(const i of o)t[s(408)](i,c[e][i],n);t[s(514)](t[s(512)](n)),t[s(421)](i[s(394)][s(402)](u,n),n,0)}}));const l=Q(i[e(462)],e(495));return u=o[e(444)]?-1==o[e(444)][e(459)](l)?l+": "+o[e(444)]:o[e(444)]:l+": "+o[e(422)][e(418)](i[e(462)][e(476)],{month:e(411),day:e(426)})+", "+o[e(422)][e(479)](i[e(462)][e(476)],{hour:e(426),minute:e(426)}),await n[e(443)]({name:u}),s[e(396)]=!0,i[e(477)][e(431)](e(452))[e(529)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=176]})(t,e)}function Ko(){var t=["36988yQOTMJ","150860LxDmlM","163765WbZGTO","4037184FmbVqH","48tlnnlf","155432VJXwXt","9726388GTEYwG","621hhytlB","2612499RmoZPm"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(720298===parseInt(e(176))/1+-parseInt(e(184))/2+-parseInt(e(183))/3+-parseInt(e(178))/4+-parseInt(e(177))/5*(parseInt(e(179))/6)+parseInt(e(181))/7+-parseInt(e(180))/8*(-parseInt(e(182))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|