@ckeditor/ckeditor5-revision-history 45.0.0-alpha.8 → 45.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function 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 V(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 D(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 E(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?E(e)?F(t,D(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 L(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 j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=367]})(t,e)}function z(){const t=["5SVgGnj","attributes","setName","authors","map","createdAt","2767164pwvFNv","model","1981420qDrDRu","creatorId","fire","diffData","creator","toJSON","removeAttribute","authorsIds","144fZYbMM","set","fromVersion","name","22814JpsPjQ","26920MmTsLD","toVersion","10ZLNLzd","1845844jmdxBI","setAttribute","176214olkvwh","_update","7919384TMPIiL","18udYbFb","90brQetO"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(645554===-parseInt(e(382))/1*(parseInt(e(385))/2)+parseInt(e(396))/3+-parseInt(e(383))/4*(-parseInt(e(390))/5)+parseInt(e(388))/6*(-parseInt(e(367))/7)+parseInt(e(387))/8+-parseInt(e(389))/9*(-parseInt(e(380))/10)+parseInt(e(379))/11*(-parseInt(e(375))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(371)];[j(393)];[j(370)];[j(381)];[j(377)];[j(397)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(371)]=e[i(371)]||null,this[i(393)]=e[i(393)]||[],this[i(370)]=e[i(370)]||null,this[i(381)]=e[i(381)]||0,this[i(377)]=e[i(377)]||0,this[i(376)](i(378),e[i(378)]||""),this[i(376)](i(395),e[i(395)]||new Date),this[i(376)](i(391),e[i(391)]||{})}[j(392)](t){this[j(386)]({name:t})}[j(384)](t,e){const i=j,s=A(this[i(391)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(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]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(386)]({attributes:s})}[j(373)](t){const e=j,i=A(this[e(391)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(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]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(386)]({attributes:i})}[j(386)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(378),i(395),i(370),i(393),i(391),i(381),i(377),i(368)];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(393)]&&(n[i(374)]=n[i(393)][i(394)]((t=>t.id)),delete n[i(393)]),this[i(369)](i(386),n,e))}[j(372)](){const t=j;return{id:this.id,name:this[t(378)],creatorId:this[t(371)]?this[t(371)].id:null,authorsIds:this[t(393)][t(394)]((t=>t.id)),diffData:this[t(370)],createdAt:this[t(395)],attributes:this[t(391)],fromVersion:this[t(377)],toVersion:this[t(381)]}}}var Z=i(782),H=i(211),U=i(783);const q=B;function $(){const t=["plugins","join","push","getRevisionsInDiff","fromCharCode","188418eKSWdz","27925lTjVTz","later","add","attributes","newRevisionId","oldRevisionId","pluginName","data","toJSON","isOfficialPlugin","diffData","from","669734ucricB","addRevision","afterInit","157007rLHkwp","24rdHvGC","reverse","requires","77jHlGIe","getLaterVisibleRevision","map","getRevisions","createRevision","Users","getRevision","editor","4pqNzTT","getIndex","getUser","isPremiumPlugin","createdAt","get","_revisions","authorsIds","creatorId","getEarlierVisibleRevision","20oykiDq","fromVersion","name","RevisionsRepository","href","isNaN","266868ncHMVS","earlier","toVersion","length","160ZQSeKW","503103cJZPON","332PxMMjq","3404698eeqitL","getRevisionsIterator"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=131]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(341475===-parseInt(e(165))/1*(-parseInt(e(177))/2)+-parseInt(e(140))/3+parseInt(e(141))/4*(parseInt(e(150))/5)+-parseInt(e(149))/6*(parseInt(e(169))/7)+parseInt(e(139))/8*(parseInt(e(135))/9)+-parseInt(e(187))/10*(parseInt(e(142))/11)+-parseInt(e(166))/12*(-parseInt(e(162))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends Z.Plugin{[q(183)];static get[q(168)](){return[H.Users]}static get[q(156)](){return q(132)}static get[q(159)](){return!0}static get[q(180)](){return!0}get[q(138)](){const t=q;return this[t(183)][t(138)]}constructor(e){const i=q;super(e),this[i(183)]=new t.Collection}[q(164)](){!async function(e){const i=k([109,98,48,55,110,107,100,111,78,56,117,99,122,97,82,81,116,114,51,68,86,88,72,108,50,57,69,104,101,84,53,71,76,52,77,105,119,54,118,90,49,79,120,70,113,80,89,74,83,121,66,106,115,75,102,85,73,112,65,87,67,103]),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(134)](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([109]);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(171)]((t=>String[e(148)](t)))[e(145)]("")}!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:1743638400;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(133)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(173)](t){const e=q,i=this[e(176)][e(144)][e(182)](e(174));return new W({id:t.id,name:t[e(131)],creator:t[e(185)]?i[e(179)](t[e(185)]):null,diffData:t[e(160)]||t[e(157)],authors:t[e(184)][e(171)]((t=>i[e(179)](t))),createdAt:new Date(t[e(181)]),attributes:t[e(153)],fromVersion:t[e(188)],toVersion:t[e(137)]})}[q(163)](t,e=0){const i=q;this[i(183)][i(152)](t,e)}[q(175)](t){const e=q;return this[e(183)][e(182)](t)}[q(172)](t={toJSON:!1}){const e=q,i=Array[e(161)](this[e(183)]);return i[e(167)](),t[e(158)]?i[e(171)]((t=>t[e(158)]())):i}[q(178)](t){const e=q;return this[e(183)][e(178)](t)}[q(186)](t){const e=q,[,i]=this[e(143)](t,{direction:e(136)});return i}[q(170)](t){const e=q,[,i]=this[e(143)](t,{direction:e(151)});return i}[q(147)](t){const e=q,i=[];for(const s of this[e(143)](t[e(154)]))if(i[e(146)](s),s.id===t[e(155)])break;return i}*[q(143)](t,{direction:e=q(136),filter:i=()=>!0}={}){const s=q,n=s(136)===e?1:-1;let r=this[s(183)][s(182)](t),o=this[s(178)](r);for(yield r;r;){if(o+=n,r=this[s(175)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=166]})(t,e)}function K(){const t=["innerHTML","useFillerType","data","toData","get","length","_removeRevisionMarkers","_appendChild","editor","config","68OMbjMm","div","fillerOffset","filter","161830owDLtT","render","_makeModelFromViewString","map","collaboration.channelId","name","customProperties","processor","append","attributesAfter","view","_getViewFromDiffObj","data-revision-","parse","6008382rJFgkw","56jpFuSk","insertions","loadRevisionData","startsWith","695720uTJDsj","getRevision","string","getRevisionRootsAttributes","marked","9SvaJiX","170193DMfoOR","_typeCharToViewClass","domDocument","domChildrenToView","editing","isAttached","revision-start","attachChange","children","viewChildrenToDom","from","getRevisionDocumentData","toModel","document","default","isOfficialPlugin","_setCustomProperty","domConverter","diffData","type","htmlProcessor","pluginName","constructor","createElement","3934040SLqweD","5488335FgmBUh","forEach","_getTypeCharForViewElement","isPremiumPlugin","_viewClassToTypeChar","childNodes","1717460bRRGZl","attributes","getFillerOffset","revision-end","RevisionHistoryUtils"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(668473===-parseInt(e(179))/1+parseInt(e(235))/2+parseInt(e(204))/3*(parseInt(e(175))/4)+parseInt(e(229))/5+-parseInt(e(193))/6+parseInt(e(194))/7*(-parseInt(e(198))/8)+-parseInt(e(203))/9*(parseInt(e(228))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends Z.Plugin{static get[J(225)](){return J(239)}static get[J(219)](){return!0}static get[J(232)](){return!0}[J(233)]=new Map([[U.ViewContainerElement,"c"],[U.ViewAttributeElement,"a"],[U.ViewEmptyElement,"e"],[U.ViewRawElement,"r"],[U.ViewUIElement,"u"]]);[J(205)]=new Map([["c",U.ViewContainerElement],["a",U.ViewAttributeElement],["e",U.ViewEmptyElement],["r",U.ViewRawElement],["u",U.ViewUIElement]]);async[J(196)](t,e){const i=J;if(t[i(222)]||!e)return;const s=this[i(173)][i(174)][i(169)](i(183)),n=await e[i(199)]({channelId:s,revisionId:t.id});t[i(222)]=n[i(222)]}[J(215)](t){const e=J,i={};for(const s in t[e(222)]){if(t[e(222)][s][e(211)]&&!t[e(222)][s][e(211)][e(209)])continue;const n=this[e(171)](JSON[e(192)](t[e(222)][s][e(195)])),r=this[e(173)][e(208)][e(189)][e(217)],o=new U.ViewDocumentFragment(r,n[e(182)]((t=>this[e(190)](t,!1))));this[e(173)][e(167)][e(186)][e(166)](e(202)),i[s]=this[e(173)][e(167)][e(186)][e(168)](o),this[e(173)][e(167)][e(186)][e(166)](e(218))}return i}[J(201)](t){const e=J,i={};for(const s in t[e(222)])t[e(222)][s][e(211)]&&!t[e(222)][s][e(211)][e(209)]||(i[s]=t[e(222)][s][e(188)]||{});return i}[J(231)](t){const e=J;return this[e(233)][e(169)](t[e(226)])}[J(190)](t,e){const i=J,s=this[i(173)][i(208)][i(189)][i(217)];if(i(200)==typeof t)return new U.ViewText(s,t);{let n,r;r="u"==t[i(223)]||"r"==t[i(223)]?[]:t[i(212)][i(182)]((t=>this[i(190)](t,e)));const o=this[i(205)][i(169)](t[i(223)])||U.ViewElement,a=this[i(173)][i(167)][i(224)][i(221)];if(n=new o(s,t[i(184)],t[i(236)],r),"u"==t[i(223)]&&t[i(212)][0]){const r=t[i(212)][0];if(n[i(180)]=function(t){const e=i,s=t[e(227)](e(176));return s[e(240)]=r,s[e(234)][0]},e){const t=new U.ViewDocumentFragment(s);t[i(172)](n);const e=Array[i(214)](a[i(213)](t,{bind:!1})),r=a[i(206)][i(227)](i(176));r[i(187)](...e),n=Array[i(214)](a[i(207)](r))[0]}}else if("r"==t[i(223)]&&t[i(212)][0]){const r=t[i(212)][0];if(n[i(180)]=function(t){t[i(240)]=r},e){const t=new U.ViewDocumentFragment(s);t[i(172)](n);const e=Array[i(214)](a[i(213)](t,{bind:!1})),r=a[i(206)][i(227)](i(176));r[i(187)](...e);const o=Array[i(214)](a[i(207)](r));o[i(170)]>1?n[i(172)](o):n=o[0]}}if(t[i(185)])for(const[e,s]of t[i(185)])n[i(220)](e,s);const c=void 0===t[i(177)]?null:t[i(177)];return null!==c&&(n[i(237)]=()=>c),n}}[J(181)](t){const e=J,i=JSON[e(192)](t),s=this[e(173)][e(208)][e(189)][e(217)],n=new U.ViewDocumentFragment(s,i[e(182)]((t=>this[e(190)](t,!0))));return this[e(173)][e(167)][e(216)](n)}[J(171)](t){const e=J;return(t=t[e(178)]((t=>!t[e(184)]||e(210)!==t[e(184)]&&e(238)!==t[e(184)])))[e(230)]((t=>{const i=e;i(200)!=typeof t&&(t[i(212)]=this[i(171)](t[i(212)]),t[i(236)]=t[i(236)][i(178)]((t=>!t[0][i(197)](i(191)))))})),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 V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["howMany","1477032LduRVJ","set","getChildren","toView","_calculateMetaData","has","push","graveyardPosition","item","trim","getAncestors","_setConversion","loadRevisionData","clone","split","fromEntries","566793gJiCZI","RevisionsRepository","oldRange","Initial revision","createPositionAt","source","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyUsageLimit","requires","_fixRange","initial","evaluationLimit","_baseRootsAttributes","string","Users","_diffRoots","isOfficialPlugin","attributesBefore","fromVersion","changeRootAttribute","authors","update","getRootNames","getCurrentRevisionId","revision","adapter","_execute","_handleOperation","baseVersion","_getVidAttributeName","_handleInsertOperation","_startingVersion","_prepareViewToSave","RevisionHistoryUtils","_addPendingAction","_bufferedUpdates","_isAttached","_getBaseVids","getUser","revisionHistoryLicenseKeyInvalid","_createInitialRevision","_touchedMarkers","_lastTo","text","editor-initial-data-replaced-with-revision-data","_createCurrentRevision","createdAt","RealTimeCollaborationClient","_makeModelFromViewString","licenseKey","includes","upcast","PENDING_ACTION_REVISION_HISTORY","revisionHistory.resumeUnsavedRevision","keepParagraph","end","$comment","_operations","13447ixvmNP","finally","_licenseKeyCheckInterval","isPremiumPlugin","authorsIds","createPositionBefore","attributesAfter","tableCell","_markers","setSource","_savedMetaData","_startingRevisionId","elementStart","destroy","creatorId","_pendingAction","_fixOperation","_revisionId","getRevisions","_handleMarkerOperation","_transformMarkers","conversion","PendingActions","addRootAttribute","diffData","isEqual","initialData","from","slice","NEGATIVE_INFINITY","revision:","max","_getPreviousFrom","$graveyard","dataToMarker","trialLimit","setRevisionData","revisionHistoryLicenseKeyTrialLimit","addRoot","newValue","_makeRevision","for","fillerOffset","deletions","_initialRevisionId","afterInit","_isPendingUpdate","buildRevisionData","getWalker","getNodeByPath","_applyOperations","loadState","isEnabled","paragraph","sourcePosition","getRevisionRootsAttributes","move","getTransformedByOperation","_getFromVersion","nodes","sendBufferedUpdates","revisionHistoryLicenseKeyExpired","_idsRoots","stickiness","getRevision","add","map","insert","_handleMoveOperation","path","getTime","stringify","domConverter","235640dXZrTs","getAttributes","domainLimit","isAdd","revisionHistoryLicenseKeyNotAllowed","nodeAfter","_baseIdsRoots","toVersion","_makeIdsRoot","offset","getRoot","RevisionHistory","getChild","pluginName","_handleRootOperation","rootName","isReady","getFillerOffset","invalid","customProperties","find","_handleRootAttributeOperation","offsetSize","getData","_cloneOperation","children","_source","addRevision","affectsData","getOperation","_removePendingAction","_baseRoots","createRangeIn","resolve","childCount","sort","_copyMarkers","init","_reset","_update","getIndex","clear","markerToData","isAttached","then","newRange","reverse","dataDowncast","userId","2202748BJaGqD","createPositionAfter","currentRevision","_handleMergeOperation","insertionPosition","_revisionDataBuilder","bind","merge","_lastFrom","_continueCurrentRevision","vid_start","htmlProcessor","_utils","length","vid_end","addRevisionData","getCustomProperties","_touchedRoots","deletion","filter","size","parent","locale","_createFromRanges","reInit","range","name","_authorId","getMovedRangeStart","rootsAttributes","insertion","$text","start","_isInit","getLatestVersion","revisionHistoryLicenseKeyDomainLimit","hasContent","_getTypeCharForViewElement","usageLimit","creator","roots","type","render","_appendChild","saveRevision","_bufferUpdate","editor","define","8168tkNVvB","attachChange","_generateTape","uiElement","_loadState","detachRoot","rawElement","data","vid","reinsert","createElement","_processRootBeforeSave","startsWith","model","_removeMetaData","_touched","plugins","keys","createRevision","targetPosition","_setAttribute","Empty document","_fixPosition","removeRootAttribute","getRevisionDocumentData","_clone","innerHTML","2648830qCHmJk","remove","getOperations","revisionHistoryLicenseKeyValid","documentFragment","key","delete","elementEnd","splitPosition","updateRevisions","previousPosition","getRange","outerHTML","createRange","ready","_replaceEditorDataWithRevisionData","_getViewJson","insertions","position","history","createPositionFromPath","_findInsertionIndex","some","_handleSplitOperation","featureNotAllowed","_markChanges","_getState","get","_insertChild","domDocument","collaboration.channelId","_loadedStateData","config","element","shift","repository","_showLicenseError","version","markers","document","RevisionTracker","marker","_diffRootsAttributes","987470eRZpwO","values","expired","_saveMetaData","root","getAttribute"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(283590===parseInt(e(762))/1+parseInt(e(608))/2+parseInt(e(631))/3+parseInt(e(490))/4+parseInt(e(565))/5+parseInt(e(615))/6+parseInt(e(689))/7*(-parseInt(e(538))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends Z.Plugin{[rt(680)];[rt(691)];[rt(492)]=null;[rt(600)];[rt(656)]=null;[rt(495)];[rt(788)];[rt(733)];[rt(666)];[rt(502)];[rt(704)];[rt(499)];[rt(662)];[rt(596)];static get[rt(775)](){return rt(605)}static get[rt(647)](){return!0}static get[rt(692)](){return!0}static get[rt(639)](){return[H.Users,Y,Q,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(600)]=this[i(536)][i(554)][i(592)](i(632)),this[i(502)]=this[i(536)][i(554)][i(592)](i(664)),this[i(495)]=new ut(this[i(536)]),this[i(733)]=this[i(536)][i(597)][i(592)](i(595))||i(641),this[i(666)]=new Map,this[i(596)]=null;const s=(0,t.uid)();this[i(788)]={history:this[i(536)][i(551)][i(604)][i(584)],getLatestVersion:()=>Promise[i(474)](this[i(536)][i(551)][i(604)][i(602)]),getCurrentRevisionId:()=>s},this[i(616)](i(778),!1),this[i(616)](i(741),!0),this[i(616)](i(735),!1),this[i(536)][i(597)][i(537)](i(684),!0),this[i(536)][i(710)][i(730)](i(682))[i(723)]({view:i(655)})}[rt(478)](){const t=rt;this[t(626)](),this[t(536)][t(545)].on(t(579),(()=>{const e=t,i=this[e(600)][e(753)](0),s=i&&null===i[e(529)]?i:null;if(this[e(499)]=!!s&&this[e(536)][e(597)][e(592)](e(684)),this[e(536)][e(554)][e(620)](e(678))){const t=this[e(788)][e(654)](),n=this[e(600)][e(753)](t);if(n)this[e(662)]=n[e(649)],this[e(499)]=!1;else{const t=this[e(788)][e(584)][e(688)][e(782)]((t=>!t[e(523)])),n=t?t[e(659)]:this[e(788)][e(584)][e(602)];i?(i[e(769)]<n&&i[e(480)]({toVersion:n}),this[e(499)]?(this[e(788)][e(654)]=()=>s.id,this[e(662)]=s[e(649)]):(this[e(662)]=i[e(769)],this[e(499)]=!1)):(this[e(662)]=n,this[e(499)]=!1)}}else s&&(this[e(536)][e(551)][e(604)][e(584)][e(602)]=Math[e(720)](s[e(769)],this[e(536)][e(551)][e(604)][e(584)][e(602)]),s[e(649)]===s[e(769)]?(0!==s[e(649)]&&(this[e(788)][e(654)]=()=>s.id),this[e(499)]=!1):this[e(499)]&&(this[e(788)][e(654)]=()=>s.id,this[e(662)]=s[e(649)])),this[e(499)]||(this[e(662)]=this[e(536)][e(551)][e(604)][e(602)]);this[e(495)][e(478)](this[e(788)][e(584)]),this[e(671)](this[e(662)]),this[e(676)](this[e(662)]),this[e(656)]&&this[e(749)]()})),this[t(496)](t(778)).to(this,t(735),(t=>!t)),this[t(680)]=this[t(536)][t(597)][t(592)](t(680));const e=this[t(536)];this[t(691)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(568)==r||i(670)==r||i(750)==r||i(525)==r||i(766)==r||i(637)==r||i(726)==r||i(638)==r){delete e[n],s=r,clearInterval(this[i(691)]),this[i(691)]=void 0;break}}i(670)==s&&e[i(601)](i(780)),i(750)==s&&e[i(601)](i(610)),i(525)==s&&e[i(601)](i(764)),i(766)==s&&e[i(601)](i(589),i(773)),i(637)==s&&e[i(601)](i(642)),i(726)==s&&e[i(601)](i(724)),i(638)==s&&e[i(601)](i(528))}),1e3)}async[rt(734)](){const t=rt;if(this[t(600)][t(503)]>0){const e=this[t(600)][t(753)](0),i=await this[t(562)](e),s=await this[t(744)](e);this[t(580)](i,s)}}[rt(702)](){const t=rt;super[t(702)](),this[t(691)]&&clearInterval(this[t(691)])}[rt(698)](t){this[rt(788)]=t}async[rt(652)](){const t=rt,e=await this[t(788)][t(524)]();if(e>this[t(492)][t(769)]){await this[t(542)]();const i=this[t(736)]({revision:this[t(492)],to:e});i[t(651)]=i[t(693)][t(755)]((e=>this[t(536)][t(554)][t(592)](t(645))[t(669)](e))),this[t(492)][t(480)](i)}}async[rt(534)](e={},i=null){const s=rt,n=[];await this[s(542)](),this[s(499)]=!1,i>this[s(492)][s(769)]&&(i=null),null===i&&(i=await this[s(788)][s(524)]());const r=this[s(747)](i),o=this[s(736)]({from:r,to:i});if(this[s(492)][s(769)]<i){const t=this[s(736)]({revision:this[s(492)],from:i,to:i});t[s(651)]=[],t[s(693)]=[],t.id=this[s(492)].id,this[s(492)][s(480)](t,!0),delete t[s(651)],n[s(621)](t)}e[s(703)]=this[s(536)][s(554)][s(592)](s(645)).me.id,e[s(516)]=e[s(516)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(505)](e);n[s(621)](e);const c=this[s(600)][s(481)](a);if(0!==c){const t=this[s(600)][s(753)](c-1);if(t[s(649)]!==i){const r=this[s(495)][s(785)](i,t[s(769)]),o={id:t.id,diffData:r[s(713)],authorsIds:r[s(693)],authors:r[s(693)][s(755)]((t=>this[s(536)][s(554)][s(592)](s(645))[s(669)](t))),fromVersion:i};t===this[s(492)]&&(o[s(677)]=new Date(e[s(677)][s(759)]()+10)),t[s(480)](o,!0),delete o[s(651)],n[s(621)](o)}}if(this[s(656)]){for(const t of n)this[s(535)](t.id,t,!0);this[s(749)]()}return a}[rt(505)](t){const e=rt,i=this[e(600)][e(556)](t);return this[e(656)]&&i.on(e(480),((t,i,s)=>{const n=e;s||(this[n(535)](i.id,i,!0),this[n(749)]())})),this[e(600)][e(468)](i,this[e(586)](i)),i}async[rt(562)](t){const e=rt;return await this[e(502)][e(627)](t,this[e(656)]),this[e(502)][e(562)](t)}async[rt(744)](t){const e=rt;return await this[e(502)][e(627)](t,this[e(656)]),this[e(502)][e(744)](t)}[rt(749)](){const t=rt;if(0===this[t(666)][t(510)])return;if(this[t(735)])return;let e=Array[t(716)](this[t(666)][t(609)]());this[t(666)][t(482)]();for(let i=0;i<e[t(503)];i++){const s=e[i];let n=!1;for(const e of Object[t(555)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(509)]((t=>null!==t)),!e[t(503)])return;for(let i=0;i<e[t(503)];i++){const s=e[i];void 0!==s[t(649)]&&void 0===s[t(769)]&&(s[t(769)]=this[t(600)][t(753)](s.id)[t(769)]),void 0!==s[t(769)]&&void 0===s[t(649)]&&(s[t(649)]=this[t(600)][t(753)](s.id)[t(649)])}const i=this[t(536)][t(597)][t(592)](t(595));this[t(735)]=!0,this[t(665)](),this[t(656)][t(574)](e,i)[t(690)]((()=>{this[t(735)]=!1}))[t(485)]((e=>{const i=t;if(e)for(const t of e)this[i(725)]({id:t.id,createdAt:t[i(677)]});this[i(471)](),this[i(749)]()}))}[rt(736)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(649)],i=null!==i?i:t[s(769)];const n=this[s(495)][s(785)](e,i),r={diffData:n[s(713)],authorsIds:n[s(693)],fromVersion:e,toVersion:i};if(!t||i!==t[s(769)]){const t=i-1,e=this[s(788)][s(584)][s(470)](t);r[s(677)]=e&&e[s(677)]||new Date}if(this[s(596)]&&e===this[s(596)][s(649)])for(const t of this[s(596)][s(651)])r[s(693)][s(681)](t.id)||r[s(693)][s(621)](t.id);return r}[rt(535)](t,e,i){const s=rt;if(this[s(666)][s(620)](t)){const n=this[s(666)][s(592)](t);e=i?{...n,...e}:{...e,...n}}this[s(666)][s(616)](t,e)}[rt(725)](t){const e=rt,i=this[e(600)][e(753)](t.id);if(t[e(677)]&&(t[e(677)]=new Date(t[e(677)])),t[e(693)]){const i=this[e(536)][e(554)][e(592)](e(645));t[e(651)]=t[e(693)][e(755)]((t=>i[e(669)](t)))}i[e(480)](t,!0)}[rt(671)](t){const e=rt,i=this[e(600)][e(753)](this[e(600)][e(503)]-1);if(i)this[e(733)]=i.id;else{const i=!this[e(536)][e(551)][e(604)][e(530)][e(782)]((t=>this[e(536)][e(551)][e(526)](t))),s=this[e(536)][e(554)][e(592)](e(645)).me.id,n=X(this[e(536)][e(512)],e(i?559:634));this[e(729)]({from:t,to:t,id:this[e(733)],name:n,creatorId:s})}}[rt(676)](t){const e=rt,i=this[e(788)][e(654)]();this[e(492)]=this[e(600)][e(753)](i),this[e(492)]||(this[e(492)]=this[e(729)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(542)](){const t=rt;this[t(499)]&&!this[t(596)]&&(await this[t(502)][t(627)](this[t(492)],this[t(656)]),this[t(495)][t(740)](this[t(492)]),this[t(596)]={fromVersion:this[t(492)][t(649)],authors:this[t(492)][t(651)][t(717)]()})}[rt(580)](e,i){const s=rt;let n=this[s(536)][s(597)][s(592)](s(715)),r=this[s(536)][s(597)][s(592)](s(519));if(void 0===n){n={};for(const t of this[s(536)][s(551)][s(604)][s(653)]())n[t]=""}if(s(644)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(536)][s(551)][s(604)][s(653)]())r[t]={}}let o=!1;const a=Object[s(555)](n),c=Object[s(555)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(624)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(555)](r[t])[s(503)]>0){o=!0;break}}o||(o=c[s(587)]((t=>!this[s(536)][s(551)][s(604)][s(772)](t)))),o&&(0,t.logWarning)(s(675),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(536)][s(597)][s(616)](s(715),e),this[s(536)][s(597)][s(616)](s(519),i)}[rt(665)](){const t=rt;if(!this[t(704)]){const e=this[t(536)][t(554)][t(592)](t(711));this[t(704)]=e[t(754)](X(this[t(536)][t(512)],t(683)))}}[rt(471)](){const t=rt;this[t(704)]&&(this[t(536)][t(554)][t(592)](t(711))[t(566)](this[t(704)]),this[t(704)]=null)}[rt(586)](t){const e=rt,i=this[e(600)][e(707)]();i[e(487)]();let s=0;for(;s<i[e(503)];){const n=i[s];if(n===this[e(492)]){s++;continue}if(n.id===this[e(733)])break;const r=t[e(769)]-n[e(769)]||t[e(649)]-n[e(649)];if(r>0)break;if(r<0)s++;else{if(!t[e(529)]&&n[e(529)])break;if(n[e(529)]||!t[e(529)]){if(t[e(677)]>n[e(677)])break;s++}else s++}}return s}[rt(747)](t){const e=rt,i=this[e(600)][e(707)]();i[e(487)](),i[e(599)]();const s=i[e(782)]((i=>i[e(769)]<=t))[e(769)];return s<this[e(662)]?this[e(662)]:s}[rt(729)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(736)]({from:e,to:i});o[r(516)]=t,o[r(703)]=s,o.id=n;const a=this[r(505)](o);return this[r(656)]&&this[r(535)](o.id,o,!0),a}[rt(626)](){const t=rt;this[t(536)][t(710)][t(730)](t(488))[t(483)]({model:t(655)})}}class ut{[rt(536)];[rt(636)];[rt(699)];[rt(498)];[rt(673)];[rt(697)];[rt(646)];[rt(607)];[rt(472)];[rt(643)];[rt(751)];[rt(768)];[rt(553)];[rt(672)];[rt(507)];[rt(706)];[rt(700)];constructor(t){const e=rt;this[e(536)]=t,this[e(699)]=new Map,this[e(498)]=-1,this[e(673)]=-1,this[e(697)]=new Map,this[e(646)]=new Map,this[e(607)]=new Map,this[e(472)]=new Map,this[e(643)]=new Map,this[e(751)]=new Map,this[e(768)]=new Map,this[e(553)]=new Map,this[e(672)]=new Map,this[e(507)]=new Map,this[e(706)]=1}[rt(478)](t){const e=rt;this[e(636)]=t;const i=new Map,s=new Map,n=this[e(536)][e(551)][e(604)][e(530)][e(755)]((t=>t[e(777)]));for(const t of n){const n=this[e(536)][e(551)][e(604)][e(772)](t),r=lt(n);i[e(616)](t,r),s[e(616)](t,Object[e(630)](n[e(763)]()))}const r=Array[e(716)](this[e(536)][e(551)][e(603)])[e(755)]((t=>[t[e(516)],t[e(576)]()])),o=this[e(636)][e(602)];this[e(611)](o,i,r,s),this[e(700)]=this[e(706)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(616)](t,i),c[e(616)](t,{})}this[e(611)](Number[e(718)],a,[],c)}[rt(785)](t,e){const i=rt;if(this[i(498)]===t&&this[i(673)]<=e)this[i(699)][i(510)]>1&&this[i(552)](this[i(673)]),this[i(739)](this[i(673)],e,!0);else{if(!this[i(699)][i(620)](t)){const e=this[i(721)](t);this[i(619)](e,t,!1)}this[i(619)](t,e,!0)}return this[i(498)]=t,this[i(673)]=e,this[i(591)]()}[rt(740)](t){const e=rt,i=this[e(536)][e(554)][e(592)](e(664));this[e(479)](),this[e(498)]=t[e(649)],this[e(673)]=t[e(769)];for(const s in t[e(713)]){const n=t[e(713)][s][e(539)],r=A(t[e(713)][s][e(648)])||{},o=i[e(679)](t[e(713)][s][e(732)]);o[e(777)]=s,o[e(667)]=!n||!n[e(484)],o[e(484)]=()=>o[e(667)],this[e(472)][e(616)](s,o),this[e(643)][e(616)](s,r),n&&this[e(507)][e(616)](s,n);const a=this[e(770)](o);this[e(768)][e(616)](s,a);for(const[t,i]of o[e(603)]){if(!t[e(550)](e(719)))continue;const s=t[e(629)](":")[2];for(const t of i[e(737)]({singleCharacters:!0})){const i=this[e(660)](t),n=e(572)==t[e(531)]?t[e(575)][e(758)][e(717)](0,-1):t[e(575)][e(758)],r=a[e(738)](n)[e(613)](i);this[e(553)][e(616)](r,{userId:s})}}}this[e(700)]=this[e(706)];const s=[...Array(this[e(706)])[e(555)]()][e(717)](1)[e(509)]((t=>!this[e(553)][e(620)](t)));let n=0;const r=new Map;for(const o in t[e(713)]){const a=t[e(713)][o][e(539)],c=A(t[e(713)][o][e(695)])||{},u=i[e(679)](t[e(713)][o][e(582)]);u[e(777)]=o,u[e(667)]=!a||a[e(484)],u[e(484)]=()=>u[e(667)],this[e(646)][e(616)](o,u),this[e(607)][e(616)](o,c);const l=this[e(770)](u,Number[e(718)]);this[e(751)][e(616)](o,l),r[e(616)](o,u[e(484)]()?c:{});for(const[t,i]of u[e(603)]){if(!t[e(550)](e(719)))continue;const s=t[e(629)](":")[2];for(const t of i[e(737)]({singleCharacters:!0})){const i=this[e(660)](t),n=this[e(706)]++,r=e(572)==t[e(531)]?t[e(575)][e(758)][e(717)](0,-1):t[e(575)][e(758)];l[e(738)](r)[e(558)](i,n),this[e(553)][e(616)](n,{userId:s})}}for(const t of this[e(536)][e(551)][e(473)](u)[e(737)]({singleCharacters:!0})){const i=this[e(660)](t),r=e(572)==t[e(531)]?t[e(575)][e(758)][e(717)](0,-1):t[e(575)][e(758)],o=l[e(738)](r);o[e(613)](i)>0||o[e(558)](i,s[n++])}for(const[t,i]of u[e(603)])t[e(550)](e(719))||this[e(697)][e(616)](t,i)}const o=ht(e(722));this[e(472)][e(616)](e(722),o),this[e(768)][e(616)](e(722),this[e(770)](o,1));const a=ht(e(722));this[e(646)][e(616)](e(722),a),this[e(751)][e(616)](e(722),this[e(770)](a,1));const c=Array[e(716)](this[e(646)])[e(755)]((([t,e])=>[t,lt(e)]));this[e(611)](this[e(673)],c,this[e(697)],r)}[rt(514)](){const t=rt;this[t(479)](),this[t(498)]=-1,this[t(673)]=-1,this[t(699)][t(482)](),this[t(478)](this[t(636)])}[rt(611)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(616)](t,{start:e[n(522)][n(628)](),end:e[n(686)][n(628)](),rootName:e[n(612)][n(777)]});this[n(699)][n(616)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(552)](t){const e=rt;this[e(699)][e(571)](t)}[rt(479)](){const t=rt;this[t(553)][t(482)](),this[t(672)][t(482)](),this[t(507)][t(482)](),this[t(646)][t(482)](),this[t(607)][t(482)](),this[t(472)][t(482)](),this[t(643)][t(482)](),this[t(751)][t(482)](),this[t(768)][t(482)](),this[t(697)][t(482)](),this[t(706)]=1,this[t(700)]=this[t(706)]}[rt(770)](t,e=null){const i=rt;let s=null;t.is(i(569))||(s=new U.Element(t[i(516)],{vid_start:null===e?this[i(706)]++:e++}));const n=[];for(const s of t[i(617)]())if(s.is(i(598))){n[i(621)](this[i(770)](s,e));const t=n[n[i(503)]-1];null!==e&&(e=t.is(i(598),i(521))?t[i(613)](i(546))+1:t[i(613)](i(504))+1)}else for(let t=0;t<s[i(784)];t++)n[i(621)](new U.Element(i(521),{vid:null===e?this[i(706)]++:e++}));if(t.is(i(569))){const e=ht(t[i(777)]);return e[i(593)](0,n),e}return s[i(558)](i(504),null===e?this[i(706)]++:e++),s[i(593)](0,n),s}[rt(619)](t,e,i){const s=rt;this[s(479)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(699)][s(592)](t);this[s(472)]=new Map(n),this[s(643)]=new Map(A(o));for(const[t,e]of this[s(472)])if(s(722)!==t&&(this[s(646)][s(616)](t,lt(e)),this[s(607)]=new Map(A(o)),i)){const i=this[s(706)];this[s(751)][s(616)](t,this[s(770)](e)),this[s(768)][s(616)](t,this[s(770)](e,i))}this[s(700)]=this[s(706)],this[s(646)][s(616)](s(722),lt(this[s(472)][s(592)](s(722)))),i&&this[s(751)][s(616)](s(722),this[s(770)](this[s(472)][s(592)](s(722))));for(const[t,e]of r){const i=this[s(472)][s(592)](e[s(777)]),n=this[s(646)][s(592)](e[s(777)]),r=new U.Range(this[s(560)](e[s(522)],i),this[s(560)](e[s(686)],i)),o=this[s(640)](r,n);i[s(603)][s(616)](t,r),this[s(697)][s(616)](t,o)}this[s(739)](t,e,i)}[rt(739)](t,e,i){const s=rt;for(const n of this[s(636)][s(567)](t,e))this[s(658)](n,i);for(const t of this[s(646)][s(609)]())t[s(603)][s(482)]();for(const[t,e]of this[s(697)])this[s(646)][s(592)](e[s(612)][s(777)])[s(603)][s(616)](t,e[s(628)]());const n=new Map,r=new Map;for(const[t,e]of this[s(646)])n[s(616)](t,lt(e)),r[s(616)](t,this[s(607)][s(592)](t));this[s(611)](e,n,this[s(697)],r)}[rt(721)](t){const e=rt,i=Array[e(716)](this[e(699)][e(555)]());i[e(476)](((t,e)=>t-e)),i[e(487)]();for(const e of i)if(e<t)return e;return Number[e(718)]}[rt(477)](t,e){const i=rt,s=Array[i(716)](e[i(603)])[i(755)]((([e,s])=>[e,this[i(640)](s,t)]));t[i(603)]=new Map(s)}[rt(709)](t){const e=rt;for(const i of this[e(697)][e(609)]()){const s=i[e(746)](t),n=U.Range[e(513)](s);i[e(522)]=n[e(522)],i[e(686)]=n[e(686)]}}[rt(658)](t,e){const i=rt;if(i(727)!=t[i(531)]&&i(543)!=t[i(531)]){if(i(756)==t[i(531)]){const s=t[i(583)][i(612)][i(777)];this[i(646)][i(620)](s)||(this[i(646)][i(616)](s,ht(s,!0)),this[i(607)][i(616)](s,{}),e&&this[i(751)][i(616)](s,ht(s,!0)))}else{if(i(712)==t[i(531)]||i(561)==t[i(531)]||i(650)==t[i(531)])return void this[i(783)](t);i(606)==t[i(531)]&&this[i(708)](t)}if(i(606)!==t[i(531)]){const e=this[i(786)](t,this[i(646)]);e[i(657)](),this[i(709)](e)}if(e)switch(t[i(531)]){case i(756):this[i(661)](t);break;case i(745):case i(566):case i(547):this[i(757)](t);break;case i(497):this[i(493)](t);break;case i(629):this[i(588)](t)}}else this[i(776)](t,e)}[rt(786)](t,e){const i=rt,s=t[i(628)]();return s[i(517)]=t[i(517)],this[i(705)](s,e),s}[rt(668)](t){const e=rt;return t[e(755)]((t=>{const i=e,s=this[i(660)](t);return Number(t[i(623)][i(613)](s))}))}[rt(540)](t,e){const i=rt;if(t.is(i(598),i(521)))e[i(621)]({item:t,type:i(674)});else{t.is(i(598))&&e[i(621)]({item:t,type:i(701)});for(const s of t[i(617)]())this[i(540)](s,e);t.is(i(598))&&e[i(621)]({item:t,type:i(572)})}return e}[rt(591)](){const t=rt,e=new Map(this[t(553)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(472)][t(555)](),...this[t(646)][t(555)]()]);a[t(571)](t(722));for(const e of a){const i=this[t(646)][t(592)](e)||ht(e,!1),s=this[t(472)][t(592)](e)||ht(e,!1);i[t(484)]()||s[t(484)]()?(n[t(582)][e]=lt(i),n[t(732)][e]=lt(s),this[t(477)](n[t(732)][e],s),this[t(477)](n[t(582)][e],i),r[t(582)][e]=this[t(540)](this[t(751)][t(592)](e),[]),r[t(732)][e]=this[t(540)](this[t(768)][t(592)](e)||ht(e,!1),[])):a[t(571)](e)}for(const n of a){const o=r[t(582)][n];for(const n of o){const r=this[t(660)](n),o=n[t(623)][t(613)](r);i[t(571)](o),o>=this[t(700)]&&s[t(616)](o,e[t(592)](o))}}for(const n of a){const a=r[t(582)][n],c=this[t(668)](r[t(732)][n]);let u=0;for(const n of a){const r=this[t(660)](n),a=n[t(623)][t(613)](r);if(!s[t(620)](a)&&!o[t(620)](a))if(i[t(620)](a))u++;else{if(a!=c[u]){const s=e[t(592)](a)||e[t(592)](c[u]);for(;a!=c[u];)i[t(620)](c[u])||(o[t(616)](c[u],s),e[t(616)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(582)][e];for(const e of n){const n=this[t(660)](e),r=e[t(623)][t(613)](n);if(o[t(620)](r)){const e=o[t(592)](r);i[t(620)](r)||i[t(616)](r,{...e}),s[t(616)](r,{...e})}}}for(const e of i[t(555)]())e>=this[t(700)]&&i[t(571)](e);const c=new Map;for(const e of a){let n=r[t(582)][e];for(const e of n)if(e[t(623)].is(t(598),t(696))){const i=this[t(660)](e),n=e[t(623)][t(613)](i);if(s[t(620)](n)){const i=e[t(623)][t(511)][t(511)][t(613)](t(500)),r=c[t(592)](i)||new Set;r[t(754)](s[t(592)](n)[t(489)]),c[t(616)](i,r)}}n=r[t(732)][e];for(const e of n)if(e[t(623)].is(t(598),t(696))){const s=this[t(660)](e),n=e[t(623)][t(613)](s);if(i[t(620)](n)){const s=e[t(623)][t(511)][t(511)][t(613)](t(500)),r=c[t(592)](s)||new Set;r[t(754)](i[t(592)](n)[t(489)]),c[t(616)](s,r)}}for(const e of c[t(555)]())(s[t(620)](e)||i[t(620)](e))&&c[t(571)](e)}for(const e of a){const n=r[t(582)][e];let o=null,a=null;for(const e of n){const n=this[t(660)](e),r=e[t(623)][t(613)](n),u=c[t(592)](r);u&&t(701)==e[t(531)]&&(o=Array[t(716)](u)[0],a=e[t(623)][t(613)](t(504))),o&&(i[t(616)](r,{userId:o}),s[t(616)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(732)][e],a=n[t(582)][e];for(const{userId:e}of this[t(672)][t(609)]())null!==e&&l[t(754)](e);for(const{userId:e}of this[t(507)][t(609)]())null!==e&&l[t(754)](e);this[t(590)](a,r[t(582)][e],s,t(520),l),this[t(590)](o,r[t(732)][e],i,t(508),l),u[e]={insertions:this[t(663)](a),deletions:this[t(663)](o),attachChange:this[t(507)][t(592)](e)||null,attributesBefore:A(this[t(643)][t(592)](e))||{},attributesAfter:A(this[t(607)][t(592)](e))}}return{diffData:u,authorsIds:Array[t(716)](l)}}[rt(549)](t){const e=rt;for(const[,i]of t[e(603)]){const t=i[e(522)][e(625)]()[e(509)]((t=>e(696)==t[e(516)]));for(const i of t)1==i[e(475)]&&i[e(774)](0).is(e(598),e(742))&&i[e(774)](0)[e(558)](e(685),!0)}}[rt(663)](t){const e=rt;this[e(549)](t);const i=this[e(536)][e(545)][e(618)](t,{}),s=Array[e(716)](i[e(617)]())[e(755)]((t=>this[e(581)](t)));return JSON[e(760)](s)}[rt(581)](t){const e=rt;if(t.is(e(521)))return t[e(545)];{const i=this[e(536)][e(554)][e(592)](e(664)),s=t,n=this[e(536)][e(545)][e(501)][e(761)],r={type:i[e(527)](s),name:s[e(516)],attributes:Array[e(716)](s[e(763)]()),children:Array[e(716)](s[e(617)]())[e(755)]((t=>this[e(581)](t)))};if(t.is(e(541))&&e(687)!=t[e(516)]){const i=t[e(532)](n[e(594)],n);r[e(787)][e(621)](i[e(577)])}else if(t.is(e(544))){const i=n[e(594)][e(548)](s[e(516)]);t[e(532)](i,n),r[e(787)][e(621)](i[e(564)])}const o=Array[e(716)](s[e(506)]());o[e(503)]>0&&(r[e(781)]=o);const a=s[e(779)]();return null!==a&&(r[e(731)]=a),r}}[rt(590)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(536)][r(551)];for(let s=0;s<e[r(503)];s++){const n=this[r(660)](e[s]),c=e[s][r(623)][r(613)](n),h=i[r(592)](c),d=s==e[r(503)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(489)]!=o[r(489)])&&(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(489)],d=l(719)+s+":"+h+":"+c++,f=u[l(578)](i,a);t[l(603)][l(616)](d,f),null!==h&&n[l(754)](h)}}[rt(660)](t){const e=rt;switch(t[e(531)]){case e(701):return e(500);case e(572):return e(504);default:return e(546)}}[rt(705)](t,e){const i=rt;t[i(659)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(592)](n[i(612)][i(777)]);t[s]=this[i(560)](n,r)}if(n instanceof U.Range){const r=e[i(592)](n[i(612)][i(777)]);t[s]=this[i(640)](n,r)}i(612)===s&&(t[i(612)]=e[i(592)](t[i(612)][i(777)]))}}[rt(640)](t,e){const i=rt;return this[i(536)][i(551)][i(578)](this[i(560)](t[i(522)],e),this[i(560)](t[i(686)],e))}[rt(560)](t,e){const i=rt;return this[i(536)][i(551)][i(585)](e,t[i(758)],t[i(752)])}[rt(661)](t){const e=rt,i=this[e(751)][e(592)](t[e(583)][e(612)][e(777)]),s=this[e(560)](t[e(583)],i),n=null===t[e(517)]?null:t[e(517)]||this[e(536)][e(554)][e(592)](e(645)).me.id,r=s[e(511)],o=this[e(706)],a=[];for(const i of t[e(748)])if(i.is(e(598)))a[e(621)](this[e(770)](i));else for(let t=0;t<i[e(784)];t++)a[e(621)](new U.Element(e(521),{vid:this[e(706)]++}));const c=this[e(706)];for(let t=o;t<c;t++)this[e(553)][e(616)](t,{userId:n});r[e(593)](s[e(771)],a)}[rt(757)](t){const e=rt;(t=this[e(786)](t,this[e(751)]))[e(657)]();const i=null===t[e(517)]?null:t[e(517)]||this[e(536)][e(554)][e(592)](e(645)).me.id,s=t[e(518)](),n=s[e(511)],r=s[e(771)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(774)](e);r.is(a(598),a(521))?s[a(616)](r[a(613)](a(546)),{userId:i}):(s[a(616)](r[a(613)](a(500)),{userId:i}),t(s,r,0,r[a(475)]),s[a(616)](r[a(613)](a(504)),{userId:i}))}}(this[e(553)],n,r,r+t[e(614)])}[rt(493)](t){const e=rt,i=null===(t=this[e(786)](t,this[e(751)]))[e(517)]?null:t[e(517)]||this[e(536)][e(554)][e(592)](e(645)).me.id,s=t[e(557)][e(511)],n=t[e(743)][e(511)],r=s[e(613)](e(504)),o=n[e(613)](e(500));s[e(558)](e(504),n[e(613)](e(504))),n[e(558)](e(504),r),this[e(553)][e(616)](o,{userId:i}),this[e(553)][e(616)](r,{userId:i}),t[e(657)]()}[rt(588)](t){const e=rt,i=null===(t=this[e(786)](t,this[e(751)]))[e(517)]?null:t[e(517)]||this[e(536)][e(554)][e(592)](e(645)).me.id,s=t[e(622)],n=t[e(573)][e(511)];t[e(657)]();const r=n[e(613)](e(504)),o=t[e(494)][e(767)];if(s){const t=o[e(613)](e(504)),s=n[e(613)](e(504));n[e(558)](e(504),t),o[e(558)](e(504),s),this[e(553)][e(616)](n[e(613)](e(504)),{userId:i}),this[e(553)][e(616)](o[e(613)](e(500)),{userId:i})}else{const t=this[e(706)]++,s=this[e(706)]++;n[e(558)](e(504),t),o[e(558)](e(500),s),o[e(558)](e(504),r),this[e(553)][e(616)](t,{userId:i}),this[e(553)][e(616)](s,{userId:i})}}[rt(708)](t){const e=rt;if(!t[e(469)])return;const i=(t=this[e(786)](t,this[e(646)]))[e(633)]?t[e(633)][e(612)]:null,s=t[e(486)]?t[e(486)][e(612)]:null;i&&this[e(697)][e(571)](t[e(516)]),s&&this[e(697)][e(616)](t[e(516)],t[e(486)][e(628)]());const n=null===t[e(517)]?null:t[e(517)]||this[e(536)][e(554)][e(592)](e(645)).me.id,r=t[e(516)];if(!this[e(672)][e(620)](r))return void this[e(672)][e(616)](r,{range:t[e(633)],userId:n});const o=this[e(672)][e(592)](r),a=o[e(515)],c=t[e(486)];null==a&&null==c||a&&c&&a[e(714)](c)?this[e(672)][e(571)](t[e(516)]):o[e(489)]=n}[rt(776)](t,e){const i=rt;this[i(646)][i(620)](t[i(777)])?this[i(646)][i(592)](t[i(777)])[i(667)]=t[i(765)]:(this[i(646)][i(616)](t[i(777)],ht(t[i(777)],!0)),this[i(607)][i(616)](t[i(777)],{}),e&&this[i(751)][i(616)](t[i(777)],ht(t[i(777)],!0)));const s=null===t[i(517)]?null:t[i(517)]||this[i(536)][i(554)][i(592)](i(645)).me.id,n=this[i(507)][i(592)](t[i(777)]);n&&n[i(489)]===s?this[i(507)][i(571)](t[i(777)]):this[i(507)][i(616)](t[i(777)],{userId:s,isAttached:t[i(765)]})}[rt(783)](t){const e=rt,i=this[e(607)][e(592)](t[e(612)][e(777)]);null===t[e(728)]?delete i[t[e(570)]]:i[t[e(570)]]=t[e(728)]}}function lt(t){const e=rt,i=ht(t[e(777)],t[e(484)]());for(const s of t[e(617)]()){const t=s[e(563)](!0);i[e(533)](t)}return i}function ht(t,e=!0){const i=rt,s=new U.DocumentFragment;return s[i(777)]=t,s[i(667)]=e,s[i(484)]=()=>s[i(667)],s}function dt(t,e,i){const s=rt,n=s(572)==t[s(531)]?i[s(635)](t[s(623)],s(686)):i[s(694)](t[s(623)]);return i[s(585)](e,n[s(758)],n[s(752)])}function ft(t,e,i){const s=rt,n=s(701)==t[s(531)]?i[s(635)](t[s(623)],0):i[s(491)](t[s(623)]);return i[s(585)](e,n[s(758)],n[s(752)])}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;function At(){const t=["form","reset","112sipDlG","_createRevisionNameInput","133685mqgUaD","arrowup","add","label","1168358BAOEid","errorText","locale","focus","input","render","trim","extendTemplate","revisionNameInputView","arrowright","optional","4569922tXlVgh","listenTo","stopPropagation","setTemplate","keystrokes","420547KnBORt","set","revisionNameInputValue","Name of the revision","value","arrowdown","14890456zNtshw","arrowleft","element","ck-responsive-form","revisionName","220","fieldView","ck-revision-history-save-revision-form","668622poQRAZ","focusTracker","4286502VRexdB"];return(At=function(){return t})()}const Mt=Vt;function Vt(t,e){const i=At();return(Vt=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(392390===-parseInt(e(322))/1+-parseInt(e(347))/2+parseInt(e(336))/3+parseInt(e(341))/4*(-parseInt(e(343))/5)+parseInt(e(338))/6+-parseInt(e(317))/7+parseInt(e(328))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Dt extends pt.View{[Mt(337)];[Mt(321)];[Mt(314)];constructor(e,i){const s=Mt;super(e),this[s(337)]=new t.FocusTracker,this[s(321)]=new t.KeystrokeHandler,this[s(323)](s(324),""),this[s(314)]=this[s(342)](i),this[s(320)]({tag:s(339),attributes:{class:["ck",s(335),s(331)],tabindex:"-1"},children:[this[s(314)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Mt(352)](){const t=Mt;super[t(352)](),(0,pt.submitHandler)({view:this}),this[t(337)][t(345)](this[t(314)][t(330)]),this[t(321)][t(318)](this[t(330)]);const e=e=>e[t(319)]();this[t(321)][t(323)](t(315),e),this[t(321)][t(323)](t(329),e),this[t(321)][t(323)](t(344),e),this[t(321)][t(323)](t(327),e)}[Mt(350)](){const t=Mt;this[t(314)][t(350)]()}get[Mt(332)](){const t=Mt;return this[t(314)][t(334)][t(330)][t(326)][t(312)]()}set[Mt(332)](t){const e=Mt;this[e(314)][e(334)][e(330)][e(326)]=t[e(312)]()}[Mt(340)](){const t=Mt;this[t(314)][t(334)][t(330)][t(326)]="",this[t(314)][t(348)]=null}[Mt(342)](t){const e=Mt,i=new pt.LabeledFieldView(this[e(349)],pt.createLabeledInputText),s=i[e(334)];s[e(313)]({attributes:{maxlength:e(333)}});let n=X(this[e(349)],e(325));return!t&&(n+=" ("+X(this[e(349)],e(316))+")"),i[e(346)]=n,s.on(e(351),(()=>{const t=e;this[t(324)]=s[t(330)][t(326)][t(312)]()})),i}}const Et=Ft;function Ct(){const t=["RevisionHistoryUI","view","RevisionTracker","get","84161IOBcBF","role","Dialog","focus","showRevisionViewerCallback","Revision history","delegate","execute","The revision name cannot be empty.","requires","36QdRfqt","locale","menuBar:revisionHistory","revisionSave","1828yldHIf","editing","init","bind","_saveRevisionFormView","editor","pluginName","ck-button-action","220860mBXhdq","submit","panelView","isReadOnly","isOfficialPlugin","add","Accept","items","errorText","2737TyPQht","Save current revision","show","menuitem","saveRevision","765yeYMQd","hide","buttonView","_registerMenuComponent","menu","revisionHistory","config","1404444tzVONV","revisionNameInputView","_showDialog","addMany","children","render","isOpen","119630dGXAUN","set","Open revision history","11rDEMRE","Cancel","isReady","componentFactory","isPremiumPlugin","plugins","isEnabled","revisionHistory.requireRevisionName","498634fWwuNJ","416XtKpKq","_createSaveRevisionFormView","5NEFbtn","reset","revisionName"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(135674===parseInt(e(495))/1+-parseInt(e(485))/2+parseInt(e(531))/3*(parseInt(e(509))/4)+-parseInt(e(488))/5*(-parseInt(e(538))/6)+parseInt(e(526))/7*(-parseInt(e(486))/8)+parseInt(e(505))/9*(-parseInt(e(545))/10)+parseInt(e(548))/11*(parseInt(e(517))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends Z.Plugin{static get[Et(515)](){return Et(491)}static get[Et(521)](){return!0}static get[Et(481)](){return!0}static get[Et(504)](){return[ct]}[Et(513)];[Et(511)](){const t=Et,e=this[t(514)],i=e[t(482)][t(494)](t(493));e.ui[t(480)][t(522)](t(536),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(519)][n(542)],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(512)](n(483)).to(i,n(479),i,n(483),e,n(520),((t,e,i)=>t&&e&&!i)),r[n(533)][n(546)]({icon:mt.IconHistory,label:X(s,n(500)),tooltip:!0}),u[n(546)]({label:X(s,n(527)),withText:!0,role:n(529)}),u[n(512)](n(483)).to(i,n(479),i,n(483),e,n(520),((t,e,i)=>t&&e&&!i)),u.on(n(502),(()=>this[n(540)]())),h[n(546)]({label:X(s,n(547)),withText:!0,role:n(529)}),h[n(512)](n(483)).to(i,n(479),e,n(520),((t,e)=>t&&!e)),h.on(n(502),(()=>{const t=n;e[t(537)][t(494)](t(536))[t(499)](),r[t(544)]=!1,e[t(510)][t(492)][t(498)]()})),c[n(542)][n(522)](u),l[n(542)][n(522)](h),a[n(496)]=n(535),a[n(524)][n(541)]([c,l]),o[n(522)](a),r})),e.ui[t(480)][t(522)](t(507),(()=>this[t(534)]()))}[Et(534)](){const t=Et,e=this[t(514)],i=e[t(506)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(533)][t(546)]({icon:mt.IconHistory,label:X(i,t(500))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(546)]({label:X(i,t(527))}),o[t(501)](t(502)).to(s),o.on(t(502),(()=>{this[t(540)]()})),r[t(542)][t(522)](o),n[t(524)][t(522)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(546)]({label:X(i,t(547))}),c[t(501)](t(502)).to(s),c.on(t(502),(()=>{const i=t;e[i(537)][i(494)](i(536))[i(499)]()})),a[t(542)][t(522)](c),n[t(524)][t(522)](a),s[t(519)][t(542)][t(522)](n),s}[Et(540)](){const t=Et,e=this[t(514)],i=e[t(506)],s=e[t(482)][t(494)](t(497)),n=e[t(482)][t(494)](t(493));function r(n){const r=t;e[r(537)][r(494)](r(484))&&""===n[r(490)]?n[r(539)][r(525)]=X(i,r(503)):(e[r(482)][r(494)](ct)[r(530)]({name:n[r(490)]}),s[r(532)]())}this[t(513)]||(this[t(487)](),this[t(513)].on(t(518),(()=>r(this[t(513)])))),this[t(513)][t(489)](),s[t(528)]({id:t(508),title:X(i,t(527)),isModal:!0,content:this[t(513)],actionButtons:[{label:X(e[t(506)],t(549)),withText:!0,onExecute:()=>s[t(532)]()},{label:X(e[t(506)],t(523)),class:t(516),withText:!0,onCreate(i){const s=t;i[s(512)](s(483)).to(n,s(479),n,s(483),e,s(520),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(513)])}]})}[Et(487)](){const t=Et,e=this[t(514)],i=e[t(506)];this[t(513)]=new Dt(i,e[t(537)][t(494)](t(484))),this[t(513)][t(543)]()}}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=229]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(776125===parseInt(e(244))/1+parseInt(e(254))/2+parseInt(e(257))/3+parseInt(e(240))/4+parseInt(e(234))/5+parseInt(e(247))/6*(-parseInt(e(242))/7)+-parseInt(e(231))/8*(parseInt(e(232))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(235)];[jt(252)];constructor(t,e){const i=jt;super(t),this[i(252)]=e,this[i(235)]=e.id;const s=this[i(258)],n=X(t,e[i(241)][i(238)]?i(255):i(236)==e[i(259)]?i(237):i(230));this[i(239)](i(259),e[i(259)]),this[i(248)]({tag:i(246),attributes:{class:[i(256),i(251),s.to(i(259),(t=>i(249)+t))],tabindex:-1},children:[{tag:i(229),children:[{tag:i(229),attributes:{class:[i(233)]},children:[{text:n}]},{text:" "+e[i(253)][i(245)]}]}]})}[jt(250)](){const t=jt;this[t(243)][t(250)]()}}function Wt(){const t=["5329818VwcGPP","setTemplate","ck-revision-change__","focus","ck-revision-change","_model","author","1691232VQiuqK","Suggested by","ck-annotation","1148559MVSvjM","bindTemplate","type","span","Removed by","48lkDiTE","2739663iFTZWY","ck-revision-change__label","5041940SPedAG","changeId","add","Added by","isSuggestion","set","2373964YTgCCa","data","7gzmXeO","element","660522NQVBRA","name","div"];return(Wt=function(){return t})()}var Zt=Ut;function Ht(){var t=["1565856uDZoWp","640792mYCdYH","407117CibXka","createdAt","author","rootName","60UKzRmW","toJSON","set","data","1633170fWsjSy","1000056PLshMX","type","616959zjfjdm","10082HsQVII"];return(Ht=function(){return t})()}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=200]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(239907===parseInt(e(212))/1+-parseInt(e(209))/2*(parseInt(e(201))/3)+-parseInt(e(210))/4+parseInt(e(205))/5+parseInt(e(206))/6+-parseInt(e(208))/7+-parseInt(e(211))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(214)];[Zt(207)];[Zt(204)];[Zt(200)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(214)]=e[i(214)],this[i(207)]=e[i(207)],this[i(204)]=e[i(204)]||{},this[i(200)]=e[i(200)],this[i(203)](i(213),e[i(213)])}[Zt(202)](){var t=Zt;return{id:this.id,authorId:this[t(214)].id,type:this[t(207)],data:this[t(204)],createdAt:this[t(213)]}}}const $t=Yt;function Bt(){const t=["oldRevisionId","874116vdSPzy","_setChanges","newRevisionId","changes","861820HcPLqC","20QUSaCR","562595jiHOsQ","3mMkPLB","add","9JDeHpT","1808omoxcz","2955860YLSsdZ","1785mtveJN","300928qkeUOY","5789370qVJOli"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(786658===-parseInt(e(224))/1+parseInt(e(227))/2*(-parseInt(e(234))/3)+-parseInt(e(231))/4*(-parseInt(e(232))/5)+parseInt(e(225))/6+parseInt(e(239))/7*(-parseInt(e(237))/8)+parseInt(e(236))/9*(-parseInt(e(238))/10)+parseInt(e(233))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[$t(229)];[$t(226)];[$t(230)];constructor(e,i){const s=$t;this[s(229)]=e,this[s(226)]=i,this[s(230)]=new t.Collection}[$t(228)](t){const e=$t;for(const i of t)this[e(230)][e(235)](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=Xt;function Xt(t,e){const i=ie();return(Xt=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(961566===parseInt(e(248))/1+-parseInt(e(346))/2*(-parseInt(e(460))/3)+parseInt(e(331))/4*(-parseInt(e(437))/5)+-parseInt(e(430))/6*(-parseInt(e(406))/7)+-parseInt(e(501))/8*(parseInt(e(270))/9)+-parseInt(e(502))/10+-parseInt(e(426))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class te extends Z.Plugin{[Qt(311)];[Qt(407)]=null;[Qt(302)];[Qt(408)];[Qt(234)];[Qt(195)];[Qt(341)];static get[Qt(357)](){return Qt(450)}static get[Qt(444)](){return!0}static get[Qt(315)](){return!0}static get[Qt(216)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(311)]=this[e(209)][e(316)][e(491)](e(517)),this[e(302)]=this[e(209)][e(316)][e(491)](e(389)),this[e(516)](e(399),null),this[e(516)](e(403),null),this[e(408)]=null,this[e(516)](e(461),null),this[e(516)](e(237),!1),this[e(516)](e(301),!0),this.on(e(282),((t,i,s)=>{const n=e;this[n(399)]=null,this[n(403)]=null,this[n(209)][n(305)][n(245)][n(295)]((t=>{const e=n;for(const i of this[e(209)][e(305)][e(245)][e(471)][e(443)])s?t[e(514)](e(402),i):t[e(280)](e(402),i)}))})),this[e(512)](e(453)).to(this,e(399),(t=>null!==t)),this[e(512)](e(417)).to(this,e(237),this,e(461),this,e(399),((t,i,s)=>t&&s?i[e(448)][e(287)](s):0)),this[e(512)](e(354)).to(this,e(237),this,e(461),((t,i)=>t?i[e(448)][e(384)]:0)),this[e(234)]=null,this[e(195)]=new Map,this[e(341)]=this[e(209)][e(316)][e(491)](pt.ContextualBalloon)}[Qt(393)](){const t=Qt,e=this[t(209)],i=new ne(e,{direction:t(327)}),s=new ne(e,{direction:t(515)});e[t(264)][t(198)](t(319),i),e[t(264)][t(198)](t(210),s),e[t(264)][t(198)](t(219),new se(e)),this.on(t(226),(()=>{const e=t;i[e(201)](),s[e(201)]()})),this[t(394)](),this[t(376)](),e[t(367)](t(489)),e[t(316)][t(432)](t(372))&&e[t(316)][t(491)](t(372))[t(405)](t(489))}async[Qt(350)](t){const e=Qt;return await this[e(302)][e(510)](t,this[e(407)]),this[e(302)][e(350)](t)}async[Qt(193)](t){const e=Qt;return await this[e(302)][e(510)](t,this[e(407)]),this[e(302)][e(193)](t)}async[Qt(507)](t,e,i=!1){const s=Qt;if(!this[s(301)])return;const n=this[s(461)],r=this[s(311)],o=s(445)==typeof t?r[s(441)](t):t,a=s(445)==typeof e?r[s(441)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(461)]&&this[s(461)][s(427)]===c&&this[s(461)][s(385)]===u)return Promise[s(323)]();this[s(237)]=!1,this[s(403)]=null,this[s(399)]=null,this[s(461)]=new Jt(c,u);const l=this[s(251)](o,a,!0)[s(465)]((t=>this[s(302)][s(510)](t,this[s(407)])));return l[s(258)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(508)](l)[s(377)]((()=>{const t=s;if(!this[t(301)])return;this[t(204)]();const e=this[t(503)](c,u);for(const i of e[t(448)])this[t(195)][t(516)](i.id,i);this[t(209)][t(336)][t(382)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(209)][s(336)][s(471)][s(478)]())i[s(493)](t);for(const t of Object[s(255)](e[s(336)])){const n=i[s(479)](t);for(const r of Object[s(255)](e[s(496)][t]))i[s(390)](r,e[s(496)][t][r],n);i[s(286)](e[s(336)][t],n,0)}})),this[t(461)][t(244)](this[t(364)](e[t(448)])),this[t(237)]=!0}))[s(457)]((t=>{const e=s;console[e(330)](t),this[e(204)](),n&&(this[e(461)]=n),this[e(237)]=!0}))}[Qt(451)](t,e){const i=Qt,s=this[i(311)][i(307)](t);return s.on(i(194),((t,i,n)=>e(i,n,s))),this[i(311)][i(217)](s),s}[Qt(204)](){const t=Qt;this[t(399)]=null,this[t(313)](),this[t(234)]&&this[t(234)][t(487)](),this[t(234)]=null,this[t(195)][t(289)](),this[t(209)][t(336)][t(382)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(209)][i(336)][i(471)][i(478)]())e[i(493)](t)}))}[Qt(364)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(209)][e(336)][e(471)][e(478)]()){const n=this[e(209)][e(305)][e(245)][e(197)](t);if(!n)continue;const r=n[e(272)]()[e(205)](0);r&&(i[e(258)](t),s[e(516)](t,r))}return i[e(365)](((t,i)=>{const n=e,r=s[n(491)](t),o=s[n(491)](i);return r.y-o.y||r.x-o.x})),(t=t[e(278)]((t=>i[e(482)](t[e(223)]))))[e(365)](((t,s)=>i[e(203)](t[e(223)])-i[e(203)](s[e(223)]))),t}[Qt(425)](t){const e=Qt,i=Array[e(438)](t[e(379)])[e(278)]((([t,i])=>t[e(392)](e(249))&&!i[e(455)])),s=Array[e(438)](this[e(209)][e(336)][e(351)](t)[e(332)]({singleCharacters:!0}));if(0!=i[e(384)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(509)](":");if(n[e(238)][e(447)](t[e(259)])&&i[e(256)](),(t[e(214)][e(447)](n[e(345)])||t[e(214)][e(361)](n[e(345)]))&&(e(387)==r?t[e(360)]={userId:o}:e(424)==r&&(t[e(505)]={userId:o})),0==i[e(384)])break}return s}[Qt(363)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(384)];s++)e(314)===t[s][e(456)]?(t[s][e(205)][e(467)]=s,t[s][e(205)][e(261)]=s):(e(369)===t[s][e(456)]?t[s][e(205)][e(467)]=s:e(409)===t[s][e(456)]&&(t[s][e(205)][e(261)]=s),i[e(516)](t[s].id,s));for(const s of i[e(352)]())e(369)===t[s][e(456)]?t[s][e(205)][e(261)]=i[e(491)](t[s][e(439)]):e(409)===t[s][e(456)]&&(t[s][e(205)][e(467)]=i[e(491)](t[s][e(439)]))}[Qt(356)](t){const e=Qt;for(let i=0;i<t[e(384)];i++){if(e(369)===t[i][e(456)])t[i][e(205)][e(467)]=i;else if(e(409)===t[i][e(456)]){t[i][e(205)][e(261)]=i;const s=t[i][e(205)][e(467)];t[s][e(439)]=t[i].id,t[i][e(439)]=t[s].id}else t[i][e(205)][e(467)]=i,t[i][e(205)][e(261)]=i,t[i][e(439)]=null;t[i][e(343)]||(t[i][e(343)]=[],t[i][e(225)]=[])}}[Qt(299)](t,e){const i=Qt,s=t[i(278)]((t=>!t[i(360)]));for(let t=0;t<e[i(384)];t++)e[t][i(360)]&&(s[t][i(360)]=e[t][i(360)])}[Qt(503)](t,e=null){const i=Qt,s=this[i(311)][i(441)](t),n=e?this[i(311)][i(441)](e):null,r=this[i(251)](s,n),o=r[r[i(384)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(384)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(255)](e[i(386)]))if(e[i(386)][t][i(228)]){const s=e[i(386)][t][i(228)];s[i(398)]?(u[i(198)](t),l[i(432)](t)&&l[i(491)](t)[i(477)]==s[i(477)]?l[i(240)](t):l[i(516)](t,s)):l[i(432)](t)?(u[i(240)](t),l[i(240)](t)):(u[i(198)](t),l[i(516)](t,s))}else u[i(198)](t)}for(const t of u){const e=l[i(432)](t)&&!l[i(491)](t)[i(398)];let s=e?r[i(384)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(386)][t]){const s=e?o[i(386)][t][i(276)]:o[i(386)][t][i(415)];c[i(496)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(336)]={};for(const e of t[i(391)])a[i(516)](e.id,e);for(const e of u){const s=t[i(386)][e]?t[i(386)][e][i(381)]:"[]",n=t[i(386)][e]?t[i(386)][e][i(227)]:"[]";t[i(336)][e]={insertions:this[i(302)][i(504)](s),deletions:this[i(302)][i(504)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(438)](s[i(336)][t][i(381)][i(379)])[i(278)]((([t])=>!t[i(392)](i(249)))));let h=0;for(const o of r){const r=this[i(425)](o[i(336)][t][i(381)]);o==s?(e=r,n=e[i(384)],e[i(518)]((t=>{t.id=h++})),this[i(356)](e)):this[i(299)](e,r);const a=e[i(278)]((t=>!t[i(360)]))[i(465)]((t=>t.id));let c=0;const l=this[i(425)](o[i(336)][t][i(227)]);l[i(518)]((t=>{t[i(505)]?t.id=n++:t.id=a[c++]})),this[i(356)](l),this[i(396)](e,i(360)),this[i(396)](l,i(505)),o==s&&this[i(322)](e,u),e=this[i(475)](e,l),this[i(363)](e),this[i(396)](e,i(505))}e=e[i(278)]((t=>!(t[i(360)]&&t[i(505)])));const d=new Map(o[i(336)][t][i(227)][i(379)]),f=new Set(u[i(255)]());for(const t of d[i(255)]())f[i(240)](t);this[i(298)](e,f),this[i(459)](e),e=this[i(265)](e),e=this[i(213)](e),e=this[i(262)](e);const{root:m,changes:p}=this[i(199)](e,a,t);c[i(336)][t]=m;const v=l[i(491)](t);if(v){const e=a[i(491)](v[i(477)]),s=new qt({author:e,type:v[i(398)]?i(198):i(484),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(366)](s),c[i(496)][t][i(326)]=s.id}c[i(448)]=c[i(448)][i(420)](p)}return c}[Qt(322)](t,e){const i=Qt;for(let s=0;s<t[i(384)];s++)for(const[n,r]of e)!r[i(455)]&&r[i(345)][i(447)](t[s][i(214)])&&t[s][i(343)][i(258)](n),r[i(238)][i(447)](t[s][i(259)])&&t[s][i(225)][i(258)](n)}[Qt(475)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(384)]||r<e[i(384)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(258)](o);else if(a[i(505)]&&o[i(360)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(230)](t,n,e,r);s=s[i(420)](o),n=a,r=c}else a[i(505)]?(r++,s[i(258)](a)):(n++,s[i(258)](o))}return s}[Qt(298)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(384)];o++){for(let r=0;r<t[o][i(343)][i(384)];r++){const a=t[o][i(343)][r];if(!e[i(432)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(400)!=c||i(387)!=u&&i(424)!=u||(s[i(366)]({type:u,name:a,userId:l}),t[o][i(343)][i(419)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(225)][i(384)];r++){const a=t[o][i(225)][r];if(!e[i(432)](a))continue;const{group:c,type:u}=n(a);if(i(400)!=c||i(387)!=u&&i(424)!=u)continue;t[o][i(225)][i(419)](r,1),r--;const l=s[i(337)]((t=>t[i(207)]==a));l>-1&&s[i(419)](l,1)}}function n(t){const e=i,s=t[e(509)](":");return{group:s[0],type:s[1],subType:s[e(384)]>=5?s[2]:null,id:s[e(384)]<5?s[2]:s[3],authorId:s[e(384)]<5?s[3]:s[4],markerCount:6==s[e(384)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(384)];i++){if(t[e(360)]&&e(387)==s[i][e(456)])return t[e(293)]=s[i],void delete t[e(360)];if(!t[e(360)]&&!t[e(505)]&&e(424)==s[i][e(456)])return void(t[e(269)]=s[i])}}}[Qt(396)](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(516)](o.id,s);for(let s=0;s<t[i(384)];s++){if(i(505)==e&&t[s][i(360)]||i(360)==e&&t[s][i(505)])continue;if(i(314)==t[s][i(456)]){t[s][i(373)]=0;continue}const n=r[i(491)](t[s][i(439)]),o=r[i(491)](t[s].id);t[s][i(373)]=n-o}}[Qt(251)](t,e,i=!1){const s=Qt,n=[];let r=this[s(311)][s(287)](t),o=this[s(311)][s(287)](e);for(-1==o&&(o=this[s(311)][s(250)][s(384)],i=!1);r<o;)n[s(258)](this[s(311)][s(441)](r)),r++;return i&&n[s(258)](this[s(311)][s(441)](r)),n}[Qt(230)](t,e,i,s){const n=Qt,r=this[n(209)][n(336)][n(340)];let o=e;for(;t[o]&&t[o][n(360)];)o++;let a=s;for(;i[a]&&i[a][n(505)];)a++;u(t,e,o),u(i,s,a);const c=i[n(300)](s,a)[n(420)](t[n(300)](e,o));return c[n(365)](((t,e)=>t[n(463)]!=e[n(463)]?t[n(463)]-e[n(463)]:t[n(317)]!=e[n(317)]?t[n(317)]-e[n(317)]:t[n(373)]!=e[n(373)]?e[n(373)]-t[n(373)]:!!t[n(360)]!=!!e[n(360)]?-1==t[n(463)]||0==t[n(463)]?t[n(360)]?-1:1:t[n(360)]?1:-1:t[n(492)]-e[n(492)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(242)],c=!0;for(let n=e;n<i;n++)if(r[s(284)](t[n][s(205)])||(c=!1),t[n][s(205)][s(467)]<e&&(o=n),t[n][s(205)][s(261)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(463)]=n<=o?-1:n<a?0:1,t[n][s(492)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(373)]?t[i][s(317)]=u:(u++,t[i][s(317)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(463)]&&(t[n][s(317)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(373)]?t[e][s(317)]=u:(u--,t[e][s(317)]=u,u--)}}[Qt(459)](t){const e=Qt,i=new Map,s=this[e(209)][e(336)][e(340)];for(let n=1;n<t[e(384)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(314)==c[e(456)])continue;if(c[e(456)]!=u[e(456)])continue;if(!s[e(333)](u[e(205)])||s[e(348)](u[e(205)]))continue;if(!s[e(333)](c[e(205)])||s[e(348)](c[e(205)]))continue;if((t[n][e(360)]||t[n][e(293)])&&t[n-1][e(505)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(505)]||!t[n-1][e(360)]&&!t[n-1][e(293)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(317)]==o[e(317)],h=Math[e(218)](r[e(317)])<Math[e(218)](o[e(317)])&&0==o[e(373)];(l||h)&&(i[e(516)](o.id,r.id),t[e(419)](a,1),n--,r[e(360)]=!1)}for(let s=0;s<t[e(384)];s++)i[e(432)](t[s][e(439)])&&(t[s][e(439)]=i[e(491)](t[s][e(439)]))}[Qt(265)](t){const e=Qt,i=new Set(t[e(465)]((t=>t.id)));for(let s=0;s<t[e(384)];s++)i[e(432)](t[s][e(439)])||0==t[s][e(373)]||(t[s][e(297)]=!0);return t[e(278)]((t=>!t[e(297)]))}[Qt(213)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(384)];s++){if(i[e(432)](t[s].id)&&t[s][e(505)]&&(t[s][e(297)]=!0),t[s][e(297)])continue;if(0==t[s][e(373)])continue;if(e(369)!=t[s][e(456)])continue;if(null==t[s][e(439)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(439)];)e(369)==t[n][e(456)]?r++:e(409)==t[n][e(456)]&&r--,n++;if(0!=r)if(t[s][e(505)])t[s][e(297)]=!0;else for(;n!=s;)t[n][e(505)]&&0!=t[n][e(373)]&&(t[n][e(297)]=!0,i[e(198)](t[n][e(439)])),n--}return t[e(278)]((t=>!t[e(297)]))}[Qt(262)](t){const e=Qt,i=this[e(209)][e(336)][e(340)];for(let s=0;s<t[e(384)];s++){if(!(t[s][e(360)]||t[s][e(293)]||t[s][e(505)]||t[s][e(269)]))continue;if(0==t[s][e(373)])continue;const n=t[s][e(205)];i[e(333)](n)||i[e(348)](n)||(t[s][e(360)]&&delete t[s][e(360)],t[s][e(293)]&&delete t[s][e(293)],t[s][e(269)]&&delete t[s][e(269)],t[s][e(505)]&&(t[s][e(297)]=!0))}return t[e(278)]((t=>!t[e(297)]))}[Qt(199)](t,e,i){const s=Qt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(209)][s(336)],c=a[s(340)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(384)];e++)if(s(369)===t[e][s(456)]){t[e][s(214)]=a[s(233)](n,f);const i=new U.Element(t[e][s(205)][s(207)],t[e][s(205)][s(275)]());u[0][s(359)](i),f[s(258)](0),u[s(366)](i),t[e][s(259)]=a[s(233)](n,f)}else s(409)===t[e][s(456)]?(u[s(256)](),t[e][s(214)]=a[s(233)](n,f),f[s(309)](),f[f[s(384)]-1]++,t[e][s(259)]=a[s(233)](n,f)):(t[e][s(214)]=a[s(233)](n,f),d?d[s(266)]+=t[e][s(205)][s(222)]:d=new U.Text(t[e][s(205)][s(222)],t[e][s(205)][s(275)]()),t[e+1]&&s(314)===t[e+1][s(456)]&&v(d,t[e+1][s(205)])||(u[0][s(359)](d),d=null),f[f[s(384)]-1]+=t[e][s(205)][s(288)],t[e][s(259)]=a[s(233)](n,f));for(let e=0;e<t[s(384)];e++){const i=t[e][s(214)],n=t[e][s(259)];for(const n of t[e][s(343)])o[s(516)](n,{start:i,end:null});m(s(269),e,i,n),m(s(293),e,i,n),m(s(505),e,i,n),m(s(360),e,i,n);for(const i of t[e][s(225)]){const t=o[s(491)](i);t?t[s(238)]=n:o[s(516)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(209)][s(336)][s(353)](e[s(345)],e[s(238)]);n[s(379)][s(516)](t,i)}return r[s(365)](((t,e)=>{const i=s,r=n[i(379)][i(491)](i(249)+t.id),o=n[i(379)][i(491)](i(249)+e.id);return r[i(345)][i(257)](o[i(345)])?-1:r[i(345)][i(361)](o[i(345)])?1:r[i(238)][i(257)](o[i(238)])?-1:r[i(238)][i(361)](o[i(238)])?1:i(198)===t[i(456)]?-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(477)]:null,d=i===t[o(384)]-1,f=h[e][0],m=c[o(500)](t[i][o(205)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(238)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(477)]!==u&&(l[e][o(238)]=n,f&&f[o(477)]===l[e][o(477)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(369)!==t[i][o(456)]||f&&f[o(477)]===u||h[e][o(366)]({userId:u,object:t[i][o(205)],change:l[e]}),o(409)===t[i][o(456)]&&f&&f[o(277)]===t[i][o(205)]&&(h[e][o(256)](),l[e]=f[o(295)])),l[e]&&d&&(l[e][o(238)]=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(205)],f=a[h(340)][h(333)](d)&&!a[h(340)][h(348)](d),m=t[h(464)]==o[h(303)]&&o[h(310)];if(f&&m)return;const p=a[h(353)](t,o),v=e[h(491)](u),g=new qt({author:v,type:h(360)==l||h(293)==l?h(198):h(484),data:{isSuggestion:h(293)==l||h(269)==l},createdAt:new Date,rootName:i});r[h(258)](g),n[h(379)][h(516)](h(249)+g.id,p)}function v(t,e){const i=s,n=t[i(275)](),r=e[i(275)]();for(const t of n){if(t[1]!==e[i(519)](t[0]))return!1;r[i(334)]()}return r[i(334)]()[i(200)]}}[Qt(394)](){const t=Qt;this[t(209)][t(208)][t(306)](t(241))[t(395)]({view:t(339)}),this[t(209)][t(208)][t(306)](t(474))[t(211)]({model:t(339),view:e=>{const i=t,s=e[i(329)][i(509)](":")[1],n=this[i(435)](s);if(!n)return null;const r=i(198)==n[i(456)]?i(387):i(424),o=[i(285),i(370)+r];return n[i(222)][i(243)]&&o[i(258)](i(370)+r+i(488)),this[i(399)]==n&&o[i(258)](i(342)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(209)][t(208)][t(306)](t(241))[t(198)]((e=>{const i=t;e.on(i(274),((t,e,s)=>{const n=i,r=e[n(494)][n(260)](0);if(!r||!r.is(n(469),n(449)))return;if(!s[n(416)][n(355)](r,{attributes:[n(401),n(468)]}))return;const o=e[n(292)][n(345)][n(464)];s[n(231)][n(390)](n(401),r[n(519)](n(401)),o),s[n(231)][n(390)](n(468),r[n(519)](n(468)),o)}),{priority:i(196)})})),this[t(209)][t(208)][t(306)](t(241))[t(198)]((e=>{const i=t;e.on(i(469),((t,e,s)=>{const n=i;if(!s[n(416)][n(355)](e[n(494)],{attributes:[n(401),n(468)]}))return;if(e[n(292)][n(455)])return;const r=e[n(292)][n(345)][n(464)];r[n(318)](n(401))||r[n(318)](n(429))||(s[n(231)][n(390)](n(401),e[n(494)][n(519)](n(401)),r),s[n(231)][n(390)](n(468),e[n(494)][n(519)](n(468)),r))}),{priority:i(196)})})),this[t(209)][t(208)][t(306)](t(241))[t(268)]({view:{name:t(232),attributes:{vid:!0}},model:{key:t(429),value:e=>e[t(519)](t(429))}}),this[t(209)][t(336)][t(340)].on(t(410),((e,[,i])=>{const s=t;[s(401),s(468),s(429)][s(482)](i)&&(e[s(423)]=!0,e[s(279)]())}),{priority:t(362)}),this[t(209)][t(208)][t(306)](t(442))[t(198)]((e=>{const i=t;e.on(i(470),((t,e,s)=>{const n=i;if(" "!=e[n(205)][n(222)]||e[n(205)][n(303)][n(247)]>1)return;if(!s[n(416)][n(355)](e[n(205)],t[n(207)]))return;const r=s[n(231)],o=s[n(252)][n(283)](e[n(431)]);r[n(239)](o,r[n(236)](n(232)))}))})),this[t(209)][t(208)][t(306)](t(442))[t(490)]({model:t(339)}),this[t(209)][t(305)][t(312)].on(t(215),function(e){const i=t,s=e[i(316)][i(491)](i(450));return(t,n,r)=>{const o=i,a=n[o(329)][o(509)](":")[1],c=s[o(435)](a);if(!c)return null;const u=o(198)==c[o(456)]?o(509):o(271);if(!r[o(416)][o(206)](n[o(383)],t[o(207)]))return;const l=n[o(383)][o(332)](),h=n[o(383)][o(345)],d=e[o(336)][o(340)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(205)];p=p||d[o(202)](e);const i=r[o(252)][o(338)](e);if(i&&i[o(497)](o(454)))return;o(409)==t[o(456)]&&d[o(333)](e)&&!d[o(348)](e)&&(e[o(349)]||h[o(267)]?f&&f[o(303)]==e||(f=e,g(t[o(214)]),v=!0):m=m||t[o(214)])}function g(t){const e=o,i=r[e(231)][e(413)](e(232),{class:e(370)+u}),a=r[e(252)][e(368)](t);c[e(222)][e(243)]&&r[e(231)][e(280)](e(370)+u+e(488),i),s[e(399)]==c&&r[e(231)][e(280)](e(342),i),r[e(231)][e(286)](a,i),r[e(252)][e(296)](i,n[e(329)])}p||v||!m||g(m)}}(this[t(209)]),{priority:t(304)}),this[t(209)][t(305)][t(312)].on(t(498),((e,i,s)=>{const n=t,r=s[n(252)][n(458)](i[n(329)]);if(r)for(const t of r)(t[n(513)](n(324))||t[n(513)](n(328)))&&(s[n(252)][n(446)](t,i[n(329)]),s[n(231)][n(484)](t))}),{priority:t(304)}),this[t(209)][t(305)][t(312)].on(t(215),((e,i,s)=>{const n=t,r=i[n(329)][n(509)](":")[1],o=this[n(435)](r);if(!o)return null;const a=n(198)==o[n(456)]?n(509):n(271);if(s[n(416)][n(206)](i[n(383)],e[n(207)]))for(const t of i[n(383)][n(224)]()){if(!t.is(n(469),n(481)))continue;const e=s[n(231)][n(413)](n(232),{class:n(370)+a}),r=s[n(252)][n(368)](this[n(209)][n(336)][n(212)](t));o[n(222)][n(243)]&&s[n(231)][n(280)](n(370)+a+n(488),e),this[n(399)]==o&&s[n(231)][n(280)](n(342),e),s[n(231)][n(286)](r,e),s[n(252)][n(296)](e,i[n(329)])}}),{priority:t(304)}),this[t(209)][t(336)][t(471)].on(t(295),(()=>{const e=t;this[e(209)][e(305)][e(245)][e(295)]((t=>{const i=e;for(const e of this[i(209)][i(336)][i(471)][i(478)]()){const s=this[i(209)][i(336)][i(471)][i(294)](e),n=this[i(209)][i(305)][i(245)][i(471)][i(294)](e);if(n){const e=s[i(519)](i(326));if(t[i(466)](i(344),n),t[i(514)](i(418),n),t[i(514)](i(321),n),t[i(514)](i(281),n),e){const s=this[i(435)](e);if(!s)return null;t[i(390)](i(344),e,n),t[i(280)](i(253)+s[i(456)],n),this[i(399)]==s&&t[i(280)](i(281),n)}}}}))})),this[t(209)][t(208)][t(306)](t(241))[t(395)]({view:t(263),model:e=>t(473)+e,converterPriority:t(362)}),this[t(209)][t(208)][t(306)](t(241))[t(395)]({view:t(320),model:e=>t(495)+e,converterPriority:t(362)}),this[t(209)][t(208)][t(306)](t(442))[t(490)]({model:t(400),view:e=>({name:t(483)+e,group:t(400)}),converterPriority:t(362)}),this[t(209)][t(208)][t(306)](t(474))[t(211)]({model:t(400),view:e=>{const i=t,s=e[i(329)][i(509)](":")[1];return i(387)!=s&&i(424)!=s?null:{classes:[i(378),i(221)+s]}}}),this[t(209)][t(305)][t(312)].on(t(358),ee(this[t(209)],t(271)),{priority:t(304)}),this[t(209)][t(305)][t(312)].on(t(347),ee(this[t(209)],t(509)),{priority:t(304)}),this[t(209)][t(305)][t(312)].on(t(229),((e,i,s)=>{const n=t,r=s[n(252)][n(458)](i[n(329)]);if(r)for(const t of r)t.is(n(273))&&(s[n(252)][n(446)](t,i[n(329)]),s[n(231)][n(484)](t))}),{priority:t(304)})}[Qt(435)](t){const e=Qt;return this[e(195)][e(491)](t)}[Qt(375)](t){const e=Qt;return this[e(234)]&&this[e(234)][e(487)](),this[e(234)]=new zt(this[e(209)][e(421)],t),this[e(234)]}[Qt(376)](){const t=Qt;this[t(209)][t(336)][t(471)][t(308)][t(511)](t(339)),this.on(t(422),((e,i,s,n)=>{const r=t;n&&this[r(341)][r(484)](n),s&&(this[r(341)][r(198)]({view:s,stackId:r(476),position:{target:()=>{const t=r,e=this[t(209)][t(305)],i=this[t(435)](s[t(290)]);let n;if(i[t(222)][t(480)]){const s=e[t(245)][t(197)](i[t(223)]);n=Array[t(438)](s[t(272)]())}else{const i=this[t(209)][t(336)][t(379)][t(491)](t(249)+s[t(290)]);n=Array[t(438)](e[t(252)][t(458)](i[t(207)]))[t(465)]((i=>e[t(245)][t(335)][t(404)](i)))[t(465)]((e=>Array[t(438)](e[t(272)]())))[t(434)]()}return this[t(408)]&&n[t(380)]((e=>e[t(414)]-3<=this[t(408)].y&&e[t(436)]+3>=this[t(408)].y&&e[t(220)]-3<=this[t(408)].x&&e[t(371)]+3>=this[t(408)].x))||n[0]}}}),this[r(341)][r(506)](r(476)))})),this.on(t(254),((e,i,s,n)=>{const r=t;this[r(403)]=s?this[r(375)](s):null,this[r(209)][r(336)][r(295)]((()=>{const t=r,e=this[t(209)][t(305)];n&&(n[t(222)][t(480)]?e[t(245)][t(295)]((i=>{const s=t;i[s(514)](s(281),e[s(245)][s(471)][s(294)](n[s(223)]))})):e[t(235)](t(249)+n.id)),s&&(s[t(222)][t(480)]?e[t(245)][t(295)]((i=>{const n=t;i[n(280)](n(281),e[n(245)][n(471)][n(294)](s[n(223)]))})):e[t(235)](t(249)+s.id))}))})),this[t(411)](this[t(209)][t(305)][t(245)][t(471)],t(325),((e,i)=>{const s=t;if(this[s(399)])return;const n=this[s(397)](i[s(486)]),r=this[s(195)][s(491)](n);r?(this[s(408)]={x:i[s(499)].x,y:i[s(499)].y},this[s(403)]=this[s(375)](r)):(this[s(408)]=null,this[s(403)]=null)})),this[t(411)](this[t(209)][t(305)][t(245)][t(471)],t(291),((e,i)=>{const s=t,n=this[s(397)](i[s(486)]),r=this[s(195)][s(491)](n);r?(this[s(408)]={x:i[s(499)].x,y:i[s(499)].y},r===this[s(399)]?this[s(341)][s(433)]():this[s(399)]=r):(this[s(408)]=null,this[s(399)]=null)}))}[Qt(397)](t){const e=Qt;do{const i=t[e(519)](e(344));if(i)return i;t=t[e(303)]}while(t);return null}[Qt(313)](){const t=Qt;this[t(209)][t(336)][t(295)]((e=>{const i=t;for(const t of this[i(209)][i(336)][i(379)])e[i(374)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(416)][r(206)](s[r(383)],i[r(207)]))return;const o=s[r(383)][r(332)](),a=s[r(383)][r(345)],c=t[r(336)][r(340)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(205)];h=h||c[r(202)](e);const i=n[r(252)][r(338)](e);if(i&&i[r(497)](r(454)))return;r(409)==t[r(456)]&&c[r(333)](e)&&!c[r(348)](e)&&(e[r(349)]||a[r(267)]?u&&u[r(303)]==e||(u=e,f(t[r(214)]),d=!0):l=l||t[r(214)])}function f(t){const i=r,o=n[i(252)][i(368)](t),a=n[i(231)][i(413)](i(232),{class:i(221)+e});n[i(231)][i(286)](o,a),n[i(252)][i(296)](a,s[i(329)])}h||d||!l||f(l)}}function ie(){const t=["elementStart","ck-suggestion-marker-","right","WidgetToolbarRepository","distance","removeMarker","_getViewForChange","_initInteractions","then","ck-suggestion-preview-marker","markers","find","insertions","enqueueChange","markerRange","length","oldRevisionId","diffData","insertion","first","RevisionHistoryUtils","setAttribute","authors","startsWith","init","_setConversion","dataToMarker","_setDistance","_findChangeIdFromDomTarget","isAttached","activeChange","revision-suggestion","vid_start","ck-editor__editable__overlay","activeView","mapViewToDom","forceDisabled","119OEDITJ","adapter","_activeViewTarget","elementEnd","checkAttribute","listenTo","change:isReady","createUIElement","top","attributesAfter","consumable","currentChangeNumber","ck-revision-history-root-add","splice","concat","locale","change:activeView","return","deletion","_makeTape","4343405hnLKqv","newRevisionId","restoreRevisionCallback","vid","386778zmajGe","range","has","updatePosition","flat","_getChangeFromId","bottom","60Gituyb","from","pairId","execute","getRevision","dataDowncast","roots","isOfficialPlugin","string","unbindElementFromMarkerName","isEqual","changes","code","RevisionViewer","addRevisionData","affectsData","isNavigationMode","addHighlight","isCollapsed","type","catch","markerNameToElements","_fixObsoleteTags","142269RQbtYK","diff","_step","side","nodeAfter","map","removeAttribute","startIndex","vid_end","element","attribute:vid","document","config","revision-comment:","editingDowncast","_joinTapes","revisionHistoryLabel","userId","getRootNames","addRoot","isOnRoot","softBreak","includes","suggestion:","remove","revisionHistory","target","destroy","-new","revision-viewer","markerToData","get","index","detachRoot","viewItem","revision-suggestion:","attributes","getCustomProperty","removeMarker:revision","domEvent","isObject","3086488zoCwQF","393500waxltv","_getDiff","_makeModelFromViewString","isRemoved","showStack","compare","all","split","loadRevisionData","observeMarkers","bind","hasClass","removeClass","forward","set","RevisionsRepository","forEach","getAttribute","getRevisionRootsAttributes","_update","_changeIdToChange","low","getDomRoot","add","_makeModelFromTape","done","refresh","isContent","indexOf","_cleanUp","item","test","name","conversion","editor","showNextChange","markerToHighlight","createPositionBefore","_markMismatchedRemovedTags","previousPosition","addMarker:revision","requires","addRevision","abs","restoreRevision","left","ck-suggestion-preview-marker-","data","rootName","getItems","markersEnd","change:numberOfChanges","deletions","attachChange","removeMarker:revision-suggestion","_threeWayMerge","writer","span","createPositionFromPath","_changeView","reconvertMarker","createAttributeElement","isReady","end","wrap","delete","upcast","POSITIVE_INFINITY","isSuggestion","_setChanges","view","getLaterVisibleRevision","maxOffset","1599555OyuNSx","revision:","_revisions","_getRevisionsRange","mapper","ck-revision-history-root-","change:activeChange","keys","shift","isBefore","push","nextPosition","getChild","endIndex","_removeUnsupportedChanges","comment","commands","_removeMissingPairs","_data","isAtEnd","elementToAttribute","isRemoveSuggestion","9ZDcnSV","merge","getClientRects","uiElement","element:pre","getAttributes","attributesBefore","object","filter","stop","addClass","ck-revision-history-root--active","change:isEnabled","toViewRange","isInline","ck-suggestion-marker","insert","getIndex","offsetSize","clear","changeId","mousedown","modelRange","isAddSuggestion","getRoot","change","bindElementToMarker","isIncorrect","_markSuggestions","_markInsertions","slice","isEnabled","_utils","parent","high","editing","for","createRevision","selection","pop","isAtStart","repository","downcastDispatcher","_cleanMarkers","text","isPremiumPlugin","plugins","level","hasAttribute","showPreviousChange","suggestion","ck-revision-history-root-remove","_markMarkers","resolve","ck-suggestion-marker-split","mouseover","revisionHistoryAttachChange","backward","ck-suggestion-marker-merge","markerName","error","431076QhkxXd","getWalker","isBlock","next","domConverter","model","findIndex","toViewElement","revision","schema","_balloon","ck-suggestion-marker--active","markersStart","data-change-id","start","16uVPzBd","addMarker:revision-suggestion:insertion","isLimit","nextSibling","getRevisionDocumentData","createRangeIn","values","createRange","numberOfChanges","consume","_processTape","pluginName","addMarker:revision-suggestion:deletion","_appendChild","isAdded","isAfter","highest","_refreshStartEndIndex","_sortAndFilterDiffChanges","sort","unshift","enableReadOnlyMode","toViewPosition"];return(ie=function(){return t})()}class se extends Z.Command{constructor(t){const e=Qt;super(t);const i=t[e(316)][e(491)](te);this[e(452)]=!1,this[e(411)](i,e(412),(()=>this[e(201)]())),this[e(411)](i,e(282),(()=>this[e(201)]()))}[Qt(440)](){const t=Qt,e=this[t(209)],i=e[t(316)][t(491)](te),s=i[t(237)]?i[t(461)][t(427)]:null;e[t(472)][t(491)](t(485))[t(428)](s)}[Qt(201)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(209)][t(316)][t(491)](te),r=n&&s[t(246)](n[t(427)]);this[t(301)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Qt(462)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(316)][i(491)](te);this[i(452)]=!1,this[i(462)]=i(515)===e?1:-1,this[i(411)](s,i(412),(()=>this[i(201)]())),this[i(411)](s,i(282),(()=>this[i(201)]())),this[i(411)](s,i(254),(()=>this[i(201)]()))}[Qt(440)](){const e=Qt,i=this[e(209)],s=i[e(316)][e(491)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(399)]=n?s[e(461)][e(448)][e(491)](r+this[e(462)]):s[e(461)][e(448)][e(388)],s[e(399)][e(222)][e(480)])o=i[e(305)][e(245)][e(197)](s[e(399)][e(223)]);else{const t=i[e(336)][e(379)][e(491)](e(249)+s[e(399)].id);o=(0,H.getMarkerDomElement)(i[e(305)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(201)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(209)][t(316)][t(491)](te);this[t(301)]=!!(r&&n&&s)&&(!e||(1===this[t(462)]?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=["_isStatusLabelVisible","isEnabled","ck-revision-history-ui","3589060mpxOuM","8vxnIpU","Show previous change","currentChangeNumber","isReady","ck-hidden","_statusText","isNavigationMode","22888971dVmNBS","923398bHWvwG","bind","Loading...","177600ZgJSqt","isBackwardNavigationEnabled","Total","backward","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","fire","span","forward","ck-revision-history-ui__changes-navigation__navigation","222LTblZO","Show next change","isForwardNavigationEnabled","div","numberOfChanges","bindTemplate","setTemplate","ck-revision-history-ui__changes-navigation__wrapper","set","1105341Aljntj","26493TLILXK","NUMBER_OF_CHANGES","No changes","execute","EDIT_X_OF_Y_REVISIONS","135275tCClFm","X_OF_Y_CHANGES"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(662800===parseInt(e(320))/1+parseInt(e(298))/2+-parseInt(e(321))/3+parseInt(e(289))/4+parseInt(e(301))/5+-parseInt(e(311))/6*(-parseInt(e(284))/7)+parseInt(e(290))/8*(-parseInt(e(297))/9))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(316)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(319)](e(296),!1),this[e(319)](e(293),!1),this[e(319)](e(292),0),this[e(319)](e(315),0),this[e(319)](e(313),!1),this[e(319)](e(302),!1),this[e(299)](e(286)).to(this,e(293),this,e(315),((t,e)=>t&&e>0)),this[e(299)](e(295)).to(this,e(293),this,e(292),this,e(315),this,e(296),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(300));if(!n)return X(t,o(323));const a=X(t,o(322),n);return r?X(t,o(285),[s+1,n]):a})),s[e(319)]({label:X(t,e(291)),tooltip:!0,icon:mt.IconChevronUp}),n[e(319)]({label:X(t,e(312)),tooltip:!0,icon:mt.IconChevronDown}),s[e(299)](e(287)).to(this,e(302)),n[e(299)](e(287)).to(this,e(313)),s.on(e(282),(()=>this[e(307)](e(282),e(304)))),n.on(e(282),(()=>this[e(307)](e(282),e(309)))),this[e(317)]({tag:e(314),attributes:{class:["ck",e(288),e(306)]},children:[{tag:e(308),attributes:{class:[e(318)]},children:[{tag:e(308),attributes:{class:[e(305),i.if(e(286),e(294),(t=>!t))]},children:[{text:i.to(e(296),(i=>i?X(t,e(283))+": ":X(t,e(303))+": "))}]},{text:i.to(e(295))}]},new pt.ToolbarSeparatorView,{tag:e(314),attributes:{class:[e(310)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=479]})(t,e)}function me(){const t=["view","59837RsnPwo","ck-editor__editable__loading-overlay","50465jEvIPo","610360XHbDHA","91KTpAjd","135176GaYsCh","addClass","change","pluginName","document","show","2xeLCjd","RevisionViewerLoadingOverlay","editor","editing","209jNZjvy","roots","removeClass","3712986BMuFNm","3017946sUWOXN","hide","isPremiumPlugin","416FrXEIt","1335396pEWpIe","isOfficialPlugin"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(853562===parseInt(e(479))/1+parseInt(e(490))/2*(-parseInt(e(498))/3)+-parseInt(e(501))/4*(-parseInt(e(481))/5)+parseInt(e(502))/6+-parseInt(e(483))/7*(parseInt(e(484))/8)+-parseInt(e(497))/9+-parseInt(e(482))/10*(-parseInt(e(494))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(480);class ve extends Z.Plugin{static get[de(487)](){return de(491)}static get[de(503)](){return!0}static get[de(500)](){return!0}[de(489)](){const t=de,e=this[t(492)][t(493)][t(504)];e[t(486)]((i=>{const s=t;for(const t of e[s(488)][s(495)])i[s(485)](pe,t)}))}[de(499)](){const t=de,e=this[t(492)][t(493)][t(504)];e[t(486)]((i=>{const s=t;for(const t of e[s(488)][s(495)])i[s(496)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=234]})(t,e)}function ke(){const t=["add","366246OFCNRe","7bZspCs","execute","set","150205gaPAqf","isNavigationMode","Restore this revision","8086376EaOaQZ","numberOfChanges","isOfficialPlugin","pluginName","revisionHistory","listenTo","commands","exitToEditing","RevisionViewerUI","hide","52ZaIOXs","22xMQIut","change:isReady","changesNavigation","83379HRDxtE","show","isReady","init","currentChangeNumber","isBackwardNavigationEnabled","isEnabled","forward","restoreRevision","isPremiumPlugin","Back to editing","17654250UsaETQ","2119772rKxJJA","isForwardNavigationEnabled","editor","9259488PECZVy","closeRevisionViewerCallback","bind","componentFactory","plugins","30pMoKoe","get","showPreviousChange","requires","ck-revision-history-ui__back-to-editing","showNextChange","config"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(586477===parseInt(e(269))/1+-parseInt(e(253))/2+parseInt(e(241))/3*(-parseInt(e(237))/4)+parseInt(e(273))/5*(parseInt(e(261))/6)+-parseInt(e(270))/7*(parseInt(e(276))/8)+-parseInt(e(256))/9+parseInt(e(252))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends Z.Plugin{static get[ge(279)](){return ge(235)}static get[ge(278)](){return!0}static get[ge(250)](){return!0}static get[ge(264)](){return[te,ve]}[ge(244)](){const t=ge,e=this[t(255)],i=e[t(260)][t(262)](te),s=e[t(260)][t(262)](ve);e.ui[t(259)][t(268)](t(234),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(272)]({label:X(i,s(251)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(265)}),this[s(281)](n,s(271),(()=>{const t=s;e[t(267)][t(262)](t(280))[t(257)]()})),n})),e.ui[t(259)][t(268)](t(249),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(272)]({label:X(i,s(275)),withText:!0,tooltip:!0}),n[s(258)](s(247)).to(e[s(282)][s(262)](s(249))),this[s(281)](n,s(271),(()=>e[s(271)](s(249)))),n})),e.ui[t(259)][t(268)](t(240),(s=>{const n=t,r=new ue(s),o=e[n(282)][n(262)](n(263)),a=e[n(282)][n(262)](n(266));return r[n(258)](n(246)).to(o,n(247)),r[n(258)](n(254)).to(a,n(247)),r[n(258)](n(243),n(245),n(277),n(274)).to(i),this[n(281)](r,n(271),((t,i)=>{const s=n;e[s(271)](s(248)===i?s(266):s(263))})),r})),s[t(242)](),i.on(t(239),((e,i,n)=>{const r=t;n?s[r(236)]():s[r(242)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Te();return(Se=function(t,e){return i[t-=107]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(849493===parseInt(e(126))/1*(parseInt(e(108))/2)+-parseInt(e(131))/3*(-parseInt(e(109))/4)+parseInt(e(118))/5+parseInt(e(111))/6+-parseInt(e(110))/7*(parseInt(e(120))/8)+parseInt(e(134))/9*(parseInt(e(136))/10)+parseInt(e(107))/11*(-parseInt(e(139))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(130)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(135)];this[i(114)]({label:X(t,i(138)),_tooltipString:""}),this[i(121)][i(132)]=X(t,i(133)),this[i(124)]({tag:i(125),attributes:{class:[i(122)],"data-cke-tooltip-text":s.to(i(123)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(113)}})}[Ie(137)](){const e=Ie;super[e(137)](),this[e(130)]=new t.ResizeObserver(this[e(121)][e(127)],(()=>this[e(119)]())),this[e(128)](this[e(121)],e(116),(()=>this[e(119)]()))}[Ie(129)](){const t=Ie;super[t(129)](),this[t(130)]&&this[t(130)][t(129)]()}[Ie(119)](){const t=Ie,e=this[t(121)][t(127)];this[t(123)]=e[t(112)]>e[t(117)]&&e[t(115)]||""}}function Te(){const t=["placeholder","Enter the revision name","2499291cBRrrB","bindTemplate","50vLYnhV","render","Revision name","1487184UhSbYv","154YIiyUI","2PrrNzf","280420cIVOqC","245TlbWPt","2049690aTXEHe","scrollWidth","ck-tooltip_multi-line","set","value","input","clientWidth","612470zxuJkJ","_updateTooltipText","322528VDiaRj","fieldView","ck-revision-history-sidebar__revision-name","_tooltipString","extendTemplate","span","530582lrdtVB","element","listenTo","destroy","_resizeObserver","69MdKwCt"];return(Te=function(){return t})()}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["2821914RuAjDm","5lQekQn","ck-revision-history-sidebar__revision-author","24971670jMjcaw","Revision author","793815AFxQzV","6948340lCKpWe","139690aCIvTp","2904234RCNCsP","name","push","Revision creator","set","16gevXcr","ck-revision-history-sidebar__revision-author_creator","setTemplate","ck-revision-history-sidebar__revision-author__name","span","2387040ZYDxGF","0 0 11 10","7XUmjDe"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(956864===parseInt(e(387))/1*(parseInt(e(374))/2)+parseInt(e(372))/3+-parseInt(e(385))/4*(-parseInt(e(389))/5)+parseInt(e(375))/6+parseInt(e(373))/7+-parseInt(e(380))/8*(-parseInt(e(388))/9)+-parseInt(e(391))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(379)]({content:mt.IconUser,viewBox:s(386)});const r=["ck",s(390)];i&&r[s(377)](s(381));const o=[{tag:s(384),attributes:{class:["ck",s(383)],title:X(t,s(i?378:371))},children:[n,e[s(376)]]}];this[s(382)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=259]})(t,e)}function De(){var t=["8AkyQvq","long","4102135tkdcSD","toLocaleTimeString","7744995ChPoVN","9581929GgsZLo","137vCCHMR","numeric","toLocaleDateString","5274ShJLWz","9444xHyZBt","505746pOsXjQ","332LyYzBf","11632790CanvHr"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(768570===-parseInt(e(260))/1*(parseInt(e(263))/2)+-parseInt(e(264))/3*(parseInt(e(266))/4)+parseInt(e(270))/5+-parseInt(e(265))/6+-parseInt(e(259))/7*(parseInt(e(268))/8)+parseInt(e(272))/9+parseInt(e(267))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["button","model","892612FHUIUx","buttonView","extendTemplate","987535cUjIje","bindTemplate","class","function","menuitem","first","change:isActionsDropdownOpen","588ucCZjE","1804NzPNnq","16LBaLrR","isEnabled","add","stopPropagation","37993lxJQzb","action","bind","locale","isVisible","listenTo","panelPosition","ck-on","6eQxSaY","set","children","16qhHFOc","find","260xAPPhE","menu","isOpen","10338eZTGsa","name","27cutrCm","map","execute","isReady","_action","Compare against selected","items","Restore this revision","Name this revision","ck-revision-history-sidebar__revision__actions","Show more items","isActionsDropdownOpen","8792UnsIMV","293170frkdFj","source","listView","8645UOyWhM"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=195]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(210860===-parseInt(e(239))/1*(-parseInt(e(235))/2)+parseInt(e(202))/3*(-parseInt(e(199))/4)+-parseInt(e(226))/5*(-parseInt(e(247))/6)+-parseInt(e(223))/7*(-parseInt(e(197))/8)+-parseInt(e(204))/9*(-parseInt(e(217))/10)+-parseInt(e(234))/11*(-parseInt(e(233))/12)+-parseInt(e(220))/13*(parseInt(e(216))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ze;function We(){const t=["_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","div","fieldView","setTemplate","1235SvzLzI","setName","listenTo","ck-revision-history-sidebar__revision_highlighted",".ck-thread__remove-confirm","ck-reset","unhighlight","isConfirm","47360ApevTH","12bhWDDW","map","ck-revision-history-sidebar__actions_dropdown_open","1165297guSQHk","set","isHighlighted","from","657tZYXnI","isActionsDropdownOpen","value","isEnabled","srcElement","render","547806lTrMud","_createdAtFormatted","36YMLRlb","bind","ck-revision-history-sidebar__revision-authors","220","authors","21249vDHGlv","ck-disabled","ck-revision-history-sidebar__revision_selected","select","isReady","createdAt","name","creator","extendTemplate","ck-revision-history-sidebar__revision","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-wrapper","2441648tNwXaa","revisionActionsView","closest","deselect","length","highlight","_revision","ck-revision-history-sidebar__revision__date","bindTemplate","1348300AnqkYh","span","8ykERhL","revisionNameView","unshift","1338ixiBeq","isSelected","filter","fire","element","change"];return(We=function(){return t})()}function Ze(t,e){const i=We();return(Ze=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(208949===parseInt(e(279))/1*(parseInt(e(274))/2)+-parseInt(e(272))/3+-parseInt(e(301))/4+-parseInt(e(317))/5*(parseInt(e(306))/6)+parseInt(e(329))/7*(-parseInt(e(303))/8)+parseInt(e(266))/9*(parseInt(e(325))/10)+-parseInt(e(292))/11*(-parseInt(e(326))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(304)];[ze(293)];[ze(298)];[ze(312)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(300)],a=function(t,e){const i=r,s=Array[i(265)](e[i(278)])[i(308)]((t=>t!=e[i(286)]));return e[i(286)]&&s[i(305)](e[i(286)]),s[i(327)]((s=>new Me(t,s,s==e[i(286)])))}(e,i);this.id=i.id,this[r(298)]=i,this[r(312)]=n,this[r(275)](r(285),r(284)).to(i),this[r(275)](r(273)).to(this,r(284),(t=>{return i=e[r(289)],(s=t)[(n=Ve)(262)](i,{month:n(269),day:n(261)})+", "+s[n(271)](i,{hour:n(261),minute:n(261)});var i,s,n})),this[r(330)](r(307),!1),this[r(330)](r(331),!1),this[r(330)](r(267),!1),this[r(330)](r(283),!1),this[r(330)](r(269),!1),this[r(304)]=new Oe(e,pt.createLabeledInputText),this[r(304)][r(315)][r(287)]({attributes:{maxlength:r(277)}}),this[r(304)][r(315)][r(275)](r(268)).to(this,r(285),(t=>t||this[r(273)])),this[r(304)][r(275)](r(269)).to(this,r(307),this,r(269),((t,e)=>t&&e)),this[r(293)]=s&&s[r(296)]?function(e,i){const s=Le,n=e[s(227)],r=e[s(242)],o=(0,pt.createDropdown)(r);o[s(245)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(242)],n={"Compare against selected":X(s,i(209)),"Name this revision":X(s,i(212)),"Restore this revision":X(s,i(211))};return e[i(205)]((t=>{const e=i,s=n[t[e(203)]];return s&&s!==t[e(203)]&&(t[e(203)]=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(203)],class:t[n(228)],withText:!0,role:n(230),_action:t[n(240)]})};i[n(222)][n(241)](n(236)).to(e,n(215),(i=>n(229)!=typeof t[n(236)]||!i||t[n(236)](e))),o[n(237)](i)}return o}(e,i);return e[s(241)](s(215)).to(o,s(201)),o[s(224)][s(195)]({label:X(r,s(214)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(225)]({attributes:{class:[s(213),n.if(s(215),s(246))]},on:{click:n.to((t=>t[s(238)]()))}}),o.on(s(206),(t=>{const i=s;e[i(207)]&&i(229)==typeof t[i(218)][i(208)]&&t[i(218)][i(208)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(200)}),o[s(244)](e,s(232),((t,n,r)=>{const a=s;if(r)for(const t of o[a(219)][a(210)]){const s=t[a(196)][a(231)],n=i[a(198)]((t=>t[a(240)]===s[a(208)]))[a(243)];t[a(243)]=void 0===n||n(e)}})),o}(this,s):"",this[r(293)]&&this[r(293)][r(275)](r(269)).to(this),this[r(316)]({tag:r(314),attributes:{class:["ck",r(322),r(291),o.if(r(324),r(290))]},children:[{tag:r(314),attributes:{class:["ck",r(322),r(288),o.if(r(269),r(280),(t=>!t)),o.if(r(307),r(281)),o.if(r(331),r(320)),o.if(r(267),r(328))]},children:[this[r(304)],{tag:r(302),attributes:{class:["ck",r(299)]},children:[{text:o.to(r(273))}]},{tag:r(314),attributes:{class:["ck",r(313)]},children:[{tag:"ul",attributes:{class:["ck",r(276)]},children:a}]},this[r(293)]],on:{click:o.to((t=>{const e=r;t[e(270)][e(294)](e(321))||this[e(283)]&&this[e(269)]&&this[e(309)](e(282),{id:this.id})}))}}]})}[ze(271)](){const t=ze;super[t(271)]();const e=this[t(304)][t(315)][t(310)];this[t(319)](e,t(311),(()=>{const i=t;this[i(312)]&&!e[i(268)]||this[i(309)](i(318),{id:this.id,name:e[i(268)]}),e[i(268)]||(e[i(268)]=this[i(285)]?this[i(285)]:this[i(273)])}))}[ze(282)](){this[ze(307)]=!0}[ze(295)](){this[ze(307)]=!1}[ze(297)](){this[ze(331)]=!0}[ze(323)](){this[ze(331)]=!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 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 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 Mi={};function Vi(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 Di={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{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=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[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=Vi(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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[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,Mi={},Di={},Ei={}}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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(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 Li(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 Li(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 Li(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 Li(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 ji(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 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(){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=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(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,js(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 Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Ls(t){return Fs(t)?366:365}function js(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(Ls(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}${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 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 Qs(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 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]]=Vs(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:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(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 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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Vs(e)):Vs(e),month:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(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=Dn(e,n,s,i,r,o,a);let f;return f=c?Vn[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$/,Ln=/^(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$/,jn=/^(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[Dn(e,n,s,i,r,o,a),Ui.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(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),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||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,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,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):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||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=Es(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",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(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 Lr(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 jr(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,js(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+=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 Hr(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 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(Vr(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]=jr(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:Vr(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=Lr(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]=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=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(Vr(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: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(Vr(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=Lr(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,Ls(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]=jr(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),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,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,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,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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(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=Lr(a,r),l=Lr(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 js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(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(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(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),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(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(t,e){const i=ro();return(no=function(t,e){return i[t-=452]})(t,e)}function ro(){const t=["day","monthLong","259trCccR","local","toRelativeCalendar","764164wvtJcF","toJSDate","hasSame","setLocale","year","18RITtbf","startOf","107256BAsHSA","week","3222168zgtDyl","1831000zqnYpY","month","159801tCWqoN","fromJSDate","weekdayLong","minus","1115274kZHNvR","917750ZAbFtY","2OLGTND"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(468)](t)[i(458)](e),n=io[i(453)](),r=n[i(470)]({days:1})[i(461)](i(474));let o,a;return s[i(457)](n,i(474))?(o=s[i(461)](i(474))[i(456)](),a=s[i(454)]()):s[i(457)](r,i(474))?(o=r[i(456)](),a=s[i(454)]()):s[i(457)](n,i(463))?(o=s[i(461)](i(463))[i(456)](),a=s[i(469)]||""):s[i(457)](n,i(459))?(o=s[i(461)](i(466))[i(456)](),a=s[i(475)]||""):(o=s[i(461)](i(459))[i(456)](),a=String(s[i(459)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(408755===parseInt(e(467))/1*(parseInt(e(473))/2)+parseInt(e(471))/3+parseInt(e(455))/4+-parseInt(e(465))/5+parseInt(e(462))/6*(-parseInt(e(452))/7)+parseInt(e(464))/8*(parseInt(e(460))/9)+-parseInt(e(472))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["remove","removeRevision","startDate","setName","addRevision","revisionViews","createCollection","8620836lzvVWc","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","uiLanguage","11598432bcxwYy","localizedPeriodName","delegate","1206uELdyT","1126045YvTHKm","locale","ck-revision-history-sidebar__time-period","1888371OyNFQJ","21891793mqxRNa","find","11880vLwPtD","div","3bDSGpE","setTemplate","span","add","2oTJrdp","3342096hcpmwC","select","_revisionActions","50jdfwHo","ck-revision-history-sidebar__time-period__label"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=450]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(972269===parseInt(e(475))/1*(parseInt(e(454))/2)+-parseInt(e(450))/3*(parseInt(e(455))/4)+parseInt(e(481))/5*(-parseInt(e(474))/6)+-parseInt(e(467))/7+parseInt(e(471))/8+parseInt(e(478))/9*(-parseInt(e(458))/10)+parseInt(e(479))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(462)];[uo(465)];[uo(457)];[uo(468)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(476)][n(470)])[n(472)];this[n(462)]=e,this[n(465)]=this[n(466)](),this[n(457)]=i,this[n(468)]=s,this[n(465)][n(473)](n(456)).to(this),this[n(465)][n(473)](n(463)).to(this),this[n(451)]({tag:n(482),attributes:{class:["ck",n(477)]},children:[{tag:n(452),attributes:{class:["ck",n(459)]},children:[{text:r}]},{tag:n(482),attributes:{class:["ck",n(469)]},children:this[n(465)]}]})}[uo(464)](t){const e=uo,i=new He(this[e(476)],t,this[e(457)],this[e(468)]);this[e(465)][e(453)](i)}[uo(461)](t){const e=uo,i=this[e(465)][e(480)]((e=>e.id===t.id));this[e(465)][e(460)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=463]})(t,e)}function go(){const t=["Revision history","div","ck-revision-history-sidebar__header__label","2202179Fukxtv","ck-reset_all","content","setTemplate","span","3958XHiAyc","6299585BlArhl","9WnFBhv","ck-revision-history-sidebar__header","901450GxxWOV","18zeyNqr","3692080XwRjTP","4138848JLRamD","18990392hKLWBK"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(733272===-parseInt(e(473))/1+parseInt(e(477))/2+parseInt(e(463))/3+-parseInt(e(479))/4+parseInt(e(474))/5+-parseInt(e(478))/6*(-parseInt(e(468))/7)+parseInt(e(464))/8*(-parseInt(e(475))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(470)]=mt.IconHistory,this[e(471)]({tag:e(466),attributes:{class:["ck",e(469),e(476)]},children:[i,{tag:e(472),attributes:{class:["ck",e(467)]},children:[X(t,e(465))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["571788vAARTh","setTemplate","timePeriodViews","_addRevision","map","3MuUETE","revisionViews","highlight","select","_requireRevisionName","bindTemplate","809127DwNmJZ","find","ck-revision-history-sidebar__timeline","flat","_revisionActions","addRevision","createCollection","93356YbusGB","deselect","2981790bxTKNF","ck-reset","_revisions","ck-disabled","10maYIPS","unhighlight","get","uiLanguage","render","add","highlightRevisions","715944rKeSJG","ck-revision-history-sidebar","set","revisionSetName","ck-rounded-corners","selectRevision","removeRevision","3459088uOrBUI","revisionSelected","setName","isEnabled","startDate","fire","some","remove","getTime","2361975AgrxJk","_getTimePeriodViewByStartDate","locale","_removeRevision","delegate","createdAt","7BKeYCJ","div"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(300695===-parseInt(e(144))/1*(-parseInt(e(157))/2)+parseInt(e(150))/3+parseInt(e(194))/4+-parseInt(e(186))/5+parseInt(e(170))/6+-parseInt(e(192))/7*(-parseInt(e(177))/8)+-parseInt(e(159))/9*(parseInt(e(163))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(196)];[wo(161)];[wo(154)];[wo(148)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(149)];this[n(196)]=this[n(156)](),this[n(196)][n(190)](n(147)).to(this),this[n(196)][n(190)](n(179)).to(this),this[n(161)]=e,this[n(154)]=i,this[n(148)]=s,this.on(n(147),((t,e)=>{const i=n;this[i(182)](i(178),e)})),this.on(n(179),((t,e)=>{const i=n;this[i(182)](i(173),e)})),this[n(172)](n(180),!1),this[n(195)]({tag:n(193),attributes:{class:["ck",n(160),n(174),n(171)]},children:[new yo(t),{tag:n(193),attributes:{class:["ck",n(152),r.if(n(180),n(162),(t=>!t))]},children:this[n(196)]}]})}[wo(167)](){const t=wo;super[t(167)]();for(const e of this[t(161)])this[t(197)](e);this[t(161)].on(t(168),((e,i)=>{this[t(197)](i)})),this[t(161)].on(t(184),((e,i)=>{this[t(189)](i)}))}get[wo(145)](){const t=wo;return this[t(196)][t(198)]((e=>e[t(145)][t(198)]((t=>t))))[t(153)]()}[wo(175)](t){const e=wo;for(const i of this[e(145)])t&&t.id===i.id?i[e(147)]():i[e(158)]()}[wo(169)](t){const e=wo;for(const i of this[e(145)])t[e(183)]((({id:t})=>t===i.id))?i[e(146)]():i[e(164)]()}[wo(197)](t){const e=wo,i=oo(t[e(191)],this[e(188)][e(166)])[e(181)];let s=this[e(196)][e(165)](0);s&&s[e(181)][e(185)]()===i[e(185)]()||(s=new fo(this[e(188)],i,this[e(154)],this[e(148)]),this[e(196)][e(168)](s)),s[e(155)](t)}[wo(189)](t){const e=wo,i=oo(t[e(191)],this[e(188)][e(166)])[e(181)];this[e(187)](i)[e(176)](t)}[wo(187)](t){const e=wo;return this[e(196)][e(151)]((i=>i[e(181)][e(185)]()===t[e(185)]()))}}function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=420]})(t,e)}const To=Oo;function xo(){const t=["77OKDPcL","restoreRevision","action","get","timePeriodViews","destroy","_handleEditorDataReady","change:diff","84606atTGsA","getRevision","6390AComKn","396806sGDoGJ","RevisionsSidebar","isSelected","editor","name","length","1028RCeIpH","555010nozjML","locale","data","remove","defaultRevisionActions","requires","select","_sidebarView","config","restoreRevisionCallback","_revisionsRepository","1317832KAEGlZ","getRevisionsInDiff","isPremiumPlugin","plugins","_handleRevisionSetName","isOfficialPlugin","ready","appendChild","77TDDkYL","revisionHistory","init","highlightRevisions","_createRevisionActions","revisionHistory.requireRevisionName","9tmERwF","availableRevisionActions","compare","revisionSetName","getLaterVisibleRevision","_revisionViewer","3849pPZKrv","Name this revision","getEarlierVisibleRevision","_handleRevisionSelected","setName","Compare against selected","revisionViews","nameRevision","pluginName","focus","getIndex","selectRevision","1763760cJzepA","fieldView","map","newRevisionId","add","string","isVisible","revisionHistory.revisionActions","revisionSelected","bind","_handleDiffChange","Restore this revision","isReady","listenTo","assign","revisionHistory.viewerSidebarContainer","isEnabled","repository","element","compareAgainstSelected","render","diff","_revisions"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(233469===-parseInt(e(493))/1+parseInt(e(490))/2+-parseInt(e(447))/3*(parseInt(e(499))/4)+parseInt(e(459))/5+-parseInt(e(492))/6*(-parseInt(e(435))/7)+parseInt(e(427))/8*(parseInt(e(441))/9)+parseInt(e(500))/10*(parseInt(e(482))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends Z.Plugin{[To(446)];[To(426)];[To(423)];static[To(420)]=[To(478),To(483),To(454)];static[To(442)]=function(){const t=To;return{compareAgainstSelected:{name:t(452),action:({plugins:e},i)=>{const s=t,n=e[s(485)](te),r=n[s(476)];let o=n[s(480)][s(462)],a=i.id;r[s(457)](o)>r[s(457)](a)&&([o,a]=[a,o]),n[s(443)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(485)](te);return!(n[s(476)][s(428)](n[s(480)])[s(498)]>2||i[s(495)])}},restoreRevision:{name:t(470),action:(e,{id:i})=>{const s=t;e[s(424)][s(485)](s(436))[s(425)](i)},isVisible:({plugins:e},i)=>!!e[t(485)](te)[t(476)][t(445)](i.id)},nameRevision:{name:t(448),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(485)](te),o=r[n(476)][n(449)](i);r[n(443)](i,o),s[n(456)](),s[n(460)][n(422)]()}}}}();static get[To(455)](){return To(494)}static get[To(432)](){return!0}static get[To(429)](){return!0}static get[To(421)](){return[te]}constructor(t){const e=To;super(t),this[e(446)]=t[e(430)][e(485)](te),this[e(426)]=this[e(446)][e(476)],this[e(423)]=null}[To(437)](){const t=To,e=this[t(426)][t(481)],i=this[t(439)](),s=this[t(496)][t(424)][t(485)](t(474));this[t(423)]=new So(this[t(496)][t(501)],e,i,this[t(496)][t(424)][t(485)](t(440))),this[t(423)].on(t(467),this[t(450)][t(468)](this)),this[t(423)].on(t(444),this[t(431)][t(468)](this)),this[t(423)][t(468)](t(475)).to(this[t(446)]),this[t(423)][t(486)].on(t(463),((e,i)=>{const s=t;i[s(453)].on(s(463),((t,e)=>{const i=s;e[i(468)](i(475),i(471)).to(this[i(446)])}))})),this[t(423)][t(479)](),this[t(472)](this[t(496)][t(502)],t(433),this[t(488)][t(468)](this)),this[t(472)](this[t(446)],t(489),this[t(469)][t(468)](this)),s[t(434)](this[t(423)][t(477)])}[To(487)](){const t=To;this[t(423)][t(477)][t(503)](),this[t(423)][t(487)]()}[To(488)](){const t=To,e=this[t(426)][t(491)](0);if(e){const i=this[t(426)][t(449)](e.id);this[t(446)][t(443)](e,i)}}[To(450)](t,e){const i=To,s=this[i(426)][i(491)](e.id),n=this[i(426)][i(449)](s.id);this[i(446)][i(443)](s,n)}[To(431)](t,e){const i=To;this[i(426)][i(491)](e.id)[i(451)](e[i(497)])}[To(469)](t,e,i){const s=To,n=this[s(426)][s(428)](i);n[s(498)]>2?(this[s(423)][s(438)](n),this[s(423)][s(458)](null)):(this[s(423)][s(438)]([]),this[s(423)][s(458)](n[0]))}[To(439)](){const t=To,e=this[t(496)],i=No[t(442)],s=e[t(424)][t(485)](t(466))||No[t(420)];if(s[t(498)])return s[t(461)]((s=>{const n=t,r=n(464)==typeof s?Object[n(473)]({},i[s]):s;return r[n(484)]=r[n(484)][n(468)](this,e),r[n(465)]&&(r[n(465)]=r[n(465)][n(468)](this,e)),r}))}}const Ro=No,Ao=Vo;function Mo(){const t=["isActive","_initToolbar","stickyPanel","limiterElement","_elementReplacer","viewportOffset","123jLEsTP","viewportTopOffset","init","485585SeMHTc","restore","focusTracker","886285ehXbon","document","view","fillFromConfig","_view","addToolbar","element","3036780tOKqkz","attachDomRoot","render","7992063bnZQtf","7562541yItDRT","rootName","getRoot","detachDomRoot","fire","ready","setEditableElement","toolbar","editing","config","replace","componentFactory","3154928wrLjNL","isFocused","editor","editable","20Orycyh","get","_toolbarConfig","22588SNZfGb","bind","name","destroy"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(604696===parseInt(e(306))/1+parseInt(e(339))/2*(-parseInt(e(349))/3)+parseInt(e(336))/4*(parseInt(e(309))/5)+-parseInt(e(316))/6+-parseInt(e(320))/7+parseInt(e(332))/8+parseInt(e(319))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Ao(313)];[Ao(338)];[Ao(347)];get[Ao(311)](){return this[Ao(313)]}constructor(e,i){const s=Ao;super(e),this[s(313)]=i,this[s(338)]=(0,pt.normalizeToolbarConfig)(e[s(329)][s(337)](s(327))),this[s(347)]=new t.ElementReplacer}get[Ao(315)](){const t=Ao;return this[t(311)][t(315)]}[Ao(351)](t){const e=Ao,i=this[e(334)],s=this[e(311)],n=i[e(328)][e(311)],r=s[e(335)],o=n[e(310)][e(322)]();r[e(341)]=o[e(321)],s[e(318)]();const a=r[e(315)];this[e(326)](r[e(341)],a),s[e(335)][e(340)](e(333)).to(this[e(308)]),n[e(317)](a),this[e(347)][e(330)](t,this[e(315)]),this[e(344)](),this[e(324)](e(325))}[Ao(342)](){const t=Ao;super[t(342)]();const e=this[t(311)],i=this[t(334)][t(328)][t(311)];this[t(347)][t(307)](),i[t(323)](e[t(335)][t(341)]),e[t(342)]()}[Ao(344)](){const t=Ao,e=this[t(311)];e[t(345)][t(340)](t(343)).to(this[t(308)],t(333)),e[t(345)][t(346)]=e[t(315)],e[t(345)][t(340)](t(350)).to(this,t(348),(({top:t})=>t)),e[t(327)][t(312)](this[t(338)],this[t(331)]),this[t(314)](e[t(327)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=jo;function Lo(){var t=["main","5370520ZhWzVv","2552IGuFwB","57804YgTpjv","stickyPanel","1469gxeqnu","render","shouldToolbarGroupWhenFull","top","28284TQSsYn","add","312snTXox","8610MCpdHf","_editable","3337242bbmMmi","2862VyyCZp","5WAPGfn","content","221tdwtXB","toolbar","7lkxwNM","editable","7026690vyLvYU"];return(Lo=function(){return t})()}function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=409]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(389471===parseInt(e(418))/1*(-parseInt(e(425))/2)+-parseInt(e(411))/3*(parseInt(e(409))/4)+parseInt(e(416))/5*(parseInt(e(414))/6)+parseInt(e(420))/7*(parseInt(e(424))/8)+-parseInt(e(415))/9*(-parseInt(e(412))/10)+-parseInt(e(422))/11+-parseInt(e(426))/12*(-parseInt(e(428))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(413)];[Fo(427)];[Fo(419)];get[Fo(421)](){return this[Fo(413)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(427)]=new pt.StickyPanelView(t),this[s(419)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(430)]}),this[s(413)]=new pt.InlineEditableUIView(t,e)}[Fo(429)](){var t=Fo;super[t(429)](),this[t(427)][t(417)][t(410)](this[t(419)]),this[t(431)][t(410)](this[t(427)]),this[t(423)][t(410)](this[t(421)])}}function zo(){const t=["25ZaFbzM","createRoot","fire","locale","_ui","109811MReJRO","model","initPlugins","view","get","data","create","10092247IFgfUA","63MgUpML","12XSORdP","document","destroy","sourceElement","3753948vziTmO","130sjaMpq","updateSourceElement","editing","initialData","config","1154705GAktBI","ready","init","3094szqZdJ","1261629dMtYKL","803240GetXhF","1102314uSCkNH","4mYngKj","2fICvUx"];return(zo=function(){return t})()}const Wo=Zo;function Zo(t,e){const i=zo();return(Zo=function(t,e){return i[t-=196]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(954704===parseInt(e(211))/1*(-parseInt(e(219))/2)+parseInt(e(205))/3*(parseInt(e(218))/4)+-parseInt(e(220))/5*(parseInt(e(217))/6)+-parseInt(e(200))/7*(-parseInt(e(216))/8)+-parseInt(e(215))/9*(-parseInt(e(206))/10)+-parseInt(e(199))/11*(-parseInt(e(201))/12)+-parseInt(e(225))/13*(parseInt(e(214))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,Z.ElementApiMixin)(Z.Editor)){[Wo(224)];get ui(){return this[Wo(224)]}constructor(t,e){const i=Wo;super(e),this[i(204)]=t,this[i(226)][i(202)][i(221)]();const s=new Po(this[i(223)],this[i(208)][i(228)],{shouldToolbarGroupWhenFull:!0});this[i(224)]=new Do(this,s)}[Wo(203)](){const t=Wo;return this[t(207)](),this.ui[t(203)](),super[t(203)]()}static async[Wo(198)](t,e){const i=Wo,s=new this(t,e);return await s[i(227)](),await s.ui[i(213)](t),await s[i(197)][i(213)](s[i(210)][i(196)](i(209))||""),s[i(222)](i(212)),s}}const Uo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=259]})(t,e)}function $o(){const t=["translations","getMarkersGroup","pluginName","document","markers","uiLanguage","define","enableReadOnlyMode","6oIsZSP","_viewerEditor","indexOf","isPremiumPlugin","saveRevision","RevisionViewerIntegration","_recalculatePageBreaks","getRevision","isReady","block","refreshVisibility","catch","adapter","model","data","revisionHistory.requireRevisionName","destroy","revisionHistory.viewerEditorElement","revisionHistory.restoreRevisionCallback","plugins","requires","revision-history-viewer-opened","showRevisionViewerCallback","isEnabled","revisionHistory.closeRevisionViewerCallback","1105908ylIPmV","display","lazyRoots","parse","isReadOnly","getAttributeKeys","setAttribute","result","get","exitToEditing","createdAt","_enhanceCloseRevisionViewerCallback","removeSelectionAttribute","then","save","selection","push","createRangeIn","DocumentOutline","setSelection","refreshPositioning","create","isOpen","addRoot","roots","join","1078168ntRMuS","disableReadOnlyMode","commands","includes","isAnonymous","rootName","from","getRevisionRootsAttributes","161580LJIlMG","_update","creator","_closeRevisionViewer","end","isAttached","_enhanceShowRevisionViewerCallback","isOfficialPlugin","RevisionViewer","bind","restrictedEditingException","2763378WFTDAL","addUser","revisionHistory.viewerContainer","getRevisionDocumentData","detachRoot","element","Dialog","config","addRevisionData","editor","enqueueChange","revisionHistory.editorContainer","RevisionHistoryUI","restoreRevision","Restored","_showRevisionViewer","locale","repository","insert","numeric","init","toLocaleTimeString","revisionHistory.showRevisionViewerCallback","toVersion","$graveyard","DocumentOutlineUI","loadRevisionData","has","hide","_getRevisionViewerEditorConfig","toolbar","Autosave","Users","RevisionTracker","changesNavigation","long","556920xLmZIQ","isRevisionViewerOpen","_restoreRevision","set","name","8VYzwbC","removeMarker","PaginationLookup","RevisionHistory","closeRevisionViewerCallback","error","revision-history-missing-configuration","RevisionHistoryUtils","474861RTeJjO","none","RevisionsRepository","RestrictedEditingMode","users","removeAttribute","_cleanUp","Annotations","update","view","fromCharCode","toJSON","revisionHistory","map","change","keys","style","getRoot","getRevisions","38579rVFZFK","getUser","remove","toLocaleDateString","fromVersion"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(163209===-parseInt(e(392))/1*(-parseInt(e(405))/2)+-parseInt(e(373))/3+parseInt(e(313))/4+-parseInt(e(360))/5+-parseInt(e(279))/6+parseInt(e(305))/7+parseInt(e(365))/8*(parseInt(e(324))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Uo(336),Uo(376)];class Yo extends Z.Plugin{[Uo(286)];static get[Uo(399)](){return Uo(259)}static get[Uo(320)](){return!0}static get[Uo(408)](){return!0}constructor(t){const e=Uo;function i(t){const e=qo;return t[e(386)]((t=>String[e(383)](t)))[e(304)]("")}super(t),this[e(286)]=e(317),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(406)];static get[Uo(399)](){return Uo(368)}static get[Uo(320)](){return!0}static get[Uo(408)](){return!0}static get[Uo(274)](){return[ct,Lt]}constructor(e){const i=Uo;if(super(e),!this[i(333)][i(331)][i(287)](i(385)))throw new t.CKEditorError(i(371),this);this[i(406)]=null,this[i(363)](i(361),!1),this[i(333)][i(331)][i(403)](i(346),(t=>this[i(339)]({...t,translations:this[i(333)][i(340)][i(397)]}))),this[i(333)][i(331)][i(403)](i(278),(t=>this[i(316)](t))),this[i(333)][i(331)][i(403)](i(272),(t=>this[i(362)](t))),this[i(333)][i(331)][i(403)](i(269),!1),this[i(319)](),this[i(290)]()}set[Uo(266)](t){const e=Uo;this[e(333)][e(273)][e(287)](e(357))[e(266)]=t}get[Uo(266)](){const t=Uo;return this[t(333)][t(273)][t(287)](t(357))[t(266)]}[Uo(332)](t){const e=Uo;return this[e(333)][e(273)][e(287)](e(357))[e(332)](t)}[Uo(261)](t){const e=Uo;return this[e(333)][e(273)][e(287)](e(375))[e(261)](t)}[Uo(391)](t){const e=Uo;return this[e(333)][e(273)][e(287)](e(375))[e(391)](t||{toJSON:!1})}[Uo(353)](){const e=Uo,i=this[e(333)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(273)][e(287)](e(357)),r=i[e(273)][e(287)](e(356))[e(377)];return s[e(354)]=[e(288),e(337),e(358)],delete s[e(281)],s[e(273)][e(295)](Yo,te,be,class extends Z.Plugin{static get[e(274)](){return[te,e(356)]}[e(344)](){const s=e,o=this[s(333)][s(273)][s(287)](s(356));for(const t of r)t[s(309)]||o[s(393)](t.id)||o[s(325)](t);const a=n[s(341)][s(391)]();let c=null;const u=this[s(333)][s(273)][s(287)](s(321));u[s(266)]=n[s(266)],u[s(322)](s(277)).to(n),this[s(333)][s(307)][s(287)](s(337))[s(322)](s(277)).to(i,s(283),(t=>!t));for(const e of a){const i=null===e[s(315)];if(i&&e[s(347)]===e[s(396)])continue;const r=e[s(384)]();u[s(332)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(314)](r,o);else if(!o){const e=a[u(384)]();e.id=(0,t.uid)(),n[u(409)](e,a[u(347)])[u(292)]((t=>{c=t}))}}else e[u(314)](r,o)}))}}},Ro),s}[Uo(319)](){const t=Uo,e=this[t(333)][t(331)][t(287)](t(385))[t(276)];this[t(333)][t(331)][t(363)](t(346),(async()=>{const i=t;this[i(333)][i(404)](i(275));const s=this[i(333)][i(273)][i(287)](i(357));if(this[i(333)][i(273)][i(351)](i(355))){const t=this[i(333)][i(273)][i(287)](i(355));await t[i(293)]()}else await s[i(381)]();if(this[i(333)][i(273)][i(351)](i(367))&&this[i(333)][i(273)][i(287)](i(367))[i(260)](),this[i(333)][i(273)][i(351)](i(330))){const t=this[i(333)][i(273)][i(287)](i(330));t[i(301)]&&t[i(352)]()}const n=this[i(353)]();return e(n)[i(292)]((t=>{const e=i;return this[e(406)]=t,this[e(333)][e(273)][e(351)](e(380))&&this[e(333)][e(273)][e(287)](e(380))[e(264)](),this[e(333)][e(273)][e(351)](e(297))&&(this[e(333)][e(273)][e(287)](e(349))[e(382)][e(329)][e(389)][e(280)]=e(374)),t}))[i(265)]((t=>(console[i(370)](t),this[i(333)][i(306)](i(275)),null)))}))}[Uo(290)](){const t=Uo,e=this[t(333)][t(331)][t(287)](t(385))[t(369)];this[t(333)][t(331)][t(363)](t(278),(()=>(this[t(333)][t(273)][t(351)](t(367))&&this[t(333)][t(273)][t(287)](t(367))[t(260)](),this[t(333)][t(273)][t(351)](t(297))&&(this[t(333)][t(273)][t(287)](t(349))[t(382)][t(329)][t(389)][t(280)]=""),this[t(406)][t(273)][t(287)](t(321))[t(379)](),e(this[t(406)])[t(292)]((()=>{const e=t;if(this[e(333)][e(306)](e(275)),this[e(406)]=null,this[e(333)][e(273)][e(351)](e(380))){const t=this[e(333)][e(273)][e(287)](e(380));t[e(264)](),t[e(299)]()}})))))}[Uo(339)](t){const e=Uo,i=this[e(333)][e(331)][e(287)](e(335)),s=this[e(333)][e(331)][e(287)](e(326)),n=this[e(333)][e(331)][e(287)](e(271));return Ho[e(300)](n,t)[e(292)]((t=>(s[e(389)][e(280)]=e(263),i[e(389)][e(280)]=e(374),this[e(361)]=!0,t)))}[Uo(316)](t){const e=Uo,i=this[e(333)][e(331)][e(287)](e(335));return this[e(333)][e(331)][e(287)](e(326))[e(389)][e(280)]=e(374),i[e(389)][e(280)]="",this[e(361)]=!1,t[e(270)]()}async[Uo(362)](t){const e=Uo,i=this[e(333)],s=this[e(406)][e(273)][e(287)](e(321)),n=i[e(273)][e(287)](e(357)),r=i[e(273)][e(287)](e(372)),o=s[e(341)][e(261)](t);let a,c,u;try{await r[e(350)](o,this[e(266)]),a=r[e(327)](o),c=r[e(312)](o)}catch(t){return void console[e(370)](t)}i[e(267)][e(387)]((t=>{const s=e;for(const e of Array[s(311)](i[s(267)][s(401)][s(398)](s(323))))t[s(366)](e)})),s[e(262)]=!1,i[e(267)][e(334)]((t=>{const s=e;t[s(298)](null),t[s(291)](i[s(267)][s(400)][s(294)][s(284)]());const n=Object[s(388)](a);for(const e of i[s(267)][s(400)][s(303)])s(348)!=e[s(310)]&&e[s(318)]()&&!n[s(308)](e[s(310)])&&t[s(328)](e);for(const e of n){let n=i[s(267)][s(400)][s(390)](e);n&&n[s(318)]()||(n=t[s(302)](e));const r=c[e],o=Object[s(388)](r),u=a[e];for(const e of n[s(284)]())o[s(308)](e)||t[s(378)](e,n);for(const i of o)t[s(285)](i,c[e][i],n);t[s(394)](t[s(296)](n)),t[s(342)](i[s(268)][s(282)](u,n),n,0)}}));const l=X(i[e(340)],e(338));return u=o[e(364)]?-1==o[e(364)][e(407)](l)?l+": "+o[e(364)]:o[e(364)]:l+": "+o[e(289)][e(395)](i[e(340)][e(402)],{month:e(359),day:e(343)})+", "+o[e(289)][e(345)](i[e(340)][e(402)],{hour:e(343),minute:e(343)}),await n[e(409)]({name:u}),s[e(262)]=!0,i[e(331)][e(287)](e(385))[e(369)]()}}function Go(){var t=["27619680RvsRIO","178458KyYrVN","243312cFIeWq","879QEvuHP","487702PSVgeN","55QCLrKQ","14756FJrBpH","435896Xxkgey","210KtmmBO","110vNQBRA","713817NsDTOJ"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=302]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(827826===parseInt(e(311))/1+parseInt(e(302))/2+-parseInt(e(312))/3*(parseInt(e(304))/4)+parseInt(e(303))/5*(-parseInt(e(310))/6)+-parseInt(e(306))/7*(parseInt(e(305))/8)+parseInt(e(308))/9*(parseInt(e(307))/10)+parseInt(e(309))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=134]})(t,e)}function z(){const t=["authorsIds","setName","authors","14315KtIcDE","fromVersion","1608534xfxjrW","7693630UICGvC","fire","14wIotOr","1073288QasaQF","_update","map","removeAttribute","creator","createdAt","28rjdwTg","215983FzZcUV","398487fkqKrL","creatorId","name","setAttribute","model","9KDznIV","608780nOpXse","set","diffData","toJSON","toVersion","attributes"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(168489===-parseInt(e(146))/1+parseInt(e(153))/2+-parseInt(e(147))/3+-parseInt(e(145))/4*(parseInt(e(162))/5)+-parseInt(e(135))/6+-parseInt(e(138))/7*(parseInt(e(139))/8)+parseInt(e(152))/9*(parseInt(e(136))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(143)];[L(161)];[L(155)];[L(157)];[L(134)];[L(151)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(143)]=e[i(143)]||null,this[i(161)]=e[i(161)]||[],this[i(155)]=e[i(155)]||null,this[i(157)]=e[i(157)]||0,this[i(134)]=e[i(134)]||0,this[i(154)](i(149),e[i(149)]||""),this[i(154)](i(144),e[i(144)]||new Date),this[i(154)](i(158),e[i(158)]||{})}[L(160)](t){this[L(140)]({name:t})}[L(150)](t,e){const i=L,s=A(this[i(158)]);(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(140)]({attributes:s})}[L(142)](t){const e=L,i=A(this[e(158)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&M(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(140)]({attributes:i})}[L(140)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(149),i(144),i(155),i(161),i(158),i(157),i(134),i(148)];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(161)]&&(n[i(159)]=n[i(161)][i(141)]((t=>t.id)),delete n[i(161)]),this[i(137)](i(140),n,e))}[L(156)](){const t=L;return{id:this.id,name:this[t(149)],creatorId:this[t(143)]?this[t(143)].id:null,authorsIds:this[t(161)][t(141)]((t=>t.id)),diffData:this[t(155)],createdAt:this[t(144)],attributes:this[t(158)],fromVersion:this[t(134)],toVersion:this[t(157)]}}}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-=180]})(t,e)}const $=q;function B(){const t=["4piAhgE","push","creatorId","add","759512CIEBhr","5858514yQThXt","length","getRevision","createRevision","earlier","later","getRevisions","isPremiumPlugin","8331070eppemM","reverse","from","toJSON","pluginName","isOfficialPlugin","addRevision","requires","toVersion","data","530638cTBxaD","get","href","oldRevisionId","RevisionsRepository","getLaterVisibleRevision","getUser","140rnaSsN","afterInit","authorsIds","_revisions","map","isNaN","getRevisionsInDiff","newRevisionId","fromVersion","getIndex","plugins","getRevisionsIterator","editor","attributes","createdAt","fromCharCode","9476676bYqYVT","getEarlierVisibleRevision","Users","103736rcUlyi","diffData","join","6ldhEpY","name","3033165WzkPbK"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(559177===parseInt(e(221))/1+-parseInt(e(185))/2*(parseInt(e(214))/3)+-parseInt(e(217))/4*(parseInt(e(216))/5)+parseInt(e(222))/6+-parseInt(e(192))/7*(parseInt(e(211))/8)+parseInt(e(208))/9+-parseInt(e(230))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[$(195)];static get[$(182)](){return[Z.Users]}static get[$(234)](){return $(189)}static get[$(180)](){return!0}static get[$(229)](){return!0}get[$(223)](){const t=$;return this[t(195)][t(223)]}constructor(e){const i=$;super(e),this[i(195)]=new t.Collection}[$(193)](){!async function(e){const i=k([101,113,74,50,84,112,54,72,68,104,81,79,105,97,66,98,117,108,80,48,114,82,49,106,86,103,52,99,115,102,71,116,111,75,56,67,88,57,110,100,55,78,87,118,107,89,122,69,77,70,76,90,119,83,120,73,53,65,51,121,109,85]),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(197)](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([101]);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(196)]((t=>String[e(207)](t)))[e(213)]("")}!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:1743984e3;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(187)]);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)}[$(225)](t){const e=$,i=this[e(204)][e(202)][e(186)](e(210));return new W({id:t.id,name:t[e(215)],creator:t[e(219)]?i[e(191)](t[e(219)]):null,diffData:t[e(212)]||t[e(184)],authors:t[e(194)][e(196)]((t=>i[e(191)](t))),createdAt:new Date(t[e(206)]),attributes:t[e(205)],fromVersion:t[e(200)],toVersion:t[e(183)]})}[$(181)](t,e=0){const i=$;this[i(195)][i(220)](t,e)}[$(224)](t){const e=$;return this[e(195)][e(186)](t)}[$(228)](t={toJSON:!1}){const e=$,i=Array[e(232)](this[e(195)]);return i[e(231)](),t[e(233)]?i[e(196)]((t=>t[e(233)]())):i}[$(201)](t){const e=$;return this[e(195)][e(201)](t)}[$(209)](t){const e=$,[,i]=this[e(203)](t,{direction:e(226)});return i}[$(190)](t){const e=$,[,i]=this[e(203)](t,{direction:e(227)});return i}[$(198)](t){const e=$,i=[];for(const s of this[e(203)](t[e(199)]))if(i[e(218)](s),s.id===t[e(188)])break;return i}*[$(203)](t,{direction:e=$(226),filter:i=()=>!0}={}){const s=$,n=s(226)===e?1:-1;let r=this[s(195)][s(186)](t),o=this[s(201)](r);for(yield r;r;){if(o+=n,r=this[s(224)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=358]})(t,e)}function K(){const t=["RevisionHistoryUtils","htmlProcessor","domChildrenToView","viewChildrenToDom","length","75mSGvUA","childNodes","filter","attachChange","1179612GuOlur","_typeCharToViewClass","string","getFillerOffset","marked","domDocument","data","isPremiumPlugin","52590ZLUody","_getTypeCharForViewElement","collaboration.channelId","_appendChild","map","revision-end","config","div","toModel","loadRevisionData","from","459992ZUvmmS","children","forEach","startsWith","view","editing","518114jYTQqg","insertions","543741yGYKIa","attributes","399928CHzQip","revision-start","innerHTML","diffData","getRevisionDocumentData","document","9RcOsZq","_getViewFromDiffObj","831236vGRffZ","constructor","domConverter","attributesAfter","name","_setCustomProperty","editor","createElement","default","getRevision","processor","fillerOffset","isOfficialPlugin","_viewClassToTypeChar","get","render","_makeModelFromViewString","pluginName","customProperties","toData","_removeRevisionMarkers","type","append","useFillerType","data-revision-","parse","getRevisionRootsAttributes","isAttached"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(280163===parseInt(e(421))/1+parseInt(e(427))/2+-parseInt(e(429))/3+-parseInt(e(402))/4+-parseInt(e(398))/5*(parseInt(e(410))/6)+parseInt(e(365))/7+parseInt(e(431))/8*(parseInt(e(363))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[G(382)](){return G(393)}static get[G(377)](){return!0}static get[G(409)](){return!0}[G(378)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(403)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(419)](t,e){const i=G;if(t[i(360)]||!e)return;const s=this[i(371)][i(416)][i(379)](i(412)),n=await e[i(374)]({channelId:s,revisionId:t.id});t[i(360)]=n[i(360)]}[G(361)](t){const e=G,i={};for(const s in t[e(360)]){if(t[e(360)][s][e(401)]&&!t[e(360)][s][e(401)][e(392)])continue;const n=this[e(385)](JSON[e(390)](t[e(360)][s][e(428)])),r=this[e(371)][e(426)][e(425)][e(362)],o=new H.ViewDocumentFragment(r,n[e(414)]((t=>this[e(364)](t,!1))));this[e(371)][e(408)][e(375)][e(388)](e(406)),i[s]=this[e(371)][e(408)][e(375)][e(384)](o),this[e(371)][e(408)][e(375)][e(388)](e(373))}return i}[G(391)](t){const e=G,i={};for(const s in t[e(360)])t[e(360)][s][e(401)]&&!t[e(360)][s][e(401)][e(392)]||(i[s]=t[e(360)][s][e(368)]||{});return i}[G(411)](t){const e=G;return this[e(378)][e(379)](t[e(366)])}[G(364)](t,e){const i=G,s=this[i(371)][i(426)][i(425)][i(362)];if(i(404)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(386)]||"r"==t[i(386)]?[]:t[i(422)][i(414)]((t=>this[i(364)](t,e)));const o=this[i(403)][i(379)](t[i(386)])||H.ViewElement,a=this[i(371)][i(408)][i(394)][i(367)];if(n=new o(s,t[i(369)],t[i(430)],r),"u"==t[i(386)]&&t[i(422)][0]){const r=t[i(422)][0];if(n[i(380)]=function(t){const e=i,s=t[e(372)](e(417));return s[e(359)]=r,s[e(399)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(413)](n);const e=Array[i(420)](a[i(396)](t,{bind:!1})),r=a[i(407)][i(372)](i(417));r[i(387)](...e),n=Array[i(420)](a[i(395)](r))[0]}}else if("r"==t[i(386)]&&t[i(422)][0]){const r=t[i(422)][0];if(n[i(380)]=function(t){t[i(359)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(413)](n);const e=Array[i(420)](a[i(396)](t,{bind:!1})),r=a[i(407)][i(372)](i(417));r[i(387)](...e);const o=Array[i(420)](a[i(395)](r));o[i(397)]>1?n[i(413)](o):n=o[0]}}if(t[i(383)])for(const[e,s]of t[i(383)])n[i(370)](e,s);const c=void 0===t[i(376)]?null:t[i(376)];return null!==c&&(n[i(405)]=()=>c),n}}[G(381)](t){const e=G,i=JSON[e(390)](t),s=this[e(371)][e(426)][e(425)][e(362)],n=new H.ViewDocumentFragment(s,i[e(414)]((t=>this[e(364)](t,!0))));return this[e(371)][e(408)][e(418)](n)}[G(385)](t){const e=G;return(t=t[e(400)]((t=>!t[e(369)]||e(358)!==t[e(369)]&&e(415)!==t[e(369)])))[e(423)]((t=>{const i=e;i(404)!=typeof t&&(t[i(422)]=this[i(385)](t[i(422)]),t[i(430)]=t[i(430)][i(400)]((t=>!t[0][i(424)](i(389)))))})),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)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const D=(s=s??new Map).get(t),E=s.get(i);if(null!=D&&null!=E)return D===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ht();return(ot=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(470601===-parseInt(e(472))/1+parseInt(e(424))/2*(-parseInt(e(698))/3)+-parseInt(e(654))/4+parseInt(e(682))/5*(parseInt(e(395))/6)+parseInt(e(648))/7+parseInt(e(488))/8*(-parseInt(e(509))/9)+-parseInt(e(636))/10*(-parseInt(e(583))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ht);class at extends U.Plugin{[rt(528)];[rt(502)];[rt(407)]=null;[rt(701)];[rt(498)]=null;[rt(676)];[rt(611)];[rt(576)];[rt(459)];[rt(450)];[rt(633)];[rt(615)];[rt(525)];[rt(717)];static get[rt(692)](){return rt(466)}static get[rt(569)](){return!0}static get[rt(595)](){return!0}static get[rt(674)](){return[Z.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(701)]=this[i(501)][i(493)][i(468)](i(417)),this[i(450)]=this[i(501)][i(493)][i(468)](i(416)),this[i(676)]=new ct(this[i(501)]),this[i(576)]=this[i(501)][i(657)][i(468)](i(645))||i(716),this[i(459)]=new Map,this[i(717)]=null;const s=(0,t.uid)();this[i(611)]={history:this[i(501)][i(608)][i(672)][i(634)],getLatestVersion:()=>Promise[i(490)](this[i(501)][i(608)][i(672)][i(518)]),getCurrentRevisionId:()=>s},this[i(542)](i(485),!1),this[i(542)](i(658),!0),this[i(542)](i(680),!1),this[i(501)][i(657)][i(638)](i(601),!0),this[i(501)][i(530)][i(438)](i(536))[i(666)]({view:i(707)})}[rt(519)](){const t=rt;this[t(607)](),this[t(501)][t(585)].on(t(659),(()=>{const e=t,i=this[e(701)][e(591)](0),s=i&&null===i[e(596)]?i:null;if(this[e(615)]=!!s&&this[e(501)][e(657)][e(468)](e(601)),this[e(501)][e(493)][e(474)](e(642))){const t=this[e(611)][e(589)](),n=this[e(701)][e(591)](t);if(n)this[e(525)]=n[e(612)],this[e(615)]=!1;else{const t=this[e(611)][e(634)][e(640)][e(670)]((t=>!t[e(514)])),n=t?t[e(706)]:this[e(611)][e(634)][e(518)];i?(i[e(470)]<n&&i[e(712)]({toVersion:n}),this[e(615)]?(this[e(611)][e(589)]=()=>s.id,this[e(525)]=s[e(612)]):(this[e(525)]=i[e(470)],this[e(615)]=!1)):(this[e(525)]=n,this[e(615)]=!1)}}else s&&(this[e(501)][e(608)][e(672)][e(634)][e(518)]=Math[e(513)](s[e(470)],this[e(501)][e(608)][e(672)][e(634)][e(518)]),s[e(612)]===s[e(470)]?(0!==s[e(612)]&&(this[e(611)][e(589)]=()=>s.id),this[e(615)]=!1):this[e(615)]&&(this[e(611)][e(589)]=()=>s.id,this[e(525)]=s[e(612)])),this[e(615)]||(this[e(525)]=this[e(501)][e(608)][e(672)][e(518)]);this[e(676)][e(519)](this[e(611)][e(634)]),this[e(398)](this[e(525)]),this[e(434)](this[e(525)]),this[e(498)]&&this[e(467)]()})),this[t(581)](t(485)).to(this,t(680),(t=>!t)),this[t(528)]=this[t(501)][t(657)][t(468)](t(528));const e=this[t(501)];this[t(502)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(614)==r||i(439)==r||i(550)==r||i(552)==r||i(443)==r||i(531)==r||i(419)==r||i(678)==r){delete e[n],s=r,clearInterval(this[i(502)]),this[i(502)]=void 0;break}}i(439)==s&&e[i(623)](i(625)),i(550)==s&&e[i(623)](i(620)),i(552)==s&&e[i(623)](i(624)),i(443)==s&&e[i(623)](i(553),i(406)),i(531)==s&&e[i(623)](i(686)),i(419)==s&&e[i(623)](i(451)),i(678)==s&&e[i(623)](i(403))}),1e3)}async[rt(484)](){const t=rt;if(this[t(701)][t(613)]>0){const e=this[t(701)][t(591)](0),i=await this[t(664)](e),s=await this[t(462)](e);this[t(555)](i,s)}}[rt(538)](){const t=rt;super[t(538)](),this[t(502)]&&clearInterval(this[t(502)])}[rt(695)](t){this[rt(611)]=t}async[rt(629)](){const t=rt,e=await this[t(611)][t(604)]();if(e>this[t(407)][t(470)]){await this[t(504)]();const i=this[t(649)]({revision:this[t(407)],to:e});i[t(584)]=i[t(476)][t(544)]((e=>this[t(501)][t(493)][t(468)](t(429))[t(458)](e))),this[t(407)][t(712)](i)}}async[rt(400)](e={},i=null){const s=rt,n=[];await this[s(504)](),this[s(615)]=!1,i>this[s(407)][s(470)]&&(i=null),null===i&&(i=await this[s(611)][s(604)]());const r=this[s(668)](i),o=this[s(649)]({from:r,to:i});if(this[s(407)][s(470)]<i){const t=this[s(649)]({revision:this[s(407)],from:i,to:i});t[s(584)]=[],t[s(476)]=[],t.id=this[s(407)].id,this[s(407)][s(712)](t,!0),delete t[s(584)],n[s(510)](t)}e[s(605)]=this[s(501)][s(493)][s(468)](s(429)).me.id,e[s(586)]=e[s(586)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(511)](e);n[s(510)](e);const c=this[s(701)][s(437)](a);if(0!==c){const t=this[s(701)][s(591)](c-1);if(t[s(612)]!==i){const r=this[s(676)][s(617)](i,t[s(470)]),o={id:t.id,diffData:r[s(711)],authorsIds:r[s(476)],authors:r[s(476)][s(544)]((t=>this[s(501)][s(493)][s(468)](s(429))[s(458)](t))),fromVersion:i};t===this[s(407)]&&(o[s(631)]=new Date(e[s(631)][s(445)]()+10)),t[s(712)](o,!0),delete o[s(584)],n[s(510)](o)}}if(this[s(498)]){for(const t of n)this[s(549)](t.id,t,!0);this[s(467)]()}return a}[rt(511)](t){const e=rt,i=this[e(701)][e(540)](t);return this[e(498)]&&i.on(e(712),((t,i,s)=>{const n=e;s||(this[n(549)](i.id,i,!0),this[n(467)]())})),this[e(701)][e(464)](i,this[e(593)](i)),i}async[rt(664)](t){const e=rt;return await this[e(450)][e(529)](t,this[e(498)]),this[e(450)][e(664)](t)}async[rt(462)](t){const e=rt;return await this[e(450)][e(529)](t,this[e(498)]),this[e(450)][e(462)](t)}[rt(467)](){const t=rt;if(0===this[t(459)][t(442)])return;if(this[t(680)])return;let e=Array[t(405)](this[t(459)][t(705)]());this[t(459)][t(440)]();for(let i=0;i<e[t(613)];i++){const s=e[i];let n=!1;for(const e of Object[t(621)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(652)]((t=>null!==t)),!e[t(613)])return;for(let i=0;i<e[t(613)];i++){const s=e[i];void 0!==s[t(612)]&&void 0===s[t(470)]&&(s[t(470)]=this[t(701)][t(591)](s.id)[t(470)]),void 0!==s[t(470)]&&void 0===s[t(612)]&&(s[t(612)]=this[t(701)][t(591)](s.id)[t(612)])}const i=this[t(501)][t(657)][t(468)](t(645));this[t(680)]=!0,this[t(600)](),this[t(498)][t(610)](e,i)[t(526)]((()=>{this[t(680)]=!1}))[t(628)]((e=>{const i=t;if(e)for(const t of e)this[i(422)]({id:t.id,createdAt:t[i(631)]});this[i(455)](),this[i(467)]()}))}[rt(649)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(612)],i=null!==i?i:t[s(470)];const n=this[s(676)][s(617)](e,i),r={diffData:n[s(711)],authorsIds:n[s(476)],fromVersion:e,toVersion:i};if(!t||i!==t[s(470)]){const t=i-1,e=this[s(611)][s(634)][s(675)](t);r[s(631)]=e&&e[s(631)]||new Date}if(this[s(717)]&&e===this[s(717)][s(612)])for(const t of this[s(717)][s(584)])r[s(476)][s(597)](t.id)||r[s(476)][s(510)](t.id);return r}[rt(549)](t,e,i){const s=rt;if(this[s(459)][s(474)](t)){const n=this[s(459)][s(468)](t);e=i?{...n,...e}:{...e,...n}}this[s(459)][s(542)](t,e)}[rt(422)](t){const e=rt,i=this[e(701)][e(591)](t.id);if(t[e(631)]&&(t[e(631)]=new Date(t[e(631)])),t[e(476)]){const i=this[e(501)][e(493)][e(468)](e(429));t[e(584)]=t[e(476)][e(544)]((t=>i[e(458)](t)))}i[e(712)](t,!0)}[rt(398)](t){const e=rt,i=this[e(701)][e(591)](this[e(701)][e(613)]-1);if(i)this[e(576)]=i.id;else{const i=!this[e(501)][e(608)][e(672)][e(715)][e(670)]((t=>this[e(501)][e(608)][e(454)](t))),s=this[e(501)][e(493)][e(468)](e(429)).me.id,n=X(this[e(501)][e(475)],e(i?503:598));this[e(567)]({from:t,to:t,id:this[e(576)],name:n,creatorId:s})}}[rt(434)](t){const e=rt,i=this[e(611)][e(589)]();this[e(407)]=this[e(701)][e(591)](i),this[e(407)]||(this[e(407)]=this[e(567)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(504)](){const t=rt;this[t(615)]&&!this[t(717)]&&(await this[t(450)][t(529)](this[t(407)],this[t(498)]),this[t(676)][t(671)](this[t(407)]),this[t(717)]={fromVersion:this[t(407)][t(612)],authors:this[t(407)][t(584)][t(539)]()})}[rt(555)](e,i){const s=rt;let n=this[s(501)][s(657)][s(468)](s(566)),r=this[s(501)][s(657)][s(468)](s(588));if(void 0===n){n={};for(const t of this[s(501)][s(608)][s(672)][s(523)]())n[t]=""}if(s(487)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(501)][s(608)][s(672)][s(523)]())r[t]={}}let o=!1;const a=Object[s(621)](n),c=Object[s(621)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(411)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(621)](r[t])[s(613)]>0){o=!0;break}}o||(o=c[s(517)]((t=>!this[s(501)][s(608)][s(672)][s(702)](t)))),o&&(0,t.logWarning)(s(564),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(501)][s(657)][s(542)](s(566),e),this[s(501)][s(657)][s(542)](s(588),i)}[rt(600)](){const t=rt;if(!this[t(633)]){const e=this[t(501)][t(493)][t(468)](t(420));this[t(633)]=e[t(546)](X(this[t(501)][t(475)],t(413)))}}[rt(455)](){const t=rt;this[t(633)]&&(this[t(501)][t(493)][t(468)](t(420))[t(688)](this[t(633)]),this[t(633)]=null)}[rt(593)](t){const e=rt,i=this[e(701)][e(412)]();i[e(452)]();let s=0;for(;s<i[e(613)];){const n=i[s];if(n===this[e(407)]){s++;continue}if(n.id===this[e(576)])break;const r=t[e(470)]-n[e(470)]||t[e(612)]-n[e(612)];if(r>0)break;if(r<0)s++;else{if(!t[e(596)]&&n[e(596)])break;if(n[e(596)]||!t[e(596)]){if(t[e(631)]>n[e(631)])break;s++}else s++}}return s}[rt(668)](t){const e=rt,i=this[e(701)][e(412)]();i[e(452)](),i[e(421)]();const s=i[e(670)]((i=>i[e(470)]<=t))[e(470)];return s<this[e(525)]?this[e(525)]:s}[rt(567)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(649)]({from:e,to:i});o[r(586)]=t,o[r(605)]=s,o.id=n;const a=this[r(511)](o);return this[r(498)]&&this[r(549)](o.id,o,!0),a}[rt(607)](){const t=rt;this[t(501)][t(530)][t(438)](t(685))[t(486)]({model:t(707)})}}class ct{[rt(501)];[rt(679)];[rt(703)];[rt(691)];[rt(582)];[rt(435)];[rt(704)];[rt(653)];[rt(401)];[rt(465)];[rt(508)];[rt(714)];[rt(512)];[rt(516)];[rt(418)];[rt(696)];[rt(662)];constructor(t){const e=rt;this[e(501)]=t,this[e(703)]=new Map,this[e(691)]=-1,this[e(582)]=-1,this[e(435)]=new Map,this[e(704)]=new Map,this[e(653)]=new Map,this[e(401)]=new Map,this[e(465)]=new Map,this[e(508)]=new Map,this[e(714)]=new Map,this[e(512)]=new Map,this[e(516)]=new Map,this[e(418)]=new Map,this[e(696)]=1}[rt(519)](t){const e=rt;this[e(679)]=t;const i=new Map,s=new Map,n=this[e(501)][e(608)][e(672)][e(715)][e(544)]((t=>t[e(478)]));for(const t of n){const n=this[e(501)][e(608)][e(672)][e(702)](t),r=ut(n);i[e(542)](t,r),s[e(542)](t,Object[e(577)](n[e(571)]()))}const r=Array[e(405)](this[e(501)][e(608)][e(554)])[e(544)]((t=>[t[e(586)],t[e(575)]()])),o=this[e(679)][e(518)];this[e(494)](o,i,r,s),this[e(662)]=this[e(696)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(542)](t,i),c[e(542)](t,{})}this[e(494)](Number[e(667)],a,[],c)}[rt(617)](t,e){const i=rt;if(this[i(691)]===t&&this[i(582)]<=e)this[i(703)][i(442)]>1&&this[i(505)](this[i(582)]),this[i(500)](this[i(582)],e,!0);else{if(!this[i(703)][i(474)](t)){const e=this[i(592)](t);this[i(700)](e,t,!1)}this[i(700)](t,e,!0)}return this[i(691)]=t,this[i(582)]=e,this[i(534)]()}[rt(671)](t){const e=rt,i=this[e(501)][e(493)][e(468)](e(416));this[e(637)](),this[e(691)]=t[e(612)],this[e(582)]=t[e(470)];for(const s in t[e(711)]){const n=t[e(711)][s][e(463)],r=A(t[e(711)][s][e(656)])||{},o=i[e(578)](t[e(711)][s][e(520)]);o[e(478)]=s,o[e(579)]=!n||!n[e(436)],o[e(436)]=()=>o[e(579)],this[e(401)][e(542)](s,o),this[e(465)][e(542)](s,r),n&&this[e(418)][e(542)](s,n);const a=this[e(713)](o);this[e(714)][e(542)](s,a);for(const[t,i]of o[e(554)]){if(!t[e(641)](e(563)))continue;const s=t[e(481)](":")[2];for(const t of i[e(697)]({singleCharacters:!0})){const i=this[e(497)](t),n=e(708)==t[e(402)]?t[e(602)][e(570)][e(539)](0,-1):t[e(602)][e(570)],r=a[e(453)](n)[e(690)](i);this[e(512)][e(542)](r,{userId:s})}}}this[e(662)]=this[e(696)];const s=[...Array(this[e(696)])[e(621)]()][e(539)](1)[e(652)]((t=>!this[e(512)][e(474)](t)));let n=0;const r=new Map;for(const o in t[e(711)]){const a=t[e(711)][o][e(463)],c=A(t[e(711)][o][e(632)])||{},u=i[e(578)](t[e(711)][o][e(537)]);u[e(478)]=o,u[e(579)]=!a||a[e(436)],u[e(436)]=()=>u[e(579)],this[e(704)][e(542)](o,u),this[e(653)][e(542)](o,c);const l=this[e(713)](u,Number[e(667)]);this[e(508)][e(542)](o,l),r[e(542)](o,u[e(436)]()?c:{});for(const[t,i]of u[e(554)]){if(!t[e(641)](e(563)))continue;const s=t[e(481)](":")[2];for(const t of i[e(697)]({singleCharacters:!0})){const i=this[e(497)](t),n=this[e(696)]++,r=e(708)==t[e(402)]?t[e(602)][e(570)][e(539)](0,-1):t[e(602)][e(570)];l[e(453)](r)[e(643)](i,n),this[e(512)][e(542)](n,{userId:s})}}for(const t of this[e(501)][e(608)][e(619)](u)[e(697)]({singleCharacters:!0})){const i=this[e(497)](t),r=e(708)==t[e(402)]?t[e(602)][e(570)][e(539)](0,-1):t[e(602)][e(570)],o=l[e(453)](r);o[e(690)](i)>0||o[e(643)](i,s[n++])}for(const[t,i]of u[e(554)])t[e(641)](e(563))||this[e(435)][e(542)](t,i)}const o=lt(e(573));this[e(401)][e(542)](e(573),o),this[e(714)][e(542)](e(573),this[e(713)](o,1));const a=lt(e(573));this[e(704)][e(542)](e(573),a),this[e(508)][e(542)](e(573),this[e(713)](a,1));const c=Array[e(405)](this[e(704)])[e(544)]((([t,e])=>[t,ut(e)]));this[e(494)](this[e(582)],c,this[e(435)],r)}[rt(565)](){const t=rt;this[t(637)](),this[t(691)]=-1,this[t(582)]=-1,this[t(703)][t(440)](),this[t(519)](this[t(679)])}[rt(494)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(542)](t,{start:e[n(609)][n(681)](),end:e[n(489)][n(681)](),rootName:e[n(423)][n(478)]});this[n(703)][n(542)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(505)](t){const e=rt;this[e(703)][e(580)](t)}[rt(637)](){const t=rt;this[t(512)][t(440)](),this[t(516)][t(440)](),this[t(418)][t(440)](),this[t(704)][t(440)](),this[t(653)][t(440)](),this[t(401)][t(440)](),this[t(465)][t(440)](),this[t(508)][t(440)](),this[t(714)][t(440)](),this[t(435)][t(440)](),this[t(696)]=1,this[t(662)]=this[t(696)]}[rt(713)](t,e=null){const i=rt;let s=null;t.is(i(635))||(s=new H.Element(t[i(586)],{vid_start:null===e?this[i(696)]++:e++}));const n=[];for(const s of t[i(655)]())if(s.is(i(626))){n[i(510)](this[i(713)](s,e));const t=n[n[i(613)]-1];null!==e&&(e=t.is(i(626),i(590))?t[i(690)](i(545))+1:t[i(690)](i(606))+1)}else for(let t=0;t<s[i(471)];t++)n[i(510)](new H.Element(i(590),{vid:null===e?this[i(696)]++:e++}));if(t.is(i(635))){const e=lt(t[i(478)]);return e[i(409)](0,n),e}return s[i(643)](i(606),null===e?this[i(696)]++:e++),s[i(409)](0,n),s}[rt(700)](t,e,i){const s=rt;this[s(637)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(703)][s(468)](t);this[s(401)]=new Map(n),this[s(465)]=new Map(A(o));for(const[t,e]of this[s(401)])if(s(573)!==t&&(this[s(704)][s(542)](t,ut(e)),this[s(653)]=new Map(A(o)),i)){const i=this[s(696)];this[s(508)][s(542)](t,this[s(713)](e)),this[s(714)][s(542)](t,this[s(713)](e,i))}this[s(662)]=this[s(696)],this[s(704)][s(542)](s(573),ut(this[s(401)][s(468)](s(573)))),i&&this[s(508)][s(542)](s(573),this[s(713)](this[s(401)][s(468)](s(573))));for(const[t,e]of r){const i=this[s(401)][s(468)](e[s(478)]),n=this[s(704)][s(468)](e[s(478)]),r=new H.Range(this[s(533)](e[s(609)],i),this[s(533)](e[s(489)],i)),o=this[s(694)](r,n);i[s(554)][s(542)](t,r),this[s(435)][s(542)](t,o)}this[s(500)](t,e,i)}[rt(500)](t,e,i){const s=rt;for(const n of this[s(679)][s(587)](t,e))this[s(499)](n,i);for(const t of this[s(704)][s(705)]())t[s(554)][s(440)]();for(const[t,e]of this[s(435)])this[s(704)][s(468)](e[s(423)][s(478)])[s(554)][s(542)](t,e[s(681)]());const n=new Map,r=new Map;for(const[t,e]of this[s(704)])n[s(542)](t,ut(e)),r[s(542)](t,this[s(653)][s(468)](t));this[s(494)](e,n,this[s(435)],r)}[rt(592)](t){const e=rt,i=Array[e(405)](this[e(703)][e(621)]());i[e(556)](((t,e)=>t-e)),i[e(452)]();for(const e of i)if(e<t)return e;return Number[e(667)]}[rt(432)](t,e){const i=rt,s=Array[i(405)](e[i(554)])[i(544)]((([e,s])=>[e,this[i(694)](s,t)]));t[i(554)]=new Map(s)}[rt(647)](t){const e=rt;for(const i of this[e(435)][e(705)]()){const s=i[e(532)](t),n=H.Range[e(460)](s);i[e(609)]=n[e(609)],i[e(489)]=n[e(489)]}}[rt(499)](t,e){const i=rt;if(i(693)!=t[i(402)]&&i(559)!=t[i(402)]){if(i(408)==t[i(402)]){const s=t[i(396)][i(423)][i(478)];this[i(704)][i(474)](s)||(this[i(704)][i(542)](s,lt(s,!0)),this[i(653)][i(542)](s,{}),e&&this[i(508)][i(542)](s,lt(s,!0)))}else{if(i(651)==t[i(402)]||i(447)==t[i(402)]||i(574)==t[i(402)])return void this[i(404)](t);i(524)==t[i(402)]&&this[i(650)](t)}if(i(524)!==t[i(402)]){const e=this[i(669)](t,this[i(704)]);e[i(627)](),this[i(647)](e)}if(e)switch(t[i(402)]){case i(408):this[i(495)](t);break;case i(710):case i(688):case i(551):this[i(699)](t);break;case i(594):this[i(689)](t);break;case i(481):this[i(425)](t)}}else this[i(491)](t,e)}[rt(669)](t,e){const i=rt,s=t[i(681)]();return s[i(456)]=t[i(456)],this[i(677)](s,e),s}[rt(684)](t){const e=rt;return t[e(544)]((t=>{const i=e,s=this[i(497)](t);return Number(t[i(473)][i(690)](s))}))}[rt(469)](t,e){const i=rt;if(t.is(i(626),i(590)))e[i(510)]({item:t,type:i(433)});else{t.is(i(626))&&e[i(510)]({item:t,type:i(535)});for(const s of t[i(655)]())this[i(469)](s,e);t.is(i(626))&&e[i(510)]({item:t,type:i(708)})}return e}[rt(534)](){const t=rt,e=new Map(this[t(512)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(401)][t(621)](),...this[t(704)][t(621)]()]);a[t(580)](t(573));for(const e of a){const i=this[t(704)][t(468)](e)||lt(e,!1),s=this[t(401)][t(468)](e)||lt(e,!1);i[t(436)]()||s[t(436)]()?(n[t(537)][e]=ut(i),n[t(520)][e]=ut(s),this[t(432)](n[t(520)][e],s),this[t(432)](n[t(537)][e],i),r[t(537)][e]=this[t(469)](this[t(508)][t(468)](e),[]),r[t(520)][e]=this[t(469)](this[t(714)][t(468)](e)||lt(e,!1),[])):a[t(580)](e)}for(const n of a){const o=r[t(537)][n];for(const n of o){const r=this[t(497)](n),o=n[t(473)][t(690)](r);i[t(580)](o),o>=this[t(662)]&&s[t(542)](o,e[t(468)](o))}}for(const n of a){const a=r[t(537)][n],c=this[t(684)](r[t(520)][n]);let u=0;for(const n of a){const r=this[t(497)](n),a=n[t(473)][t(690)](r);if(!s[t(474)](a)&&!o[t(474)](a))if(i[t(474)](a))u++;else{if(a!=c[u]){const s=e[t(468)](a)||e[t(468)](c[u]);for(;a!=c[u];)i[t(474)](c[u])||(o[t(542)](c[u],s),e[t(542)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(537)][e];for(const e of n){const n=this[t(497)](e),r=e[t(473)][t(690)](n);if(o[t(474)](r)){const e=o[t(468)](r);i[t(474)](r)||i[t(542)](r,{...e}),s[t(542)](r,{...e})}}}for(const e of i[t(621)]())e>=this[t(662)]&&i[t(580)](e);const c=new Map;for(const e of a){let n=r[t(537)][e];for(const e of n)if(e[t(473)].is(t(626),t(428))){const i=this[t(497)](e),n=e[t(473)][t(690)](i);if(s[t(474)](n)){const i=e[t(473)][t(448)][t(448)][t(690)](t(639)),r=c[t(468)](i)||new Set;r[t(546)](s[t(468)](n)[t(557)]),c[t(542)](i,r)}}n=r[t(520)][e];for(const e of n)if(e[t(473)].is(t(626),t(428))){const s=this[t(497)](e),n=e[t(473)][t(690)](s);if(i[t(474)](n)){const s=e[t(473)][t(448)][t(448)][t(690)](t(639)),r=c[t(468)](s)||new Set;r[t(546)](i[t(468)](n)[t(557)]),c[t(542)](s,r)}}for(const e of c[t(621)]())(s[t(474)](e)||i[t(474)](e))&&c[t(580)](e)}for(const e of a){const n=r[t(537)][e];let o=null,a=null;for(const e of n){const n=this[t(497)](e),r=e[t(473)][t(690)](n),u=c[t(468)](r);u&&t(535)==e[t(402)]&&(o=Array[t(405)](u)[0],a=e[t(473)][t(690)](t(606))),o&&(i[t(542)](r,{userId:o}),s[t(542)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(520)][e],a=n[t(537)][e];for(const{userId:e}of this[t(516)][t(705)]())null!==e&&l[t(546)](e);for(const{userId:e}of this[t(418)][t(705)]())null!==e&&l[t(546)](e);this[t(718)](a,r[t(537)][e],s,t(431),l),this[t(718)](o,r[t(520)][e],i,t(430),l),u[e]={insertions:this[t(480)](a),deletions:this[t(480)](o),attachChange:this[t(418)][t(468)](e)||null,attributesBefore:A(this[t(465)][t(468)](e))||{},attributesAfter:A(this[t(653)][t(468)](e))}}return{diffData:u,authorsIds:Array[t(405)](l)}}[rt(709)](t){const e=rt;for(const[,i]of t[e(554)]){const t=i[e(609)][e(683)]()[e(652)]((t=>e(428)==t[e(586)]));for(const i of t)1==i[e(441)]&&i[e(457)](0).is(e(626),e(515))&&i[e(457)](0)[e(643)](e(427),!0)}}[rt(480)](t){const e=rt;this[e(709)](t);const i=this[e(501)][e(585)][e(660)](t,{}),s=Array[e(405)](i[e(655)]())[e(544)]((t=>this[e(644)](t)));return JSON[e(461)](s)}[rt(644)](t){const e=rt;if(t.is(e(590)))return t[e(585)];{const i=this[e(501)][e(493)][e(468)](e(416)),s=t,n=this[e(501)][e(585)][e(561)][e(616)],r={type:i[e(414)](s),name:s[e(586)],attributes:Array[e(405)](s[e(571)]()),children:Array[e(405)](s[e(655)]())[e(544)]((t=>this[e(644)](t)))};if(t.is(e(543))&&e(507)!=t[e(586)]){const i=t[e(673)](n[e(415)],n);r[e(618)][e(510)](i[e(572)])}else if(t.is(e(646))){const i=n[e(415)][e(558)](s[e(586)]);t[e(673)](i,n),r[e(618)][e(510)](i[e(483)])}const o=Array[e(405)](s[e(548)]());o[e(613)]>0&&(r[e(547)]=o);const a=s[e(568)]();return null!==a&&(r[e(479)]=a),r}}[rt(718)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(501)][r(608)];for(let s=0;s<e[r(613)];s++){const n=this[r(497)](e[s]),c=e[s][r(473)][r(690)](n),h=i[r(468)](c),d=s==e[r(613)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(557)]!=o[r(557)])&&(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(557)],d=l(563)+s+":"+h+":"+c++,f=u[l(599)](i,a);t[l(554)][l(542)](d,f),null!==h&&n[l(546)](h)}}[rt(497)](t){const e=rt;switch(t[e(402)]){case e(535):return e(639);case e(708):return e(606);default:return e(545)}}[rt(677)](t,e){const i=rt;t[i(706)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(468)](n[i(423)][i(478)]);t[s]=this[i(533)](n,r)}if(n instanceof H.Range){const r=e[i(468)](n[i(423)][i(478)]);t[s]=this[i(694)](n,r)}i(423)===s&&(t[i(423)]=e[i(468)](t[i(423)][i(478)]))}}[rt(694)](t,e){const i=rt;return this[i(501)][i(608)][i(599)](this[i(533)](t[i(609)],e),this[i(533)](t[i(489)],e))}[rt(533)](t,e){const i=rt;return this[i(501)][i(608)][i(410)](e,t[i(570)],t[i(665)])}[rt(495)](t){const e=rt,i=this[e(508)][e(468)](t[e(396)][e(423)][e(478)]),s=this[e(533)](t[e(396)],i),n=null===t[e(456)]?null:t[e(456)]||this[e(501)][e(493)][e(468)](e(429)).me.id,r=s[e(448)],o=this[e(696)],a=[];for(const i of t[e(630)])if(i.is(e(626)))a[e(510)](this[e(713)](i));else for(let t=0;t<i[e(471)];t++)a[e(510)](new H.Element(e(590),{vid:this[e(696)]++}));const c=this[e(696)];for(let t=o;t<c;t++)this[e(512)][e(542)](t,{userId:n});r[e(409)](s[e(521)],a)}[rt(699)](t){const e=rt;(t=this[e(669)](t,this[e(508)]))[e(627)]();const i=null===t[e(456)]?null:t[e(456)]||this[e(501)][e(493)][e(468)](e(429)).me.id,s=t[e(449)](),n=s[e(448)],r=s[e(521)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(457)](e);r.is(a(626),a(590))?s[a(542)](r[a(690)](a(545)),{userId:i}):(s[a(542)](r[a(690)](a(639)),{userId:i}),t(s,r,0,r[a(441)]),s[a(542)](r[a(690)](a(606)),{userId:i}))}}(this[e(512)],n,r,r+t[e(527)])}[rt(689)](t){const e=rt,i=null===(t=this[e(669)](t,this[e(508)]))[e(456)]?null:t[e(456)]||this[e(501)][e(493)][e(468)](e(429)).me.id,s=t[e(482)][e(448)],n=t[e(522)][e(448)],r=s[e(690)](e(606)),o=n[e(690)](e(639));s[e(643)](e(606),n[e(690)](e(606))),n[e(643)](e(606),r),this[e(512)][e(542)](o,{userId:i}),this[e(512)][e(542)](r,{userId:i}),t[e(627)]()}[rt(425)](t){const e=rt,i=null===(t=this[e(669)](t,this[e(508)]))[e(456)]?null:t[e(456)]||this[e(501)][e(493)][e(468)](e(429)).me.id,s=t[e(506)],n=t[e(687)][e(448)];t[e(627)]();const r=n[e(690)](e(606)),o=t[e(603)][e(397)];if(s){const t=o[e(690)](e(606)),s=n[e(690)](e(606));n[e(643)](e(606),t),o[e(643)](e(606),s),this[e(512)][e(542)](n[e(690)](e(606)),{userId:i}),this[e(512)][e(542)](o[e(690)](e(639)),{userId:i})}else{const t=this[e(696)]++,s=this[e(696)]++;n[e(643)](e(606),t),o[e(643)](e(639),s),o[e(643)](e(606),r),this[e(512)][e(542)](t,{userId:i}),this[e(512)][e(542)](s,{userId:i})}}[rt(650)](t){const e=rt;if(!t[e(541)])return;const i=(t=this[e(669)](t,this[e(704)]))[e(661)]?t[e(661)][e(423)]:null,s=t[e(492)]?t[e(492)][e(423)]:null;i&&this[e(435)][e(580)](t[e(586)]),s&&this[e(435)][e(542)](t[e(586)],t[e(492)][e(681)]());const n=null===t[e(456)]?null:t[e(456)]||this[e(501)][e(493)][e(468)](e(429)).me.id,r=t[e(586)];if(!this[e(516)][e(474)](r))return void this[e(516)][e(542)](r,{range:t[e(661)],userId:n});const o=this[e(516)][e(468)](r),a=o[e(477)],c=t[e(492)];null==a&&null==c||a&&c&&a[e(496)](c)?this[e(516)][e(580)](t[e(586)]):o[e(557)]=n}[rt(491)](t,e){const i=rt;this[i(704)][i(474)](t[i(478)])?this[i(704)][i(468)](t[i(478)])[i(579)]=t[i(426)]:(this[i(704)][i(542)](t[i(478)],lt(t[i(478)],!0)),this[i(653)][i(542)](t[i(478)],{}),e&&this[i(508)][i(542)](t[i(478)],lt(t[i(478)],!0)));const s=null===t[i(456)]?null:t[i(456)]||this[i(501)][i(493)][i(468)](i(429)).me.id,n=this[i(418)][i(468)](t[i(478)]);n&&n[i(557)]===s?this[i(418)][i(580)](t[i(478)]):this[i(418)][i(542)](t[i(478)],{userId:s,isAttached:t[i(426)]})}[rt(404)](t){const e=rt,i=this[e(653)][e(468)](t[e(423)][e(478)]);null===t[e(446)]?delete i[t[e(562)]]:i[t[e(562)]]=t[e(446)]}}function ut(t){const e=rt,i=lt(t[e(478)],t[e(436)]());for(const s of t[e(655)]()){const t=s[e(560)](!0);i[e(622)](t)}return i}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(478)]=t,s[i(579)]=e,s[i(436)]=()=>s[i(579)],s}function ht(){const t=["vid","add","customProperties","getCustomProperties","_bufferUpdate","revisionHistoryLicenseKeyExpired","reinsert","revisionHistoryLicenseKeyDomainLimit","featureNotAllowed","markers","_replaceEditorDataWithRevisionData","sort","userId","createElement","detachRoot","_clone","htmlProcessor","key","revision:","editor-initial-data-replaced-with-revision-data","reInit","initialData","_makeRevision","getFillerOffset","isOfficialPlugin","path","getAttributes","outerHTML","$graveyard","changeRootAttribute","getRange","_initialRevisionId","fromEntries","_makeModelFromViewString","_isAttached","delete","bind","_lastTo","6655363JaiTKf","authors","data","name","getOperations","rootsAttributes","getCurrentRevisionId","$text","getRevision","_getPreviousFrom","_findInsertionIndex","merge","isPremiumPlugin","creator","includes","Initial revision","createRange","_addPendingAction","revisionHistory.resumeUnsavedRevision","previousPosition","insertionPosition","getLatestVersion","creatorId","vid_end","_setConversion","model","start","updateRevisions","_source","fromVersion","length","revisionHistoryLicenseKeyValid","_continueCurrentRevision","domConverter","getData","children","createRangeIn","expired","keys","_appendChild","_showLicenseError","domainLimit","invalid","element","_execute","then","update","nodes","createdAt","attributesAfter","_pendingAction","history","documentFragment","30LCxdfU","_reset","define","vid_start","_operations","startsWith","RealTimeCollaborationClient","_setAttribute","_getViewJson","collaboration.channelId","rawElement","_transformMarkers","400015jEwqYU","buildRevisionData","_handleMarkerOperation","addRootAttribute","filter","_diffRootsAttributes","1727120QPEZxb","getChildren","attributesBefore","config","isEnabled","ready","toView","oldRange","_startingRevisionId","createPositionAt","getRevisionDocumentData","stickiness","dataToMarker","NEGATIVE_INFINITY","_getFromVersion","_cloneOperation","find","loadState","document","render","requires","getOperation","_revisionDataBuilder","_fixOperation","revisionHistoryLicenseKeyUsageLimit","source","_isPendingUpdate","clone","10110HNHIuB","getAncestors","_getBaseVids","dataDowncast","evaluationLimit","splitPosition","remove","_handleMergeOperation","getAttribute","_lastFrom","pluginName","addRoot","_fixRange","setSource","_revisionId","getWalker","6DGtSXO","_handleMoveOperation","_calculateMetaData","repository","getRoot","_savedMetaData","_diffRoots","values","baseVersion","revision","elementEnd","_processRootBeforeSave","move","diffData","_update","_makeIdsRoot","_baseIdsRoots","roots","initial","_loadedStateData","_markChanges","2208xwdFFi","position","nodeAfter","_createInitialRevision","createPositionAfter","saveRevision","_baseRoots","type","usageLimit","_handleRootAttributeOperation","from","RevisionHistory","currentRevision","insert","_insertChild","createPositionFromPath","trim","getRevisions","PENDING_ACTION_REVISION_HISTORY","_getTypeCharForViewElement","domDocument","RevisionHistoryUtils","RevisionsRepository","_touchedRoots","revisionHistoryLicenseKeyTrialLimit","PendingActions","shift","setRevisionData","root","674378aoenIy","_handleSplitOperation","isAdd","keepParagraph","tableCell","Users","deletion","insertion","_copyMarkers","text","_createCurrentRevision","_markers","isAttached","getIndex","for","revisionHistoryLicenseKeyInvalid","clear","childCount","size","revisionHistoryLicenseKeyNotAllowed","createPositionBefore","getTime","newValue","removeRootAttribute","parent","getMovedRangeStart","_utils","trialLimit","reverse","getNodeByPath","hasContent","_removePendingAction","_authorId","getChild","getUser","_bufferedUpdates","_createFromRanges","stringify","getRevisionRootsAttributes","attachChange","addRevision","_baseRootsAttributes","RevisionTracker","sendBufferedUpdates","get","_generateTape","toVersion","offsetSize","372670pbhnXT","item","has","locale","authorsIds","range","rootName","fillerOffset","_prepareViewToSave","split","targetPosition","innerHTML","afterInit","isReady","markerToData","string","56TGzXdO","end","resolve","_handleRootOperation","newRange","plugins","_saveMetaData","_handleInsertOperation","isEqual","_getVidAttributeName","adapter","_handleOperation","_applyOperations","editor","_licenseKeyCheckInterval","Empty document","_loadState","_removeMetaData","graveyardPosition","$comment","_idsRoots","857457iGPGNJ","push","addRevisionData","_touched","max","_isInit","paragraph","_touchedMarkers","some","version","init","deletions","offset","sourcePosition","getRootNames","marker","_startingVersion","finally","howMany","licenseKey","loadRevisionData","conversion","revisionHistoryLicenseKeyEvaluationLimit","getTransformedByOperation","_fixPosition","_getState","elementStart","upcast","insertions","destroy","slice","createRevision","affectsData","set","uiElement","map"];return(ht=function(){return t})()}function dt(t,e,i){const s=rt,n=s(708)==t[s(402)]?i[s(663)](t[s(473)],s(489)):i[s(444)](t[s(473)]);return i[s(410)](e,n[s(570)],n[s(665)])}function ft(t,e,i){const s=rt,n=s(535)==t[s(402)]?i[s(663)](t[s(473)],0):i[s(399)](t[s(473)]);return i[s(410)](e,n[s(570)],n[s(665)])}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=Dt;function Vt(){const t=["stopPropagation","optional","trim","ck-revision-history-save-revision-form","ck-responsive-form","arrowup","4167800jBYnSe","162RRmwDa","label","keystrokes","revisionNameInputView","1833DNyqTO","render","41433WrnIIp","220","extendTemplate","Name of the revision","arrowleft","arrowright","value","revisionName","setTemplate","focusTracker","_createRevisionNameInput","add","locale","listenTo","form","fieldView","input","372egGamD","533912nHRVbx","errorText","27068190uymqnP","1145930ydaUIv","set","arrowdown","2932MdVzxD","revisionNameInputValue","4180905HaODeh","focus","reset","element"];return(Vt=function(){return t})()}function Dt(t,e){const i=Vt();return(Dt=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(682566===-parseInt(e(349))/1+parseInt(e(309))/2*(parseInt(e(326))/3)+-parseInt(e(321))/4+parseInt(e(311))/5+-parseInt(e(345))/6*(parseInt(e(328))/7)+-parseInt(e(346))/8*(parseInt(e(322))/9)+parseInt(e(348))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(337)];[At(324)];[At(325)];constructor(e,i){const s=At;super(e),this[s(337)]=new t.FocusTracker,this[s(324)]=new t.KeystrokeHandler,this[s(307)](s(310),""),this[s(325)]=this[s(338)](i),this[s(336)]({tag:s(342),attributes:{class:["ck",s(318),s(319)],tabindex:"-1"},children:[this[s(325)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(327)](){const t=At;super[t(327)](),(0,pt.submitHandler)({view:this}),this[t(337)][t(339)](this[t(325)][t(314)]),this[t(324)][t(341)](this[t(314)]);const e=e=>e[t(315)]();this[t(324)][t(307)](t(333),e),this[t(324)][t(307)](t(332),e),this[t(324)][t(307)](t(320),e),this[t(324)][t(307)](t(308),e)}[At(312)](){const t=At;this[t(325)][t(312)]()}get[At(335)](){const t=At;return this[t(325)][t(343)][t(314)][t(334)][t(317)]()}set[At(335)](t){const e=At;this[e(325)][e(343)][e(314)][e(334)]=t[e(317)]()}[At(313)](){const t=At;this[t(325)][t(343)][t(314)][t(334)]="",this[t(325)][t(347)]=null}[At(338)](t){const e=At,i=new pt.LabeledFieldView(this[e(340)],pt.createLabeledInputText),s=i[e(343)];s[e(330)]({attributes:{maxlength:e(329)}});let n=X(this[e(340)],e(331));return!t&&(n+=" ("+X(this[e(340)],e(316))+")"),i[e(323)]=n,s.on(e(344),(()=>{const t=e;this[t(310)]=s[t(314)][t(334)][t(317)]()})),i}}const Mt=Ft;function Ct(){const t=["role","Open revision history","Revision history","revisionHistory.requireRevisionName","232sQkHmR","requires","submit","_createSaveRevisionFormView","reset","isPremiumPlugin","editing","errorText","locale","isEnabled","revisionSave","isOpen","execute","editor","addMany","55VpRoeX","Cancel","454642ofZcIq","showRevisionViewerCallback","saveRevision","RevisionHistoryUI","The revision name cannot be empty.","buttonView","panelView","delegate","show","componentFactory","976347ojYkTJ","render","pluginName","revisionName","items","add","Dialog","view","108342coGZjH","revisionHistory","children","4280dTfdNY","_saveRevisionFormView","focus","16411680BpomnQ","config","1092066NtReCw","menuitem","_showDialog","plugins","hide","7GWXBli","Accept","isReadOnly","isOfficialPlugin","_registerMenuComponent","revisionNameInputView","bind","isReady","menu","init","RevisionTracker","menuBar:revisionHistory","get","1983774eUmhIq","ck-button-action","set","Save current revision"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=214]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(274441===-parseInt(e(244))/1+-parseInt(e(270))/2+parseInt(e(254))/3+parseInt(e(265))/4*(-parseInt(e(242))/5)+parseInt(e(219))/6*(-parseInt(e(275))/7)+parseInt(e(227))/8*(-parseInt(e(262))/9)+parseInt(e(268))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends U.Plugin{static get[Mt(256)](){return Mt(247)}static get[Mt(278)](){return!0}static get[Mt(232)](){return!0}static get[Mt(228)](){return[at]}[Mt(266)];[Mt(215)](){const t=Mt,e=this[t(240)],i=e[t(273)][t(218)](t(216));e.ui[t(253)][t(259)](t(263),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(250)][n(264)],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(281)](n(236)).to(i,n(282),i,n(236),e,n(277),((t,e,i)=>t&&e&&!i)),r[n(249)][n(221)]({icon:mt.IconHistory,label:X(s,n(225)),tooltip:!0}),u[n(221)]({label:X(s,n(222)),withText:!0,role:n(271)}),u[n(281)](n(236)).to(i,n(282),i,n(236),e,n(277),((t,e,i)=>t&&e&&!i)),u.on(n(239),(()=>this[n(272)]())),h[n(221)]({label:X(s,n(224)),withText:!0,role:n(271)}),h[n(281)](n(236)).to(i,n(282),e,n(277),((t,e)=>t&&!e)),h.on(n(239),(()=>{const t=n;e[t(269)][t(218)](t(263))[t(245)](),r[t(238)]=!1,e[t(233)][t(261)][t(267)]()})),c[n(264)][n(259)](u),l[n(264)][n(259)](h),a[n(223)]=n(214),a[n(258)][n(241)]([c,l]),o[n(259)](a),r})),e.ui[t(253)][t(259)](t(217),(()=>this[t(279)]()))}[Mt(279)](){const t=Mt,e=this[t(240)],i=e[t(235)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(249)][t(221)]({icon:mt.IconHistory,label:X(i,t(225))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(221)]({label:X(i,t(222))}),o[t(251)](t(239)).to(s),o.on(t(239),(()=>{this[t(272)]()})),r[t(264)][t(259)](o),n[t(258)][t(259)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(221)]({label:X(i,t(224))}),c[t(251)](t(239)).to(s),c.on(t(239),(()=>{const i=t;e[i(269)][i(218)](i(263))[i(245)]()})),a[t(264)][t(259)](c),n[t(258)][t(259)](a),s[t(250)][t(264)][t(259)](n),s}[Mt(272)](){const t=Mt,e=this[t(240)],i=e[t(235)],s=e[t(273)][t(218)](t(260)),n=e[t(273)][t(218)](t(216));function r(n){const r=t;e[r(269)][r(218)](r(226))&&""===n[r(257)]?n[r(280)][r(234)]=X(i,r(248)):(e[r(273)][r(218)](at)[r(246)]({name:n[r(257)]}),s[r(274)]())}this[t(266)]||(this[t(230)](),this[t(266)].on(t(229),(()=>r(this[t(266)])))),this[t(266)][t(231)](),s[t(252)]({id:t(237),title:X(i,t(222)),isModal:!0,content:this[t(266)],actionButtons:[{label:X(e[t(235)],t(243)),withText:!0,onExecute:()=>s[t(274)]()},{label:X(e[t(235)],t(276)),class:t(220),withText:!0,onCreate(i){const s=t;i[s(281)](s(236)).to(n,s(282),n,s(236),e,s(277),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(266)])}]})}[Mt(230)](){const t=Mt,e=this[t(240)],i=e[t(235)];this[t(266)]=new Et(i,e[t(269)][t(218)](t(226))),this[t(266)][t(255)]()}}function Lt(){const t=["56hJhDkP","794811OkkSmJ","type","element","focus","1659830QpzyWN","10EKGdFc","2155XKXyYf","799648JSAhcl","author","768834mGvqFJ","1zfZEfC","2822677YWfjpu","_model","set","ck-revision-change__label","ck-revision-change__","add","span","div","data","changeId","Removed by","4772IyhHBN","name","ck-revision-change","4001424GhDHyN","Suggested by","setTemplate","ck-annotation","bindTemplate","Added by","isSuggestion"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(714702===parseInt(e(319))/1*(-parseInt(e(313))/2)+-parseInt(e(309))/3+parseInt(e(331))/4*(parseInt(e(315))/5)+parseInt(e(334))/6+-parseInt(e(308))/7*(-parseInt(e(316))/8)+parseInt(e(318))/9+parseInt(e(314))/10*(-parseInt(e(320))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(329)];[Pt(321)];constructor(t,e){const i=Pt;super(t),this[i(321)]=e,this[i(329)]=e.id;const s=this[i(338)],n=X(t,e[i(328)][i(340)]?i(335):i(325)==e[i(310)]?i(339):i(330));this[i(322)](i(310),e[i(310)]),this[i(336)]({tag:i(327),attributes:{class:[i(337),i(333),s.to(i(310),(t=>i(324)+t))],tabindex:-1},children:[{tag:i(326),children:[{tag:i(326),attributes:{class:[i(323)]},children:[{text:n}]},{text:" "+e[i(317)][i(332)]}]}]})}[Pt(312)](){const t=Pt;this[t(311)][t(312)]()}}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=489]})(t,e)}var Zt=Ut;function Ht(){var t=["1187370INNksU","645820Efosdv","161600aKUWbi","rootName","toJSON","54IDkkms","25640FeeNhO","set","type","createdAt","data","369LYsnZS","214725pTAVhB","506946dGEUDd","8cZjVld","author","155982rCOUpi"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(188062===parseInt(e(504))/1+parseInt(e(489))/2+-parseInt(e(501))/3*(-parseInt(e(502))/4)+-parseInt(e(505))/5+-parseInt(e(493))/6*(parseInt(e(500))/7)+parseInt(e(494))/8*(-parseInt(e(499))/9)+parseInt(e(490))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(503)];[Zt(496)];[Zt(498)];[Zt(491)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(503)]=e[i(503)],this[i(496)]=e[i(496)],this[i(498)]=e[i(498)]||{},this[i(491)]=e[i(491)],this[i(495)](i(497),e[i(497)])}[Zt(492)](){var t=Zt;return{id:this.id,authorId:this[t(503)].id,type:this[t(496)],data:this[t(498)],createdAt:this[t(497)]}}}const $t=Bt;function Bt(t,e){const i=Gt();return(Bt=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(407162===-parseInt(e(477))/1*(-parseInt(e(475))/2)+-parseInt(e(480))/3+-parseInt(e(489))/4*(parseInt(e(476))/5)+-parseInt(e(490))/6*(-parseInt(e(488))/7)+parseInt(e(486))/8+-parseInt(e(482))/9*(-parseInt(e(478))/10)+-parseInt(e(485))/11*(parseInt(e(483))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Yt{[$t(487)];[$t(484)];[$t(481)];constructor(e,i){const s=$t;this[s(487)]=e,this[s(484)]=i,this[s(481)]=new t.Collection}[$t(479)](t){const e=$t;for(const i of t)this[e(481)][e(474)](i)}}function Gt(){const t=["7wZrMea","700aWCfLU","947724bHOChU","add","4ZnKErW","21940tTdPbZ","364165hQQmQv","615980siwRsR","_setChanges","2186448gwrQlJ","changes","99LMnGnt","1652544TpgEKX","oldRevisionId","33xosRFk","6025216GBHIQF","newRevisionId"];return(Gt=function(){return t})()}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=te;function Xt(){const t=["stop","revisionHistoryLabel","8087500FIBfzv","markersEnd","_markSuggestions","add","editing","_setChanges","createRangeIn","includes","showStack","dataDowncast","mouseover","addRevision","_update","addRevisionData","isIncorrect","commands","isNavigationMode","detachRoot","_makeModelFromTape","attributes","view","restoreRevisionCallback","6398wIkKIe","createAttributeElement","change","addHighlight","domEvent","_findChangeIdFromDomTarget","clear","numberOfChanges","isBefore","schema","addClass","3443736BlkBIC","createUIElement","model","toViewPosition","wrap","elementEnd","_appendChild","toViewElement","mapViewToDom","getCustomProperty","authors","getRootNames","removeMarker:revision-suggestion","userId","nextPosition","done","_cleanMarkers","execute","deletion","pairId","isCollapsed","isOnRoot","_processTape","changeId","isRemoveSuggestion","then","isBlock","forEach","enqueueChange","27HqUhVO","isOfficialPlugin","writer","values","ck-revision-history-root-","mapper","revision-comment:","attribute:vid","maxOffset","suggestion","change:numberOfChanges","addMarker:revision","merge","abs","getLaterVisibleRevision","nodeAfter","revision-suggestion:","element:pre","5636220hCQBij","_joinTapes","domConverter","4537570GZsFzJ","vid_start","markerToHighlight","object","_getDiff","previousPosition","revision-suggestion","type","loadRevisionData","init","3GSLTEi","catch","_markMarkers","high","isInline","_utils","_threeWayMerge","getDomRoot","level","showNextChange","removeMarker:revision","addMarker:revision-suggestion:deletion","_setDistance","removeMarker","ck-suggestion-preview-marker-","change:isEnabled","endIndex","revisionHistoryAttachChange","left","consumable","getRevisionRootsAttributes","uiElement","RevisionHistoryUtils","attributesAfter","activeChange","adapter","insert","ck-suggestion-preview-marker","first","_initInteractions","startsWith","config","comment","keys","start","addMarker:revision-suggestion:insertion","_getChangeFromId","isContent","enableReadOnlyMode","_revisions","repository","ck-revision-history-root--active","getAttribute","isAtEnd","slice","isObject","isAfter","_removeMissingPairs","_removeUnsupportedChanges","index","right","checkAttribute","listenTo","_cleanUp","revision-viewer","change:activeView","span","text","attachChange","reconvertMarker","removeAttribute","vid","1603810DvWnEs","isLimit","createRange","248001QlGaRf","rootName","string","WidgetToolbarRepository","_fixObsoleteTags","createPositionBefore","oldRevisionId","isSuggestion","-new","find","_markMismatchedRemovedTags","markersStart","markerRange","indexOf","setAttribute","_markInsertions","revision:","createPositionFromPath","hasClass","element","roots","shift","getChild","_changeIdToChange","attributesBefore","code","observeMarkers","modelRange","ck-suggestion-marker","backward","resolve","addRoot","dataToMarker","unbindElementFromMarkerName","restoreRevision","has","updatePosition","selection","activeView","isEqual","bindElementToMarker","affectsData","concat","isAtStart","getItems","getIndex","getRevisionDocumentData","document","_makeTape","bind","getRevision","splice","markers","error","currentChangeNumber","toViewRange","locale","getWalker","forceDisabled","set","target","ck-suggestion-marker-merge","pluginName","range","parent","map","revision","_refreshStartEndIndex","_data","markerName","data-change-id","createRevision","unshift","insertions","distance","bottom","_balloon","plugins","showPreviousChange","mousedown","_step","suggestion:","POSITIVE_INFINITY","delete","pop","insertion","offsetSize","isAdded","markerNameToElements","end","findIndex","isEnabled","_getRevisionsRange","top","isPremiumPlugin","ck-revision-history-root-remove","_changeView","_sortAndFilterDiffChanges","next","vid_end","revisionHistory","RevisionsRepository","11632RUBBNA","side","for","remove","flat","elementStart","editingDowncast","isReady","change:isReady","requires","sort","hasAttribute","_setConversion","getAttributes","deletions","data","newRevisionId","refresh","low","item","split","push","isRemoved","editor","get","removeClass","ck-editor__editable__overlay","name","_makeModelFromViewString","getRoot","markerToData","compare","viewItem","highest","diff","softBreak","all","isAddSuggestion","RevisionViewer","from","ck-suggestion-marker-split","downcastDispatcher","_activeViewTarget","diffData","length","getClientRects","isAttached","ck-suggestion-marker-","change:activeChange","conversion","ck-revision-history-root-add","upcast","forward","return","destroy","filter","_getViewForChange","elementToAttribute","ck-suggestion-marker--active","test","nextSibling","changes","startIndex","consume"];return(Xt=function(){return t})()}function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(822120===-parseInt(e(618))/1+parseInt(e(615))/2+-parseInt(e(553))/3*(parseInt(e(493))/4)+-parseInt(e(543))/5+parseInt(e(540))/6+parseInt(e(482))/7*(-parseInt(e(394))/8)+parseInt(e(522))/9*(parseInt(e(460))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends U.Plugin{[Qt(593)];[Qt(578)]=null;[Qt(558)];[Qt(436)];[Qt(388)];[Qt(641)];[Qt(694)];static get[Qt(680)](){return Qt(432)}static get[Qt(523)](){return!0}static get[Qt(386)](){return!0}static get[Qt(403)](){return[Z.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(593)]=this[e(417)][e(695)][e(418)](e(393)),this[e(558)]=this[e(417)][e(695)][e(418)](e(575)),this[e(677)](e(577),null),this[e(677)](e(656),null),this[e(436)]=null,this[e(677)](e(428),null),this[e(677)](e(401),!1),this[e(677)](e(383),!0),this.on(e(568),((t,i,s)=>{const n=e;this[n(577)]=null,this[n(656)]=null,this[n(417)][n(464)][n(480)][n(484)]((t=>{const e=n;for(const i of this[e(417)][e(464)][e(480)][e(665)][e(638)])s?t[e(419)](e(420),i):t[e(492)](e(420),i)}))})),this[e(667)](e(476)).to(this,e(577),(t=>null!==t)),this[e(667)](e(672)).to(this,e(401),this,e(428),this,e(577),((t,i,s)=>t&&s?i[e(455)][e(663)](s):0)),this[e(667)](e(489)).to(this,e(401),this,e(428),((t,i)=>t?i[e(455)][e(438)]:0)),this[e(388)]=null,this[e(641)]=new Map,this[e(694)]=this[e(417)][e(695)][e(418)](pt.ContextualBalloon)}[Qt(552)](){const t=Qt,e=this[t(417)],i=new ne(e,{direction:t(647)}),s=new ne(e,{direction:t(446)});e[t(475)][t(463)](t(696),i),e[t(475)][t(463)](t(562),s),e[t(475)][t(463)](t(652),new se(e)),this.on(t(532),(()=>{const e=t;i[e(411)](),s[e(411)]()})),this[t(406)](),this[t(582)](),e[t(591)](t(607)),e[t(695)][t(653)](t(621))&&e[t(695)][t(418)](t(621))[t(676)](t(607))}async[Qt(664)](t){const e=Qt;return await this[e(558)][e(551)](t,this[e(578)]),this[e(558)][e(664)](t)}async[Qt(573)](t){const e=Qt;return await this[e(558)][e(551)](t,this[e(578)]),this[e(558)][e(573)](t)}async[Qt(425)](t,e,i=!1){const s=Qt;if(!this[s(383)])return;const n=this[s(428)],r=this[s(593)],o=s(620)==typeof t?r[s(668)](t):t,a=s(620)==typeof e?r[s(668)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(428)]&&this[s(428)][s(410)]===c&&this[s(428)][s(624)]===u)return Promise[s(648)]();this[s(401)]=!1,this[s(656)]=null,this[s(577)]=null,this[s(428)]=new Yt(c,u);const l=this[s(384)](o,a,!0)[s(683)]((t=>this[s(558)][s(551)](t,this[s(578)])));return l[s(415)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(430)](l)[s(518)]((()=>{const t=s;if(!this[t(383)])return;this[t(606)]();const e=this[t(547)](c,u);for(const i of e[t(455)])this[t(641)][t(677)](i.id,i);this[t(417)][t(495)][t(521)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(417)][s(495)][s(665)][s(504)]())i[s(477)](t);for(const t of Object[s(586)](e[s(495)])){const n=i[s(649)](t);for(const r of Object[s(586)](e[s(479)][t]))i[s(632)](r,e[s(479)][t][r],n);i[s(579)](e[s(495)][t],n,0)}})),this[t(428)][t(465)](this[t(389)](e[t(455)])),this[t(401)]=!0}))[s(554)]((t=>{const e=s;console[e(671)](t),this[e(606)](),n&&(this[e(428)]=n),this[e(401)]=!0}))}[Qt(473)](t,e){const i=Qt,s=this[i(593)][i(689)](t);return s.on(i(472),((t,i,n)=>e(i,n,s))),this[i(593)][i(471)](s),s}[Qt(606)](){const t=Qt;this[t(577)]=null,this[t(509)](),this[t(388)]&&this[t(388)][t(448)](),this[t(388)]=null,this[t(641)][t(488)](),this[t(417)][t(495)][t(521)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(417)][i(495)][i(665)][i(504)]())e[i(477)](t)}))}[Qt(389)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(417)][e(495)][e(665)][e(504)]()){const n=this[e(417)][e(464)][e(480)][e(560)](t);if(!n)continue;const r=n[e(439)]()[e(413)](0);r&&(i[e(415)](t),s[e(677)](t,r))}return i[e(404)](((t,i)=>{const n=e,r=s[n(418)](t),o=s[n(418)](i);return r.y-o.y||r.x-o.x})),(t=t[e(449)]((t=>i[e(467)](t[e(619)]))))[e(404)](((t,s)=>i[e(631)](t[e(619)])-i[e(631)](s[e(619)]))),t}[Qt(666)](t){const e=Qt,i=Array[e(433)](t[e(670)])[e(449)]((([t,i])=>t[e(583)](e(634))&&!i[e(513)])),s=Array[e(433)](this[e(417)][e(495)][e(466)](t)[e(675)]({singleCharacters:!0}));if(0!=i[e(438)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(414)](":");if(n[e(381)][e(657)](t[e(507)])&&i[e(639)](),(t[e(548)][e(657)](n[e(587)])||t[e(548)][e(599)](n[e(587)]))&&(e(703)==r?t[e(379)]={userId:o}:e(511)==r&&(t[e(416)]={userId:o})),0==i[e(438)])break}return s}[Qt(685)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(438)];s++)e(610)===t[s][e(550)]?(t[s][e(413)][e(456)]=s,t[s][e(413)][e(569)]=s):(e(399)===t[s][e(550)]?t[s][e(413)][e(456)]=s:e(498)===t[s][e(550)]&&(t[s][e(413)][e(569)]=s),i[e(677)](t[s].id,s));for(const s of i[e(525)]())e(399)===t[s][e(550)]?t[s][e(413)][e(569)]=i[e(418)](t[s][e(512)]):e(498)===t[s][e(550)]&&(t[s][e(413)][e(456)]=i[e(418)](t[s][e(512)]))}[Qt(515)](t){const e=Qt;for(let i=0;i<t[e(438)];i++){if(e(399)===t[i][e(550)])t[i][e(413)][e(456)]=i;else if(e(498)===t[i][e(550)]){t[i][e(413)][e(569)]=i;const s=t[i][e(413)][e(456)];t[s][e(512)]=t[i].id,t[i][e(512)]=t[s].id}else t[i][e(413)][e(456)]=i,t[i][e(413)][e(569)]=i,t[i][e(512)]=null;t[i][e(629)]||(t[i][e(629)]=[],t[i][e(461)]=[])}}[Qt(633)](t,e){const i=Qt,s=t[i(449)]((t=>!t[i(379)]));for(let t=0;t<e[i(438)];t++)e[t][i(379)]&&(s[t][i(379)]=e[t][i(379)])}[Qt(547)](t,e=null){const i=Qt,s=this[i(593)][i(668)](t),n=e?this[i(593)][i(668)](e):null,r=this[i(384)](s,n),o=r[r[i(438)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(438)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(586)](e[i(437)]))if(e[i(437)][t][i(611)]){const s=e[i(437)][t][i(611)];s[i(440)]?(u[i(463)](t),l[i(653)](t)&&l[i(418)](t)[i(506)]==s[i(506)]?l[i(701)](t):l[i(677)](t,s)):l[i(653)](t)?(u[i(701)](t),l[i(701)](t)):(u[i(463)](t),l[i(677)](t,s))}else u[i(463)](t)}for(const t of u){const e=l[i(653)](t)&&!l[i(418)](t)[i(440)];let s=e?r[i(438)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(437)][t]){const s=e?o[i(437)][t][i(642)]:o[i(437)][t][i(576)];c[i(479)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(495)]={};for(const e of t[i(503)])a[i(677)](e.id,e);for(const e of u){const s=t[i(437)][e]?t[i(437)][e][i(691)]:"[]",n=t[i(437)][e]?t[i(437)][e][i(408)]:"[]";t[i(495)][e]={insertions:this[i(558)][i(422)](s),deletions:this[i(558)][i(422)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(433)](s[i(495)][t][i(691)][i(670)])[i(449)]((([t])=>!t[i(583)](i(634)))));let h=0;for(const o of r){const r=this[i(666)](o[i(495)][t][i(691)]);o==s?(e=r,n=e[i(438)],e[i(520)]((t=>{t.id=h++})),this[i(515)](e)):this[i(633)](e,r);const a=e[i(449)]((t=>!t[i(379)]))[i(683)]((t=>t.id));let c=0;const l=this[i(666)](o[i(495)][t][i(408)]);l[i(520)]((t=>{t[i(416)]?t.id=n++:t.id=a[c++]})),this[i(515)](l),this[i(565)](e,i(379)),this[i(565)](l,i(416)),o==s&&this[i(555)](e,u),e=this[i(541)](e,l),this[i(685)](e),this[i(565)](e,i(416))}e=e[i(449)]((t=>!(t[i(379)]&&t[i(416)])));const d=new Map(o[i(495)][t][i(408)][i(670)]),f=new Set(u[i(586)]());for(const t of d[i(586)]())f[i(701)](t);this[i(462)](e,f),this[i(622)](e),e=this[i(600)](e),e=this[i(628)](e),e=this[i(601)](e);const{root:m,changes:p}=this[i(478)](e,a,t);c[i(495)][t]=m;const v=l[i(418)](t);if(v){const e=a[i(418)](v[i(506)]),s=new qt({author:e,type:v[i(440)]?i(463):i(397),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(690)](s),c[i(479)][t][i(570)]=s.id}c[i(455)]=c[i(455)][i(660)](p)}return c}[Qt(555)](t,e){const i=Qt;for(let s=0;s<t[i(438)];s++)for(const[n,r]of e)!r[i(513)]&&r[i(587)][i(657)](t[s][i(548)])&&t[s][i(629)][i(415)](n),r[i(381)][i(657)](t[s][i(507)])&&t[s][i(461)][i(415)](n)}[Qt(541)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(438)]||r<e[i(438)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(415)](o);else if(a[i(416)]&&o[i(379)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(559)](t,n,e,r);s=s[i(660)](o),n=a,r=c}else a[i(416)]?(r++,s[i(415)](a)):(n++,s[i(415)](o))}return s}[Qt(462)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(438)];o++){for(let r=0;r<t[o][i(629)][i(438)];r++){const a=t[o][i(629)][r];if(!e[i(653)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(549)!=c||i(703)!=u&&i(511)!=u||(s[i(690)]({type:u,name:a,userId:l}),t[o][i(629)][i(669)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(461)][i(438)];r++){const a=t[o][i(461)][r];if(!e[i(653)](a))continue;const{group:c,type:u}=n(a);if(i(549)!=c||i(703)!=u&&i(511)!=u)continue;t[o][i(461)][i(669)](r,1),r--;const l=s[i(382)]((t=>t[i(421)]==a));l>-1&&s[i(669)](l,1)}}function n(t){const e=i,s=t[e(414)](":");return{group:s[0],type:s[1],subType:s[e(438)]>=5?s[2]:null,id:s[e(438)]<5?s[2]:s[3],authorId:s[e(438)]<5?s[3]:s[4],markerCount:6==s[e(438)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(438)];i++){if(t[e(379)]&&e(703)==s[i][e(550)])return t[e(431)]=s[i],void delete t[e(379)];if(!t[e(379)]&&!t[e(416)]&&e(511)==s[i][e(550)])return void(t[e(517)]=s[i])}}}[Qt(565)](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(438)];s++){if(i(416)==e&&t[s][i(379)]||i(379)==e&&t[s][i(416)])continue;if(i(610)==t[s][i(550)]){t[s][i(692)]=0;continue}const n=r[i(418)](t[s][i(512)]),o=r[i(418)](t[s].id);t[s][i(692)]=n-o}}[Qt(384)](t,e,i=!1){const s=Qt,n=[];let r=this[s(593)][s(663)](t),o=this[s(593)][s(663)](e);for(-1==o&&(o=this[s(593)][s(592)][s(438)],i=!1);r<o;)n[s(415)](this[s(593)][s(668)](r)),r++;return i&&n[s(415)](this[s(593)][s(668)](r)),n}[Qt(559)](t,e,i,s){const n=Qt,r=this[n(417)][n(495)][n(491)];let o=e;for(;t[o]&&t[o][n(379)];)o++;let a=s;for(;i[a]&&i[a][n(416)];)a++;u(t,e,o),u(i,s,a);const c=i[n(597)](s,a)[n(660)](t[n(597)](e,o));return c[n(404)](((t,e)=>t[n(395)]!=e[n(395)]?t[n(395)]-e[n(395)]:t[n(561)]!=e[n(561)]?t[n(561)]-e[n(561)]:t[n(692)]!=e[n(692)]?e[n(692)]-t[n(692)]:!!t[n(379)]!=!!e[n(379)]?-1==t[n(395)]||0==t[n(395)]?t[n(379)]?-1:1:t[n(379)]?1:-1:t[n(602)]-e[n(602)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(700)],c=!0;for(let n=e;n<i;n++)if(r[s(557)](t[n][s(413)])||(c=!1),t[n][s(413)][s(456)]<e&&(o=n),t[n][s(413)][s(569)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(395)]=n<=o?-1:n<a?0:1,t[n][s(602)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(692)]?t[i][s(561)]=u:(u++,t[i][s(561)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(395)]&&(t[n][s(561)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(692)]?t[e][s(561)]=u:(u--,t[e][s(561)]=u,u--)}}[Qt(622)](t){const e=Qt,i=new Map,s=this[e(417)][e(495)][e(491)];for(let n=1;n<t[e(438)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(610)==c[e(550)])continue;if(c[e(550)]!=u[e(550)])continue;if(!s[e(519)](u[e(413)])||s[e(616)](u[e(413)]))continue;if(!s[e(519)](c[e(413)])||s[e(616)](c[e(413)]))continue;if((t[n][e(379)]||t[n][e(431)])&&t[n-1][e(416)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(416)]||!t[n-1][e(379)]&&!t[n-1][e(431)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(561)]==o[e(561)],h=Math[e(535)](r[e(561)])<Math[e(535)](o[e(561)])&&0==o[e(692)];(l||h)&&(i[e(677)](o.id,r.id),t[e(669)](a,1),n--,r[e(379)]=!1)}for(let s=0;s<t[e(438)];s++)i[e(653)](t[s][e(512)])&&(t[s][e(512)]=i[e(418)](t[s][e(512)]))}[Qt(600)](t){const e=Qt,i=new Set(t[e(683)]((t=>t.id)));for(let s=0;s<t[e(438)];s++)i[e(653)](t[s][e(512)])||0==t[s][e(692)]||(t[s][e(474)]=!0);return t[e(449)]((t=>!t[e(474)]))}[Qt(628)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(438)];s++){if(i[e(653)](t[s].id)&&t[s][e(416)]&&(t[s][e(474)]=!0),t[s][e(474)])continue;if(0==t[s][e(692)])continue;if(e(399)!=t[s][e(550)])continue;if(null==t[s][e(512)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(512)];)e(399)==t[n][e(550)]?r++:e(498)==t[n][e(550)]&&r--,n++;if(0!=r)if(t[s][e(416)])t[s][e(474)]=!0;else for(;n!=s;)t[n][e(416)]&&0!=t[n][e(692)]&&(t[n][e(474)]=!0,i[e(463)](t[n][e(512)])),n--}return t[e(449)]((t=>!t[e(474)]))}[Qt(601)](t){const e=Qt,i=this[e(417)][e(495)][e(491)];for(let s=0;s<t[e(438)];s++){if(!(t[s][e(379)]||t[s][e(431)]||t[s][e(416)]||t[s][e(517)]))continue;if(0==t[s][e(692)])continue;const n=t[s][e(413)];i[e(519)](n)||i[e(616)](n)||(t[s][e(379)]&&delete t[s][e(379)],t[s][e(431)]&&delete t[s][e(431)],t[s][e(517)]&&delete t[s][e(517)],t[s][e(416)]&&(t[s][e(474)]=!0))}return t[e(449)]((t=>!t[e(474)]))}[Qt(478)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(417)][s(495)],c=a[s(491)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(438)];e++)if(s(399)===t[e][s(550)]){t[e][s(548)]=a[s(635)](n,f);const i=new H.Element(t[e][s(413)][s(421)],t[e][s(413)][s(407)]());u[0][s(499)](i),f[s(415)](0),u[s(690)](i),t[e][s(507)]=a[s(635)](n,f)}else s(498)===t[e][s(550)]?(u[s(639)](),t[e][s(548)]=a[s(635)](n,f),f[s(702)](),f[f[s(438)]-1]++,t[e][s(507)]=a[s(635)](n,f)):(t[e][s(548)]=a[s(635)](n,f),d?d[s(686)]+=t[e][s(413)][s(409)]:d=new H.Text(t[e][s(413)][s(409)],t[e][s(413)][s(407)]()),t[e+1]&&s(610)===t[e+1][s(550)]&&v(d,t[e+1][s(413)])||(u[0][s(499)](d),d=null),f[f[s(438)]-1]+=t[e][s(413)][s(704)],t[e][s(507)]=a[s(635)](n,f));for(let e=0;e<t[s(438)];e++){const i=t[e][s(548)],n=t[e][s(507)];for(const n of t[e][s(629)])o[s(677)](n,{start:i,end:null});m(s(517),e,i,n),m(s(431),e,i,n),m(s(416),e,i,n),m(s(379),e,i,n);for(const i of t[e][s(461)]){const t=o[s(418)](i);t?t[s(381)]=n:o[s(677)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(417)][s(495)][s(617)](e[s(587)],e[s(381)]);n[s(670)][s(677)](t,i)}return r[s(404)](((t,e)=>{const i=s,r=n[i(670)][i(418)](i(634)+t.id),o=n[i(670)][i(418)](i(634)+e.id);return r[i(587)][i(490)](o[i(587)])?-1:r[i(587)][i(599)](o[i(587)])?1:r[i(381)][i(490)](o[i(381)])?-1:r[i(381)][i(599)](o[i(381)])?1:i(463)===t[i(550)]?-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(506)]:null,d=i===t[o(438)]-1,f=h[e][0],m=c[o(598)](t[i][o(413)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(381)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(506)]!==u&&(l[e][o(381)]=n,f&&f[o(506)]===l[e][o(506)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(399)!==t[i][o(550)]||f&&f[o(506)]===u||h[e][o(690)]({userId:u,object:t[i][o(413)],change:l[e]}),o(498)===t[i][o(550)]&&f&&f[o(546)]===t[i][o(413)]&&(h[e][o(639)](),l[e]=f[o(484)])),l[e]&&d&&(l[e][o(381)]=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(413)],f=a[h(491)][h(519)](d)&&!a[h(491)][h(616)](d),m=t[h(537)]==o[h(682)]&&o[h(661)];if(f&&m)return;const p=a[h(617)](t,o),v=e[h(418)](u),g=new qt({author:v,type:h(379)==l||h(431)==l?h(463):h(397),data:{isSuggestion:h(431)==l||h(517)==l},createdAt:new Date,rootName:i});r[h(415)](g),n[h(670)][h(677)](h(634)+g.id,p)}function v(t,e){const i=s,n=t[i(407)](),r=e[i(407)]();for(const t of n){if(t[1]!==e[i(595)](t[0]))return!1;r[i(390)]()}return r[i(390)]()[i(508)]}}[Qt(406)](){const t=Qt;this[t(417)][t(443)][t(396)](t(445))[t(650)]({view:t(684)}),this[t(417)][t(443)][t(396)](t(400))[t(545)]({model:t(684),view:e=>{const i=t,s=e[i(687)][i(414)](":")[1],n=this[i(589)](s);if(!n)return null;const r=i(463)==n[i(550)]?i(703):i(511),o=[i(646),i(441)+r];return n[i(409)][i(625)]&&o[i(415)](i(441)+r+i(626)),this[i(577)]==n&&o[i(415)](i(452)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(417)][t(443)][t(396)](t(445))[t(463)]((e=>{const i=t;e.on(i(539),((t,e,s)=>{const n=i,r=e[n(426)][n(640)](0);if(!r||!r.is(n(637),n(643)))return;if(!s[n(572)][n(457)](r,{attributes:[n(544),n(391)]}))return;const o=e[n(645)][n(587)][n(537)];s[n(524)][n(632)](n(544),r[n(595)](n(544)),o),s[n(524)][n(632)](n(391),r[n(595)](n(391)),o)}),{priority:i(412)})})),this[t(417)][t(443)][t(396)](t(445))[t(463)]((e=>{const i=t;e.on(i(637),((t,e,s)=>{const n=i;if(!s[n(572)][n(457)](e[n(426)],{attributes:[n(544),n(391)]}))return;if(e[n(645)][n(513)])return;const r=e[n(645)][n(587)][n(537)];r[n(405)](n(544))||r[n(405)](n(614))||(s[n(524)][n(632)](n(544),e[n(426)][n(595)](n(544)),r),s[n(524)][n(632)](n(391),e[n(426)][n(595)](n(391)),r))}),{priority:i(412)})})),this[t(417)][t(443)][t(396)](t(445))[t(451)]({view:{name:t(609),attributes:{vid:!0}},model:{key:t(614),value:e=>e[t(595)](t(614))}}),this[t(417)][t(495)][t(491)].on(t(604),((e,[,i])=>{const s=t;[s(544),s(391),s(614)][s(467)](i)&&(e[s(447)]=!0,e[s(458)]())}),{priority:t(427)}),this[t(417)][t(443)][t(396)](t(469))[t(463)]((e=>{const i=t;e.on(i(529),((t,e,s)=>{const n=i;if(" "!=e[n(413)][n(409)]||e[n(413)][n(682)][n(530)]>1)return;if(!s[n(572)][n(457)](e[n(413)],t[n(421)]))return;const r=s[n(524)],o=s[n(527)][n(673)](e[n(681)]);r[n(497)](o,r[n(483)](n(609)))}))})),this[t(417)][t(443)][t(396)](t(469))[t(424)]({model:t(684)}),this[t(417)][t(464)][t(435)].on(t(533),function(e){const i=t,s=e[i(695)][i(418)](i(432));return(t,n,r)=>{const o=i,a=n[o(687)][o(414)](":")[1],c=s[o(589)](a);if(!c)return null;const u=o(463)==c[o(550)]?o(414):o(534);if(!r[o(572)][o(453)](n[o(630)],t[o(421)]))return;const l=n[o(630)][o(675)](),h=n[o(630)][o(587)],d=e[o(495)][o(491)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(413)];p=p||d[o(590)](e);const i=r[o(527)][o(500)](e);if(i&&i[o(502)](o(485)))return;o(498)==t[o(550)]&&d[o(519)](e)&&!d[o(616)](e)&&(e[o(454)]||h[o(596)]?f&&f[o(682)]==e||(f=e,g(t[o(548)]),v=!0):m=m||t[o(548)])}function g(t){const e=o,i=r[e(524)][e(494)](e(609),{class:e(441)+u}),a=r[e(527)][e(496)](t);c[e(409)][e(625)]&&r[e(524)][e(492)](e(441)+u+e(626),i),s[e(577)]==c&&r[e(524)][e(492)](e(452),i),r[e(524)][e(579)](a,i),r[e(527)][e(658)](i,n[e(687)])}p||v||!m||g(m)}}(this[t(417)]),{priority:t(556)}),this[t(417)][t(464)][t(435)].on(t(563),((e,i,s)=>{const n=t,r=s[n(527)][n(380)](i[n(687)]);if(r)for(const t of r)(t[n(636)](n(434))||t[n(636)](n(679)))&&(s[n(527)][n(651)](t,i[n(687)]),s[n(524)][n(397)](t))}),{priority:t(556)}),this[t(417)][t(464)][t(435)].on(t(533),((e,i,s)=>{const n=t,r=i[n(687)][n(414)](":")[1],o=this[n(589)](r);if(!o)return null;const a=n(463)==o[n(550)]?n(414):n(534);if(s[n(572)][n(453)](i[n(630)],e[n(421)]))for(const t of i[n(630)][n(662)]()){if(!t.is(n(637),n(429)))continue;const e=s[n(524)][n(494)](n(609),{class:n(441)+a}),r=s[n(527)][n(496)](this[n(417)][n(495)][n(623)](t));o[n(409)][n(625)]&&s[n(524)][n(492)](n(441)+a+n(626),e),this[n(577)]==o&&s[n(524)][n(492)](n(452),e),s[n(524)][n(579)](r,e),s[n(527)][n(658)](e,i[n(687)])}}),{priority:t(556)}),this[t(417)][t(495)][t(665)].on(t(484),(()=>{const e=t;this[e(417)][e(464)][e(480)][e(484)]((t=>{const i=e;for(const e of this[i(417)][i(495)][i(665)][i(504)]()){const s=this[i(417)][i(495)][i(665)][i(423)](e),n=this[i(417)][i(464)][i(480)][i(665)][i(423)](e);if(n){const e=s[i(595)](i(570));if(t[i(613)](i(688),n),t[i(419)](i(444),n),t[i(419)](i(387),n),t[i(419)](i(594),n),e){const s=this[i(589)](e);if(!s)return null;t[i(632)](i(688),e,n),t[i(492)](i(526)+s[i(550)],n),this[i(577)]==s&&t[i(492)](i(594),n)}}}}))})),this[t(417)][t(443)][t(396)](t(445))[t(650)]({view:t(585),model:e=>t(528)+e,converterPriority:t(427)}),this[t(417)][t(443)][t(396)](t(445))[t(650)]({view:t(531),model:e=>t(538)+e,converterPriority:t(427)}),this[t(417)][t(443)][t(396)](t(469))[t(424)]({model:t(549),view:e=>({name:t(699)+e,group:t(549)}),converterPriority:t(427)}),this[t(417)][t(443)][t(396)](t(400))[t(545)]({model:t(549),view:e=>{const i=t,s=e[i(687)][i(414)](":")[1];return i(703)!=s&&i(511)!=s?null:{classes:[i(580),i(567)+s]}}}),this[t(417)][t(464)][t(435)].on(t(564),ie(this[t(417)],t(534)),{priority:t(556)}),this[t(417)][t(464)][t(435)].on(t(588),ie(this[t(417)],t(414)),{priority:t(556)}),this[t(417)][t(464)][t(435)].on(t(505),((e,i,s)=>{const n=t,r=s[n(527)][n(380)](i[n(687)]);if(r)for(const t of r)t.is(n(574))&&(s[n(527)][n(651)](t,i[n(687)]),s[n(524)][n(397)](t))}),{priority:t(556)})}[Qt(589)](t){const e=Qt;return this[e(641)][e(418)](t)}[Qt(450)](t){const e=Qt;return this[e(388)]&&this[e(388)][e(448)](),this[e(388)]=new Wt(this[e(417)][e(674)],t),this[e(388)]}[Qt(582)](){const t=Qt;this[t(417)][t(495)][t(665)][t(655)][t(644)](t(684)),this.on(t(608),((e,i,s,n)=>{const r=t;n&&this[r(694)][r(397)](n),s&&(this[r(694)][r(463)]({view:s,stackId:r(459),position:{target:()=>{const t=r,e=this[t(417)][t(464)],i=this[t(589)](s[t(516)]);let n;if(i[t(409)][t(514)]){const s=e[t(480)][t(560)](i[t(619)]);n=Array[t(433)](s[t(439)]())}else{const i=this[t(417)][t(495)][t(670)][t(418)](t(634)+s[t(516)]);n=Array[t(433)](e[t(527)][t(380)](i[t(421)]))[t(683)]((i=>e[t(480)][t(542)][t(501)](i)))[t(683)]((e=>Array[t(433)](e[t(439)]())))[t(398)]()}return this[t(436)]&&n[t(627)]((e=>e[t(385)]-3<=this[t(436)].y&&e[t(693)]+3>=this[t(436)].y&&e[t(571)]-3<=this[t(436)].x&&e[t(603)]+3>=this[t(436)].x))||n[0]}}}),this[r(694)][r(468)](r(459)))})),this.on(t(442),((e,i,s,n)=>{const r=t;this[r(656)]=s?this[r(450)](s):null,this[r(417)][r(495)][r(484)]((()=>{const t=r,e=this[t(417)][t(464)];n&&(n[t(409)][t(514)]?e[t(480)][t(484)]((i=>{const s=t;i[s(419)](s(594),e[s(480)][s(665)][s(423)](n[s(619)]))})):e[t(612)](t(634)+n.id)),s&&(s[t(409)][t(514)]?e[t(480)][t(484)]((i=>{const n=t;i[n(492)](n(594),e[n(480)][n(665)][n(423)](s[n(619)]))})):e[t(612)](t(634)+s.id))}))})),this[t(605)](this[t(417)][t(464)][t(480)][t(665)],t(470),((e,i)=>{const s=t;if(this[s(577)])return;const n=this[s(487)](i[s(678)]),r=this[s(641)][s(418)](n);r?(this[s(436)]={x:i[s(486)].x,y:i[s(486)].y},this[s(656)]=this[s(450)](r)):(this[s(436)]=null,this[s(656)]=null)})),this[t(605)](this[t(417)][t(464)][t(480)][t(665)],t(697),((e,i)=>{const s=t,n=this[s(487)](i[s(678)]),r=this[s(641)][s(418)](n);r?(this[s(436)]={x:i[s(486)].x,y:i[s(486)].y},r===this[s(577)]?this[s(694)][s(654)]():this[s(577)]=r):(this[s(436)]=null,this[s(577)]=null)}))}[Qt(487)](t){const e=Qt;do{const i=t[e(595)](e(688));if(i)return i;t=t[e(682)]}while(t);return null}[Qt(509)](){const t=Qt;this[t(417)][t(495)][t(484)]((e=>{const i=t;for(const t of this[i(417)][i(495)][i(670)])e[i(566)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(572)][r(453)](s[r(630)],i[r(421)]))return;const o=s[r(630)][r(675)](),a=s[r(630)][r(587)],c=t[r(495)][r(491)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(413)];h=h||c[r(590)](e);const i=n[r(527)][r(500)](e);if(i&&i[r(502)](r(485)))return;r(498)==t[r(550)]&&c[r(519)](e)&&!c[r(616)](e)&&(e[r(454)]||a[r(596)]?u&&u[r(682)]==e||(u=e,f(t[r(548)]),d=!0):l=l||t[r(548)])}function f(t){const i=r,o=n[i(527)][i(496)](t),a=n[i(524)][i(494)](i(609),{class:i(567)+e});n[i(524)][i(579)](o,a),n[i(527)][i(658)](a,s[i(687)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(695)][e(418)](ee);this[e(659)]=!1,this[e(605)](i,e(402),(()=>this[e(411)]())),this[e(605)](i,e(568),(()=>this[e(411)]()))}[Qt(510)](){const t=Qt,e=this[t(417)],i=e[t(695)][t(418)](ee),s=i[t(401)]?i[t(428)][t(410)]:null;e[t(584)][t(418)](t(392))[t(481)](s)}[Qt(411)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(417)][t(695)][t(418)](ee),r=n&&s[t(536)](n[t(410)]);this[t(383)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(698)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(695)][i(418)](ee);this[i(659)]=!1,this[i(698)]=i(446)===e?1:-1,this[i(605)](s,i(402),(()=>this[i(411)]())),this[i(605)](s,i(568),(()=>this[i(411)]())),this[i(605)](s,i(442),(()=>this[i(411)]()))}[Qt(510)](){const e=Qt,i=this[e(417)],s=i[e(695)][e(418)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(577)]=n?s[e(428)][e(455)][e(418)](r+this[e(698)]):s[e(428)][e(455)][e(581)],s[e(577)][e(409)][e(514)])o=i[e(464)][e(480)][e(560)](s[e(577)][e(619)]);else{const t=i[e(495)][e(670)][e(418)](e(634)+s[e(577)].id);o=(0,Z.getMarkerDomElement)(i[e(464)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(411)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(417)][t(695)][t(418)](ee);this[t(383)]=!!(r&&n&&s)&&(!e||(1===this[t(698)]?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=ue();return(ae=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(175576===parseInt(e(524))/1+-parseInt(e(490))/2+-parseInt(e(492))/3+parseInt(e(507))/4+-parseInt(e(511))/5+parseInt(e(520))/6+parseInt(e(527))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(498)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(522)](e(516),!1),this[e(522)](e(489),!1),this[e(522)](e(505),0),this[e(522)](e(517),0),this[e(522)](e(513),!1),this[e(522)](e(519),!1),this[e(508)](e(518)).to(this,e(489),this,e(517),((t,e)=>t&&e>0)),this[e(508)](e(521)).to(this,e(489),this,e(505),this,e(517),this,e(516),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(500));if(!n)return X(t,o(525));const a=X(t,o(526),n);return r?X(t,o(504),[s+1,n]):a})),s[e(522)]({label:X(t,e(493)),tooltip:!0,icon:mt.IconChevronUp}),n[e(522)]({label:X(t,e(502)),tooltip:!0,icon:mt.IconChevronDown}),s[e(508)](e(509)).to(this,e(519)),n[e(508)](e(509)).to(this,e(513)),s.on(e(512),(()=>this[e(495)](e(512),e(510)))),n.on(e(512),(()=>this[e(495)](e(512),e(503)))),this[e(496)]({tag:e(514),attributes:{class:["ck",e(506),e(501)]},children:[{tag:e(488),attributes:{class:[e(499)]},children:[{tag:e(488),attributes:{class:[e(497),i.if(e(518),e(491),(t=>!t))]},children:[{text:i.to(e(516),(i=>i?X(t,e(494))+": ":X(t,e(515))+": "))}]},{text:i.to(e(521))}]},new pt.ToolbarSeparatorView,{tag:e(514),attributes:{class:[e(523)]},children:[s,n]}]})}}function ue(){const t=["currentChangeNumber","ck-revision-history-ui","688656UcLVJz","bind","isEnabled","backward","369160iQMTHi","execute","isForwardNavigationEnabled","div","Total","isNavigationMode","numberOfChanges","_isStatusLabelVisible","isBackwardNavigationEnabled","31500yngbWe","_statusText","set","ck-revision-history-ui__changes-navigation__navigation","178924QaqZgu","No changes","NUMBER_OF_CHANGES","1059352XOoqDr","span","isReady","440808FQVxKz","ck-hidden","113586nwJJRQ","Show previous change","EDIT_X_OF_Y_REVISIONS","fire","setTemplate","ck-revision-history-ui__changes-navigation__label","bindTemplate","ck-revision-history-ui__changes-navigation__wrapper","Loading...","ck-revision-history-ui__changes-navigation","Show next change","forward","X_OF_Y_CHANGES"];return(ue=function(){return t})()}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(){const t=["isOfficialPlugin","70580JYlKEV","editor","roots","editing","7255035IbcpyV","isPremiumPlugin","view","510263oOblFD","document","pluginName","1392slmqhK","addClass","2255495lqwRzn","RevisionViewerLoadingOverlay","362705SYmdns","removeClass","806vOVnrn","ck-editor__editable__loading-overlay","6NACGDu","show","change","1562920lXzcNz","hide"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=489]})(t,e)}const me=fe;!function(t){const e=fe,i=t();for(;;)try{if(261280===-parseInt(e(509))/1+parseInt(e(494))/2*(parseInt(e(512))/3)+-parseInt(e(502))/4+-parseInt(e(490))/5+parseInt(e(496))/6*(parseInt(e(492))/7)+parseInt(e(499))/8+parseInt(e(506))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=me(495);class ve extends U.Plugin{static get[me(511)](){return me(491)}static get[me(501)](){return!0}static get[me(507)](){return!0}[me(497)](){const t=me,e=this[t(503)][t(505)][t(508)];e[t(498)]((i=>{const s=t;for(const t of e[s(510)][s(504)])i[s(489)](pe,t)}))}[me(500)](){const t=me,e=this[t(503)][t(505)][t(508)];e[t(498)]((i=>{const s=t;for(const t of e[s(510)][s(504)])i[s(493)](pe,t)}))}}const ge=ke;function ye(){const t=["813046IOsznB","config","2695348wpbTgc","2453814JTdgOB","139FGPVRP","isPremiumPlugin","RevisionViewerUI","152NzjziV","Back to editing","isOfficialPlugin","3LKQVpw","exitToEditing","init","bind","plugins","408NJXDwj","15vEonlF","Restore this revision","change:isReady","currentChangeNumber","get","set","isEnabled","restoreRevision","showPreviousChange","revisionHistory","ck-revision-history-ui__back-to-editing","execute","isForwardNavigationEnabled","7172EdAQOF","closeRevisionViewerCallback","pluginName","listenTo","show","numberOfChanges","showNextChange","add","commands","requires","70aVDOqm","1126477xWCbow","editor","1438386lVKCLt","forward","isBackwardNavigationEnabled","changesNavigation","hide","isNavigationMode","componentFactory","142261MshFZX","isReady"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(368414===parseInt(e(225))/1*(parseInt(e(250))/2)+parseInt(e(231))/3*(parseInt(e(223))/4)+parseInt(e(237))/5*(parseInt(e(212))/6)+parseInt(e(219))/7*(-parseInt(e(228))/8)+parseInt(e(224))/9+parseInt(e(260))/10*(parseInt(e(261))/11)+-parseInt(e(236))/12*(parseInt(e(221))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(252)](){return ge(227)}static get[ge(230)](){return!0}static get[ge(226)](){return!0}static get[ge(259)](){return[ee,ve]}[ge(233)](){const t=ge,e=this[t(211)],i=e[t(235)][t(241)](ee),s=e[t(235)][t(241)](ve);e.ui[t(218)][t(257)](t(232),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(242)]({label:X(i,s(229)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(247)}),this[s(253)](n,s(248),(()=>{const t=s;e[t(222)][t(241)](t(246))[t(251)]()})),n})),e.ui[t(218)][t(257)](t(244),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(242)]({label:X(i,s(238)),withText:!0,tooltip:!0}),n[s(234)](s(243)).to(e[s(258)][s(241)](s(244))),this[s(253)](n,s(248),(()=>e[s(248)](s(244)))),n})),e.ui[t(218)][t(257)](t(215),(s=>{const n=t,r=new ce(s),o=e[n(258)][n(241)](n(245)),a=e[n(258)][n(241)](n(256));return r[n(234)](n(214)).to(o,n(243)),r[n(234)](n(249)).to(a,n(243)),r[n(234)](n(220),n(240),n(255),n(217)).to(i),this[n(253)](r,n(248),((t,i)=>{const s=n;e[s(248)](s(213)===i?s(256):s(245))})),r})),s[t(254)](),i.on(t(239),((e,i,n)=>{const r=t;n?s[r(216)]():s[r(254)]()}))}}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=["1581558rFNojl","_updateTooltipText","ck-revision-history-sidebar__revision-name","listenTo","2242908fMFZWr","490TSAygW","extendTemplate","render","span","value","input","fieldView","21ivLgPl","326914ATBEYb","_tooltipString","143385wObgfL","5raeOsk","Enter the revision name","_resizeObserver","Revision name","destroy","8609272PGSgBc","bindTemplate","clientWidth","placeholder","ck-tooltip_multi-line","scrollWidth","347562Dpbiir","set","element","5015308qXETIH"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(813504===-parseInt(e(506))/1+-parseInt(e(504))/2+parseInt(e(491))/3+parseInt(e(490))/4*(-parseInt(e(507))/5)+-parseInt(e(495))/6*(parseInt(e(503))/7)+parseInt(e(512))/8+-parseInt(e(487))/9*(-parseInt(e(496))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(509)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(513)];this[i(488)]({label:X(t,i(510)),_tooltipString:""}),this[i(502)][i(515)]=X(t,i(508)),this[i(497)]({tag:i(499),attributes:{class:[i(493)],"data-cke-tooltip-text":s.to(i(505)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(516)}})}[Ie(498)](){const e=Ie;super[e(498)](),this[e(509)]=new t.ResizeObserver(this[e(502)][e(489)],(()=>this[e(492)]())),this[e(494)](this[e(502)],e(501),(()=>this[e(492)]()))}[Ie(511)](){const t=Ie;super[t(511)](),this[t(509)]&&this[t(509)][t(511)]()}[Ie(492)](){const t=Ie,e=this[t(502)][t(489)];this[t(505)]=e[t(517)]>e[t(514)]&&e[t(500)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["0 0 11 10","81154wWzzRf","3VsbDOH","set","364330VtTuqT","ck-revision-history-sidebar__revision-author","setTemplate","span","Revision author","ck-revision-history-sidebar__revision-author_creator","427wqMbUx","9ADiEnW","245465dKEwvC","921660WZNlJo","3HfFgjI","name","push","17430lbbLzu","374456bryIKf","Revision creator","36TBCKOr","1589304OLOlkS","ck-revision-history-sidebar__revision-author__name"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=192]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(112933===parseInt(e(207))/1*(parseInt(e(194))/2)+-parseInt(e(195))/3*(-parseInt(e(211))/4)+-parseInt(e(206))/5+parseInt(e(210))/6*(parseInt(e(203))/7)+-parseInt(e(214))/8+parseInt(e(204))/9*(parseInt(e(197))/10)+parseInt(e(205))/11*(parseInt(e(213))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(196)]({content:mt.IconUser,viewBox:s(193)});const r=["ck",s(198)];i&&r[s(209)](s(202));const o=[{tag:s(200),attributes:{class:["ck",s(192)],title:X(t,s(i?212:201))},children:[n,e[s(208)]]}];this[s(199)]({tag:"li",attributes:{class:r},children:o})}}function De(){var t=["numeric","3xsOnuB","11mKjNUL","1240724NSftKT","1750452gCHnYI","toLocaleDateString","toLocaleTimeString","8SoWVjh","7JKBtpP","496590AbyAdb","132618ObQhqZ","long","2355335omyzhc","2074869ulsQEY","1064390ZacJqd"];return(De=function(){return t})()}function Ee(t,e){var i=De();return(Ee=function(t,e){return i[t-=482]})(t,e)}!function(t){for(var e=Ee,i=t();;)try{if(354477===parseInt(e(482))/1+-parseInt(e(491))/2*(-parseInt(e(489))/3)+-parseInt(e(492))/4+-parseInt(e(485))/5+parseInt(e(483))/6*(parseInt(e(496))/7)+-parseInt(e(495))/8*(-parseInt(e(486))/9)+parseInt(e(487))/10*(-parseInt(e(490))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(){const t=["name","ck-on","isVisible","action","children","menu","890592MFZNfW","button","class","isEnabled","4MsEIEo","isActionsDropdownOpen","map","source","202494kCMjgn","bind","extendTemplate","execute","isOpen","menuitem","Show more items","Name this revision","Restore this revision","listenTo","_action","model","items","Compare against selected","104likOZz","1066513uAdmkh","ck-revision-history-sidebar__revision__actions","2682873njbXbV","add","isReady","first","buttonView","listView","stopPropagation","find","764KwWGDT","panelPosition","change:isActionsDropdownOpen","set","function","81765UCnvHw","locale","1308240KoYjos","bindTemplate"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(116713===parseInt(e(346))/1*(parseInt(e(335))/2)+-parseInt(e(321))/3*(parseInt(e(317))/4)+-parseInt(e(303))/5+-parseInt(e(313))/6+-parseInt(e(336))/7+parseInt(e(305))/8+parseInt(e(338))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function We(){const t=["creator","220","uiLanguage","isHighlighted","ck-revision-history-sidebar__actions_dropdown_open","setName","_createdAtFormatted","594924hHFekQ","map","span","unshift","ck-revision-history-sidebar__revision_selected","createdAt","isActionsDropdownOpen","value","name","ck-reset","authors","42oVVxMq","1539985XkGaWi","listenTo","ck-disabled","ck-revision-history-sidebar__revision_highlighted","select","_revision","ck-revision-history-sidebar__revision__date","deselect","fieldView","extendTemplate","ck-revision-history-sidebar__revision","isSelected","bind","change","setTemplate","isEnabled","622488zLnium",".ck-thread__remove-confirm","set","bindTemplate","ck-revision-history-sidebar__revision-wrapper","fire","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","revisionNameView","revisionActionsView","highlight","isConfirm","filter","from","render","div","_requireRevisionName","1983723lkkuou","closest","isReady","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","413804KRFoei","unhighlight","element","468847ZMcxRc","1077056XzfwCe","ck-revision-history-sidebar__revision-authors","length"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(469320===parseInt(e(241))/1+parseInt(e(238))/2+-parseInt(e(234))/3+-parseInt(e(252))/4+-parseInt(e(264))/5+parseInt(e(217))/6+-parseInt(e(263))/7*(-parseInt(e(242))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(225)];[ze(226)];[ze(269)];[ze(233)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(220)],a=function(t,e){const i=r,s=Array[i(230)](e[i(262)])[i(229)]((t=>t!=e[i(245)]));return e[i(245)]&&s[i(255)](e[i(245)]),s[i(253)]((s=>new Ve(t,s,s==e[i(245)])))}(e,i);this.id=i.id,this[r(269)]=i,this[r(233)]=n,this[r(276)](r(260),r(257)).to(i),this[r(276)](r(251)).to(this,r(257),(t=>{return i=e[r(247)],(s=t)[(n=Ee)(493)](i,{month:n(484),day:n(488)})+", "+s[n(494)](i,{hour:n(488),minute:n(488)});var i,s,n})),this[r(219)](r(275),!1),this[r(219)](r(248),!1),this[r(219)](r(258),!1),this[r(219)](r(236),!1),this[r(219)](r(216),!1),this[r(225)]=new Te(e,pt.createLabeledInputText),this[r(225)][r(272)][r(273)]({attributes:{maxlength:r(246)}}),this[r(225)][r(272)][r(276)](r(259)).to(this,r(260),(t=>t||this[r(251)])),this[r(225)][r(276)](r(216)).to(this,r(275),this,r(216),((t,e)=>t&&e)),this[r(226)]=s&&s[r(244)]?function(e,i){const s=je,n=e[s(306)],r=e[s(304)],o=(0,pt.createDropdown)(r);o[s(347)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(304)],n={"Compare against selected":X(s,i(334)),"Name this revision":X(s,i(328)),"Restore this revision":X(s,i(329))};return e[i(319)]((t=>{const e=i,s=n[t[e(307)]];return s&&s!==t[e(307)]&&(t[e(307)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(314),model:new pt.ViewModel({label:t[n(307)],class:t[n(315)],withText:!0,role:n(326),_action:t[n(310)]})};i[n(332)][n(322)](n(316)).to(e,n(318),(i=>n(350)!=typeof t[n(316)]||!i||t[n(316)](e))),o[n(339)](i)}return o}(e,i);return e[s(322)](s(318)).to(o,s(325)),o[s(342)][s(349)]({label:X(r,s(327)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(323)]({attributes:{class:[s(337),n.if(s(318),s(308))]},on:{click:n.to((t=>t[s(344)]()))}}),o.on(s(324),(t=>{const i=s;e[i(340)]&&i(350)==typeof t[i(320)][i(331)]&&t[i(320)][i(331)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(312)}),o[s(330)](e,s(348),((t,n,r)=>{const a=s;if(r)for(const t of o[a(343)][a(333)]){const s=t[a(311)][a(341)],n=i[a(345)]((t=>t[a(310)]===s[a(331)]))[a(309)];t[a(309)]=void 0===n||n(e)}})),o}(this,s):"",this[r(226)]&&this[r(226)][r(276)](r(216)).to(this),this[r(278)]({tag:r(232),attributes:{class:["ck",r(261),r(221),o.if(r(228),r(237))]},children:[{tag:r(232),attributes:{class:["ck",r(261),r(274),o.if(r(216),r(266),(t=>!t)),o.if(r(275),r(256)),o.if(r(248),r(267)),o.if(r(258),r(249))]},children:[this[r(225)],{tag:r(254),attributes:{class:["ck",r(270)]},children:[{text:o.to(r(251))}]},{tag:r(232),attributes:{class:["ck",r(224)]},children:[{tag:"ul",attributes:{class:["ck",r(243)]},children:a}]},this[r(226)]],on:{click:o.to((t=>{const e=r;t[e(223)][e(235)](e(218))||this[e(236)]&&this[e(216)]&&this[e(222)](e(268),{id:this.id})}))}}]})}[ze(231)](){const t=ze;super[t(231)]();const e=this[t(225)][t(272)][t(240)];this[t(265)](e,t(277),(()=>{const i=t;this[i(233)]&&!e[i(259)]||this[i(222)](i(250),{id:this.id,name:e[i(259)]}),e[i(259)]||(e[i(259)]=this[i(260)]?this[i(260)]:this[i(251)])}))}[ze(268)](){this[ze(275)]=!0}[ze(271)](){this[ze(275)]=!1}[ze(227)](){this[ze(248)]=!0}[ze(239)](){this[ze(248)]=!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 Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const 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 Vi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Mi={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Mi={}}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"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[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(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $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 Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const 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 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 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:Ms(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 Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ds(e)):Ds(e),month:Js.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 Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0: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),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=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 Je("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 Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new 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 Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):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 Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $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+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class 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=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$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"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$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<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("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,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$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,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=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,[Jn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(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,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),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 Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("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 Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["monthLong","47568300TeMISD","minus","toRelativeCalendar","354396aljIPp","toJSDate","21eSseVC","2WXblKr","256fQWaKO","fromJSDate","week","year","59238WEyDfi","setLocale","hasSame","day","7320486ldzEDi","weekdayLong","local","startOf","7683600bBGTyU","1662086HUyRRp","month","7486087fYGasD"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=173]})(t,e)}function oo(t,e){const i=ro,s=io[i(177)](t)[i(181)](e),n=io[i(186)](),r=n[i(194)]({days:1})[i(187)](i(183));let o,a;return s[i(182)](n,i(183))?(o=s[i(187)](i(183))[i(173)](),a=s[i(195)]()):s[i(182)](r,i(183))?(o=r[i(173)](),a=s[i(195)]()):s[i(182)](n,i(178))?(o=s[i(187)](i(178))[i(173)](),a=s[i(185)]||""):s[i(182)](n,i(179))?(o=s[i(187)](i(190))[i(173)](),a=s[i(192)]||""):(o=s[i(187)](i(179))[i(173)](),a=String(s[i(179)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(877847===parseInt(e(189))/1*(-parseInt(e(175))/2)+-parseInt(e(174))/3*(parseInt(e(196))/4)+-parseInt(e(188))/5+parseInt(e(184))/6+-parseInt(e(191))/7+-parseInt(e(176))/8*(parseInt(e(180))/9)+parseInt(e(193))/10)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;const uo=ho;function lo(){const t=["setTemplate","locale","_requireRevisionName","select","ck-revision-history-sidebar__time-period__revisions","setName","delegate","4hNOEMo","11581400OvMjZb","8HqJCiV","startDate","uiLanguage","_revisionActions","add","div","createCollection","185tpwWRF","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","find","23837000DGgZOQ","3977229bYMgjJ","span","revisionViews","329963hcRSiD","localizedPeriodName","11774628PhDibA","removeRevision","466123dIOzKr","addRevision","remove","259152XqiYkG"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(962557===parseInt(e(334))/1*(-parseInt(e(351))/2)+-parseInt(e(331))/3*(parseInt(e(349))/4)+parseInt(e(326))/5*(-parseInt(e(341))/6)+parseInt(e(338))/7+parseInt(e(350))/8+parseInt(e(336))/9+parseInt(e(330))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(352)];[uo(333)];[uo(322)];[uo(344)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(343)][n(353)])[n(335)];this[n(352)]=e,this[n(333)]=this[n(325)](),this[n(322)]=i,this[n(344)]=s,this[n(333)][n(348)](n(345)).to(this),this[n(333)][n(348)](n(347)).to(this),this[n(342)]({tag:n(324),attributes:{class:["ck",n(327)]},children:[{tag:n(332),attributes:{class:["ck",n(328)]},children:[{text:r}]},{tag:n(324),attributes:{class:["ck",n(346)]},children:this[n(333)]}]})}[uo(339)](t){const e=uo,i=new Ze(this[e(343)],t,this[e(322)],this[e(344)]);this[e(333)][e(323)](i)}[uo(337)](t){const e=uo,i=this[e(333)][e(329)]((e=>e.id===t.id));this[e(333)][e(340)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=213]})(t,e)}function go(){const t=["21ktCkcm","3897383TooHWk","2686752WAjnnx","span","75YwLEYA","setTemplate","180RPyTdu","4049874ZhfmHP","div","102276LnNiAA","ck-revision-history-sidebar__header","content","ck-reset_all","428488QqfzsQ","Revision history","4422140wVbtup","ck-revision-history-sidebar__header__label","826kVcuLw"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(493057===parseInt(e(230))/1*(-parseInt(e(225))/2)+-parseInt(e(226))/3*(-parseInt(e(221))/4)+-parseInt(e(223))/5+parseInt(e(215))/6+-parseInt(e(227))/7+parseInt(e(228))/8+-parseInt(e(217))/9*(-parseInt(e(214))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(219)]=mt.IconHistory,this[e(213)]({tag:e(216),attributes:{class:["ck",e(220),e(218)]},children:[i,{tag:e(229),attributes:{class:["ck",e(224)]},children:[X(t,e(222))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["ck-reset","revisionViews","remove","bindTemplate","set","14BEMqlk","setName","createdAt","unhighlight","600786YNGPCu","highlight","find","revisionSelected","revisionSetName","map","get","986985SQmAZI","22OaNeeN","getTime","ck-revision-history-sidebar","ck-revision-history-sidebar__timeline","removeRevision","_removeRevision","div","locale","1783804pMWJtP","_revisionActions","5406920HSMKna","delegate","_getTimePeriodViewByStartDate","97172GWZDpa","5268740OgGjgB","_addRevision","createCollection","some","select","ck-disabled","_requireRevisionName","setTemplate","ck-rounded-corners","add","fire","uiLanguage","deselect","timePeriodViews","3lmJbad","highlightRevisions","selectRevision","addRevision","7DmQJON","isEnabled","3506860ESwZjv","startDate","render","flat","_revisions"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(371967===parseInt(e(160))/1*(parseInt(e(141))/2)+parseInt(e(156))/3*(parseInt(e(136))/4)+-parseInt(e(162))/5+-parseInt(e(176))/6*(parseInt(e(172))/7)+-parseInt(e(138))/8+parseInt(e(183))/9+-parseInt(e(142))/10*(-parseInt(e(184))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(155)];[wo(166)];[wo(137)];[wo(148)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(170)];this[n(155)]=this[n(144)](),this[n(155)][n(139)](n(146)).to(this),this[n(155)][n(139)](n(173)).to(this),this[n(166)]=e,this[n(137)]=i,this[n(148)]=s,this.on(n(146),((t,e)=>{const i=n;this[i(152)](i(179),e)})),this.on(n(173),((t,e)=>{const i=n;this[i(152)](i(180),e)})),this[n(171)](n(161),!1),this[n(149)]({tag:n(134),attributes:{class:["ck",n(167),n(150),n(186)]},children:[new yo(t),{tag:n(134),attributes:{class:["ck",n(187),r.if(n(161),n(147),(t=>!t))]},children:this[n(155)]}]})}[wo(164)](){const t=wo;super[t(164)]();for(const e of this[t(166)])this[t(143)](e);this[t(166)].on(t(151),((e,i)=>{this[t(143)](i)})),this[t(166)].on(t(169),((e,i)=>{this[t(189)](i)}))}get[wo(168)](){const t=wo;return this[t(155)][t(181)]((e=>e[t(168)][t(181)]((t=>t))))[t(165)]()}[wo(158)](t){const e=wo;for(const i of this[e(168)])t&&t.id===i.id?i[e(146)]():i[e(154)]()}[wo(157)](t){const e=wo;for(const i of this[e(168)])t[e(145)]((({id:t})=>t===i.id))?i[e(177)]():i[e(175)]()}[wo(143)](t){const e=wo,i=oo(t[e(174)],this[e(135)][e(153)])[e(163)];let s=this[e(155)][e(182)](0);s&&s[e(163)][e(185)]()===i[e(185)]()||(s=new fo(this[e(135)],i,this[e(137)],this[e(148)]),this[e(155)][e(151)](s)),s[e(159)](t)}[wo(189)](t){const e=wo,i=oo(t[e(174)],this[e(135)][e(153)])[e(163)];this[e(140)](i)[e(188)](t)}[wo(140)](t){const e=wo;return this[e(155)][e(178)]((i=>i[e(163)][e(185)]()===t[e(185)]()))}}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=187]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(647779===-parseInt(e(224))/1*(-parseInt(e(262))/2)+-parseInt(e(241))/3+parseInt(e(261))/4*(parseInt(e(239))/5)+parseInt(e(207))/6*(-parseInt(e(253))/7)+-parseInt(e(234))/8*(-parseInt(e(217))/9)+-parseInt(e(244))/10*(-parseInt(e(190))/11)+-parseInt(e(247))/12*(-parseInt(e(206))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(266)];[Oo(192)];[Oo(251)];static[Oo(191)]=[Oo(232),Oo(194),Oo(216)];static[Oo(209)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(260),action:({plugins:e},i)=>{const s=t,n=e[s(237)](ee),r=n[s(195)];let o=n[s(254)][s(248)],a=i.id;r[s(203)](o)>r[s(203)](a)&&([o,a]=[a,o]),n[s(201)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(237)](ee);return!(n[s(195)][s(250)](n[s(254)])[s(204)]>2||i[s(258)])}},restoreRevision:{name:t(200),action:(e,{id:i})=>{const s=t;e[s(242)][s(237)](s(187))[s(213)](i)},isVisible:({plugins:e},i)=>!!e[t(237)](ee)[t(195)][t(271)](i.id)},nameRevision:{name:t(246),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(237)](ee),o=r[n(195)][n(236)](i);r[n(201)](i,o),s[n(202)](),s[n(256)][n(238)]()}}}}();static get[Oo(197)](){return Oo(263)}static get[Oo(228)](){return!0}static get[Oo(196)](){return!0}static get[Oo(252)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(266)]=t[e(225)][e(237)](ee),this[e(192)]=this[e(266)][e(195)],this[e(251)]=null}[Oo(240)](){const t=Oo,e=this[t(192)][t(265)],i=this[t(208)](),s=this[t(227)][t(242)][t(237)](t(259));this[t(251)]=new So(this[t(227)][t(230)],e,i,this[t(227)][t(242)][t(237)](t(211))),this[t(251)].on(t(249),this[t(264)][t(220)](this)),this[t(251)].on(t(221),this[t(255)][t(220)](this)),this[t(251)][t(220)](t(243)).to(this[t(266)]),this[t(251)][t(229)].on(t(214),((e,i)=>{const s=t;i[s(245)].on(s(214),((t,e)=>{const i=s;e[i(220)](i(243),i(270)).to(this[i(266)])}))})),this[t(251)][t(215)](),this[t(198)](this[t(227)][t(233)],t(212),this[t(272)][t(220)](this)),this[t(198)](this[t(266)],t(218),this[t(231)][t(220)](this)),s[t(235)](this[t(251)][t(188)])}[Oo(193)](){const t=Oo;this[t(251)][t(188)][t(268)](),this[t(251)][t(193)]()}[Oo(272)](){const t=Oo,e=this[t(192)][t(189)](0);if(e){const i=this[t(192)][t(236)](e.id);this[t(266)][t(201)](e,i)}}[Oo(264)](t,e){const i=Oo,s=this[i(192)][i(189)](e.id),n=this[i(192)][i(236)](s.id);this[i(266)][i(201)](s,n)}[Oo(255)](t,e){const i=Oo;this[i(192)][i(189)](e.id)[i(219)](e[i(222)])}[Oo(231)](t,e,i){const s=Oo,n=this[s(192)][s(250)](i);n[s(204)]>2?(this[s(251)][s(226)](n),this[s(251)][s(205)](null)):(this[s(251)][s(226)]([]),this[s(251)][s(205)](n[0]))}[Oo(208)](){const t=Oo,e=this[t(227)],i=xo[t(209)],s=e[t(242)][t(237)](t(257))||xo[t(191)];if(s[t(204)])return s[t(210)]((s=>{const n=t,r=n(267)==typeof s?Object[n(223)]({},i[s]):s;return r[n(199)]=r[n(199)][n(220)](this,e),r[n(269)]&&(r[n(269)]=r[n(269)][n(220)](this,e)),r}))}}function No(){const t=["select","217430sRqXeB","init","1225107kPFGOR","config","isEnabled","150hYSehR","revisionViews","Name this revision","24djneAF","newRevisionId","revisionSelected","getRevisionsInDiff","_sidebarView","requires","28FuckDi","diff","_handleRevisionSetName","fieldView","revisionHistory.revisionActions","isSelected","revisionHistory.viewerSidebarContainer","Compare against selected","84aFHIOh","876CDVkyH","RevisionsSidebar","_handleRevisionSelected","_revisions","_revisionViewer","string","remove","isVisible","isReady","getLaterVisibleRevision","_handleEditorDataReady","revisionHistory","element","getRevision","36377AJxAqe","defaultRevisionActions","_revisionsRepository","destroy","restoreRevision","repository","isPremiumPlugin","pluginName","listenTo","action","Restore this revision","compare","focus","getIndex","length","selectRevision","519493iglirj","1320756ESdlzR","_createRevisionActions","availableRevisionActions","map","revisionHistory.requireRevisionName","ready","restoreRevisionCallback","add","render","nameRevision","27HIKMgA","change:diff","setName","bind","revisionSetName","name","assign","407xIMklx","plugins","highlightRevisions","editor","isOfficialPlugin","timePeriodViews","locale","_handleDiffChange","compareAgainstSelected","data","1908408fyceyD","appendChild","getEarlierVisibleRevision","get"];return(No=function(){return t})()}const Ro=xo,Ao=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=119]})(t,e)}function Do(){const t=["config","element","rootName","bind","destroy","replace","isActive","getRoot","fillFromConfig","6030qwcknO","detachDomRoot","isFocused","setEditableElement","restore","fire","attachDomRoot","addToolbar","view","715228RmLJzY","editor","editable","10oCOxFU","viewportOffset","init","get","stickyPanel","viewportTopOffset","1198980WuJvdN","componentFactory","15464bPHsvz","name","ready","_view","404gIsoRK","242136QqwXZW","render","_initToolbar","_elementReplacer","limiterElement","12227060Lpxjbz","_toolbarConfig","637XuceBl","toolbar","576720nTWqKL","editing","focusTracker","document","11sGtmtz"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(291755===-parseInt(e(124))/1+-parseInt(e(162))/2*(-parseInt(e(138))/3)+-parseInt(e(147))/4*(parseInt(e(150))/5)+-parseInt(e(156))/6+-parseInt(e(122))/7*(parseInt(e(158))/8)+-parseInt(e(163))/9+parseInt(e(120))/10*(parseInt(e(128))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends pt.EditorUI{[Ao(161)];[Ao(121)];[Ao(166)];get[Ao(146)](){return this[Ao(161)]}constructor(e,i){const s=Ao;super(e),this[s(161)]=i,this[s(121)]=(0,pt.normalizeToolbarConfig)(e[s(129)][s(153)](s(123))),this[s(166)]=new t.ElementReplacer}get[Ao(130)](){const t=Ao;return this[t(146)][t(130)]}[Ao(152)](t){const e=Ao,i=this[e(148)],s=this[e(146)],n=i[e(125)][e(146)],r=s[e(149)],o=n[e(127)][e(136)]();r[e(159)]=o[e(131)],s[e(164)]();const a=r[e(130)];this[e(141)](r[e(159)],a),s[e(149)][e(132)](e(140)).to(this[e(126)]),n[e(144)](a),this[e(166)][e(134)](t,this[e(130)]),this[e(165)](),this[e(143)](e(160))}[Ao(133)](){const t=Ao;super[t(133)]();const e=this[t(146)],i=this[t(148)][t(125)][t(146)];this[t(166)][t(142)](),i[t(139)](e[t(149)][t(159)]),e[t(133)]()}[Ao(165)](){const t=Ao,e=this[t(146)];e[t(154)][t(132)](t(135)).to(this[t(126)],t(140)),e[t(154)][t(119)]=e[t(130)],e[t(154)][t(132)](t(155)).to(this,t(151),(({top:t})=>t)),e[t(123)][t(137)](this[t(121)],this[t(157)]),this[t(145)](e[t(123)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;function Fo(){var t=["editable","main","render","354NQIfxK","9KyDNMh","4156698apKJwA","7082YFIynv","31426660RaqBXz","stickyPanel","_editable","7079772nVpPtN","5jGbGia","192099wCfzld","content","toolbar","239320woDKbc","5842152bUHyxn","top","add","shouldToolbarGroupWhenFull"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=416]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(920814===-parseInt(e(420))/1*(parseInt(e(423))/2)+-parseInt(e(429))/3+-parseInt(e(433))/4+-parseInt(e(428))/5*(-parseInt(e(427))/6)+-parseInt(e(422))/7+-parseInt(e(432))/8*(parseInt(e(421))/9)+parseInt(e(424))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(426)];[jo(425)];[jo(431)];get[jo(417)](){return this[jo(426)]}constructor(t,e,i={}){var s=jo;super(t),this[s(425)]=new pt.StickyPanelView(t),this[s(431)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(416)]}),this[s(426)]=new pt.InlineEditableUIView(t,e)}[jo(419)](){var t=jo;super[t(419)](),this[t(425)][t(430)][t(435)](this[t(431)]),this[t(434)][t(435)](this[t(425)]),this[t(418)][t(435)](this[t(417)])}}function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=237]})(t,e)}const Wo=zo;function Uo(){const t=["createRoot","get","init","8944992YTVMIi","sourceElement","3124430xBpSpK","24636oioJRO","data","model","document","locale","view","6719706TEgjod","config","2225136FOvMAV","fire","create","updateSourceElement","ready","_ui","4854516fOTbuA","editing","1644549PehtbE","365ZxMQIx","initialData","initPlugins","7TtTQiQ","destroy"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(873093===parseInt(e(249))/1+-parseInt(e(260))/2+-parseInt(e(247))/3+-parseInt(e(261))/4*(-parseInt(e(250))/5)+parseInt(e(258))/6*(parseInt(e(253))/7)+-parseInt(e(241))/8+parseInt(e(239))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(246)];get ui(){return this[Wo(246)]}constructor(t,e){const i=Wo;super(e),this[i(259)]=t,this[i(263)][i(264)][i(255)]();const s=new Po(this[i(237)],this[i(248)][i(238)],{shouldToolbarGroupWhenFull:!0});this[i(246)]=new Eo(this,s)}[Wo(254)](){const t=Wo;return this[t(244)](),this.ui[t(254)](),super[t(254)]()}static async[Wo(243)](t,e){const i=Wo,s=new this(t,e);return await s[i(252)](),await s.ui[i(257)](t),await s[i(262)][i(257)](s[i(240)][i(256)](i(251))||""),s[i(242)](i(245)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=406]})(t,e)}function $o(){const t=["isReadOnly","pluginName","DocumentOutlineUI","3rqtyxD","createRangeIn","164105prZUPE","indexOf","createdAt","error","_enhanceShowRevisionViewerCallback","roots","from","$graveyard","create","getUser","Users","refreshPositioning","document","revision-history-viewer-opened","toJSON","data","Dialog","getRevisionDocumentData","revisionHistory.showRevisionViewerCallback","Annotations","_enhanceCloseRevisionViewerCallback","_restoreRevision","getAttributeKeys","selection","save","setAttribute","831108GshRFR","revisionHistory.requireRevisionName","remove","revisionHistory.viewerContainer","changesNavigation","_cleanUp","has","requires","block","_getRevisionViewerEditorConfig","_showRevisionViewer","748384flGEIK","toVersion","locale","_viewerEditor","config","numeric","RevisionViewer","restrictedEditingException","isReady","markers","map","isOfficialPlugin","fromCharCode","revisionHistory.closeRevisionViewerCallback","refreshVisibility","set","isEnabled","bind","setSelection","join","adapter","push","DocumentOutline","27DyzRuM","plugins","showRevisionViewerCallback","RevisionHistoryUtils","toolbar","removeSelectionAttribute","saveRevision","getRoot","735480qCmJlL","revisionHistory.viewerEditorElement","RevisionsRepository","isAnonymous","removeAttribute","lazyRoots","insert","473TAbqru","exitToEditing","users","loadRevisionData","keys","end","addUser","catch","editor","isOpen","getRevisionRootsAttributes","revisionHistory.restoreRevisionCallback","none","get","name","disableReadOnlyMode","RevisionHistory","rootName","286540mJhmPI","_update","60pTdGMk","restoreRevision","RevisionViewerIntegration","hide","isPremiumPlugin","element","RevisionTracker","Restored","translations","toLocaleDateString","getMarkersGroup","destroy","enqueueChange","enableReadOnlyMode","revisionHistory.editorContainer","PaginationLookup","RestrictedEditingMode","repository","creator","revision-history-missing-configuration","style","Autosave","closeRevisionViewerCallback","includes","addRevisionData","toLocaleTimeString","getRevision","14JxSNVH","isAttached","isRevisionViewerOpen","442zAHfek","detachRoot","addRoot","RevisionHistoryUI","uiLanguage","init","result","change","getRevisions","1555634cRPnUv","display","fromVersion","_closeRevisionViewer","_recalculatePageBreaks","then","update","591665FCQXOV","revisionHistory","define","commands","removeMarker","model","long","view","parse"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(781037===-parseInt(e(429))/1+parseInt(e(422))/2*(parseInt(e(441))/3)+parseInt(e(538))/4*(-parseInt(e(443))/5)+-parseInt(e(511))/6*(-parseInt(e(410))/7)+-parseInt(e(480))/8*(parseInt(e(503))/9)+parseInt(e(536))/10*(-parseInt(e(518))/11)+parseInt(e(469))/12*(parseInt(e(413))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(416),Ho(554)];class Yo extends U.Plugin{[Ho(419)];static get[Ho(439)](){return Ho(540)}static get[Ho(491)](){return!0}static get[Ho(542)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(490)]((t=>String[e(492)](t)))[e(499)]("")}super(t),this[e(419)]=e(523),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 Go extends U.Plugin{[Ho(483)];static get[Ho(439)](){return Ho(534)}static get[Ho(491)](){return!0}static get[Ho(542)](){return!0}static get[Ho(476)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(526)][i(484)][i(531)](i(430)))throw new t.CKEditorError(i(557),this);this[i(483)]=null,this[i(495)](i(412),!1),this[i(526)][i(484)][i(431)](i(461),(t=>this[i(479)]({...t,translations:this[i(526)][i(482)][i(546)]}))),this[i(526)][i(484)][i(431)](i(493),(t=>this[i(425)](t))),this[i(526)][i(484)][i(431)](i(529),(t=>this[i(464)](t))),this[i(526)][i(484)][i(431)](i(470),!1),this[i(447)](),this[i(463)]()}set[Ho(500)](t){const e=Ho;this[e(526)][e(504)][e(531)](e(544))[e(500)]=t}get[Ho(500)](){const t=Ho;return this[t(526)][t(504)][t(531)](t(544))[t(500)]}[Ho(407)](t){const e=Ho;return this[e(526)][e(504)][e(531)](e(544))[e(407)](t)}[Ho(409)](t){const e=Ho;return this[e(526)][e(504)][e(531)](e(513))[e(409)](t)}[Ho(421)](t){const e=Ho;return this[e(526)][e(504)][e(531)](e(513))[e(421)](t||{toJSON:!1})}[Ho(478)](){const e=Ho,i=this[e(526)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(504)][e(531)](e(544)),r=i[e(504)][e(531)](e(453))[e(520)];return s[e(507)]=[e(519),e(539),e(473)],delete s[e(516)],s[e(504)][e(501)](Yo,ee,be,class extends U.Plugin{static get[e(476)](){return[ee,e(453)]}[e(418)](){const s=e,o=this[s(526)][s(504)][s(531)](s(453));for(const t of r)t[s(514)]||o[s(452)](t.id)||o[s(524)](t);const a=n[s(555)][s(421)]();let c=null;const u=this[s(526)][s(504)][s(531)](s(486));u[s(500)]=n[s(500)],u[s(497)](s(496)).to(n),this[s(526)][s(432)][s(531)](s(539))[s(497)](s(496)).to(i,s(438),(t=>!t));for(const e of a){const i=null===e[s(556)];if(i&&e[s(481)]===e[s(424)])continue;const r=e[s(457)]();u[s(407)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(537)](r,o);else if(!o){const e=a[u(457)]();e.id=(0,t.uid)(),n[u(509)](e,a[u(481)])[u(427)]((t=>{c=t}))}}else e[u(537)](r,o)}))}}},Ro),s}[Ho(447)](){const t=Ho,e=this[t(526)][t(484)][t(531)](t(430))[t(505)];this[t(526)][t(484)][t(495)](t(461),(async()=>{const i=t;this[i(526)][i(551)](i(456));const s=this[i(526)][i(504)][i(531)](i(544));if(this[i(526)][i(504)][i(475)](i(559))){const t=this[i(526)][i(504)][i(531)](i(559));await t[i(467)]()}else await s[i(428)]();if(this[i(526)][i(504)][i(475)](i(553))&&this[i(526)][i(504)][i(531)](i(553))[i(426)](),this[i(526)][i(504)][i(475)](i(459))){const t=this[i(526)][i(504)][i(531)](i(459));t[i(527)]&&t[i(541)]()}const n=this[i(478)]();return e(n)[i(427)]((t=>{const e=i;return this[e(483)]=t,this[e(526)][e(504)][e(475)](e(462))&&this[e(526)][e(504)][e(531)](e(462))[e(494)](),this[e(526)][e(504)][e(475)](e(502))&&(this[e(526)][e(504)][e(531)](e(440))[e(436)][e(543)][e(558)][e(423)]=e(530)),t}))[i(525)]((t=>(console[i(446)](t),this[i(526)][i(533)](i(456)),null)))}))}[Ho(463)](){const t=Ho,e=this[t(526)][t(484)][t(531)](t(430))[t(560)];this[t(526)][t(484)][t(495)](t(493),(()=>(this[t(526)][t(504)][t(475)](t(553))&&this[t(526)][t(504)][t(531)](t(553))[t(426)](),this[t(526)][t(504)][t(475)](t(502))&&(this[t(526)][t(504)][t(531)](t(440))[t(436)][t(543)][t(558)][t(423)]=""),this[t(483)][t(504)][t(531)](t(486))[t(474)](),e(this[t(483)])[t(427)]((()=>{const e=t;if(this[e(526)][e(533)](e(456)),this[e(483)]=null,this[e(526)][e(504)][e(475)](e(462))){const t=this[e(526)][e(504)][e(531)](e(462));t[e(494)](),t[e(454)]()}})))))}[Ho(479)](t){const e=Ho,i=this[e(526)][e(484)][e(531)](e(552)),s=this[e(526)][e(484)][e(531)](e(472)),n=this[e(526)][e(484)][e(531)](e(512));return Zo[e(451)](n,t)[e(427)]((t=>(s[e(558)][e(423)]=e(477),i[e(558)][e(423)]=e(530),this[e(412)]=!0,t)))}[Ho(425)](t){const e=Ho,i=this[e(526)][e(484)][e(531)](e(552));return this[e(526)][e(484)][e(531)](e(472))[e(558)][e(423)]=e(530),i[e(558)][e(423)]="",this[e(412)]=!1,t[e(549)]()}async[Ho(464)](t){const e=Ho,i=this[e(526)],s=this[e(483)][e(504)][e(531)](e(486)),n=i[e(504)][e(531)](e(544)),r=i[e(504)][e(531)](e(506)),o=s[e(555)][e(409)](t);let a,c,u;try{await r[e(521)](o,this[e(500)]),a=r[e(460)](o),c=r[e(528)](o)}catch(t){return void console[e(446)](t)}i[e(434)][e(420)]((t=>{const s=e;for(const e of Array[s(449)](i[s(434)][s(489)][s(548)](s(487))))t[s(433)](e)})),s[e(488)]=!1,i[e(434)][e(550)]((t=>{const s=e;t[s(498)](null),t[s(508)](i[s(434)][s(455)][s(466)][s(465)]());const n=Object[s(522)](a);for(const e of i[s(434)][s(455)][s(448)])s(450)!=e[s(535)]&&e[s(411)]()&&!n[s(406)](e[s(535)])&&t[s(414)](e);for(const e of n){let n=i[s(434)][s(455)][s(510)](e);n&&n[s(411)]()||(n=t[s(415)](e));const r=c[e],o=Object[s(522)](r),u=a[e];for(const e of n[s(465)]())o[s(406)](e)||t[s(515)](e,n);for(const i of o)t[s(468)](i,c[e][i],n);t[s(471)](t[s(442)](n)),t[s(517)](i[s(458)][s(437)](u,n),n,0)}}));const l=X(i[e(482)],e(545));return u=o[e(532)]?-1==o[e(532)][e(444)](l)?l+": "+o[e(532)]:o[e(532)]:l+": "+o[e(445)][e(547)](i[e(482)][e(417)],{month:e(435),day:e(485)})+", "+o[e(445)][e(408)](i[e(482)][e(417)],{hour:e(485),minute:e(485)}),await n[e(509)]({name:u}),s[e(488)]=!0,i[e(484)][e(531)](e(430))[e(560)]()}}function Jo(){var t=["1272417UlUbSV","7312ZoOOND","10PCFSID","24090tcXkwZ","56772209zsCBHE","1554BIzXQm","4540FbmMpx","3964542EtPUZz","2ZxDykC","12HOoCVd","2045601UFPhHM","493872weJOFh","39JjvOFh"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=236]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(850563===parseInt(e(247))/1*(parseInt(e(242))/2)+-parseInt(e(246))/3*(-parseInt(e(245))/4)+parseInt(e(236))/5*(parseInt(e(241))/6)+parseInt(e(239))/7*(-parseInt(e(248))/8)+parseInt(e(244))/9+parseInt(e(240))/10*(parseInt(e(237))/11)+-parseInt(e(243))/12*(parseInt(e(238))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|