@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250408.0 → 0.0.0-nightly-20250409.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;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,A);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,A));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,A));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,A);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,A),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,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),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,A),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,A),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 A(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 R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=z;function P(){const t=["toJSON","map","diffData","set","fire","_update","attributes","name","104kJEXos","790941RpNLZu","setName","8APgEpF","24513ImPhxq","179230tRWeko","removeAttribute","fromVersion","model","setAttribute","92DCsifS","5984352RlFcay","createdAt","authorsIds","6XrLHwm","391447ufdpUU","creatorId","1888515HuPpPc","toVersion","474080QYvgeX","authors","242ttJkQB","creator"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(629320===-parseInt(e(435))/1*(-parseInt(e(441))/2)+-parseInt(e(432))/3*(-parseInt(e(434))/4)+parseInt(e(436))/5*(parseInt(e(445))/6)+-parseInt(e(446))/7*(parseInt(e(431))/8)+parseInt(e(448))/9+parseInt(e(419))/10*(-parseInt(e(421))/11)+parseInt(e(442))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(422)];[L(420)];[L(425)];[L(418)];[L(438)];[L(439)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(422)]=e[i(422)]||null,this[i(420)]=e[i(420)]||[],this[i(425)]=e[i(425)]||null,this[i(418)]=e[i(418)]||0,this[i(438)]=e[i(438)]||0,this[i(426)](i(430),e[i(430)]||""),this[i(426)](i(443),e[i(443)]||new Date),this[i(426)](i(429),e[i(429)]||{})}[L(433)](t){this[L(428)]({name:t})}[L(440)](t,e){const i=L,s=R(this[i(429)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(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]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(428)]({attributes:s})}[L(437)](t){const e=L,i=R(this[e(429)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(428)]({attributes:i})}[L(428)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(430),i(443),i(425),i(420),i(429),i(418),i(438),i(447)];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(420)]&&(n[i(444)]=n[i(420)][i(424)]((t=>t.id)),delete n[i(420)]),this[i(427)](i(428),n,e))}[L(423)](){const t=L;return{id:this.id,name:this[t(430)],creatorId:this[t(422)]?this[t(422)].id:null,authorsIds:this[t(420)][t(424)]((t=>t.id)),diffData:this[t(425)],createdAt:this[t(443)],attributes:this[t(429)],fromVersion:this[t(438)],toVersion:this[t(418)]}}}var Z=i(782),U=i(211),H=i(783);const q=B;function $(){const t=["requires","attributes","createdAt","getRevisionsInDiff","1032519FYFxaP","9NbgjTC","join","isPremiumPlugin","toJSON","7FdzyLt","fromCharCode","push","get","Users","earlier","15905tGqEqj","reverse","later","124GVgcYv","getEarlierVisibleRevision","isNaN","2421618bGsjcj","5488440MMqRdA","isOfficialPlugin","_revisions","12264250uhvBuJ","toVersion","authorsIds","RevisionsRepository","diffData","add","length","map","addRevision","4637721BjSVOz","13283XgOQmo","from","fromVersion","pluginName","getRevision","afterInit","plugins","getRevisionsIterator","getIndex","creatorId","getUser","editor","href","1340MJpYWt","getRevisions","createRevision","getLaterVisibleRevision","oldRevisionId","newRevisionId","name","data"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(624446===-parseInt(e(530))/1*(-parseInt(e(513))/2)+parseInt(e(499))/3+parseInt(e(543))/4*(-parseInt(e(510))/5)+-parseInt(e(516))/6*(-parseInt(e(504))/7)+-parseInt(e(517))/8+parseInt(e(500))/9*(parseInt(e(520))/10)+-parseInt(e(529))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends Z.Plugin{[q(519)];static get[q(551)](){return[U.Users]}static get[q(533)](){return q(523)}static get[q(518)](){return!0}static get[q(502)](){return!0}get[q(526)](){const t=q;return this[t(519)][t(526)]}constructor(e){const i=q;super(e),this[i(519)]=new t.Collection}[q(535)](){!async function(e){const i=k([113,52,55,75,88,111,99,105,114,77,120,121,89,115,57,100,81,86,78,122,98,69,49,102,112,85,50,48,118,117,76,53,51,72,103,67,66,101,108,90,65,71,97,79,70,106,83,84,74,119,56,82,104,109,68,116,54,107,80,87,110,73]),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(515)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([113]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(527)]((t=>String[e(505)](t)))[e(501)]("")}!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:1744070400;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(542)]);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(545)](t){const e=q,i=this[e(541)][e(536)][e(507)](e(508));return new W({id:t.id,name:t[e(549)],creator:t[e(539)]?i[e(540)](t[e(539)]):null,diffData:t[e(524)]||t[e(550)],authors:t[e(522)][e(527)]((t=>i[e(540)](t))),createdAt:new Date(t[e(497)]),attributes:t[e(552)],fromVersion:t[e(532)],toVersion:t[e(521)]})}[q(528)](t,e=0){const i=q;this[i(519)][i(525)](t,e)}[q(534)](t){const e=q;return this[e(519)][e(507)](t)}[q(544)](t={toJSON:!1}){const e=q,i=Array[e(531)](this[e(519)]);return i[e(511)](),t[e(503)]?i[e(527)]((t=>t[e(503)]())):i}[q(538)](t){const e=q;return this[e(519)][e(538)](t)}[q(514)](t){const e=q,[,i]=this[e(537)](t,{direction:e(509)});return i}[q(546)](t){const e=q,[,i]=this[e(537)](t,{direction:e(512)});return i}[q(498)](t){const e=q,i=[];for(const s of this[e(537)](t[e(548)]))if(i[e(506)](s),s.id===t[e(547)])break;return i}*[q(537)](t,{direction:e=q(509),filter:i=()=>!0}={}){const s=q,n=s(509)===e?1:-1;let r=this[s(519)][s(507)](t),o=this[s(538)](r);for(yield r;r;){if(o+=n,r=this[s(534)](o),!r)return;i(r)&&(yield r)}}}const Y=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(250472===-parseInt(e(344))/1*(parseInt(e(291))/2)+parseInt(e(292))/3+parseInt(e(306))/4*(-parseInt(e(289))/5)+parseInt(e(276))/6*(-parseInt(e(288))/7)+-parseInt(e(294))/8+-parseInt(e(272))/9*(-parseInt(e(300))/10)+parseInt(e(309))/11*(parseInt(e(293))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends Z.Plugin{static get[Y(327)](){return Y(297)}static get[Y(274)](){return!0}static get[Y(340)](){return!0}[Y(341)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[Y(314)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[Y(318)](t,e){const i=Y;if(t[i(282)]||!e)return;const s=this[i(310)][i(317)][i(330)](i(301)),n=await e[i(329)]({channelId:s,revisionId:t.id});t[i(282)]=n[i(282)]}[Y(331)](t){const e=Y,i={};for(const s in t[e(282)]){if(t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)])continue;const n=this[e(285)](JSON[e(307)](t[e(282)][s][e(320)])),r=this[e(310)][e(323)][e(302)][e(311)],o=new H.ViewDocumentFragment(r,n[e(298)]((t=>this[e(336)](t,!1))));this[e(310)][e(328)][e(322)][e(284)](e(277)),i[s]=this[e(310)][e(328)][e(322)][e(324)](o),this[e(310)][e(328)][e(322)][e(284)](e(303))}return i}[Y(278)](t){const e=Y,i={};for(const s in t[e(282)])t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)]||(i[s]=t[e(282)][s][e(315)]||{});return i}[Y(313)](t){const e=Y;return this[e(341)][e(330)](t[e(283)])}[Y(336)](t,e){const i=Y,s=this[i(310)][i(323)][i(302)][i(311)];if(i(339)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(299)]||"r"==t[i(299)]?[]:t[i(335)][i(298)]((t=>this[i(336)](t,e)));const o=this[i(314)][i(330)](t[i(299)])||H.ViewElement,a=this[i(310)][i(328)][i(333)][i(325)];if(n=new o(s,t[i(296)],t[i(308)],r),"u"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){const e=i,s=t[e(334)](e(286));return s[e(332)]=r,s[e(312)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e),n=Array[i(280)](a[i(281)](r))[0]}}else if("r"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){t[i(332)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e);const o=Array[i(280)](a[i(281)](r));o[i(295)]>1?n[i(290)](o):n=o[0]}}if(t[i(319)])for(const[e,s]of t[i(319)])n[i(345)](e,s);const c=void 0===t[i(348)]?null:t[i(348)];return null!==c&&(n[i(326)]=()=>c),n}}[Y(279)](t){const e=Y,i=JSON[e(307)](t),s=this[e(310)][e(323)][e(302)][e(311)],n=new H.ViewDocumentFragment(s,i[e(298)]((t=>this[e(336)](t,!0))));return this[e(310)][e(328)][e(287)](n)}[Y(285)](t){const e=Y;return(t=t[e(337)]((t=>!t[e(296)]||e(347)!==t[e(296)]&&e(316)!==t[e(296)])))[e(273)]((t=>{const i=e;i(339)!=typeof t&&(t[i(335)]=this[i(285)](t[i(335)]),t[i(308)]=t[i(308)][i(337)]((t=>!t[0][i(346)](i(304)))))})),t}}function X(){const t=["_viewClassToTypeChar","render","domDocument","131gelaAn","_setCustomProperty","startsWith","revision-start","fillerOffset","9QXqWbq","forEach","isOfficialPlugin","append","114KFBvAJ","marked","getRevisionRootsAttributes","_makeModelFromViewString","from","domChildrenToView","diffData","constructor","useFillerType","_removeRevisionMarkers","div","toModel","28693JiEutj","45950vnyyLR","_appendChild","3816wFLKJO","417741foekdi","660siwauJ","2608496zPQoCW","length","name","RevisionHistoryUtils","map","type","2358210DmzzGq","collaboration.channelId","view","default","data-revision-","viewChildrenToDom","20RABplc","parse","attributes","115049uNAAnq","editor","document","childNodes","_getTypeCharForViewElement","_typeCharToViewClass","attributesAfter","revision-end","config","loadRevisionData","customProperties","insertions","attachChange","processor","editing","toData","domConverter","getFillerOffset","pluginName","data","getRevision","get","getRevisionDocumentData","innerHTML","htmlProcessor","createElement","children","_getViewFromDiffObj","filter","isAttached","string","isPremiumPlugin"];return(X=function(){return t})()}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&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 R,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===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=ut;!function(t){const e=ut,i=t();for(;;)try{if(185187===-parseInt(e(255))/1+parseInt(e(356))/2*(parseInt(e(466))/3)+parseInt(e(246))/4+parseInt(e(391))/5+parseInt(e(407))/6+parseInt(e(306))/7*(-parseInt(e(452))/8)+parseInt(e(456))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class ot extends Z.Plugin{[rt(371)];[rt(274)];[rt(510)]=null;[rt(288)];[rt(327)]=null;[rt(544)];[rt(333)];[rt(408)];[rt(485)];[rt(369)];[rt(436)];[rt(384)];[rt(265)];[rt(460)];static get[rt(535)](){return rt(240)}static get[rt(428)](){return!0}static get[rt(448)](){return!0}static get[rt(396)](){return[U.Users,J,K,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(288)]=this[i(341)][i(362)][i(309)](i(261)),this[i(369)]=this[i(341)][i(362)][i(309)](i(342)),this[i(544)]=new at(this[i(341)]),this[i(408)]=this[i(341)][i(394)][i(309)](i(374))||i(439),this[i(485)]=new Map,this[i(460)]=null;const s=(0,t.uid)();this[i(333)]={history:this[i(341)][i(367)][i(451)][i(419)],getLatestVersion:()=>Promise[i(501)](this[i(341)][i(367)][i(451)][i(337)]),getCurrentRevisionId:()=>s},this[i(455)](i(373),!1),this[i(455)](i(472),!0),this[i(455)](i(542),!1),this[i(341)][i(394)][i(347)](i(434),!0),this[i(341)][i(297)][i(395)](i(473))[i(471)]({view:i(415)})}[rt(393)](){const t=rt;this[t(226)](),this[t(341)][t(279)].on(t(294),(()=>{const e=t,i=this[e(288)][e(403)](0),s=i&&null===i[e(413)]?i:null;if(this[e(384)]=!!s&&this[e(341)][e(394)][e(309)](e(434)),this[e(341)][e(362)][e(258)](e(254))){const t=this[e(333)][e(372)](),n=this[e(288)][e(403)](t);if(n)this[e(265)]=n[e(490)],this[e(384)]=!1;else{const t=this[e(333)][e(419)][e(392)][e(331)]((t=>!t[e(305)])),n=t?t[e(324)]:this[e(333)][e(419)][e(337)];i?(i[e(517)]<n&&i[e(539)]({toVersion:n}),this[e(384)]?(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)]):(this[e(265)]=i[e(517)],this[e(384)]=!1)):(this[e(265)]=n,this[e(384)]=!1)}}else s&&(this[e(341)][e(367)][e(451)][e(419)][e(337)]=Math[e(442)](s[e(517)],this[e(341)][e(367)][e(451)][e(419)][e(337)]),s[e(490)]===s[e(517)]?(0!==s[e(490)]&&(this[e(333)][e(372)]=()=>s.id),this[e(384)]=!1):this[e(384)]&&(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)])),this[e(384)]||(this[e(265)]=this[e(341)][e(367)][e(451)][e(337)]);this[e(544)][e(393)](this[e(333)][e(419)]),this[e(494)](this[e(265)]),this[e(290)](this[e(265)]),this[e(327)]&&this[e(445)]()})),this[t(366)](t(373)).to(this,t(542),(t=>!t)),this[t(371)]=this[t(341)][t(394)][t(309)](t(371));const e=this[t(341)];this[t(274)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(275)==r||i(278)==r||i(295)==r||i(260)==r||i(334)==r||i(330)==r||i(242)==r||i(316)==r){delete e[n],s=r,clearInterval(this[i(274)]),this[i(274)]=void 0;break}}i(278)==s&&e[i(503)](i(262)),i(295)==s&&e[i(503)](i(263)),i(260)==s&&e[i(503)](i(397)),i(334)==s&&e[i(503)](i(328),i(483)),i(330)==s&&e[i(503)](i(521)),i(242)==s&&e[i(503)](i(285)),i(316)==s&&e[i(503)](i(545))}),1e3)}async[rt(536)](){const t=rt;if(this[t(288)][t(537)]>0){const e=this[t(288)][t(403)](0),i=await this[t(370)](e),s=await this[t(464)](e);this[t(429)](i,s)}}[rt(438)](){const t=rt;super[t(438)](),this[t(274)]&&clearInterval(this[t(274)])}[rt(355)](t){this[rt(333)]=t}async[rt(349)](){const t=rt,e=await this[t(333)][t(508)]();if(e>this[t(510)][t(517)]){await this[t(227)]();const i=this[t(348)]({revision:this[t(510)],to:e});i[t(433)]=i[t(478)][t(243)]((e=>this[t(341)][t(362)][t(309)](t(308))[t(318)](e))),this[t(510)][t(539)](i)}}async[rt(323)](e={},i=null){const s=rt,n=[];await this[s(227)](),this[s(384)]=!1,i>this[s(510)][s(517)]&&(i=null),null===i&&(i=await this[s(333)][s(508)]());const r=this[s(398)](i),o=this[s(348)]({from:r,to:i});if(this[s(510)][s(517)]<i){const t=this[s(348)]({revision:this[s(510)],from:i,to:i});t[s(433)]=[],t[s(478)]=[],t.id=this[s(510)].id,this[s(510)][s(539)](t,!0),delete t[s(433)],n[s(390)](t)}e[s(461)]=this[s(341)][s(362)][s(309)](s(308)).me.id,e[s(298)]=e[s(298)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(365)](e);n[s(390)](e);const c=this[s(288)][s(532)](a);if(0!==c){const t=this[s(288)][s(403)](c-1);if(t[s(490)]!==i){const r=this[s(544)][s(425)](i,t[s(517)]),o={id:t.id,diffData:r[s(540)],authorsIds:r[s(478)],authors:r[s(478)][s(243)]((t=>this[s(341)][s(362)][s(309)](s(308))[s(318)](t))),fromVersion:i};t===this[s(510)]&&(o[s(233)]=new Date(e[s(233)][s(519)]()+10)),t[s(539)](o,!0),delete o[s(433)],n[s(390)](o)}}if(this[s(327)]){for(const t of n)this[s(458)](t.id,t,!0);this[s(445)]()}return a}[rt(365)](t){const e=rt,i=this[e(288)][e(325)](t);return this[e(327)]&&i.on(e(539),((t,i,s)=>{const n=e;s||(this[n(458)](i.id,i,!0),this[n(445)]())})),this[e(288)][e(481)](i,this[e(228)](i)),i}async[rt(370)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(370)](t)}async[rt(464)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(464)](t)}[rt(445)](){const t=rt;if(0===this[t(485)][t(414)])return;if(this[t(542)])return;let e=Array[t(411)](this[t(485)][t(421)]());this[t(485)][t(399)]();for(let i=0;i<e[t(537)];i++){const s=e[i];let n=!1;for(const e of Object[t(412)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(489)]((t=>null!==t)),!e[t(537)])return;for(let i=0;i<e[t(537)];i++){const s=e[i];void 0!==s[t(490)]&&void 0===s[t(517)]&&(s[t(517)]=this[t(288)][t(403)](s.id)[t(517)]),void 0!==s[t(517)]&&void 0===s[t(490)]&&(s[t(490)]=this[t(288)][t(403)](s.id)[t(490)])}const i=this[t(341)][t(394)][t(309)](t(374));this[t(542)]=!0,this[t(277)](),this[t(327)][t(420)](e,i)[t(476)]((()=>{this[t(542)]=!1}))[t(454)]((e=>{const i=t;if(e)for(const t of e)this[i(280)]({id:t.id,createdAt:t[i(233)]});this[i(488)](),this[i(445)]()}))}[rt(348)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(490)],i=null!==i?i:t[s(517)];const n=this[s(544)][s(425)](e,i),r={diffData:n[s(540)],authorsIds:n[s(478)],fromVersion:e,toVersion:i};if(!t||i!==t[s(517)]){const t=i-1,e=this[s(333)][s(419)][s(377)](t);r[s(233)]=e&&e[s(233)]||new Date}if(this[s(460)]&&e===this[s(460)][s(490)])for(const t of this[s(460)][s(433)])r[s(478)][s(487)](t.id)||r[s(478)][s(390)](t.id);return r}[rt(458)](t,e,i){const s=rt;if(this[s(485)][s(258)](t)){const n=this[s(485)][s(309)](t);e=i?{...n,...e}:{...e,...n}}this[s(485)][s(455)](t,e)}[rt(280)](t){const e=rt,i=this[e(288)][e(403)](t.id);if(t[e(233)]&&(t[e(233)]=new Date(t[e(233)])),t[e(478)]){const i=this[e(341)][e(362)][e(309)](e(308));t[e(433)]=t[e(478)][e(243)]((t=>i[e(318)](t)))}i[e(539)](t,!0)}[rt(494)](t){const e=rt,i=this[e(288)][e(403)](this[e(288)][e(537)]-1);if(i)this[e(408)]=i.id;else{const i=!this[e(341)][e(367)][e(451)][e(312)][e(331)]((t=>this[e(341)][e(367)][e(437)](t))),s=this[e(341)][e(362)][e(309)](e(308)).me.id,n=Q(this[e(341)][e(252)],e(i?401:513));this[e(257)]({from:t,to:t,id:this[e(408)],name:n,creatorId:s})}}[rt(290)](t){const e=rt,i=this[e(333)][e(372)]();this[e(510)]=this[e(288)][e(403)](i),this[e(510)]||(this[e(510)]=this[e(257)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(227)](){const t=rt;this[t(384)]&&!this[t(460)]&&(await this[t(369)][t(256)](this[t(510)],this[t(327)]),this[t(544)][t(300)](this[t(510)]),this[t(460)]={fromVersion:this[t(510)][t(490)],authors:this[t(510)][t(433)][t(459)]()})}[rt(429)](e,i){const s=rt;let n=this[s(341)][s(394)][s(309)](s(230)),r=this[s(341)][s(394)][s(309)](s(336));if(void 0===n){n={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())n[t]=""}if(s(515)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())r[t]={}}let o=!1;const a=Object[s(412)](n),c=Object[s(412)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(447)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(412)](r[t])[s(537)]>0){o=!0;break}}o||(o=c[s(475)]((t=>!this[s(341)][s(367)][s(451)][s(303)](t)))),o&&(0,t.logWarning)(s(432),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(341)][s(394)][s(455)](s(230),e),this[s(341)][s(394)][s(455)](s(336),i)}[rt(277)](){const t=rt;if(!this[t(436)]){const e=this[t(341)][t(362)][t(309)](t(426));this[t(436)]=e[t(405)](Q(this[t(341)][t(252)],t(289)))}}[rt(488)](){const t=rt;this[t(436)]&&(this[t(341)][t(362)][t(309)](t(426))[t(264)](this[t(436)]),this[t(436)]=null)}[rt(228)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)]();let s=0;for(;s<i[e(537)];){const n=i[s];if(n===this[e(510)]){s++;continue}if(n.id===this[e(408)])break;const r=t[e(517)]-n[e(517)]||t[e(490)]-n[e(490)];if(r>0)break;if(r<0)s++;else{if(!t[e(413)]&&n[e(413)])break;if(n[e(413)]||!t[e(413)]){if(t[e(233)]>n[e(233)])break;s++}else s++}}return s}[rt(398)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)](),i[e(266)]();const s=i[e(331)]((i=>i[e(517)]<=t))[e(517)];return s<this[e(265)]?this[e(265)]:s}[rt(257)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(348)]({from:e,to:i});o[r(298)]=t,o[r(461)]=s,o.id=n;const a=this[r(365)](o);return this[r(327)]&&this[r(458)](o.id,o,!0),a}[rt(226)](){const t=rt;this[t(341)][t(297)][t(395)](t(293))[t(402)]({model:t(415)})}}class at{[rt(341)];[rt(329)];[rt(446)];[rt(340)];[rt(248)];[rt(299)];[rt(440)];[rt(533)];[rt(480)];[rt(282)];[rt(273)];[rt(500)];[rt(387)];[rt(383)];[rt(424)];[rt(444)];[rt(469)];constructor(t){const e=rt;this[e(341)]=t,this[e(446)]=new Map,this[e(340)]=-1,this[e(248)]=-1,this[e(299)]=new Map,this[e(440)]=new Map,this[e(533)]=new Map,this[e(480)]=new Map,this[e(282)]=new Map,this[e(273)]=new Map,this[e(500)]=new Map,this[e(387)]=new Map,this[e(383)]=new Map,this[e(424)]=new Map,this[e(444)]=1}[rt(393)](t){const e=rt;this[e(329)]=t;const i=new Map,s=new Map,n=this[e(341)][e(367)][e(451)][e(312)][e(243)]((t=>t[e(363)]));for(const t of n){const n=this[e(341)][e(367)][e(451)][e(303)](t),r=ct(n);i[e(455)](t,r),s[e(455)](t,Object[e(259)](n[e(505)]()))}const r=Array[e(411)](this[e(341)][e(367)][e(296)])[e(243)]((t=>[t[e(298)],t[e(311)]()])),o=this[e(329)][e(337)];this[e(495)](o,i,r,s),this[e(469)]=this[e(444)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(455)](t,i),c[e(455)](t,{})}this[e(495)](Number[e(353)],a,[],c)}[rt(425)](t,e){const i=rt;if(this[i(340)]===t&&this[i(248)]<=e)this[i(446)][i(414)]>1&&this[i(497)](this[i(248)]),this[i(484)](this[i(248)],e,!0);else{if(!this[i(446)][i(258)](t)){const e=this[i(268)](t);this[i(422)](e,t,!1)}this[i(422)](t,e,!0)}return this[i(340)]=t,this[i(248)]=e,this[i(345)]()}[rt(300)](t){const e=rt,i=this[e(341)][e(362)][e(309)](e(342));this[e(479)](),this[e(340)]=t[e(490)],this[e(248)]=t[e(517)];for(const s in t[e(540)]){const n=t[e(540)][s][e(522)],r=R(t[e(540)][s][e(239)])||{},o=i[e(509)](t[e(540)][s][e(427)]);o[e(363)]=s,o[e(357)]=!n||!n[e(368)],o[e(368)]=()=>o[e(357)],this[e(480)][e(455)](s,o),this[e(282)][e(455)](s,r),n&&this[e(424)][e(455)](s,n);const a=this[e(286)](o);this[e(500)][e(455)](s,a);for(const[t,i]of o[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],r=a[e(376)](n)[e(291)](i);this[e(387)][e(455)](r,{userId:s})}}}this[e(469)]=this[e(444)];const s=[...Array(this[e(444)])[e(412)]()][e(459)](1)[e(489)]((t=>!this[e(387)][e(258)](t)));let n=0;const r=new Map;for(const o in t[e(540)]){const a=t[e(540)][o][e(522)],c=R(t[e(540)][o][e(474)])||{},u=i[e(509)](t[e(540)][o][e(344)]);u[e(363)]=o,u[e(357)]=!a||a[e(368)],u[e(368)]=()=>u[e(357)],this[e(440)][e(455)](o,u),this[e(533)][e(455)](o,c);const l=this[e(286)](u,Number[e(353)]);this[e(273)][e(455)](o,l),r[e(455)](o,u[e(368)]()?c:{});for(const[t,i]of u[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=this[e(444)]++,r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)];l[e(376)](r)[e(491)](i,n),this[e(387)][e(455)](n,{userId:s})}}for(const t of this[e(341)][e(367)][e(502)](u)[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],o=l[e(376)](r);o[e(291)](i)>0||o[e(491)](i,s[n++])}for(const[t,i]of u[e(296)])t[e(463)](e(247))||this[e(299)][e(455)](t,i)}const o=lt(e(354));this[e(480)][e(455)](e(354),o),this[e(500)][e(455)](e(354),this[e(286)](o,1));const a=lt(e(354));this[e(440)][e(455)](e(354),a),this[e(273)][e(455)](e(354),this[e(286)](a,1));const c=Array[e(411)](this[e(440)])[e(243)]((([t,e])=>[t,ct(e)]));this[e(495)](this[e(248)],c,this[e(299)],r)}[rt(470)](){const t=rt;this[t(479)](),this[t(340)]=-1,this[t(248)]=-1,this[t(446)][t(399)](),this[t(393)](this[t(329)])}[rt(495)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(455)](t,{start:e[n(512)][n(400)](),end:e[n(343)][n(400)](),rootName:e[n(546)][n(363)]});this[n(446)][n(455)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(497)](t){const e=rt;this[e(446)][e(541)](t)}[rt(479)](){const t=rt;this[t(387)][t(399)](),this[t(383)][t(399)](),this[t(424)][t(399)](),this[t(440)][t(399)](),this[t(533)][t(399)](),this[t(480)][t(399)](),this[t(282)][t(399)](),this[t(273)][t(399)](),this[t(500)][t(399)](),this[t(299)][t(399)](),this[t(444)]=1,this[t(469)]=this[t(444)]}[rt(286)](t,e=null){const i=rt;let s=null;t.is(i(234))||(s=new H.Element(t[i(298)],{vid_start:null===e?this[i(444)]++:e++}));const n=[];for(const s of t[i(514)]())if(s.is(i(453))){n[i(390)](this[i(286)](s,e));const t=n[n[i(537)]-1];null!==e&&(e=t.is(i(453),i(406))?t[i(291)](i(530))+1:t[i(291)](i(276))+1)}else for(let t=0;t<s[i(465)];t++)n[i(390)](new H.Element(i(406),{vid:null===e?this[i(444)]++:e++}));if(t.is(i(234))){const e=lt(t[i(363)]);return e[i(381)](0,n),e}return s[i(491)](i(276),null===e?this[i(444)]++:e++),s[i(381)](0,n),s}[rt(422)](t,e,i){const s=rt;this[s(479)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(446)][s(309)](t);this[s(480)]=new Map(n),this[s(282)]=new Map(R(o));for(const[t,e]of this[s(480)])if(s(354)!==t&&(this[s(440)][s(455)](t,ct(e)),this[s(533)]=new Map(R(o)),i)){const i=this[s(444)];this[s(273)][s(455)](t,this[s(286)](e)),this[s(500)][s(455)](t,this[s(286)](e,i))}this[s(469)]=this[s(444)],this[s(440)][s(455)](s(354),ct(this[s(480)][s(309)](s(354)))),i&&this[s(273)][s(455)](s(354),this[s(286)](this[s(480)][s(309)](s(354))));for(const[t,e]of r){const i=this[s(480)][s(309)](e[s(363)]),n=this[s(440)][s(309)](e[s(363)]),r=new H.Range(this[s(315)](e[s(512)],i),this[s(315)](e[s(343)],i)),o=this[s(301)](r,n);i[s(296)][s(455)](t,r),this[s(299)][s(455)](t,o)}this[s(484)](t,e,i)}[rt(484)](t,e,i){const s=rt;for(const n of this[s(329)][s(244)](t,e))this[s(528)](n,i);for(const t of this[s(440)][s(421)]())t[s(296)][s(399)]();for(const[t,e]of this[s(299)])this[s(440)][s(309)](e[s(546)][s(363)])[s(296)][s(455)](t,e[s(400)]());const n=new Map,r=new Map;for(const[t,e]of this[s(440)])n[s(455)](t,ct(e)),r[s(455)](t,this[s(533)][s(309)](t));this[s(495)](e,n,this[s(299)],r)}[rt(268)](t){const e=rt,i=Array[e(411)](this[e(446)][e(412)]());i[e(386)](((t,e)=>t-e)),i[e(339)]();for(const e of i)if(e<t)return e;return Number[e(353)]}[rt(231)](t,e){const i=rt,s=Array[i(411)](e[i(296)])[i(243)]((([e,s])=>[e,this[i(301)](s,t)]));t[i(296)]=new Map(s)}[rt(468)](t){const e=rt;for(const i of this[e(299)][e(421)]()){const s=i[e(435)](t),n=H.Range[e(253)](s);i[e(512)]=n[e(512)],i[e(343)]=n[e(343)]}}[rt(528)](t,e){const i=rt;if(i(251)!=t[i(511)]&&i(524)!=t[i(511)]){if(i(547)==t[i(511)]){const s=t[i(431)][i(546)][i(363)];this[i(440)][i(258)](s)||(this[i(440)][i(455)](s,lt(s,!0)),this[i(533)][i(455)](s,{}),e&&this[i(273)][i(455)](s,lt(s,!0)))}else{if(i(525)==t[i(511)]||i(538)==t[i(511)]||i(507)==t[i(511)])return void this[i(270)](t);i(249)==t[i(511)]&&this[i(232)](t)}if(i(249)!==t[i(511)]){const e=this[i(281)](t,this[i(440)]);e[i(314)](),this[i(468)](e)}if(e)switch(t[i(511)]){case i(547):this[i(358)](t);break;case i(404):case i(264):case i(379):this[i(237)](t);break;case i(499):this[i(531)](t);break;case i(388):this[i(271)](t)}}else this[i(287)](t,e)}[rt(281)](t,e){const i=rt,s=t[i(400)]();return s[i(359)]=t[i(359)],this[i(326)](s,e),s}[rt(441)](t){const e=rt;return t[e(243)]((t=>{const i=e,s=this[i(351)](t);return Number(t[i(375)][i(291)](s))}))}[rt(292)](t,e){const i=rt;if(t.is(i(453),i(406)))e[i(390)]({item:t,type:i(467)});else{t.is(i(453))&&e[i(390)]({item:t,type:i(527)});for(const s of t[i(514)]())this[i(292)](s,e);t.is(i(453))&&e[i(390)]({item:t,type:i(423)})}return e}[rt(345)](){const t=rt,e=new Map(this[t(387)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(480)][t(412)](),...this[t(440)][t(412)]()]);a[t(541)](t(354));for(const e of a){const i=this[t(440)][t(309)](e)||lt(e,!1),s=this[t(480)][t(309)](e)||lt(e,!1);i[t(368)]()||s[t(368)]()?(n[t(344)][e]=ct(i),n[t(427)][e]=ct(s),this[t(231)](n[t(427)][e],s),this[t(231)](n[t(344)][e],i),r[t(344)][e]=this[t(292)](this[t(273)][t(309)](e),[]),r[t(427)][e]=this[t(292)](this[t(500)][t(309)](e)||lt(e,!1),[])):a[t(541)](e)}for(const n of a){const o=r[t(344)][n];for(const n of o){const r=this[t(351)](n),o=n[t(375)][t(291)](r);i[t(541)](o),o>=this[t(469)]&&s[t(455)](o,e[t(309)](o))}}for(const n of a){const a=r[t(344)][n],c=this[t(441)](r[t(427)][n]);let u=0;for(const n of a){const r=this[t(351)](n),a=n[t(375)][t(291)](r);if(!s[t(258)](a)&&!o[t(258)](a))if(i[t(258)](a))u++;else{if(a!=c[u]){const s=e[t(309)](a)||e[t(309)](c[u]);for(;a!=c[u];)i[t(258)](c[u])||(o[t(455)](c[u],s),e[t(455)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(344)][e];for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n);if(o[t(258)](r)){const e=o[t(309)](r);i[t(258)](r)||i[t(455)](r,{...e}),s[t(455)](r,{...e})}}}for(const e of i[t(412)]())e>=this[t(469)]&&i[t(541)](e);const c=new Map;for(const e of a){let n=r[t(344)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const i=this[t(351)](e),n=e[t(375)][t(291)](i);if(s[t(258)](n)){const i=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](i)||new Set;r[t(405)](s[t(309)](n)[t(382)]),c[t(455)](i,r)}}n=r[t(427)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const s=this[t(351)](e),n=e[t(375)][t(291)](s);if(i[t(258)](n)){const s=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](s)||new Set;r[t(405)](i[t(309)](n)[t(382)]),c[t(455)](s,r)}}for(const e of c[t(412)]())(s[t(258)](e)||i[t(258)](e))&&c[t(541)](e)}for(const e of a){const n=r[t(344)][e];let o=null,a=null;for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n),u=c[t(309)](r);u&&t(527)==e[t(511)]&&(o=Array[t(411)](u)[0],a=e[t(375)][t(291)](t(276))),o&&(i[t(455)](r,{userId:o}),s[t(455)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(427)][e],a=n[t(344)][e];for(const{userId:e}of this[t(383)][t(421)]())null!==e&&l[t(405)](e);for(const{userId:e}of this[t(424)][t(421)]())null!==e&&l[t(405)](e);this[t(518)](a,r[t(344)][e],s,t(450),l),this[t(518)](o,r[t(427)][e],i,t(380),l),u[e]={insertions:this[t(529)](a),deletions:this[t(529)](o),attachChange:this[t(424)][t(309)](e)||null,attributesBefore:R(this[t(282)][t(309)](e))||{},attributesAfter:R(this[t(533)][t(309)](e))}}return{diffData:u,authorsIds:Array[t(411)](l)}}[rt(443)](t){const e=rt;for(const[,i]of t[e(296)]){const t=i[e(512)][e(267)]()[e(489)]((t=>e(335)==t[e(298)]));for(const i of t)1==i[e(229)]&&i[e(238)](0).is(e(453),e(332))&&i[e(238)](0)[e(491)](e(416),!0)}}[rt(529)](t){const e=rt;this[e(443)](t);const i=this[e(341)][e(279)][e(310)](t,{}),s=Array[e(411)](i[e(514)]())[e(243)]((t=>this[e(302)](t)));return JSON[e(321)](s)}[rt(302)](t){const e=rt;if(t.is(e(406)))return t[e(279)];{const i=this[e(341)][e(362)][e(309)](e(342)),s=t,n=this[e(341)][e(279)][e(430)][e(236)],r={type:i[e(284)](s),name:s[e(298)],attributes:Array[e(411)](s[e(505)]()),children:Array[e(411)](s[e(514)]())[e(243)]((t=>this[e(302)](t)))};if(t.is(e(526))&&e(346)!=t[e(298)]){const i=t[e(317)](n[e(385)],n);r[e(520)][e(390)](i[e(320)])}else if(t.is(e(462))){const i=n[e(385)][e(350)](s[e(298)]);t[e(317)](i,n),r[e(520)][e(390)](i[e(245)])}const o=Array[e(411)](s[e(449)]());o[e(537)]>0&&(r[e(304)]=o);const a=s[e(389)]();return null!==a&&(r[e(241)]=a),r}}[rt(518)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(341)][r(367)];for(let s=0;s<e[r(537)];s++){const n=this[r(351)](e[s]),c=e[s][r(375)][r(291)](n),h=i[r(309)](c),d=s==e[r(537)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(382)]!=o[r(382)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(382)],d=l(247)+s+":"+h+":"+c++,f=u[l(506)](i,a);t[l(296)][l(455)](d,f),null!==h&&n[l(405)](h)}}[rt(351)](t){const e=rt;switch(t[e(511)]){case e(527):return e(504);case e(423):return e(276);default:return e(530)}}[rt(326)](t,e){const i=rt;t[i(324)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(315)](n,r)}if(n instanceof H.Range){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(301)](n,r)}i(546)===s&&(t[i(546)]=e[i(309)](t[i(546)][i(363)]))}}[rt(301)](t,e){const i=rt;return this[i(341)][i(367)][i(506)](this[i(315)](t[i(512)],e),this[i(315)](t[i(343)],e))}[rt(315)](t,e){const i=rt;return this[i(341)][i(367)][i(482)](e,t[i(272)],t[i(496)])}[rt(358)](t){const e=rt,i=this[e(273)][e(309)](t[e(431)][e(546)][e(363)]),s=this[e(315)](t[e(431)],i),n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=s[e(364)],o=this[e(444)],a=[];for(const i of t[e(283)])if(i.is(e(453)))a[e(390)](this[e(286)](i));else for(let t=0;t<i[e(465)];t++)a[e(390)](new H.Element(e(406),{vid:this[e(444)]++}));const c=this[e(444)];for(let t=o;t<c;t++)this[e(387)][e(455)](t,{userId:n});r[e(381)](s[e(418)],a)}[rt(237)](t){const e=rt;(t=this[e(281)](t,this[e(273)]))[e(314)]();const i=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(493)](),n=s[e(364)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(238)](e);r.is(a(453),a(406))?s[a(455)](r[a(291)](a(530)),{userId:i}):(s[a(455)](r[a(291)](a(504)),{userId:i}),t(s,r,0,r[a(229)]),s[a(455)](r[a(291)](a(276)),{userId:i}))}}(this[e(387)],n,r,r+t[e(516)])}[rt(531)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(361)][e(364)],n=t[e(322)][e(364)],r=s[e(291)](e(276)),o=n[e(291)](e(504));s[e(491)](e(276),n[e(291)](e(276))),n[e(491)](e(276),r),this[e(387)][e(455)](o,{userId:i}),this[e(387)][e(455)](r,{userId:i}),t[e(314)]()}[rt(271)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(486)],n=t[e(457)][e(364)];t[e(314)]();const r=n[e(291)](e(276)),o=t[e(543)][e(378)];if(s){const t=o[e(291)](e(276)),s=n[e(291)](e(276));n[e(491)](e(276),t),o[e(491)](e(276),s),this[e(387)][e(455)](n[e(291)](e(276)),{userId:i}),this[e(387)][e(455)](o[e(291)](e(504)),{userId:i})}else{const t=this[e(444)]++,s=this[e(444)]++;n[e(491)](e(276),t),o[e(491)](e(504),s),o[e(491)](e(276),r),this[e(387)][e(455)](t,{userId:i}),this[e(387)][e(455)](s,{userId:i})}}[rt(232)](t){const e=rt;if(!t[e(250)])return;const i=(t=this[e(281)](t,this[e(440)]))[e(523)]?t[e(523)][e(546)]:null,s=t[e(492)]?t[e(492)][e(546)]:null;i&&this[e(299)][e(541)](t[e(298)]),s&&this[e(299)][e(455)](t[e(298)],t[e(492)][e(400)]());const n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=t[e(298)];if(!this[e(383)][e(258)](r))return void this[e(383)][e(455)](r,{range:t[e(523)],userId:n});const o=this[e(383)][e(309)](r),a=o[e(352)],c=t[e(492)];null==a&&null==c||a&&c&&a[e(319)](c)?this[e(383)][e(541)](t[e(298)]):o[e(382)]=n}[rt(287)](t,e){const i=rt;this[i(440)][i(258)](t[i(363)])?this[i(440)][i(309)](t[i(363)])[i(357)]=t[i(235)]:(this[i(440)][i(455)](t[i(363)],lt(t[i(363)],!0)),this[i(533)][i(455)](t[i(363)],{}),e&&this[i(273)][i(455)](t[i(363)],lt(t[i(363)],!0)));const s=null===t[i(359)]?null:t[i(359)]||this[i(341)][i(362)][i(309)](i(308)).me.id,n=this[i(424)][i(309)](t[i(363)]);n&&n[i(382)]===s?this[i(424)][i(541)](t[i(363)]):this[i(424)][i(455)](t[i(363)],{userId:s,isAttached:t[i(235)]})}[rt(270)](t){const e=rt,i=this[e(533)][e(309)](t[e(546)][e(363)]);null===t[e(338)]?delete i[t[e(417)]]:i[t[e(417)]]=t[e(338)]}}function ct(t){const e=rt,i=lt(t[e(363)],t[e(368)]());for(const s of t[e(514)]()){const t=s[e(410)](!0);i[e(534)](t)}return i}function ut(t,e){const i=ft();return(ut=function(t,e){return i[t-=226]})(t,e)}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(363)]=t,s[i(357)]=e,s[i(368)]=()=>s[i(357)],s}function ht(t,e,i){const s=rt,n=s(423)==t[s(511)]?i[s(307)](t[s(375)],s(343)):i[s(360)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function dt(t,e,i){const s=rt,n=s(527)==t[s(511)]?i[s(307)](t[s(375)],0):i[s(269)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function ft(){const t=["domDocument","sort","_touched","split","getFillerOffset","push","148395buwVhz","_operations","init","config","for","requires","domainLimit","_getFromVersion","clear","clone","Empty document","markerToData","getRevision","move","add","$text","447030DNqwMX","_initialRevisionId","getWalker","_clone","from","keys","creator","size","revision","keepParagraph","key","offset","history","updateRevisions","values","_calculateMetaData","elementEnd","_touchedRoots","getData","PendingActions","deletions","isOfficialPlugin","_replaceEditorDataWithRevisionData","htmlProcessor","position","editor-initial-data-replaced-with-revision-data","authors","revisionHistory.resumeUnsavedRevision","getTransformedByOperation","_pendingAction","hasContent","destroy","initial","_diffRoots","_getBaseVids","max","_processRootBeforeSave","_revisionId","sendBufferedUpdates","_savedMetaData","trim","isPremiumPlugin","getCustomProperties","insertion","document","386432FlIaoK","element","then","set","1621188KjAqVf","splitPosition","_bufferUpdate","slice","_loadedStateData","creatorId","rawElement","startsWith","getRevisionRootsAttributes","offsetSize","87oiFgFE","text","_transformMarkers","_startingRevisionId","reInit","dataToMarker","isEnabled","upcast","attributesAfter","some","finally","previousPosition","authorsIds","_reset","_baseRoots","addRevision","createPositionFromPath","RevisionHistory","_applyOperations","_bufferedUpdates","graveyardPosition","includes","_removePendingAction","filter","fromVersion","_setAttribute","newRange","getMovedRangeStart","_createInitialRevision","_saveMetaData","stickiness","_removeMetaData","getRootNames","merge","_baseIdsRoots","resolve","createRangeIn","_showLicenseError","vid_start","getAttributes","createRange","changeRootAttribute","getLatestVersion","_makeModelFromViewString","currentRevision","type","start","Initial revision","getChildren","string","howMany","toVersion","_markChanges","getTime","children","evaluationLimit","attachChange","oldRange","detachRoot","addRootAttribute","uiElement","elementStart","_handleOperation","_prepareViewToSave","vid","_handleMergeOperation","getIndex","_diffRootsAttributes","_appendChild","pluginName","afterInit","length","removeRootAttribute","_update","diffData","delete","_isPendingUpdate","insertionPosition","_revisionDataBuilder","usageLimit","root","insert","_setConversion","_loadState","_findInsertionIndex","childCount","initialData","_copyMarkers","_handleMarkerOperation","createdAt","documentFragment","isAdd","domConverter","_handleMoveOperation","getChild","attributesBefore","RevisionTracker","fillerOffset","revisionHistoryLicenseKeyTrialLimit","map","getOperations","innerHTML","743856Pvflpb","revision:","_lastTo","marker","affectsData","addRoot","locale","_createFromRanges","RealTimeCollaborationClient","146252cRxfWZ","loadRevisionData","_makeRevision","has","fromEntries","revisionHistoryLicenseKeyDomainLimit","RevisionsRepository","invalid","expired","remove","_startingVersion","shift","getAncestors","_getPreviousFrom","createPositionAfter","_handleRootAttributeOperation","_handleSplitOperation","path","_idsRoots","_licenseKeyCheckInterval","revisionHistoryLicenseKeyValid","vid_end","_addPendingAction","revisionHistoryLicenseKeyInvalid","data","setRevisionData","_cloneOperation","_baseRootsAttributes","nodes","_getTypeCharForViewElement","trialLimit","_makeIdsRoot","_handleRootOperation","repository","PENDING_ACTION_REVISION_HISTORY","_createCurrentRevision","getAttribute","_generateTape","dataDowncast","ready","revisionHistoryLicenseKeyExpired","markers","conversion","name","_markers","loadState","_fixRange","_getViewJson","getRoot","customProperties","_isInit","28KRIusO","createPositionAt","Users","get","toView","getRange","roots","getRevisions","_execute","_fixPosition","revisionHistoryLicenseKeyUsageLimit","render","getUser","isEqual","outerHTML","stringify","sourcePosition","saveRevision","baseVersion","createRevision","_fixOperation","adapter","featureNotAllowed","source","revisionHistoryLicenseKeyEvaluationLimit","find","paragraph","_source","revisionHistoryLicenseKeyNotAllowed","tableCell","rootsAttributes","version","newValue","reverse","_lastFrom","editor","RevisionHistoryUtils","end","insertions","_getState","$comment","define","buildRevisionData","update","createElement","_getVidAttributeName","range","NEGATIVE_INFINITY","$graveyard","setSource","3750CWoJrQ","_isAttached","_handleInsertOperation","_authorId","createPositionBefore","targetPosition","plugins","rootName","parent","addRevisionData","bind","model","isAttached","_utils","getRevisionDocumentData","licenseKey","getCurrentRevisionId","isReady","collaboration.channelId","item","getNodeByPath","getOperation","nodeAfter","reinsert","deletion","_insertChild","userId","_touchedMarkers","_continueCurrentRevision"];return(ft=function(){return t})()}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),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Vt(){const t=["8fCuQSu","413720sCYAac","revisionName","input","label","extendTemplate","keystrokes","reset","listenTo","form","1758975wlxtGJ","locale","Name of the revision","arrowright","focus","optional","646158yxubOM","161658KOVjff","arrowdown","481005ctEapA","347631qSyTvS","setTemplate","fieldView","stopPropagation","revisionNameInputView","10367208DWJahJ","220","errorText","arrowleft","revisionNameInputValue","set","focusTracker","trim","12KFLxkg","ck-responsive-form","add","_createRevisionNameInput","render","value","element","arrowup","ck-revision-history-save-revision-form"];return(Vt=function(){return t})()}function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=482]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(190397===-parseInt(e(519))/1+-parseInt(e(518))/2+parseInt(e(522))/3+-parseInt(e(503))/4+-parseInt(e(512))/5+-parseInt(e(493))/6*(parseInt(e(521))/7)+parseInt(e(502))/8*(parseInt(e(485))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[Rt(491)];[Rt(508)];[Rt(484)];constructor(e,i){const s=Rt;super(e),this[s(491)]=new t.FocusTracker,this[s(508)]=new t.KeystrokeHandler,this[s(490)](s(489),""),this[s(484)]=this[s(496)](i),this[s(523)]({tag:s(511),attributes:{class:["ck",s(501),s(494)],tabindex:"-1"},children:[this[s(484)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(497)](){const t=Rt;super[t(497)](),(0,pt.submitHandler)({view:this}),this[t(491)][t(495)](this[t(484)][t(499)]),this[t(508)][t(510)](this[t(499)]);const e=e=>e[t(483)]();this[t(508)][t(490)](t(515),e),this[t(508)][t(490)](t(488),e),this[t(508)][t(490)](t(500),e),this[t(508)][t(490)](t(520),e)}[Rt(516)](){const t=Rt;this[t(484)][t(516)]()}get[Rt(504)](){const t=Rt;return this[t(484)][t(482)][t(499)][t(498)][t(492)]()}set[Rt(504)](t){const e=Rt;this[e(484)][e(482)][e(499)][e(498)]=t[e(492)]()}[Rt(509)](){const t=Rt;this[t(484)][t(482)][t(499)][t(498)]="",this[t(484)][t(487)]=null}[Rt(496)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(513)],pt.createLabeledInputText),s=i[e(482)];s[e(507)]({attributes:{maxlength:e(486)}});let n=Q(this[e(513)],e(514));return!t&&(n+=" ("+Q(this[e(513)],e(517))+")"),i[e(506)]=n,s.on(e(505),(()=>{const t=e;this[t(489)]=s[t(499)][t(498)][t(492)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=207]})(t,e)}function Ft(){const t=["get","isReady","Open revision history","revisionSave","_saveRevisionFormView","requires","isOpen","children","reset","_registerMenuComponent","Revision history","menuitem","delegate","plugins","view","addMany","focus","Accept","RevisionTracker","isEnabled","Save current revision","revisionHistory","config","bind","171EwefbT","RevisionHistoryUI","submit","saveRevision","buttonView","menu","editor","show","isReadOnly","_createSaveRevisionFormView","1232007WqKvZw","3002226UPQfJu","set","Cancel","menuBar:revisionHistory","1ALdvHI","execute","editing","items","componentFactory","839858MHsJGV","add","177220tDSrNm","errorText","init","revisionName","5zqLBAj","1174680HYWIFj","2433YCByhg","hide","isPremiumPlugin","The revision name cannot be empty.","render","locale","panelView","7316001QTaSNM","Dialog","revisionHistory.requireRevisionName","role","pluginName","976MRvfLY","revisionNameInputView","showRevisionViewerCallback","ck-button-action","_showDialog","isOfficialPlugin"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(272789===-parseInt(e(214))/1*(parseInt(e(219))/2)+parseInt(e(227))/3*(parseInt(e(239))/4)+parseInt(e(225))/5*(parseInt(e(210))/6)+parseInt(e(209))/7+parseInt(e(226))/8+-parseInt(e(269))/9*(-parseInt(e(221))/10)+-parseInt(e(234))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends Z.Plugin{static get[Dt(238)](){return Dt(270)}static get[Dt(244)](){return!0}static get[Dt(229)](){return!0}static get[Dt(250)](){return[ot]}[Dt(249)];[Dt(223)](){const t=Dt,e=this[t(275)],i=e[t(258)][t(245)](t(263));e.ui[t(218)][t(220)](t(266),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(233)][n(252)],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(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),r[n(273)][n(211)]({icon:mt.IconHistory,label:Q(s,n(255)),tooltip:!0}),u[n(211)]({label:Q(s,n(265)),withText:!0,role:n(256)}),u[n(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),u.on(n(215),(()=>this[n(243)]())),h[n(211)]({label:Q(s,n(247)),withText:!0,role:n(256)}),h[n(268)](n(264)).to(i,n(246),e,n(207),((t,e)=>t&&!e)),h.on(n(215),(()=>{const t=n;e[t(267)][t(245)](t(266))[t(241)](),r[t(251)]=!1,e[t(216)][t(259)][t(261)]()})),c[n(252)][n(220)](u),l[n(252)][n(220)](h),a[n(237)]=n(274),a[n(217)][n(260)]([c,l]),o[n(220)](a),r})),e.ui[t(218)][t(220)](t(213),(()=>this[t(254)]()))}[Dt(254)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(273)][t(211)]({icon:mt.IconHistory,label:Q(i,t(255))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(211)]({label:Q(i,t(265))}),o[t(257)](t(215)).to(s),o.on(t(215),(()=>{this[t(243)]()})),r[t(252)][t(220)](o),n[t(217)][t(220)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(211)]({label:Q(i,t(247))}),c[t(257)](t(215)).to(s),c.on(t(215),(()=>{const i=t;e[i(267)][i(245)](i(266))[i(241)]()})),a[t(252)][t(220)](c),n[t(217)][t(220)](a),s[t(233)][t(252)][t(220)](n),s}[Dt(243)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=e[t(258)][t(245)](t(235)),n=e[t(258)][t(245)](t(263));function r(n){const r=t;e[r(267)][r(245)](r(236))&&""===n[r(224)]?n[r(240)][r(222)]=Q(i,r(230)):(e[r(258)][r(245)](ot)[r(272)]({name:n[r(224)]}),s[r(228)]())}this[t(249)]||(this[t(208)](),this[t(249)].on(t(271),(()=>r(this[t(249)])))),this[t(249)][t(253)](),s[t(276)]({id:t(248),title:Q(i,t(265)),isModal:!0,content:this[t(249)],actionButtons:[{label:Q(e[t(232)],t(212)),withText:!0,onExecute:()=>s[t(228)]()},{label:Q(e[t(232)],t(262)),class:t(242),withText:!0,onCreate(i){const s=t;i[s(268)](s(264)).to(n,s(246),n,s(264),e,s(207),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(249)])}]})}[Dt(208)](){const t=Dt,e=this[t(275)],i=e[t(232)];this[t(249)]=new Mt(i,e[t(267)][t(245)](t(236))),this[t(249)][t(231)]()}}function Lt(){const t=["span","div","_model","Removed by","10jvvRxn","add","Suggested by","author","type","ck-annotation","2223Bsqvzt","focus","data","2261570HcpJmC","7POVaui","22552EiGSoa","name","Added by","changeId","11NEbdPD","element","2HLfRIr","373064FRJGYE","ck-revision-change","4326012TcQnTj","71472CVllYT","65AzsjPO","setTemplate","522465rFukEA","isSuggestion","ck-revision-change__label","set","ck-revision-change__","bindTemplate","606113LmEBNg"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(377481===-parseInt(e(327))/1*(parseInt(e(314))/2)+-parseInt(e(321))/3+-parseInt(e(315))/4*(parseInt(e(332))/5)+-parseInt(e(318))/6*(-parseInt(e(307))/7)+parseInt(e(308))/8*(-parseInt(e(303))/9)+-parseInt(e(306))/10*(-parseInt(e(312))/11)+-parseInt(e(317))/12*(-parseInt(e(319))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(311)];[Pt(330)];constructor(t,e){const i=Pt;super(t),this[i(330)]=e,this[i(311)]=e.id;const s=this[i(326)],n=Q(t,e[i(305)][i(322)]?i(299):i(333)==e[i(301)]?i(310):i(331));this[i(324)](i(301),e[i(301)]),this[i(320)]({tag:i(329),attributes:{class:[i(302),i(316),s.to(i(301),(t=>i(325)+t))],tabindex:-1},children:[{tag:i(328),children:[{tag:i(328),attributes:{class:[i(323)]},children:[{text:n}]},{text:" "+e[i(300)][i(309)]}]}]})}[Pt(304)](){const t=Pt;this[t(313)][t(304)]()}}var Zt=Ut;function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=404]})(t,e)}function Ht(){var t=["3828cSSwgc","createdAt","9rYLCIv","1488AoJwHj","1297780KukKkn","8393yXaUcG","set","type","23780UIqWBO","data","rootName","66nkfpYR","6424930NaxmQP","357XGvSfU","author","84588VTXmrM","toJSON","5045dXfKoJ","304296jyblRm"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(361833===-parseInt(e(421))/1+-parseInt(e(407))/2+parseInt(e(416))/3*(-parseInt(e(411))/4)+parseInt(e(420))/5*(-parseInt(e(414))/6)+parseInt(e(408))/7*(parseInt(e(406))/8)+-parseInt(e(405))/9*(parseInt(e(415))/10)+-parseInt(e(422))/11*(-parseInt(e(418))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(417)];[Zt(410)];[Zt(412)];[Zt(413)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(417)]=e[i(417)],this[i(410)]=e[i(410)],this[i(412)]=e[i(412)]||{},this[i(413)]=e[i(413)],this[i(409)](i(404),e[i(404)])}[Zt(419)](){var t=Zt;return{id:this.id,authorId:this[t(417)].id,type:this[t(410)],data:this[t(412)],createdAt:this[t(404)]}}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=376]})(t,e)}function Jt(){const t=["12339008RxRqnl","28386iNrDYZ","152796cgRZgo","newRevisionId","10aZnaed","changes","185NcuoAZ","oldRevisionId","_setChanges","1653988ejkBHN","add","348516jqUIjB","2510FEgcst","1147900hFtuVw","34327QobFzp"];return(Jt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(813066===parseInt(e(379))/1*(-parseInt(e(384))/2)+parseInt(e(376))/3+-parseInt(e(378))/4+-parseInt(e(386))/5*(parseInt(e(382))/6)+-parseInt(e(389))/7+parseInt(e(380))/8+-parseInt(e(381))/9*(-parseInt(e(377))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(383)];[$t(387)];[$t(385)];constructor(e,i){const s=$t;this[s(383)]=e,this[s(387)]=i,this[s(385)]=new t.Collection}[$t(388)](t){const e=$t;for(const i of t)this[e(385)][e(390)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["domConverter","mapper","data","isAddSuggestion","has","revision","map","startIndex","attribute:vid","isCollapsed","revision-comment:","getAttribute","observeMarkers","markers","side","test","high","suggestion:","isInline","isNavigationMode","markerToHighlight","isContent","_joinTapes","endIndex","addRoot","destroy","ck-suggestion-preview-marker","_changeIdToChange","revision-suggestion:","error","numberOfChanges","mouseover","isIncorrect","merge","isAdded","_cleanUp","bottom","getWalker","change:isReady","clear","vid","checkAttribute","80oEodID","RevisionsRepository","isRemoveSuggestion","return","suggestion","change:numberOfChanges","24905HtLtSH","isEqual","refresh","next","highest","previousPosition","newRevisionId","_sortAndFilterDiffChanges","-new","startsWith","authors","stop","createPositionBefore","flat","isAttached","comment","_makeModelFromTape","roots","revision:","concat","attachChange","deletions","selection","getLaterVisibleRevision","3350928KBSZJT","domEvent","toViewElement","createPositionFromPath","writer","element:pre","find","push","markerName","changeId","right","addMarker:revision","removeMarker:revision-suggestion","635022yboDIX","vid_end","getRevisionDocumentData","_getDiff","ck-suggestion-marker-split","_removeMissingPairs","dataDowncast","isAfter","parent","activeView","keys","isReady","ck-revision-history-root-add","_makeTape","bindElementToMarker","change:activeView","markersStart","distance","_balloon","pairId","top","isPremiumPlugin","markerToData","634299oFhjme","type","end","enableReadOnlyMode","affectsData","updatePosition","editingDowncast","slice","getCustomProperty","done","addHighlight","createUIElement","change","isSuggestion","addMarker:revision-suggestion:deletion","splice","ck-revision-history-root--active","data-change-id","attributesAfter","activeChange","locale","unbindElementFromMarkerName","_getChangeFromId","findIndex","rootName","isEnabled","indexOf","revisionHistory","loadRevisionData","isAtEnd","nextPosition","1356523GJunSB","_getViewForChange","requires","isObject","_markMarkers","getRevisionRootsAttributes","index","downcastDispatcher","values","level","_removeUnsupportedChanges","_refreshStartEndIndex","maxOffset","_markInsertions","elementEnd","init","vid_start","filter","for","_appendChild","target","_revisions","insertions","set","revision-viewer","offsetSize","_fixObsoleteTags","editor","2004024eghevS","_utils","left","low","all","getRootNames","getRoot","ck-suggestion-marker-merge","consumable","_data","getDomRoot","_activeViewTarget","upcast","delete","showPreviousChange","change:isEnabled","forceDisabled","start","view","markerRange","deletion","add","abs","plugins","removeMarker","forward","ck-editor__editable__overlay","_cleanMarkers","dataToMarker","ck-revision-history-root-remove","6RvzvyZ","schema","getItems","addRevision","_step","isAtStart","wrap","change:activeChange","createRevision","removeAttribute","first","getChild","elementToAttribute","1108xBFmwu","listenTo","pluginName","hasClass","isOnRoot","getIndex","651936RhRlPS","then","diffData","nodeAfter","code","mousedown","restoreRevision","_setChanges","object","viewItem","detachRoot","softBreak","document","RevisionViewer","createAttributeElement","shift","getRevision","commands","sort","catch","createRangeIn","ck-suggestion-marker","includes","attributesBefore","from","range","_markSuggestions","get","name","model","markersEnd","enqueueChange","span","consume","_findChangeIdFromDomTarget","ck-suggestion-marker--active","_setConversion","string","split","isBlock","compare","config","addClass","oldRevisionId","setAttribute","toViewPosition","execute","removeClass","isRemoved","elementStart","addRevisionData","hasAttribute","pop","diff","_initInteractions","userId","markerNameToElements","toViewRange","insertion","element","adapter","ck-revision-history-root-","remove","showNextChange","getAttributes","length","forEach","_getRevisionsRange","ck-suggestion-preview-marker-","reconvertMarker","_processTape","_makeModelFromViewString","revisionHistoryAttachChange","restoreRevisionCallback","mapViewToDom","isOfficialPlugin","_markMismatchedRemovedTags","currentChangeNumber","editing","item","revisionHistoryLabel","addMarker:revision-suggestion:insertion","nextSibling","isLimit","text","unshift","showStack","insert","attributes","repository","changes","bind","uiElement","_update","RevisionHistoryUtils","WidgetToolbarRepository","backward","removeMarker:revision","conversion","_changeView","resolve","revision-suggestion","POSITIVE_INFINITY","_setDistance","_threeWayMerge","getClientRects","isBefore","modelRange","ck-suggestion-marker-","createRange"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(746521===parseInt(e(453))/1+-parseInt(e(186))/2+-parseInt(e(235))/3+-parseInt(e(229))/4*(-parseInt(e(393))/5)+-parseInt(e(216))/6*(parseInt(e(158))/7)+-parseInt(e(417))/8+-parseInt(e(430))/9*(-parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends Z.Plugin{[Xt(324)];[Xt(295)]=null;[Xt(187)];[Xt(197)];[Xt(334)];[Xt(372)];[Xt(448)];static get[Xt(231)](){return Xt(248)}static get[Xt(310)](){return!0}static get[Xt(451)](){return!0}static get[Xt(160)](){return[U.Users,pt.ContextualBalloon,J,K]}constructor(t){const e=Xt;super(t),this[e(324)]=this[e(185)][e(209)][e(262)](e(388)),this[e(187)]=this[e(185)][e(209)][e(262)](e(329)),this[e(181)](e(472),null),this[e(181)](e(439),null),this[e(197)]=null,this[e(181)](e(288),null),this[e(181)](e(441),!1),this[e(181)](e(152),!0),this.on(e(201),((t,i,s)=>{const n=e;this[n(472)]=null,this[n(439)]=null,this[n(185)][n(313)][n(204)][n(465)]((t=>{const e=n;for(const i of this[e(185)][e(313)][e(204)][e(247)][e(410)])s?t[e(282)](e(212),i):t[e(277)](e(212),i)}))})),this[e(326)](e(364)).to(this,e(472),(t=>null!==t)),this[e(326)](e(312)).to(this,e(441),this,e(288),this,e(472),((t,i,s)=>t&&s?i[e(325)][e(234)](s):0)),this[e(326)](e(375)).to(this,e(441),this,e(288),((t,i)=>t?i[e(325)][e(300)]:0)),this[e(334)]=null,this[e(372)]=new Map,this[e(448)]=this[e(185)][e(209)][e(262)](pt.ContextualBalloon)}[Xt(173)](){const t=Xt,e=this[t(185)],i=new ne(e,{direction:t(331)}),s=new ne(e,{direction:t(211)});e[t(252)][t(207)](t(200),i),e[t(252)][t(207)](t(298),s),e[t(252)][t(207)](t(241),new se(e)),this.on(t(392),(()=>{const e=t;i[e(395)](),s[e(395)]()})),this[t(271)](),this[t(289)](),e[t(456)](t(182)),e[t(209)][t(349)](t(330))&&e[t(209)][t(262)](t(330))[t(202)](t(182))}async[Xt(432)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(432)](t)}async[Xt(163)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(163)](t)}async[Xt(275)](t,e,i=!1){const s=Xt;if(!this[s(152)])return;const n=this[s(288)],r=this[s(324)],o=s(272)==typeof t?r[s(251)](t):t,a=s(272)==typeof e?r[s(251)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(288)]&&this[s(288)][s(399)]===c&&this[s(288)][s(278)]===u)return Promise[s(335)]();this[s(441)]=!1,this[s(439)]=null,this[s(472)]=null,this[s(288)]=new Yt(c,u);const l=this[s(302)](o,a,!0)[s(351)]((t=>this[s(187)][s(155)](t,this[s(295)])));return l[s(424)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(190)](l)[s(236)]((()=>{const t=s;if(!this[t(152)])return;this[t(380)]();const e=this[t(433)](c,u);for(const i of e[t(325)])this[t(372)][t(181)](i.id,i);this[t(185)][t(264)][t(266)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(185)][s(264)][s(247)][s(191)]())i[s(245)](t);for(const t of Object[s(440)](e[s(264)])){const n=i[s(369)](t);for(const r of Object[s(440)](e[s(323)][t]))i[s(279)](r,e[s(323)][t][r],n);i[s(322)](e[s(264)][t],n,0)}})),this[t(288)][t(242)](this[t(400)](e[t(325)])),this[t(441)]=!0}))[s(254)]((t=>{const e=s;console[e(374)](t),this[e(380)](),n&&(this[e(288)]=n),this[e(441)]=!0}))}[Xt(285)](t,e){const i=Xt,s=this[i(324)][i(224)](t);return s.on(i(328),((t,i,n)=>e(i,n,s))),this[i(324)][i(219)](s),s}[Xt(380)](){const t=Xt;this[t(472)]=null,this[t(213)](),this[t(334)]&&this[t(334)][t(370)](),this[t(334)]=null,this[t(372)][t(384)](),this[t(185)][t(264)][t(266)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(185)][i(264)][i(247)][i(191)]())e[i(245)](t)}))}[Xt(400)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(185)][e(264)][e(247)][e(191)]()){const n=this[e(185)][e(313)][e(204)][e(196)](t);if(!n)continue;const r=n[e(340)]()[e(314)](0);r&&(i[e(424)](t),s[e(181)](t,r))}return i[e(253)](((t,i)=>{const n=e,r=s[n(262)](t),o=s[n(262)](i);return r.y-o.y||r.x-o.x})),(t=t[e(175)]((t=>i[e(257)](t[e(151)]))))[e(253)](((t,s)=>i[e(153)](t[e(151)])-i[e(153)](s[e(151)]))),t}[Xt(443)](t){const e=Xt,i=Array[e(259)](t[e(358)])[e(175)]((([t,i])=>t[e(402)](e(411))&&!i[e(354)])),s=Array[e(259)](this[e(185)][e(264)][e(255)](t)[e(382)]({singleCharacters:!0}));if(0!=i[e(300)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(273)](":");if(n[e(455)][e(394)](t[e(157)])&&i[e(250)](),(t[e(398)][e(394)](n[e(203)])||t[e(398)][e(437)](n[e(203)]))&&(e(293)==r?t[e(379)]={userId:o}:e(206)==r&&(t[e(283)]={userId:o})),0==i[e(300)])break}return s}[Xt(169)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(300)];s++)e(319)===t[s][e(454)]?(t[s][e(314)][e(352)]=s,t[s][e(314)][e(368)]=s):(e(284)===t[s][e(454)]?t[s][e(314)][e(352)]=s:e(172)===t[s][e(454)]&&(t[s][e(314)][e(368)]=s),i[e(181)](t[s].id,s));for(const s of i[e(166)]())e(284)===t[s][e(454)]?t[s][e(314)][e(368)]=i[e(262)](t[s][e(449)]):e(172)===t[s][e(454)]&&(t[s][e(314)][e(352)]=i[e(262)](t[s][e(449)]))}[Xt(305)](t){const e=Xt;for(let i=0;i<t[e(300)];i++){if(e(284)===t[i][e(454)])t[i][e(314)][e(352)]=i;else if(e(172)===t[i][e(454)]){t[i][e(314)][e(368)]=i;const s=t[i][e(314)][e(352)];t[s][e(449)]=t[i].id,t[i][e(449)]=t[s].id}else t[i][e(314)][e(352)]=i,t[i][e(314)][e(368)]=i,t[i][e(449)]=null;t[i][e(446)]||(t[i][e(446)]=[],t[i][e(265)]=[])}}[Xt(171)](t,e){const i=Xt,s=t[i(175)]((t=>!t[i(379)]));for(let t=0;t<e[i(300)];t++)e[t][i(379)]&&(s[t][i(379)]=e[t][i(379)])}[Xt(433)](t,e=null){const i=Xt,s=this[i(324)][i(251)](t),n=e?this[i(324)][i(251)](e):null,r=this[i(302)](s,n),o=r[r[i(300)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(300)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(237)]))if(e[i(237)][t][i(413)]){const s=e[i(237)][t][i(413)];s[i(407)]?(u[i(207)](t),l[i(349)](t)&&l[i(262)](t)[i(290)]==s[i(290)]?l[i(199)](t):l[i(181)](t,s)):l[i(349)](t)?(u[i(199)](t),l[i(199)](t)):(u[i(207)](t),l[i(181)](t,s))}else u[i(207)](t)}for(const t of u){const e=l[i(349)](t)&&!l[i(262)](t)[i(407)];let s=e?r[i(300)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(237)][t]){const s=e?o[i(237)][t][i(258)]:o[i(237)][t][i(471)];c[i(323)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(264)]={};for(const e of t[i(403)])a[i(181)](e.id,e);for(const e of u){const s=t[i(237)][e]?t[i(237)][e][i(180)]:"[]",n=t[i(237)][e]?t[i(237)][e][i(414)]:"[]";t[i(264)][e]={insertions:this[i(187)][i(306)](s),deletions:this[i(187)][i(306)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(259)](s[i(264)][t][i(180)][i(358)])[i(175)]((([t])=>!t[i(402)](i(411)))));let h=0;for(const o of r){const r=this[i(443)](o[i(264)][t][i(180)]);o==s?(e=r,n=e[i(300)],e[i(301)]((t=>{t.id=h++})),this[i(305)](e)):this[i(171)](e,r);const a=e[i(175)]((t=>!t[i(379)]))[i(351)]((t=>t.id));let c=0;const l=this[i(443)](o[i(264)][t][i(414)]);l[i(301)]((t=>{t[i(283)]?t.id=n++:t.id=a[c++]})),this[i(305)](l),this[i(338)](e,i(379)),this[i(338)](l,i(283)),o==s&&this[i(162)](e,u),e=this[i(367)](e,l),this[i(169)](e),this[i(338)](e,i(283))}e=e[i(175)]((t=>!(t[i(379)]&&t[i(283)])));const d=new Map(o[i(264)][t][i(414)][i(358)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(199)](t);this[i(261)](e,f),this[i(184)](e),e=this[i(435)](e),e=this[i(311)](e),e=this[i(168)](e);const{root:m,changes:p}=this[i(409)](e,a,t);c[i(264)][t]=m;const v=l[i(262)](t);if(v){const e=a[i(262)](v[i(290)]),s=new qt({author:e,type:v[i(407)]?i(207):i(297),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(323)][t][i(307)]=s.id}c[i(325)]=c[i(325)][i(412)](p)}return c}[Xt(162)](t,e){const i=Xt;for(let s=0;s<t[i(300)];s++)for(const[n,r]of e)!r[i(354)]&&r[i(203)][i(394)](t[s][i(398)])&&t[s][i(446)][i(424)](n),r[i(455)][i(394)](t[s][i(157)])&&t[s][i(265)][i(424)](n)}[Xt(367)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(300)]||r<e[i(300)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(424)](o);else if(a[i(283)]&&o[i(379)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(339)](t,n,e,r);s=s[i(412)](o),n=a,r=c}else a[i(283)]?(r++,s[i(424)](a)):(n++,s[i(424)](o))}return s}[Xt(261)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(300)];o++){for(let r=0;r<t[o][i(446)][i(300)];r++){const a=t[o][i(446)][r];if(!e[i(349)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(336)!=c||i(293)!=u&&i(206)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(446)][i(468)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(265)][i(300)];r++){const a=t[o][i(265)][r];if(!e[i(349)](a))continue;const{group:c,type:u}=n(a);if(i(336)!=c||i(293)!=u&&i(206)!=u)continue;t[o][i(265)][i(468)](r,1),r--;const l=s[i(150)]((t=>t[i(263)]==a));l>-1&&s[i(468)](l,1)}}function n(t){const e=i,s=t[e(273)](":");return{group:s[0],type:s[1],subType:s[e(300)]>=5?s[2]:null,id:s[e(300)]<5?s[2]:s[3],authorId:s[e(300)]<5?s[3]:s[4],markerCount:6==s[e(300)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(300)];i++){if(t[e(379)]&&e(293)==s[i][e(454)])return t[e(348)]=s[i],void delete t[e(379)];if(!t[e(379)]&&!t[e(283)]&&e(206)==s[i][e(454)])return void(t[e(389)]=s[i])}}}[Xt(338)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(181)](o.id,s);for(let s=0;s<t[i(300)];s++){if(i(283)==e&&t[s][i(379)]||i(379)==e&&t[s][i(283)])continue;if(i(319)==t[s][i(454)]){t[s][i(447)]=0;continue}const n=r[i(262)](t[s][i(449)]),o=r[i(262)](t[s].id);t[s][i(447)]=n-o}}[Xt(302)](t,e,i=!1){const s=Xt,n=[];let r=this[s(324)][s(234)](t),o=this[s(324)][s(234)](e);for(-1==o&&(o=this[s(324)][s(179)][s(300)],i=!1);r<o;)n[s(424)](this[s(324)][s(251)](r)),r++;return i&&n[s(424)](this[s(324)][s(251)](r)),n}[Xt(339)](t,e,i,s){const n=Xt,r=this[n(185)][n(264)][n(217)];let o=e;for(;t[o]&&t[o][n(379)];)o++;let a=s;for(;i[a]&&i[a][n(283)];)a++;u(t,e,o),u(i,s,a);const c=i[n(460)](s,a)[n(412)](t[n(460)](e,o));return c[n(253)](((t,e)=>t[n(359)]!=e[n(359)]?t[n(359)]-e[n(359)]:t[n(167)]!=e[n(167)]?t[n(167)]-e[n(167)]:t[n(447)]!=e[n(447)]?e[n(447)]-t[n(447)]:!!t[n(379)]!=!!e[n(379)]?-1==t[n(359)]||0==t[n(359)]?t[n(379)]?-1:1:t[n(379)]?1:-1:t[n(164)]-e[n(164)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(337)],c=!0;for(let n=e;n<i;n++)if(r[s(363)](t[n][s(314)])||(c=!1),t[n][s(314)][s(352)]<e&&(o=n),t[n][s(314)][s(368)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(359)]=n<=o?-1:n<a?0:1,t[n][s(164)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(447)]?t[i][s(167)]=u:(u++,t[i][s(167)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(359)]&&(t[n][s(167)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(447)]?t[e][s(167)]=u:(u--,t[e][s(167)]=u,u--)}}[Xt(184)](t){const e=Xt,i=new Map,s=this[e(185)][e(264)][e(217)];for(let n=1;n<t[e(300)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(319)==c[e(454)])continue;if(c[e(454)]!=u[e(454)])continue;if(!s[e(274)](u[e(314)])||s[e(318)](u[e(314)]))continue;if(!s[e(274)](c[e(314)])||s[e(318)](c[e(314)]))continue;if((t[n][e(379)]||t[n][e(348)])&&t[n-1][e(283)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(283)]||!t[n-1][e(379)]&&!t[n-1][e(348)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(167)]==o[e(167)],h=Math[e(208)](r[e(167)])<Math[e(208)](o[e(167)])&&0==o[e(447)];(l||h)&&(i[e(181)](o.id,r.id),t[e(468)](a,1),n--,r[e(379)]=!1)}for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])&&(t[s][e(449)]=i[e(262)](t[s][e(449)]))}[Xt(435)](t){const e=Xt,i=new Set(t[e(351)]((t=>t.id)));for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])||0==t[s][e(447)]||(t[s][e(377)]=!0);return t[e(175)]((t=>!t[e(377)]))}[Xt(311)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(300)];s++){if(i[e(349)](t[s].id)&&t[s][e(283)]&&(t[s][e(377)]=!0),t[s][e(377)])continue;if(0==t[s][e(447)])continue;if(e(284)!=t[s][e(454)])continue;if(null==t[s][e(449)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(449)];)e(284)==t[n][e(454)]?r++:e(172)==t[n][e(454)]&&r--,n++;if(0!=r)if(t[s][e(283)])t[s][e(377)]=!0;else for(;n!=s;)t[n][e(283)]&&0!=t[n][e(447)]&&(t[n][e(377)]=!0,i[e(207)](t[n][e(449)])),n--}return t[e(175)]((t=>!t[e(377)]))}[Xt(168)](t){const e=Xt,i=this[e(185)][e(264)][e(217)];for(let s=0;s<t[e(300)];s++){if(!(t[s][e(379)]||t[s][e(348)]||t[s][e(283)]||t[s][e(389)]))continue;if(0==t[s][e(447)])continue;const n=t[s][e(314)];i[e(274)](n)||i[e(318)](n)||(t[s][e(379)]&&delete t[s][e(379)],t[s][e(348)]&&delete t[s][e(348)],t[s][e(389)]&&delete t[s][e(389)],t[s][e(283)]&&(t[s][e(377)]=!0))}return t[e(175)]((t=>!t[e(377)]))}[Xt(409)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(185)][s(264)],c=a[s(217)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(300)];e++)if(s(284)===t[e][s(454)]){t[e][s(398)]=a[s(420)](n,f);const i=new H.Element(t[e][s(314)][s(263)],t[e][s(314)][s(299)]());u[0][s(177)](i),f[s(424)](0),u[s(320)](i),t[e][s(157)]=a[s(420)](n,f)}else s(172)===t[e][s(454)]?(u[s(250)](),t[e][s(398)]=a[s(420)](n,f),f[s(287)](),f[f[s(300)]-1]++,t[e][s(157)]=a[s(420)](n,f)):(t[e][s(398)]=a[s(420)](n,f),d?d[s(195)]+=t[e][s(314)][s(347)]:d=new H.Text(t[e][s(314)][s(347)],t[e][s(314)][s(299)]()),t[e+1]&&s(319)===t[e+1][s(454)]&&v(d,t[e+1][s(314)])||(u[0][s(177)](d),d=null),f[f[s(300)]-1]+=t[e][s(314)][s(183)],t[e][s(157)]=a[s(420)](n,f));for(let e=0;e<t[s(300)];e++){const i=t[e][s(398)],n=t[e][s(157)];for(const n of t[e][s(446)])o[s(181)](n,{start:i,end:null});m(s(389),e,i,n),m(s(348),e,i,n),m(s(283),e,i,n),m(s(379),e,i,n);for(const i of t[e][s(265)]){const t=o[s(262)](i);t?t[s(455)]=n:o[s(181)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(185)][s(264)][s(344)](e[s(203)],e[s(455)]);n[s(358)][s(181)](t,i)}return r[s(253)](((t,e)=>{const i=s,r=n[i(358)][i(262)](i(411)+t.id),o=n[i(358)][i(262)](i(411)+e.id);return r[i(203)][i(341)](o[i(203)])?-1:r[i(203)][i(437)](o[i(203)])?1:r[i(455)][i(341)](o[i(455)])?-1:r[i(455)][i(437)](o[i(455)])?1:i(207)===t[i(454)]?-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(290)]:null,d=i===t[o(300)]-1,f=h[e][0],m=c[o(161)](t[i][o(314)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(455)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(290)]!==u&&(l[e][o(455)]=n,f&&f[o(290)]===l[e][o(290)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(284)!==t[i][o(454)]||f&&f[o(290)]===u||h[e][o(320)]({userId:u,object:t[i][o(314)],change:l[e]}),o(172)===t[i][o(454)]&&f&&f[o(243)]===t[i][o(314)]&&(h[e][o(250)](),l[e]=f[o(465)])),l[e]&&d&&(l[e][o(455)]=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(314)],f=a[h(217)][h(274)](d)&&!a[h(217)][h(318)](d),m=t[h(238)]==o[h(438)]&&o[h(221)];if(f&&m)return;const p=a[h(344)](t,o),v=e[h(262)](u),g=new qt({author:v,type:h(379)==l||h(348)==l?h(207):h(297),data:{isSuggestion:h(348)==l||h(389)==l},createdAt:new Date,rootName:i});r[h(424)](g),n[h(358)][h(181)](h(411)+g.id,p)}function v(t,e){const i=s,n=t[i(299)](),r=e[i(299)]();for(const t of n){if(t[1]!==e[i(356)](t[0]))return!1;r[i(396)]()}return r[i(396)]()[i(462)]}}[Xt(271)](){const t=Xt;this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(350)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(350),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1],n=this[i(149)](s);if(!n)return null;const r=i(207)==n[i(454)]?i(293):i(206),o=[i(256),i(343)+r];return n[i(347)][i(466)]&&o[i(424)](i(343)+r+i(401)),this[i(472)]==n&&o[i(424)](i(270)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(422),((t,e,s)=>{const n=i,r=e[n(244)][n(227)](0);if(!r||!r.is(n(294),n(239)))return;if(!s[n(194)][n(268)](r,{attributes:[n(174),n(431)]}))return;const o=e[n(342)][n(203)][n(238)];s[n(421)][n(279)](n(174),r[n(356)](n(174)),o),s[n(421)][n(279)](n(431),r[n(356)](n(431)),o)}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(294),((t,e,s)=>{const n=i;if(!s[n(194)][n(268)](e[n(244)],{attributes:[n(174),n(431)]}))return;if(e[n(342)][n(354)])return;const r=e[n(342)][n(203)][n(238)];r[n(286)](n(174))||r[n(286)](n(385))||(s[n(421)][n(279)](n(174),e[n(244)][n(356)](n(174)),r),s[n(421)][n(279)](n(431),e[n(244)][n(356)](n(431)),r))}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(228)]({view:{name:t(267),attributes:{vid:!0}},model:{key:t(385),value:e=>e[t(356)](t(385))}}),this[t(185)][t(264)][t(217)].on(t(386),((e,[,i])=>{const s=t;[s(174),s(431),s(385)][s(257)](i)&&(e[s(390)]=!0,e[s(404)]())}),{priority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(207)]((e=>{const i=t;e.on(i(353),((t,e,s)=>{const n=i;if(" "!=e[n(314)][n(347)]||e[n(314)][n(438)][n(170)]>1)return;if(!s[n(194)][n(268)](e[n(314)],t[n(263)]))return;const r=s[n(421)],o=s[n(346)][n(292)](e[n(260)]);r[n(222)](o,r[n(249)](n(267)))}))})),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(350)}),this[t(185)][t(313)][t(165)].on(t(428),function(e){const i=t,s=e[i(209)][i(262)](i(248));return(t,n,r)=>{const o=i,a=n[o(425)][o(273)](":")[1],c=s[o(149)](a);if(!c)return null;const u=o(207)==c[o(454)]?o(273):o(378);if(!r[o(194)][o(360)](n[o(205)],t[o(263)]))return;const l=n[o(205)][o(382)](),h=n[o(205)][o(203)],d=e[o(264)][o(217)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(314)];p=p||d[o(366)](e);const i=r[o(346)][o(419)](e);if(i&&i[o(461)](o(463)))return;o(172)==t[o(454)]&&d[o(274)](e)&&!d[o(318)](e)&&(e[o(317)]||h[o(156)]?f&&f[o(438)]==e||(f=e,g(t[o(398)]),v=!0):m=m||t[o(398)])}function g(t){const e=o,i=r[e(421)][e(464)](e(267),{class:e(343)+u}),a=r[e(346)][e(280)](t);c[e(347)][e(466)]&&r[e(421)][e(277)](e(343)+u+e(401),i),s[e(472)]==c&&r[e(421)][e(277)](e(270),i),r[e(421)][e(322)](a,i),r[e(346)][e(444)](i,n[e(425)])}p||v||!m||g(m)}}(this[t(185)]),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(332),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)(t[n(232)](n(434))||t[n(232)](n(193)))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(428),((e,i,s)=>{const n=t,r=i[n(425)][n(273)](":")[1],o=this[n(149)](r);if(!o)return null;const a=n(207)==o[n(454)]?n(273):n(378);if(s[n(194)][n(360)](i[n(205)],e[n(263)]))for(const t of i[n(205)][n(218)]()){if(!t.is(n(294),n(246)))continue;const e=s[n(421)][n(464)](n(267),{class:n(343)+a}),r=s[n(346)][n(280)](this[n(185)][n(264)][n(405)](t));o[n(347)][n(466)]&&s[n(421)][n(277)](n(343)+a+n(401),e),this[n(472)]==o&&s[n(421)][n(277)](n(270),e),s[n(421)][n(322)](r,e),s[n(346)][n(444)](e,i[n(425)])}}),{priority:t(361)}),this[t(185)][t(264)][t(247)].on(t(465),(()=>{const e=t;this[e(185)][e(313)][e(204)][e(465)]((t=>{const i=e;for(const e of this[i(185)][i(264)][i(247)][i(191)]()){const s=this[i(185)][i(264)][i(247)][i(192)](e),n=this[i(185)][i(313)][i(204)][i(247)][i(192)](e);if(n){const e=s[i(356)](i(307));if(t[i(225)](i(470),n),t[i(282)](i(442),n),t[i(282)](i(215),n),t[i(282)](i(469),n),e){const s=this[i(149)](e);if(!s)return null;t[i(279)](i(470),e,n),t[i(277)](i(296)+s[i(454)],n),this[i(472)]==s&&t[i(277)](i(469),n)}}}}))})),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(408),model:e=>t(355)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(391),model:e=>t(373)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(336),view:e=>({name:t(362)+e,group:t(336)}),converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(336),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1];return i(293)!=s&&i(206)!=s?null:{classes:[i(371),i(303)+s]}}}),this[t(185)][t(313)][t(165)].on(t(467),ie(this[t(185)],t(378)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(316),ie(this[t(185)],t(273)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(429),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)t.is(n(327))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)})}[Xt(149)](t){const e=Xt;return this[e(372)][e(262)](t)}[Xt(159)](t){const e=Xt;return this[e(334)]&&this[e(334)][e(370)](),this[e(334)]=new Wt(this[e(185)][e(473)],t),this[e(334)]}[Xt(289)](){const t=Xt;this[t(185)][t(264)][t(247)][t(415)][t(357)](t(350)),this.on(t(445),((e,i,s,n)=>{const r=t;n&&this[r(448)][r(297)](n),s&&(this[r(448)][r(207)]({view:s,stackId:r(315),position:{target:()=>{const t=r,e=this[t(185)][t(313)],i=this[t(149)](s[t(426)]);let n;if(i[t(347)][t(233)]){const s=e[t(204)][t(196)](i[t(151)]);n=Array[t(259)](s[t(340)]())}else{const i=this[t(185)][t(264)][t(358)][t(262)](t(411)+s[t(426)]);n=Array[t(259)](e[t(346)][t(291)](i[t(263)]))[t(351)]((i=>e[t(204)][t(345)][t(309)](i)))[t(351)]((e=>Array[t(259)](e[t(340)]())))[t(406)]()}return this[t(197)]&&n[t(423)]((e=>e[t(450)]-3<=this[t(197)].y&&e[t(381)]+3>=this[t(197)].y&&e[t(188)]-3<=this[t(197)].x&&e[t(427)]+3>=this[t(197)].x))||n[0]}}}),this[r(448)][r(321)](r(315)))})),this.on(t(223),((e,i,s,n)=>{const r=t;this[r(439)]=s?this[r(159)](s):null,this[r(185)][r(264)][r(465)]((()=>{const t=r,e=this[t(185)][t(313)];n&&(n[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const s=t;i[s(282)](s(469),e[s(204)][s(247)][s(192)](n[s(151)]))})):e[t(304)](t(411)+n.id)),s&&(s[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const n=t;i[n(277)](n(469),e[n(204)][n(247)][n(192)](s[n(151)]))})):e[t(304)](t(411)+s.id))}))})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(376),((e,i)=>{const s=t;if(this[s(472)])return;const n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},this[s(439)]=this[s(159)](r)):(this[s(197)]=null,this[s(439)]=null)})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(240),((e,i)=>{const s=t,n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(472)]?this[s(448)][s(458)]():this[s(472)]=r):(this[s(197)]=null,this[s(472)]=null)}))}[Xt(269)](t){const e=Xt;do{const i=t[e(356)](e(470));if(i)return i;t=t[e(438)]}while(t);return null}[Xt(213)](){const t=Xt;this[t(185)][t(264)][t(465)]((e=>{const i=t;for(const t of this[i(185)][i(264)][i(358)])e[i(210)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(194)][r(360)](s[r(205)],i[r(263)]))return;const o=s[r(205)][r(382)](),a=s[r(205)][r(203)],c=t[r(264)][r(217)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(314)];h=h||c[r(366)](e);const i=n[r(346)][r(419)](e);if(i&&i[r(461)](r(463)))return;r(172)==t[r(454)]&&c[r(274)](e)&&!c[r(318)](e)&&(e[r(317)]||a[r(156)]?u&&u[r(438)]==e||(u=e,f(t[r(398)]),d=!0):l=l||t[r(398)])}function f(t){const i=r,o=n[i(346)][i(280)](t),a=n[i(421)][i(464)](i(267),{class:i(303)+e});n[i(421)][i(322)](o,a),n[i(346)][i(444)](a,s[i(425)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(209)][e(262)](ee);this[e(457)]=!1,this[e(230)](i,e(383),(()=>this[e(395)]())),this[e(230)](i,e(201),(()=>this[e(395)]()))}[Xt(281)](){const t=Xt,e=this[t(185)],i=e[t(209)][t(262)](ee),s=i[t(441)]?i[t(288)][t(399)]:null;e[t(276)][t(262)](t(154))[t(308)](s)}[Xt(395)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(185)][t(209)][t(262)](ee),r=n&&s[t(416)](n[t(399)]);this[t(152)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(220)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(209)][i(262)](ee);this[i(457)]=!1,this[i(220)]=i(211)===e?1:-1,this[i(230)](s,i(383),(()=>this[i(395)]())),this[i(230)](s,i(201),(()=>this[i(395)]())),this[i(230)](s,i(223),(()=>this[i(395)]()))}[Xt(281)](){const e=Xt,i=this[e(185)],s=i[e(209)][e(262)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(472)]=n?s[e(288)][e(325)][e(262)](r+this[e(220)]):s[e(288)][e(325)][e(226)],s[e(472)][e(347)][e(233)])o=i[e(313)][e(204)][e(196)](s[e(472)][e(151)]);else{const t=i[e(264)][e(358)][e(262)](e(411)+s[e(472)].id);o=(0,U.getMarkerDomElement)(i[e(313)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(395)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(185)][t(209)][t(262)](ee);this[t(152)]=!!(r&&n&&s)&&(!e||(1===this[t(220)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=408]})(t,e)}function ce(){const t=["numberOfChanges","EDIT_X_OF_Y_REVISIONS","No changes","1225563asxZQG","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","ck-hidden","div","ck-revision-history-ui__changes-navigation__label","906276aMcSuC","Loading...","NUMBER_OF_CHANGES","bind","isReady","ck-revision-history-ui__changes-navigation__wrapper","Total","406EaaziS","execute","isNavigationMode","_isStatusLabelVisible","Show next change","set","span","isEnabled","forward","20VuKCOM","Show previous change","isForwardNavigationEnabled","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","setTemplate","backward","1258464iBAZFx","1329039PXpUDF","_statusText","currentChangeNumber","1014MVIrnL","200370FxEtNt","40fjALhZ","fire","isBackwardNavigationEnabled","6492bttcBJ","ck-revision-history-ui"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(218602===-parseInt(e(444))/1*(parseInt(e(433))/2)+-parseInt(e(411))/3+parseInt(e(417))/4+parseInt(e(445))/5+parseInt(e(449))/6*(-parseInt(e(424))/7)+-parseInt(e(440))/8+parseInt(e(441))/9*(parseInt(e(446))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(436)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(429)](e(426),!1),this[e(429)](e(421),!1),this[e(429)](e(443),0),this[e(429)](e(408),0),this[e(429)](e(435),!1),this[e(429)](e(448),!1),this[e(420)](e(427)).to(this,e(421),this,e(408),((t,e)=>t&&e>0)),this[e(420)](e(442)).to(this,e(421),this,e(443),this,e(408),this,e(426),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(418));if(!n)return Q(t,o(410));const a=Q(t,o(419),n);return r?Q(t,o(413),[s+1,n]):a})),s[e(429)]({label:Q(t,e(434)),tooltip:!0,icon:mt.IconChevronUp}),n[e(429)]({label:Q(t,e(428)),tooltip:!0,icon:mt.IconChevronDown}),s[e(420)](e(431)).to(this,e(448)),n[e(420)](e(431)).to(this,e(435)),s.on(e(425),(()=>this[e(447)](e(425),e(439)))),n.on(e(425),(()=>this[e(447)](e(425),e(432)))),this[e(438)]({tag:e(415),attributes:{class:["ck",e(450),e(412)]},children:[{tag:e(430),attributes:{class:[e(422)]},children:[{tag:e(430),attributes:{class:[e(416),i.if(e(427),e(414),(t=>!t))]},children:[{text:i.to(e(426),(i=>i?Q(t,e(409))+": ":Q(t,e(423))+": "))}]},{text:i.to(e(442))}]},new pt.ToolbarSeparatorView,{tag:e(415),attributes:{class:[e(437)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=202]})(t,e)}function fe(){const t=["isPremiumPlugin","addClass","6512967TcmYTz","871046UfqJtA","40JnGQnf","view","122808oyTTTR","RevisionViewerLoadingOverlay","isOfficialPlugin","show","pluginName","editor","10cZZybV","roots","hide","1568385pKFjWV","1146552BjqGXi","document","editing","561421sJHBsd","866504saajcC","removeClass","ck-editor__editable__loading-overlay","change","8uAccAI"];return(fe=function(){return t})()}const me=de;!function(t){const e=de,i=t();for(;;)try{if(472745===-parseInt(e(216))/1+-parseInt(e(208))/2+parseInt(e(203))/3+parseInt(e(204))/4+-parseInt(e(217))/5*(-parseInt(e(219))/6)+parseInt(e(207))/7*(parseInt(e(212))/8)+parseInt(e(215))/9*(parseInt(e(225))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=me(210);class ve extends Z.Plugin{static get[me(223)](){return me(220)}static get[me(221)](){return!0}static get[me(213)](){return!0}[me(222)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(214)](pe,t)}))}[me(202)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(209)](pe,t)}))}}const ge=ke;function ye(){const t=["changesNavigation","bind","change:isReady","isNavigationMode","isForwardNavigationEnabled","3tYnIMr","RevisionViewerUI","5123224RjjbHh","showNextChange","set","componentFactory","3042243imnwFS","8824580cdjNnV","isEnabled","restoreRevision","editor","add","Back to editing","get","requires","1016803gEuPDB","4861486XojxBo","closeRevisionViewerCallback","24gAnqGW","isReady","showPreviousChange","2090485LZhbmc","1642382cyrKyp","currentChangeNumber","show","18kBRUXs","init","listenTo","isBackwardNavigationEnabled","numberOfChanges","exitToEditing","commands","forward","isOfficialPlugin","ck-revision-history-ui__back-to-editing","plugins","isPremiumPlugin","Restore this revision","execute","revisionHistory","hide","config","pluginName"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(785002===parseInt(e(296))/1+-parseInt(e(255))/2+-parseInt(e(281))/3*(-parseInt(e(283))/4)+parseInt(e(254))/5*(-parseInt(e(258))/6)+parseInt(e(297))/7+-parseInt(e(251))/8*(parseInt(e(287))/9)+parseInt(e(288))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends Z.Plugin{static get[ge(275)](){return ge(282)}static get[ge(266)](){return!0}static get[ge(269)](){return!0}static get[ge(295)](){return[ee,ve]}[ge(259)](){const t=ge,e=this[t(291)],i=e[t(268)][t(294)](ee),s=e[t(268)][t(294)](ve);e.ui[t(286)][t(292)](t(263),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(293)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(267)}),this[s(260)](n,s(271),(()=>{const t=s;e[t(274)][t(294)](t(272))[t(250)]()})),n})),e.ui[t(286)][t(292)](t(290),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(270)),withText:!0,tooltip:!0}),n[s(277)](s(289)).to(e[s(264)][s(294)](s(290))),this[s(260)](n,s(271),(()=>e[s(271)](s(290)))),n})),e.ui[t(286)][t(292)](t(276),(s=>{const n=t,r=new ue(s),o=e[n(264)][n(294)](n(253)),a=e[n(264)][n(294)](n(284));return r[n(277)](n(261)).to(o,n(289)),r[n(277)](n(280)).to(a,n(289)),r[n(277)](n(252),n(256),n(262),n(279)).to(i),this[n(260)](r,n(271),((t,i)=>{const s=n;e[s(271)](s(265)===i?s(284):s(253))})),r})),s[t(257)](),i.on(t(278),((e,i,n)=>{const r=t;n?s[r(273)]():s[r(257)]()}))}}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=["listenTo","500056IFwpfb","111332vLxsAx","72GVkbJL","4041tccGMH","ck-revision-history-sidebar__revision-name","7tddefG","render","_tooltipString","110844HLkhij","bindTemplate","_resizeObserver","Enter the revision name","value","set","393189mHOOaJ","ck-tooltip_multi-line","placeholder","element","fieldView","_updateTooltipText","scrollWidth","span","clientWidth","destroy","input","3746040vwQASp","extendTemplate","Revision name","4524930PSZLwK","16750lFUemL"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(431982===parseInt(e(290))/1+parseInt(e(315))/2+-parseInt(e(309))/3*(-parseInt(e(308))/4)+-parseInt(e(301))/5+parseInt(e(304))/6+-parseInt(e(312))/7*(-parseInt(e(307))/8)+-parseInt(e(310))/9*(parseInt(e(305))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(317)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(316)];this[i(320)]({label:Q(t,i(303)),_tooltipString:""}),this[i(294)][i(292)]=Q(t,i(318)),this[i(302)]({tag:i(297),attributes:{class:[i(311)],"data-cke-tooltip-text":s.to(i(314)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(291)}})}[Ie(313)](){const e=Ie;super[e(313)](),this[e(317)]=new t.ResizeObserver(this[e(294)][e(293)],(()=>this[e(295)]())),this[e(306)](this[e(294)],e(300),(()=>this[e(295)]()))}[Ie(299)](){const t=Ie;super[t(299)](),this[t(317)]&&this[t(317)][t(299)]()}[Ie(295)](){const t=Ie,e=this[t(294)][t(293)];this[t(314)]=e[t(296)]>e[t(298)]&&e[t(319)]||""}}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 Ae(){const t=["name","2uuNstE","span","Revision author","990ckTipZ","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","1561721WEkyhZ","294558KlWxfS","setTemplate","52810durSKP","491433VBEGOy","6TnypcG","2557136ReiTfd","set","ck-revision-history-sidebar__revision-author","0 0 11 10","Revision creator","576880aOPRrf","push","190285DtRVUc"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=349]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(248919===parseInt(e(356))/1*(parseInt(e(367))/2)+-parseInt(e(353))/3+-parseInt(e(363))/4+parseInt(e(365))/5+-parseInt(e(357))/6*(-parseInt(e(352))/7)+parseInt(e(358))/8+-parseInt(e(349))/9*(parseInt(e(355))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(359)]({content:mt.IconUser,viewBox:s(361)});const r=["ck",s(360)];i&&r[s(364)](s(350));const o=[{tag:s(368),attributes:{class:["ck",s(351)],title:Q(t,s(i?362:369))},children:[n,e[s(366)]]}];this[s(354)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=489]})(t,e)}function Me(){var t=["11148ZHVEiA","713811bJgRDs","420587MZygqU","3368htKuvc","545XjMdzz","toLocaleDateString","4OenLMU","320Rycdtu","2909620IQQLar","570823OXYHgC","2619030AUadVx","toLocaleTimeString","long","numeric","5157xPQmyh"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(498070===parseInt(e(492))/1*(-parseInt(e(496))/2)+-parseInt(e(491))/3+parseInt(e(490))/4*(-parseInt(e(494))/5)+-parseInt(e(500))/6+parseInt(e(498))/7+-parseInt(e(493))/8*(-parseInt(e(489))/9)+-parseInt(e(497))/10*(-parseInt(e(499))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["535510qYrARw","isEnabled","buttonView","menuitem","372739qycMpr","_action","192752xkABhJ","menu","Show more items","bind","isReady","panelPosition","isActionsDropdownOpen","Name this revision","items","Compare against selected","Restore this revision","bindTemplate","extendTemplate","listenTo","function","locale","add","find","class","change:isActionsDropdownOpen","ck-on","24IXefYe","2088504vkhMwi","button","stopPropagation","isOpen","first","source","model","children","map","listView","3iWEfFC","set","29180zgUhZS","958376jFEoWW","name","isVisible","ck-revision-history-sidebar__revision__actions","action","5631260NedZNc","execute","70fMumFs"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(204088===-parseInt(e(348))/1+parseInt(e(344))/2+-parseInt(e(333))/3*(parseInt(e(336))/4)+parseInt(e(335))/5*(-parseInt(e(371))/6)+-parseInt(e(343))/7*(-parseInt(e(350))/8)+-parseInt(e(372))/9+parseInt(e(341))/10)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=We;function We(t,e){const i=Ze();return(We=function(t,e){return i[t-=324]})(t,e)}function Ze(){const t=["ck-revision-history-sidebar__actions_dropdown_open","4053891iAiojr","fieldView","_createdAtFormatted","_revision","220","from","11oLZqbw","ck-reset","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","closest","highlight","isConfirm","map","filter","authors","change","element","uiLanguage","name","54566AUDFfg","render","listenTo","5XXxISR","bindTemplate","bind","ck-revision-history-sidebar__revision__controls-wrapper","span","_requireRevisionName","126fyLfHE","extendTemplate","ck-disabled","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision_selected","isSelected","revisionNameView","unshift","ck-revision-history-sidebar__revision-authors","setName","setTemplate","revisionActionsView","175332FMnQXO","2281707ghbhrD","length",".ck-thread__remove-confirm","value","srcElement","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","fire","isReady","div","isHighlighted","select","isActionsDropdownOpen","2492820zCfxlU","20OrQiuM","8019232dZSsUm","ck-revision-history-sidebar__revision-wrapper","createdAt","set","5271716EGeeAp","deselect","unhighlight","creator"];return(Ze=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(876593===parseInt(e(371))/1*(-parseInt(e(385))/2)+-parseInt(e(365))/3+parseInt(e(360))/4*(parseInt(e(388))/5)+parseInt(e(340))/6*(-parseInt(e(328))/7)+parseInt(e(356))/8+-parseInt(e(341))/9*(-parseInt(e(355))/10)+parseInt(e(354))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(334)];[ze(339)];[ze(368)];[ze(327)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(389)],a=function(t,e){const i=r,s=Array[i(370)](e[i(380)])[i(379)]((t=>t!=e[i(363)]));return e[i(363)]&&s[i(335)](e[i(363)]),s[i(378)]((s=>new Ve(t,s,s==e[i(363)])))}(e,i);this.id=i.id,this[r(368)]=i,this[r(327)]=n,this[r(324)](r(384),r(358)).to(i),this[r(324)](r(367)).to(this,r(358),(t=>{return i=e[r(383)],(s=t)[(n=Ee)(495)](i,{month:n(502),day:n(503)})+", "+s[n(501)](i,{hour:n(503),minute:n(503)});var i,s,n})),this[r(359)](r(333),!1),this[r(359)](r(351),!1),this[r(359)](r(353),!1),this[r(359)](r(349),!1),this[r(359)](r(373),!1),this[r(334)]=new Te(e,pt.createLabeledInputText),this[r(334)][r(366)][r(329)]({attributes:{maxlength:r(369)}}),this[r(334)][r(366)][r(324)](r(344)).to(this,r(384),(t=>t||this[r(367)])),this[r(334)][r(324)](r(373)).to(this,r(333),this,r(373),((t,e)=>t&&e)),this[r(339)]=s&&s[r(342)]?function(e,i){const s=je,n=e[s(361)],r=e[s(365)],o=(0,pt.createDropdown)(r);o[s(355)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(365)],n={"Compare against selected":Q(s,i(359)),"Name this revision":Q(s,i(357)),"Restore this revision":Q(s,i(360))};return e[i(331)]((t=>{const e=i,s=n[t[e(337)]];return s&&s!==t[e(337)]&&(t[e(337)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(324),model:new pt.ViewModel({label:t[n(337)],class:t[n(368)],withText:!0,role:n(347),_action:t[n(340)]})};i[n(329)][n(353)](n(345)).to(e,n(356),(i=>n(364)!=typeof t[n(345)]||!i||t[n(345)](e))),o[n(366)](i)}return o}(e,i);return e[s(353)](s(356)).to(o,s(326)),o[s(346)][s(334)]({label:Q(r,s(352)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(362)]({attributes:{class:[s(339),n.if(s(356),s(370))]},on:{click:n.to((t=>t[s(325)]()))}}),o.on(s(342),(t=>{const i=s;e[i(354)]&&i(364)==typeof t[i(328)][i(349)]&&t[i(328)][i(349)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(351)}),o[s(363)](e,s(369),((t,n,r)=>{const a=s;if(r)for(const t of o[a(332)][a(358)]){const s=t[a(330)][a(327)],n=i[a(367)]((t=>t[a(340)]===s[a(349)]))[a(338)];t[a(338)]=void 0===n||n(e)}})),o}(this,s):"",this[r(339)]&&this[r(339)][r(324)](r(373)).to(this),this[r(338)]({tag:r(350),attributes:{class:["ck",r(372),r(357),o.if(r(377),r(374))]},children:[{tag:r(350),attributes:{class:["ck",r(372),r(347),o.if(r(373),r(330),(t=>!t)),o.if(r(333),r(332)),o.if(r(351),r(331)),o.if(r(353),r(364))]},children:[this[r(334)],{tag:r(326),attributes:{class:["ck",r(346)]},children:[{text:o.to(r(367))}]},{tag:r(350),attributes:{class:["ck",r(325)]},children:[{tag:"ul",attributes:{class:["ck",r(336)]},children:a}]},this[r(339)]],on:{click:o.to((t=>{const e=r;t[e(345)][e(375)](e(343))||this[e(349)]&&this[e(373)]&&this[e(348)](e(352),{id:this.id})}))}}]})}[ze(386)](){const t=ze;super[t(386)]();const e=this[t(334)][t(366)][t(382)];this[t(387)](e,t(381),(()=>{const i=t;this[i(327)]&&!e[i(344)]||this[i(348)](i(337),{id:this.id,name:e[i(344)]}),e[i(344)]||(e[i(344)]=this[i(384)]?this[i(384)]:this[i(367)])}))}[ze(352)](){this[ze(333)]=!0}[ze(361)](){this[ze(333)]=!1}[ze(376)](){this[ze(351)]=!0}[ze(362)](){this[ze(351)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Je extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(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=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Vi={};function Ei(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 Mi={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[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&&Ai.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=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Zi{static fromOpts(t){return Zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Hi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}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)||Ai.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ji={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Zi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Js(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Js(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Js(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Js(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Je("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(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 As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(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 Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Zs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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 Js(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(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:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Jn=mn(Tn,xn,Nn);const Yn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,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,[An,Yn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.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+=Yi.indexOf(t[i]);else for(const t in Ji){const[i,n]=Ji[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(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=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Je("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(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 Rr="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Jr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(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]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Er(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=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:Zi.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(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 Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Je("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Jr,v=qr,g=ps(g,r,o)):u?(p=Yr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(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=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Zn,$n],[Un,Bn],[Hn,Jn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$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(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Je("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}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+=Ur(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":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?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():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=375]})(t,e)}function ro(){const t=["minus","day","1TwpDgM","10mICpDp","5VlleGu","year","8694603mnXNPB","4438308NaPxFO","setLocale","toJSDate","622530kCaYAU","2397972WGyBDE","monthLong","3724412ClHjKj","14GICysZ","week","weekdayLong","month","startOf","local","hasSame","fromJSDate","toRelativeCalendar","3190720gwQKSC","2726109BJOFQD","77irAAaR"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(399)](t)[i(386)](e),n=io[i(397)](),r=n[i(378)]({days:1})[i(396)](i(379));let o,a;return s[i(398)](n,i(379))?(o=s[i(396)](i(379))[i(387)](),a=s[i(400)]()):s[i(398)](r,i(379))?(o=r[i(387)](),a=s[i(400)]()):s[i(398)](n,i(393))?(o=s[i(396)](i(393))[i(387)](),a=s[i(394)]||""):s[i(398)](n,i(383))?(o=s[i(396)](i(395))[i(387)](),a=s[i(390)]||""):(o=s[i(396)](i(383))[i(387)](),a=String(s[i(383)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(494889===-parseInt(e(380))/1*(-parseInt(e(388))/2)+-parseInt(e(376))/3+parseInt(e(391))/4*(-parseInt(e(382))/5)+parseInt(e(389))/6*(parseInt(e(392))/7)+-parseInt(e(375))/8+parseInt(e(384))/9*(-parseInt(e(381))/10)+-parseInt(e(377))/11*(-parseInt(e(385))/12))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=["createCollection","840450osYGpK","1104273dreIVn","2694276hcVfZK","span","find","select","setName","_requireRevisionName","56OxTLRD","add","uiLanguage","setTemplate","locale","addRevision","ck-revision-history-sidebar__time-period__revisions","startDate","localizedPeriodName","436720AWlyHT","501007bEXfEr","revisionViews","delegate","_revisionActions","2181goAXVY","ck-revision-history-sidebar__time-period","1091704wdugHl","div","remove","removeRevision","706TfsJRw","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-=338]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(331663===-parseInt(e(346))/1+parseInt(e(356))/2*(parseInt(e(350))/3)+parseInt(e(352))/4+parseInt(e(359))/5+parseInt(e(361))/6+parseInt(e(367))/7*(-parseInt(e(345))/8)+parseInt(e(360))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(343)];[uo(347)];[uo(349)];[uo(366)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(340)][n(338)])[n(344)];this[n(343)]=e,this[n(347)]=this[n(358)](),this[n(349)]=i,this[n(366)]=s,this[n(347)][n(348)](n(364)).to(this),this[n(347)][n(348)](n(365)).to(this),this[n(339)]({tag:n(353),attributes:{class:["ck",n(351)]},children:[{tag:n(362),attributes:{class:["ck",n(357)]},children:[{text:r}]},{tag:n(353),attributes:{class:["ck",n(342)]},children:this[n(347)]}]})}[uo(341)](t){const e=uo,i=new Ue(this[e(340)],t,this[e(349)],this[e(366)]);this[e(347)][e(368)](i)}[uo(355)](t){const e=uo,i=this[e(347)][e(363)]((e=>e.id===t.id));this[e(347)][e(354)](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-=470]})(t,e)}function go(){const t=["415lBrgin","content","7866620xNOaZA","div","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","49728alCnIM","980872wJCVCz","2797695RIimgF","2PPWDnB","1523550sVzVnh","Revision history","setTemplate","9ClXgQU","span","ck-reset_all","2591421baVESS","4743192xCjniI"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(553184===-parseInt(e(480))/1+parseInt(e(482))/2*(parseInt(e(481))/3)+-parseInt(e(479))/4*(-parseInt(e(473))/5)+-parseInt(e(483))/6+-parseInt(e(471))/7+-parseInt(e(472))/8+parseInt(e(486))/9*(parseInt(e(475))/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(474)]=mt.IconHistory,this[e(485)]({tag:e(476),attributes:{class:["ck",e(470),e(478)]},children:[i,{tag:e(487),attributes:{class:["ck",e(477)]},children:[Q(t,e(484))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=363]})(t,e)}function Io(){const t=["346196wlNMjf","ck-disabled","createdAt","uiLanguage","some","ck-revision-history-sidebar","remove","_revisionActions","locale","map","set","3517644sYYLCv","_revisions","add","startDate","setTemplate","revisionSelected","_removeRevision","ck-reset","5phZqEP","delegate","find","addRevision","fire","selectRevision","_addRevision","ck-rounded-corners","flat","div","getTime","highlight","1742132ZrmXqp","2268628HtOJoG","revisionViews","bindTemplate","get","createCollection","_getTimePeriodViewByStartDate","unhighlight","ck-revision-history-sidebar__timeline","timePeriodViews","revisionSetName","select","highlightRevisions","setName","deselect","_requireRevisionName","23505740ICkhCl","isEnabled","2236266sLiFLw","removeRevision","2146950zRePZi","render","48ttdKsB","18sBBgrJ"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(780347===-parseInt(e(381))/1+-parseInt(e(375))/2+-parseInt(e(392))/3+parseInt(e(413))/4*(parseInt(e(400))/5)+-parseInt(e(377))/6+parseInt(e(412))/7*(-parseInt(e(379))/8)+parseInt(e(380))/9*(parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(366)];[wo(393)];[wo(388)];[wo(372)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(415)];this[n(366)]=this[n(417)](),this[n(366)][n(401)](n(368)).to(this),this[n(366)][n(401)](n(370)).to(this),this[n(393)]=e,this[n(388)]=i,this[n(372)]=s,this.on(n(368),((t,e)=>{const i=n;this[i(404)](i(397),e)})),this.on(n(370),((t,e)=>{const i=n;this[i(404)](i(367),e)})),this[n(391)](n(374),!1),this[n(396)]({tag:n(409),attributes:{class:["ck",n(399),n(407),n(386)]},children:[new yo(t),{tag:n(409),attributes:{class:["ck",n(365),r.if(n(374),n(382),(t=>!t))]},children:this[n(366)]}]})}[wo(378)](){const t=wo;super[t(378)]();for(const e of this[t(393)])this[t(406)](e);this[t(393)].on(t(394),((e,i)=>{this[t(406)](i)})),this[t(393)].on(t(387),((e,i)=>{this[t(398)](i)}))}get[wo(414)](){const t=wo;return this[t(366)][t(390)]((e=>e[t(414)][t(390)]((t=>t))))[t(408)]()}[wo(405)](t){const e=wo;for(const i of this[e(414)])t&&t.id===i.id?i[e(368)]():i[e(371)]()}[wo(369)](t){const e=wo;for(const i of this[e(414)])t[e(385)]((({id:t})=>t===i.id))?i[e(411)]():i[e(364)]()}[wo(406)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];let s=this[e(366)][e(416)](0);s&&s[e(395)][e(410)]()===i[e(410)]()||(s=new fo(this[e(389)],i,this[e(388)],this[e(372)]),this[e(366)][e(394)](s)),s[e(403)](t)}[wo(398)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];this[e(363)](i)[e(376)](t)}[wo(363)](t){const e=wo;return this[e(366)][e(402)]((i=>i[e(395)][e(410)]()===t[e(410)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(963970===-parseInt(e(148))/1*(parseInt(e(111))/2)+-parseInt(e(117))/3+-parseInt(e(125))/4+-parseInt(e(141))/5*(-parseInt(e(126))/6)+parseInt(e(181))/7*(parseInt(e(115))/8)+-parseInt(e(156))/9+parseInt(e(160))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends Z.Plugin{[Oo(109)];[Oo(140)];[Oo(174)];static[Oo(176)]=[Oo(135),Oo(121),Oo(182)];static[Oo(116)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(168),action:({plugins:e},i)=>{const s=t,n=e[s(147)](ee),r=n[s(184)];let o=n[s(145)][s(159)],a=i.id;r[s(129)](o)>r[s(129)](a)&&([o,a]=[a,o]),n[s(167)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(147)](ee);return!(n[s(184)][s(186)](n[s(145)])[s(122)]>2||i[s(114)])}},restoreRevision:{name:t(143),action:(e,{id:i})=>{const s=t;e[s(137)][s(147)](s(164))[s(190)](i)},isVisible:({plugins:e},i)=>!!e[t(147)](ee)[t(184)][t(151)](i.id)},nameRevision:{name:t(110),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(147)](ee),o=r[n(184)][n(133)](i);r[n(167)](i,o),s[n(172)](),s[n(185)][n(170)]()}}}}();static get[Oo(124)](){return Oo(138)}static get[Oo(157)](){return!0}static get[Oo(169)](){return!0}static get[Oo(163)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(109)]=t[e(178)][e(147)](ee),this[e(140)]=this[e(109)][e(184)],this[e(174)]=null}[Oo(161)](){const t=Oo,e=this[t(140)][t(150)],i=this[t(131)](),s=this[t(173)][t(137)][t(147)](t(183));this[t(174)]=new So(this[t(173)][t(154)],e,i,this[t(173)][t(137)][t(147)](t(108))),this[t(174)].on(t(171),this[t(175)][t(127)](this)),this[t(174)].on(t(179),this[t(155)][t(127)](this)),this[t(174)][t(127)](t(118)).to(this[t(109)]),this[t(174)][t(120)].on(t(177),((e,i)=>{const s=t;i[s(149)].on(s(177),((t,e)=>{const i=s;e[i(127)](i(118),i(139)).to(this[i(109)])}))})),this[t(174)][t(165)](),this[t(132)](this[t(173)][t(113)],t(128),this[t(189)][t(127)](this)),this[t(132)](this[t(109)],t(112),this[t(136)][t(127)](this)),s[t(142)](this[t(174)][t(144)])}[Oo(152)](){const t=Oo;this[t(174)][t(144)][t(146)](),this[t(174)][t(152)]()}[Oo(189)](){const t=Oo,e=this[t(140)][t(153)](0);if(e){const i=this[t(140)][t(133)](e.id);this[t(109)][t(167)](e,i)}}[Oo(175)](t,e){const i=Oo,s=this[i(140)][i(153)](e.id),n=this[i(140)][i(133)](s.id);this[i(109)][i(167)](s,n)}[Oo(155)](t,e){const i=Oo;this[i(140)][i(153)](e.id)[i(130)](e[i(188)])}[Oo(136)](t,e,i){const s=Oo,n=this[s(140)][s(186)](i);n[s(122)]>2?(this[s(174)][s(119)](n),this[s(174)][s(134)](null)):(this[s(174)][s(119)]([]),this[s(174)][s(134)](n[0]))}[Oo(131)](){const t=Oo,e=this[t(173)],i=xo[t(116)],s=e[t(137)][t(147)](t(162))||xo[t(176)];if(s[t(122)])return s[t(123)]((s=>{const n=t,r=n(187)==typeof s?Object[n(166)]({},i[s]):s;return r[n(180)]=r[n(180)][n(127)](this,e),r[n(158)]&&(r[n(158)]=r[n(158)][n(127)](this,e)),r}))}}const No=xo;function Ao(){const t=["change:diff","data","isSelected","15179192VbpCMa","availableRevisionActions","5033739mvPivh","isEnabled","highlightRevisions","timePeriodViews","restoreRevision","length","map","pluginName","1137340RirnZH","4893978qorhkM","bind","ready","getIndex","setName","_createRevisionActions","listenTo","getEarlierVisibleRevision","selectRevision","compareAgainstSelected","_handleDiffChange","config","RevisionsSidebar","isReady","_revisionsRepository","5ZuYroc","appendChild","Restore this revision","element","diff","remove","get","227jiGeXW","revisionViews","_revisions","getLaterVisibleRevision","destroy","getRevision","locale","_handleRevisionSetName","394632GCULaR","isOfficialPlugin","isVisible","newRevisionId","17958370LgfVcn","init","revisionHistory.revisionActions","requires","revisionHistory","render","assign","compare","Compare against selected","isPremiumPlugin","select","revisionSelected","focus","editor","_sidebarView","_handleRevisionSelected","defaultRevisionActions","add","plugins","revisionSetName","action","7ZQBsqh","nameRevision","revisionHistory.viewerSidebarContainer","repository","fieldView","getRevisionsInDiff","string","name","_handleEditorDataReady","restoreRevisionCallback","revisionHistory.requireRevisionName","_revisionViewer","Name this revision","13558yrJIJC"];return(Ao=function(){return t})()}function Ro(){const t=["toolbar","render","3mtTszT","attachDomRoot","init","config","2849816NCErxW","isActive","_elementReplacer","document","fillFromConfig","destroy","editor","get","fire","_view","4941066jYwxqT","7NzpJxq","viewportTopOffset","isFocused","editable","limiterElement","editing","componentFactory","replace","element","viewportOffset","ready","restore","detachDomRoot","1589390UoEHGQ","_initToolbar","bind","addToolbar","setEditableElement","1164147hOjDSb","getRoot","168888nFHzQV","name","2554623uKdZGQ","3085484VqxLLx","focusTracker","_toolbarConfig","view","stickyPanel","rootName"];return(Ro=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Ro();return(Eo=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(760677===-parseInt(e(299))/1+parseInt(e(301))/2+parseInt(e(266))/3*(parseInt(e(304))/4)+parseInt(e(294))/5+parseInt(e(280))/6*(parseInt(e(281))/7)+-parseInt(e(270))/8+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Mo extends pt.EditorUI{[Vo(279)];[Vo(306)];[Vo(272)];get[Vo(307)](){return this[Vo(279)]}constructor(e,i){const s=Vo;super(e),this[s(279)]=i,this[s(306)]=(0,pt.normalizeToolbarConfig)(e[s(269)][s(277)](s(264))),this[s(272)]=new t.ElementReplacer}get[Vo(289)](){const t=Vo;return this[t(307)][t(289)]}[Vo(268)](t){const e=Vo,i=this[e(276)],s=this[e(307)],n=i[e(286)][e(307)],r=s[e(284)],o=n[e(273)][e(300)]();r[e(302)]=o[e(263)],s[e(265)]();const a=r[e(289)];this[e(298)](r[e(302)],a),s[e(284)][e(296)](e(283)).to(this[e(305)]),n[e(267)](a),this[e(272)][e(288)](t,this[e(289)]),this[e(295)](),this[e(278)](e(291))}[Vo(275)](){const t=Vo;super[t(275)]();const e=this[t(307)],i=this[t(276)][t(286)][t(307)];this[t(272)][t(292)](),i[t(293)](e[t(284)][t(302)]),e[t(275)]()}[Vo(295)](){const t=Vo,e=this[t(307)];e[t(262)][t(296)](t(271)).to(this[t(305)],t(283)),e[t(262)][t(285)]=e[t(289)],e[t(262)][t(296)](t(282)).to(this,t(290),(({top:t})=>t)),e[t(264)][t(274)](this[t(306)],this[t(287)]),this[t(297)](e[t(264)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;!function(t){for(var e=Lo,i=t();;)try{if(287276===-parseInt(e(384))/1+parseInt(e(382))/2*(-parseInt(e(380))/3)+parseInt(e(391))/4+parseInt(e(392))/5+parseInt(e(383))/6*(parseInt(e(390))/7)+parseInt(e(385))/8+parseInt(e(377))/9*(-parseInt(e(381))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(376)];[Fo(378)];[Fo(388)];get[Fo(386)](){return this[Fo(376)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(378)]=new pt.StickyPanelView(t),this[s(388)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(375)]}),this[s(376)]=new pt.InlineEditableUIView(t,e)}[Fo(387)](){var t=Fo;super[t(387)](),this[t(378)][t(373)][t(379)](this[t(388)]),this[t(389)][t(379)](this[t(378)]),this[t(374)][t(379)](this[t(386)])}}function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=373]})(t,e)}function Po(){var t=["12ZKHFUc","166685aDFzcm","2476656MkGlZM","editable","render","toolbar","top","1236130hDkpmO","1743320JrMXom","1402740lQaGnN","content","main","shouldToolbarGroupWhenFull","_editable","18PdzblX","stickyPanel","add","1374999zkfCgI","2334230ppHESv","2dVteLr"];return(Po=function(){return t})()}const zo=Zo;function Wo(){const t=["105368wsnWqy","initialData","view","607JeHSbM","ready","document","6ZyLQcq","11969350ggAZXp","editing","destroy","405lEcBWp","_ui","get","fire","model","data","createRoot","1201936CeZAGl","init","64638EQdzXr","514fgQoKJ","initPlugins","locale","998980EPBlsT","189792pNOZKL","create","config","updateSourceElement","sourceElement"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(313989===-parseInt(e(384))/1*(-parseInt(e(401))/2)+parseInt(e(405))/3+-parseInt(e(398))/4+parseInt(e(404))/5*(-parseInt(e(387))/6)+-parseInt(e(400))/7+-parseInt(e(381))/8*(parseInt(e(391))/9)+parseInt(e(388))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(392)];get ui(){return this[zo(392)]}constructor(t,e){const i=zo;super(e),this[i(380)]=t,this[i(395)][i(386)][i(397)]();const s=new jo(this[i(403)],this[i(389)][i(383)],{shouldToolbarGroupWhenFull:!0});this[i(392)]=new Mo(this,s)}[zo(390)](){const t=zo;return this[t(408)](),this.ui[t(390)](),super[t(390)]()}static async[zo(406)](t,e){const i=zo,s=new this(t,e);return await s[i(402)](),await s.ui[i(399)](t),await s[i(396)][i(399)](s[i(407)][i(393)](i(382))||""),s[i(394)](i(385)),s}}const Ho=$o;function qo(){const t=["locale","removeMarker","indexOf","map","RevisionViewerIntegration","enableReadOnlyMode","addUser","restoreRevision","_getRevisionViewerEditorConfig","config","8113UrsSqA","_enhanceShowRevisionViewerCallback","isPremiumPlugin","end","RevisionsRepository","display","save","rootName","error","repository","toLocaleDateString","isReadOnly","set","refreshVisibility","addRoot","markers","translations","element","toolbar","join","getRevisionDocumentData","revisionHistory.requireRevisionName","model","block","commands","_showRevisionViewer","PaginationLookup","removeSelectionAttribute","isReady","getAttributeKeys","setSelection","revisionHistory","saveRevision","getRevision","toJSON","style","$graveyard","refreshPositioning","revisionHistory.viewerEditorElement","282900CbHWSF","RevisionHistory","getRevisionRootsAttributes","isAnonymous","429312XIOpKv","_recalculatePageBreaks","restrictedEditingException","includes","revisionHistory.viewerContainer","168DmJpXq","closeRevisionViewerCallback","view","revisionHistory.showRevisionViewerCallback","16869oItihS","Users","RevisionHistoryUI","init","RevisionViewer","RevisionTracker","_viewerEditor","bind","push","plugins","isEnabled","roots","disableReadOnlyMode","creator","destroy","revisionHistory.editorContainer","toVersion","toLocaleTimeString","keys","createdAt","createRangeIn","10fUUZsh","from","enqueueChange","getRoot","data","result","_update","DocumentOutline","Dialog","selection","loadRevisionData","remove","Restored","_restoreRevision","create","none","_enhanceCloseRevisionViewerCallback","removeAttribute","parse","revisionHistory.restoreRevisionCallback","document","lazyRoots","get","getRevisions","adapter","hide","update","DocumentOutlineUI","insert","define","users","pluginName","286044ceLAHd","addRevisionData","revisionHistory.closeRevisionViewerCallback","detachRoot","1888gsiksj","_cleanUp","revision-history-missing-configuration","requires","long","isRevisionViewerOpen","isOpen","RevisionHistoryUtils","name","numeric","changesNavigation","setAttribute","_closeRevisionViewer","showRevisionViewerCallback","isAttached","fromCharCode","catch","11372150PwhHAg","uiLanguage","change","then","revision-history-viewer-opened","Annotations","exitToEditing","Autosave","2743938samWWe","editor","RestrictedEditingMode","isOfficialPlugin","getMarkersGroup","fromVersion","has","getUser"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(159051===-parseInt(e(381))/1+parseInt(e(385))/2+-parseInt(e(394))/3*(parseInt(e(390))/4)+-parseInt(e(415))/5*(parseInt(e(447))/6)+-parseInt(e(342))/7*(parseInt(e(451))/8)+-parseInt(e(324))/9+parseInt(e(468))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(396),Ho(326)];class Jo extends Z.Plugin{[Ho(420)];static get[Ho(446)](){return Ho(336)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(335)]((t=>String[e(466)](t)))[e(361)]("")}super(t),this[e(420)]=e(345),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends Z.Plugin{[Ho(400)];static get[Ho(446)](){return Ho(382)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}static get[Ho(454)](){return[ot,jt]}constructor(e){const i=Ho;if(super(e),!this[i(325)][i(341)][i(437)](i(373)))throw new t.CKEditorError(i(453),this);this[i(400)]=null,this[i(354)](i(456),!1),this[i(325)][i(341)][i(444)](i(393),(t=>this[i(367)]({...t,translations:this[i(325)][i(332)][i(358)]}))),this[i(325)][i(341)][i(444)](i(449),(t=>this[i(463)](t))),this[i(325)][i(341)][i(444)](i(434),(t=>this[i(428)](t))),this[i(325)][i(341)][i(444)](i(363),!1),this[i(343)](),this[i(431)]()}set[Ho(439)](t){const e=Ho;this[e(325)][e(403)][e(437)](e(399))[e(439)]=t}get[Ho(439)](){const t=Ho;return this[t(325)][t(403)][t(437)](t(399))[t(439)]}[Ho(448)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(399))[e(448)](t)}[Ho(375)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(375)](t)}[Ho(438)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(438)](t||{toJSON:!1})}[Ho(340)](){const e=Ho,i=this[e(325)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(395))[e(445)];return s[e(360)]=[e(322),e(339),e(461)],delete s[e(436)],s[e(403)][e(402)](Jo,ee,be,class extends Z.Plugin{static get[e(454)](){return[ee,e(395)]}[e(397)](){const s=e,o=this[s(325)][s(403)][s(437)](s(395));for(const t of r)t[s(384)]||o[s(331)](t.id)||o[s(338)](t);const a=n[s(351)][s(438)]();let c=null;const u=this[s(325)][s(403)][s(437)](s(398));u[s(439)]=n[s(439)],u[s(401)](s(404)).to(n),this[s(325)][s(366)][s(437)](s(339))[s(401)](s(404)).to(i,s(353),(t=>!t));for(const e of a){const i=null===e[s(407)];if(i&&e[s(410)]===e[s(329)])continue;const r=e[s(376)]();u[s(448)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(421)](r,o);else if(!o){const e=a[u(376)]();e.id=(0,t.uid)(),n[u(374)](e,a[u(410)])[u(471)]((t=>{c=t}))}}else e[u(421)](r,o)}))}}},No),s}[Ho(343)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(464)];this[t(325)][t(341)][t(354)](t(393),(async()=>{const i=t;this[i(325)][i(337)](i(320));const s=this[i(325)][i(403)][i(437)](i(399));if(this[i(325)][i(403)][i(330)](i(323))){const t=this[i(325)][i(403)][i(437)](i(323));await t[i(348)]()}else await s[i(441)]();if(this[i(325)][i(403)][i(330)](i(368))&&this[i(325)][i(403)][i(437)](i(368))[i(386)](),this[i(325)][i(403)][i(330)](i(423))){const t=this[i(325)][i(403)][i(437)](i(423));t[i(457)]&&t[i(440)]()}const n=this[i(340)]();return e(n)[i(471)]((t=>{const e=i;return this[e(400)]=t,this[e(325)][e(403)][e(330)](e(321))&&this[e(325)][e(403)][e(437)](e(321))[e(355)](),this[e(325)][e(403)][e(330)](e(422))&&(this[e(325)][e(403)][e(437)](e(442))[e(392)][e(359)][e(377)][e(347)]=e(430)),t}))[i(467)]((t=>(console[i(350)](t),this[i(325)][i(406)](i(320)),null)))}))}[Ho(431)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(391)];this[t(325)][t(341)][t(354)](t(449),(()=>(this[t(325)][t(403)][t(330)](t(368))&&this[t(325)][t(403)][t(437)](t(368))[t(386)](),this[t(325)][t(403)][t(330)](t(422))&&(this[t(325)][t(403)][t(437)](t(442))[t(392)][t(359)][t(377)][t(347)]=""),this[t(400)][t(403)][t(437)](t(398))[t(452)](),e(this[t(400)])[t(471)]((()=>{const e=t;if(this[e(325)][e(406)](e(320)),this[e(400)]=null,this[e(325)][e(403)][e(330)](e(321))){const t=this[e(325)][e(403)][e(437)](e(321));t[e(355)](),t[e(379)]()}})))))}[Ho(367)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409)),s=this[e(325)][e(341)][e(437)](e(389)),n=this[e(325)][e(341)][e(437)](e(380));return Uo[e(429)](n,t)[e(471)]((t=>(s[e(377)][e(347)]=e(365),i[e(377)][e(347)]=e(430),this[e(456)]=!0,t)))}[Ho(463)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409));return this[e(325)][e(341)][e(437)](e(389))[e(377)][e(347)]=e(430),i[e(377)][e(347)]="",this[e(456)]=!1,t[e(408)]()}async[Ho(428)](t){const e=Ho,i=this[e(325)],s=this[e(400)][e(403)][e(437)](e(398)),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(458)),o=s[e(351)][e(375)](t);let a,c,u;try{await r[e(425)](o,this[e(439)]),a=r[e(362)](o),c=r[e(383)](o)}catch(t){return void console[e(350)](t)}i[e(364)][e(470)]((t=>{const s=e;for(const e of Array[s(416)](i[s(364)][s(357)][s(328)](s(387))))t[s(333)](e)})),s[e(370)]=!1,i[e(364)][e(417)]((t=>{const s=e;t[s(372)](null),t[s(369)](i[s(364)][s(435)][s(424)][s(371)]());const n=Object[s(412)](a);for(const e of i[s(364)][s(435)][s(405)])s(378)!=e[s(349)]&&e[s(465)]()&&!n[s(388)](e[s(349)])&&t[s(450)](e);for(const e of n){let n=i[s(364)][s(435)][s(418)](e);n&&n[s(465)]()||(n=t[s(356)](e));const r=c[e],o=Object[s(412)](r),u=a[e];for(const e of n[s(371)]())o[s(388)](e)||t[s(432)](e,n);for(const i of o)t[s(462)](i,c[e][i],n);t[s(426)](t[s(414)](n)),t[s(443)](i[s(419)][s(433)](u,n),n,0)}}));const l=Q(i[e(332)],e(427));return u=o[e(459)]?-1==o[e(459)][e(334)](l)?l+": "+o[e(459)]:o[e(459)]:l+": "+o[e(413)][e(352)](i[e(332)][e(469)],{month:e(455),day:e(460)})+", "+o[e(413)][e(411)](i[e(332)][e(469)],{hour:e(460),minute:e(460)}),await n[e(374)]({name:u}),s[e(370)]=!0,i[e(341)][e(437)](e(373))[e(391)]()}}function Go(){var t=["575638gjbSFB","8KBVdHv","373952ifNvBG","181062tkBlXl","3879618VhEWMU","1438740WvhaZP","346230DaNxDB","721503zithxL"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=147]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(399238===parseInt(e(152))/1+-parseInt(e(149))/2+-parseInt(e(151))/3+parseInt(e(154))/4+parseInt(e(150))/5+parseInt(e(148))/6+-parseInt(e(147))/7*(parseInt(e(153))/8))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:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>te,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;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,A);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,A));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,A));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,A);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,A),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,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),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,A),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,A),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 A(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 R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function 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=z;function P(){const t=["createdAt","408JorUrm","setName","map","5STFAtJ","208iglUBo","23025PABOoW","2052hISkzL","creator","10WOLzdg","fire","creatorId","model","set","removeAttribute","3130061cgBRgR","authorsIds","fromVersion","25312epLlcW","299zItTvI","authors","1635528ZGRqsR","1848884HtdIEm","name","attributes","toJSON","diffData","setAttribute","toVersion","710532BcvczV","_update","2814MsgEjU"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(699632===-parseInt(e(112))/1+parseInt(e(120))/2*(-parseInt(e(121))/3)+parseInt(e(137))/4*(-parseInt(e(119))/5)+-parseInt(e(116))/6*(parseInt(e(114))/7)+parseInt(e(133))/8*(-parseInt(e(122))/9)+parseInt(e(124))/10*(parseInt(e(130))/11)+-parseInt(e(136))/12*(-parseInt(e(134))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class U extends((0,t.ObservableMixin)()){id;[j(123)];[j(135)];[j(109)];[j(111)];[j(132)];[j(127)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(123)]=e[i(123)]||null,this[i(135)]=e[i(135)]||[],this[i(109)]=e[i(109)]||null,this[i(111)]=e[i(111)]||0,this[i(132)]=e[i(132)]||0,this[i(128)](i(138),e[i(138)]||""),this[i(128)](i(115),e[i(115)]||new Date),this[i(128)](i(139),e[i(139)]||{})}[j(117)](t){this[j(113)]({name:t})}[j(110)](t,e){const i=j,s=R(this[i(139)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(113)]({attributes:s})}[j(129)](t){const e=j,i=R(this[e(139)]);(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]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(113)]({attributes:i})}[j(113)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(138),i(115),i(109),i(135),i(139),i(111),i(132),i(126)];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(135)]&&(n[i(131)]=n[i(135)][i(118)]((t=>t.id)),delete n[i(135)]),this[i(125)](i(113),n,e))}[j(140)](){const t=j;return{id:this.id,name:this[t(138)],creatorId:this[t(123)]?this[t(123)].id:null,authorsIds:this[t(135)][t(118)]((t=>t.id)),diffData:this[t(109)],createdAt:this[t(115)],attributes:this[t(139)],fromVersion:this[t(132)],toVersion:this[t(111)]}}}var W=i(782),H=i(211),Z=i(783);const B=$;function $(t,e){const i=q();return($=function(t,e){return i[t-=439]})(t,e)}function q(){const t=["addRevision","authorsIds","from","getRevisions","fromVersion","plugins","earlier","getRevisionsIterator","4378860KIWHzE","981674mfaWWd","join","attributes","map","15877062GNmTAC","_revisions","toJSON","14TLtsYq","creatorId","requires","newRevisionId","getLaterVisibleRevision","getRevision","later","afterInit","getIndex","1234845IiUddd","getEarlierVisibleRevision","pluginName","getUser","612361eCqwwB","add","reverse","editor","name","href","createRevision","RevisionsRepository","get","isNaN","Users","isPremiumPlugin","fromCharCode","3150416aLlxyR","diffData","16swKdOT","length","oldRevisionId","createdAt","push","isOfficialPlugin","toVersion","getRevisionsInDiff","2582517XJfCLz","data"];return(q=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(498813===-parseInt(e(451))/1+-parseInt(e(485))/2+parseInt(e(474))/3+parseInt(e(466))/4*(parseInt(e(447))/5)+parseInt(e(484))/6+-parseInt(e(492))/7*(-parseInt(e(464))/8)+-parseInt(e(489))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[B(490)];static get[B(440)](){return[H.Users]}static get[B(449)](){return B(458)}static get[B(471)](){return!0}static get[B(462)](){return!0}get[B(467)](){const t=B;return this[t(490)][t(467)]}constructor(e){const i=B;super(e),this[i(490)]=new t.Collection}[B(445)](){!async function(e){const i=k([112,115,88,71,55,107,77,82,121,78,118,83,81,53,85,100,116,80,52,74,73,50,87,72,65,110,90,57,67,68,104,109,89,48,120,101,103,117,69,49,75,105,70,113,79,84,51,99,114,97,102,86,76,54,111,122,108,98,106,56,119,66]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(460)](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([112]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(488)]((t=>String[e(463)](t)))[e(486)]("")}!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:1744156800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(456)]);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)}[B(457)](t){const e=B,i=this[e(454)][e(481)][e(459)](e(461));return new U({id:t.id,name:t[e(455)],creator:t[e(439)]?i[e(450)](t[e(439)]):null,diffData:t[e(465)]||t[e(475)],authors:t[e(477)][e(488)]((t=>i[e(450)](t))),createdAt:new Date(t[e(469)]),attributes:t[e(487)],fromVersion:t[e(480)],toVersion:t[e(472)]})}[B(476)](t,e=0){const i=B;this[i(490)][i(452)](t,e)}[B(443)](t){const e=B;return this[e(490)][e(459)](t)}[B(479)](t={toJSON:!1}){const e=B,i=Array[e(478)](this[e(490)]);return i[e(453)](),t[e(491)]?i[e(488)]((t=>t[e(491)]())):i}[B(446)](t){const e=B;return this[e(490)][e(446)](t)}[B(448)](t){const e=B,[,i]=this[e(483)](t,{direction:e(482)});return i}[B(442)](t){const e=B,[,i]=this[e(483)](t,{direction:e(444)});return i}[B(473)](t){const e=B,i=[];for(const s of this[e(483)](t[e(441)]))if(i[e(470)](s),s.id===t[e(468)])break;return i}*[B(483)](t,{direction:e=B(482),filter:i=()=>!0}={}){const s=B,n=s(482)===e?1:-1;let r=this[s(490)][s(459)](t),o=this[s(446)](r);for(yield r;r;){if(o+=n,r=this[s(443)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["insertions","pluginName","isOfficialPlugin","domChildrenToView","getRevisionRootsAttributes","revision-start","document","collaboration.channelId","_viewClassToTypeChar","RevisionHistoryUtils","isPremiumPlugin","name","2336095PjKOcq","fillerOffset","data-revision-","toData","config","domDocument","get","370488aJGkhd","parse","append","_getViewFromDiffObj","childNodes","data","536632VHIHKG","startsWith","revision-end","children","getRevisionDocumentData","211321KmAMdm","getRevision","htmlProcessor","innerHTML","_makeModelFromViewString","viewChildrenToDom","map","forEach","loadRevisionData","attachChange","_getTypeCharForViewElement","_typeCharToViewClass","_removeRevisionMarkers","type","length","marked","editing","customProperties","useFillerType","toModel","_setCustomProperty","1103114JzQvRy","isAttached","_appendChild","default","7SmSAlg","attributes","636474wnlTHv","processor","filter","getFillerOffset","render","from","attributesAfter","937482vJFqrp","div","editor","createElement","constructor","domConverter","diffData","view","string"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(307855===parseInt(e(162))/1+-parseInt(e(183))/2+parseInt(e(196))/3+-parseInt(e(151))/4+parseInt(e(144))/5+-parseInt(e(189))/6+parseInt(e(187))/7*(parseInt(e(157))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends W.Plugin{static get[J(206)](){return J(141)}static get[J(207)](){return!0}static get[J(142)](){return!0}[J(140)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(173)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(170)](t,e){const i=J;if(t[i(202)]||!e)return;const s=this[i(198)][i(148)][i(150)](i(212)),n=await e[i(163)]({channelId:s,revisionId:t.id});t[i(202)]=n[i(202)]}[J(161)](t){const e=J,i={};for(const s in t[e(202)]){if(t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)])continue;const n=this[e(174)](JSON[e(152)](t[e(202)][s][e(205)])),r=this[e(198)][e(178)][e(203)][e(211)],o=new Z.ViewDocumentFragment(r,n[e(168)]((t=>this[e(154)](t,!1))));this[e(198)][e(156)][e(190)][e(180)](e(177)),i[s]=this[e(198)][e(156)][e(190)][e(147)](o),this[e(198)][e(156)][e(190)][e(180)](e(186))}return i}[J(209)](t){const e=J,i={};for(const s in t[e(202)])t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)]||(i[s]=t[e(202)][s][e(195)]||{});return i}[J(172)](t){const e=J;return this[e(140)][e(150)](t[e(200)])}[J(154)](t,e){const i=J,s=this[i(198)][i(178)][i(203)][i(211)];if(i(204)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(175)]||"r"==t[i(175)]?[]:t[i(160)][i(168)]((t=>this[i(154)](t,e)));const o=this[i(173)][i(150)](t[i(175)])||Z.ViewElement,a=this[i(198)][i(156)][i(164)][i(201)];if(n=new o(s,t[i(143)],t[i(188)],r),"u"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){const e=i,s=t[e(199)](e(197));return s[e(165)]=r,s[e(155)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e),n=Array[i(194)](a[i(208)](r))[0]}}else if("r"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){t[i(165)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e);const o=Array[i(194)](a[i(208)](r));o[i(176)]>1?n[i(185)](o):n=o[0]}}if(t[i(179)])for(const[e,s]of t[i(179)])n[i(182)](e,s);const c=void 0===t[i(145)]?null:t[i(145)];return null!==c&&(n[i(192)]=()=>c),n}}[J(166)](t){const e=J,i=JSON[e(152)](t),s=this[e(198)][e(178)][e(203)][e(211)],n=new Z.ViewDocumentFragment(s,i[e(168)]((t=>this[e(154)](t,!0))));return this[e(198)][e(156)][e(181)](n)}[J(174)](t){const e=J;return(t=t[e(191)]((t=>!t[e(143)]||e(210)!==t[e(143)]&&e(159)!==t[e(143)])))[e(169)]((t=>{const i=e;i(204)!=typeof t&&(t[i(160)]=this[i(174)](t[i(160)]),t[i(188)]=t[i(188)][i(191)]((t=>!t[0][i(158)](i(146)))))})),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),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&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 R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=lt;function ot(){const t=["RealTimeCollaborationClient","createPositionBefore","_replaceEditorDataWithRevisionData","_generateTape","_handleMergeOperation","vid_start","_isPendingUpdate","dataDowncast","collaboration.channelId","editor","42224vhCosV","editor-initial-data-replaced-with-revision-data","getIndex","max","type","_handleRootAttributeOperation","getMovedRangeStart","creator","attachChange","getCurrentRevisionId","createElement","getData","insertion","_isInit","stringify","_setConversion","deletions","model","getRevisionRootsAttributes","_loadState","locale","revisionHistoryLicenseKeyInvalid","get","_setAttribute","newRange","toView","resolve","includes","isOfficialPlugin","getRange","childCount","destroy","range","start","_fixPosition","Initial revision","_licenseKeyCheckInterval","merge","update","_processRootBeforeSave","outerHTML","elementStart","updateRevisions","getUser","featureNotAllowed","innerHTML","rootName","attributesAfter","isAdd","source","1113620HyMdjl","reinsert","_lastFrom","getOperations","_reset","parent","vid_end","6212352dyIyFb","move","_getBaseVids","item","getTime","_getTypeCharForViewElement","push","createRevision","PENDING_ACTION_REVISION_HISTORY","targetPosition","requires","clear","RevisionHistory","roots","_handleInsertOperation","render","PendingActions","baseVersion","userId","usageLimit","insertionPosition","has","offset","invalid","for","_removePendingAction","_revisionId","_markers","_touched","revisionHistoryLicenseKeyEvaluationLimit","$graveyard","currentRevision","setRevisionData","RevisionHistoryUtils","4094748IWraAD","_lastTo","initialData","_createInitialRevision","dataToMarker","startsWith","nodes","_insertChild","nodeAfter","set","getRevision","addRootAttribute","sendBufferedUpdates","_loadedStateData","markers","sourcePosition","createRangeIn","marker","addRevisionData","conversion","some","_findInsertionIndex","authorsIds","remove","_idsRoots","vid","_bufferedUpdates","_getFromVersion","_createCurrentRevision","deletion","graveyardPosition","history","_makeRevision","data","text","_saveMetaData","_handleMarkerOperation","insert","reInit","tableCell","_handleRootOperation","getRootNames","trialLimit","_touchedRoots","expired","licenseKey","getOperation","hasContent","RevisionsRepository","createPositionAt","_handleOperation","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyNotAllowed","changeRootAttribute","diffData","key","clone","authors","delete","getCustomProperties","_authorId","_getPreviousFrom","getRevisions","customProperties","_calculateMetaData","revisionHistoryLicenseKeyUsageLimit","revisionHistoryLicenseKeyDomainLimit","fromEntries","keys","revision:","_pendingAction","splitPosition","revisionHistoryLicenseKeyValid","_handleMoveOperation","end","markerToData","string","_utils","children","_startingRevisionId","_getViewJson","path","plugins","name","evaluationLimit","_clone","trim","_removeMetaData","ready","16gOMItF","repository","insertions","_makeModelFromViewString","$comment","revisionHistory.resumeUnsavedRevision","_getVidAttributeName","reverse","isPremiumPlugin","_getState","loadState","map","initial","_baseRoots","getWalker","NEGATIVE_INFINITY","domConverter","_startingVersion","revision","buildRevisionData","offsetSize","init","_isAttached","finally","createPositionFromPath","getChild","createPositionAfter","toVersion","getLatestVersion","detachRoot","createRange","_touchedMarkers","_bufferUpdate","_applyOperations","getAttributes","_markChanges","_fixRange","isEnabled","_showLicenseError","RevisionTracker","_cloneOperation","isAttached","uiElement","domainLimit","_continueCurrentRevision","Users","bind","define","previousPosition","_initialRevisionId","upcast","saveRevision","document","_update","getChildren","_createFromRanges","_source","getFillerOffset","_copyMarkers","creatorId","element","269118TtnvPI","htmlProcessor","filter","_prepareViewToSave","isReady","newValue","getAttribute","rootsAttributes","rawElement","_handleSplitOperation","find","_execute","getRevisionDocumentData","split","_makeIdsRoot","documentFragment","paragraph","attributesBefore","3XXMeRB","elementEnd","getAncestors","shift","isEqual","_diffRoots","_addPendingAction","domDocument","_fixOperation","_appendChild","root","version","afterInit","getTransformedByOperation","add","274631YNuyHr","adapter","keepParagraph","$text","position","loadRevisionData","fromVersion","sort","_savedMetaData","addRevision","fillerOffset","getRoot","Empty document","_baseRootsAttributes","_baseIdsRoots","revisionHistoryLicenseKeyExpired","getNodeByPath","howMany","length","_diffRootsAttributes","_transformMarkers","addRoot","values","then","_operations","affectsData","setSource","removeRootAttribute","oldRange","createdAt","config","slice","pluginName","from","2121474Jcvydi","size","_revisionDataBuilder","stickiness"];return(ot=function(){return t})()}!function(t){const e=lt,i=t();for(;;)try{if(543931===parseInt(e(422))/1+parseInt(e(167))/2*(-parseInt(e(440))/3)+-parseInt(e(181))/4+-parseInt(e(231))/5+parseInt(e(238))/6+-parseInt(e(133))/7*(-parseInt(e(361))/8)+parseInt(e(272))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends W.Plugin{[rt(317)];[rt(217)];[rt(269)]=null;[rt(362)];[rt(134)]=null;[rt(169)];[rt(417)];[rt(410)];[rt(298)];[rt(349)];[rt(342)];[rt(405)];[rt(378)];[rt(285)];static get[rt(165)](){return rt(400)}static get[rt(209)](){return!0}static get[rt(369)](){return!0}static get[rt(248)](){return[H.Users,Y,Q,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(362)]=this[i(180)][i(354)][i(203)](i(320)),this[i(349)]=this[i(180)][i(354)][i(203)](i(271)),this[i(169)]=new ct(this[i(180)]),this[i(410)]=this[i(180)][i(163)][i(203)](i(179))||i(373),this[i(298)]=new Map,this[i(285)]=null;const s=(0,t.uid)();this[i(417)]={history:this[i(180)][i(198)][i(413)][i(303)],getLatestVersion:()=>Promise[i(207)](this[i(180)][i(198)][i(413)][i(451)]),getCurrentRevisionId:()=>s},this[i(281)](i(426),!1),this[i(281)](i(398),!0),this[i(281)](i(177),!1),this[i(180)][i(163)][i(408)](i(366),!0),this[i(180)][i(291)][i(262)](i(411))[i(276)]({view:i(379)})}[rt(382)](){const t=rt;this[t(196)](),this[t(180)][t(305)].on(t(360),(()=>{const e=t,i=this[e(362)][e(282)](0),s=i&&null===i[e(188)]?i:null;if(this[e(405)]=!!s&&this[e(180)][e(163)][e(203)](e(366)),this[e(180)][e(354)][e(259)](e(171))){const t=this[e(417)][e(190)](),n=this[e(362)][e(282)](t);if(n)this[e(378)]=n[e(139)],this[e(405)]=!1;else{const t=this[e(417)][e(303)][e(157)][e(432)]((t=>!t[e(194)])),n=t?t[e(255)]:this[e(417)][e(303)][e(451)];i?(i[e(388)]<n&&i[e(414)]({toVersion:n}),this[e(405)]?(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)]):(this[e(378)]=i[e(388)],this[e(405)]=!1)):(this[e(378)]=n,this[e(405)]=!1)}}else s&&(this[e(180)][e(198)][e(413)][e(303)][e(451)]=Math[e(184)](s[e(388)],this[e(180)][e(198)][e(413)][e(303)][e(451)]),s[e(139)]===s[e(388)]?(0!==s[e(139)]&&(this[e(417)][e(190)]=()=>s.id),this[e(405)]=!1):this[e(405)]&&(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)])),this[e(405)]||(this[e(378)]=this[e(180)][e(198)][e(413)][e(451)]);this[e(169)][e(382)](this[e(417)][e(303)]),this[e(275)](this[e(378)]),this[e(300)](this[e(378)]),this[e(134)]&&this[e(284)]()})),this[t(407)](t(426)).to(this,t(177),(t=>!t)),this[t(317)]=this[t(180)][t(163)][t(203)](t(317));const e=this[t(180)];this[t(217)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(344)==r||i(202)==r||i(148)==r||i(338)==r||i(324)==r||i(267)==r||i(323)==r||i(337)==r){delete e[n],s=r,clearInterval(this[i(217)]),this[i(217)]=void 0;break}}i(202)==s&&e[i(399)](i(261)),i(148)==s&&e[i(399)](i(316)),i(338)==s&&e[i(399)](i(404)),i(324)==s&&e[i(399)](i(225),i(250)),i(267)==s&&e[i(399)](i(356)),i(323)==s&&e[i(399)](i(314)),i(337)==s&&e[i(399)](i(257))}),1e3)}async[rt(452)](){const t=rt;if(this[t(362)][t(151)]>0){const e=this[t(362)][t(282)](0),i=await this[t(434)](e),s=await this[t(199)](e);this[t(173)](i,s)}}[rt(212)](){const t=rt;super[t(212)](),this[t(217)]&&clearInterval(this[t(217)])}[rt(159)](t){this[rt(417)]=t}async[rt(219)](){const t=rt,e=await this[t(417)][t(389)]();if(e>this[t(269)][t(388)]){await this[t(200)]();const i=this[t(380)]({revision:this[t(269)],to:e});i[t(329)]=i[t(294)][t(372)]((e=>this[t(180)][t(354)][t(203)](t(406))[t(224)](e))),this[t(269)][t(414)](i)}}async[rt(412)](e={},i=null){const s=rt,n=[];await this[s(200)](),this[s(405)]=!1,i>this[s(269)][s(388)]&&(i=null),null===i&&(i=await this[s(417)][s(389)]());const r=this[s(299)](i),o=this[s(380)]({from:r,to:i});if(this[s(269)][s(388)]<i){const t=this[s(380)]({revision:this[s(269)],from:i,to:i});t[s(329)]=[],t[s(294)]=[],t.id=this[s(269)].id,this[s(269)][s(414)](t,!0),delete t[s(329)],n[s(244)](t)}e[s(420)]=this[s(180)][s(354)][s(203)](s(406)).me.id,e[s(355)]=e[s(355)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(290)](e);n[s(244)](e);const c=this[s(362)][s(183)](a);if(0!==c){const t=this[s(362)][s(282)](c-1);if(t[s(139)]!==i){const r=this[s(169)][s(192)](i,t[s(388)]),o={id:t.id,diffData:r[s(326)],authorsIds:r[s(294)],authors:r[s(294)][s(372)]((t=>this[s(180)][s(354)][s(203)](s(406))[s(224)](t))),fromVersion:i};t===this[s(269)]&&(o[s(162)]=new Date(e[s(162)][s(242)]()+10)),t[s(414)](o,!0),delete o[s(329)],n[s(244)](o)}}if(this[s(134)]){for(const t of n)this[s(393)](t.id,t,!0);this[s(284)]()}return a}[rt(290)](t){const e=rt,i=this[e(362)][e(245)](t);return this[e(134)]&&i.on(e(414),((t,i,s)=>{const n=e;s||(this[n(393)](i.id,i,!0),this[n(284)]())})),this[e(362)][e(142)](i,this[e(293)](i)),i}async[rt(434)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(434)](t)}async[rt(199)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(199)](t)}[rt(284)](){const t=rt;if(0===this[t(298)][t(168)])return;if(this[t(177)])return;let e=Array[t(166)](this[t(298)][t(155)]());this[t(298)][t(249)]();for(let i=0;i<e[t(151)];i++){const s=e[i];let n=!1;for(const e of Object[t(340)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(424)]((t=>null!==t)),!e[t(151)])return;for(let i=0;i<e[t(151)];i++){const s=e[i];void 0!==s[t(139)]&&void 0===s[t(388)]&&(s[t(388)]=this[t(362)][t(282)](s.id)[t(388)]),void 0!==s[t(388)]&&void 0===s[t(139)]&&(s[t(139)]=this[t(362)][t(282)](s.id)[t(139)])}const i=this[t(180)][t(163)][t(203)](t(179));this[t(177)]=!0,this[t(446)](),this[t(134)][t(223)](e,i)[t(384)]((()=>{this[t(177)]=!1}))[t(156)]((e=>{const i=t;if(e)for(const t of e)this[i(270)]({id:t.id,createdAt:t[i(162)]});this[i(263)](),this[i(284)]()}))}[rt(380)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(139)],i=null!==i?i:t[s(388)];const n=this[s(169)][s(192)](e,i),r={diffData:n[s(326)],authorsIds:n[s(294)],fromVersion:e,toVersion:i};if(!t||i!==t[s(388)]){const t=i-1,e=this[s(417)][s(303)][s(318)](t);r[s(162)]=e&&e[s(162)]||new Date}if(this[s(285)]&&e===this[s(285)][s(139)])for(const t of this[s(285)][s(329)])r[s(294)][s(208)](t.id)||r[s(294)][s(244)](t.id);return r}[rt(393)](t,e,i){const s=rt;if(this[s(298)][s(259)](t)){const n=this[s(298)][s(203)](t);e=i?{...n,...e}:{...e,...n}}this[s(298)][s(281)](t,e)}[rt(270)](t){const e=rt,i=this[e(362)][e(282)](t.id);if(t[e(162)]&&(t[e(162)]=new Date(t[e(162)])),t[e(294)]){const i=this[e(180)][e(354)][e(203)](e(406));t[e(329)]=t[e(294)][e(372)]((t=>i[e(224)](t)))}i[e(414)](t,!0)}[rt(275)](t){const e=rt,i=this[e(362)][e(282)](this[e(362)][e(151)]-1);if(i)this[e(410)]=i.id;else{const i=!this[e(180)][e(198)][e(413)][e(251)][e(432)]((t=>this[e(180)][e(198)][e(319)](t))),s=this[e(180)][e(354)][e(203)](e(406)).me.id,n=X(this[e(180)][e(201)],e(i?145:216));this[e(304)]({from:t,to:t,id:this[e(410)],name:n,creatorId:s})}}[rt(300)](t){const e=rt,i=this[e(417)][e(190)]();this[e(269)]=this[e(362)][e(282)](i),this[e(269)]||(this[e(269)]=this[e(304)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(200)](){const t=rt;this[t(405)]&&!this[t(285)]&&(await this[t(349)][t(138)](this[t(269)],this[t(134)]),this[t(169)][t(371)](this[t(269)]),this[t(285)]={fromVersion:this[t(269)][t(139)],authors:this[t(269)][t(329)][t(164)]()})}[rt(173)](e,i){const s=rt;let n=this[s(180)][s(163)][s(203)](s(274)),r=this[s(180)][s(163)][s(203)](s(429));if(void 0===n){n={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())n[t]=""}if(s(348)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())r[t]={}}let o=!1;const a=Object[s(340)](n),c=Object[s(340)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(358)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(340)](r[t])[s(151)]>0){o=!0;break}}o||(o=c[s(292)]((t=>!this[s(180)][s(198)][s(413)][s(144)](t)))),o&&(0,t.logWarning)(s(182),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(180)][s(163)][s(281)](s(274),e),this[s(180)][s(163)][s(281)](s(429),i)}[rt(446)](){const t=rt;if(!this[t(342)]){const e=this[t(180)][t(354)][t(203)](t(254));this[t(342)]=e[t(132)](X(this[t(180)][t(201)],t(246)))}}[rt(263)](){const t=rt;this[t(342)]&&(this[t(180)][t(354)][t(203)](t(254))[t(295)](this[t(342)]),this[t(342)]=null)}[rt(293)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)]();let s=0;for(;s<i[e(151)];){const n=i[s];if(n===this[e(269)]){s++;continue}if(n.id===this[e(410)])break;const r=t[e(388)]-n[e(388)]||t[e(139)]-n[e(139)];if(r>0)break;if(r<0)s++;else{if(!t[e(188)]&&n[e(188)])break;if(n[e(188)]||!t[e(188)]){if(t[e(162)]>n[e(162)])break;s++}else s++}}return s}[rt(299)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)](),i[e(443)]();const s=i[e(432)]((i=>i[e(388)]<=t))[e(388)];return s<this[e(378)]?this[e(378)]:s}[rt(304)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(380)]({from:e,to:i});o[r(355)]=t,o[r(420)]=s,o.id=n;const a=this[r(290)](o);return this[r(134)]&&this[r(393)](o.id,o,!0),a}[rt(196)](){const t=rt;this[t(180)][t(291)][t(262)](t(178))[t(347)]({model:t(379)})}}class ct{[rt(180)];[rt(230)];[rt(141)];[rt(233)];[rt(273)];[rt(265)];[rt(445)];[rt(152)];[rt(374)];[rt(146)];[rt(296)];[rt(147)];[rt(266)];[rt(392)];[rt(315)];[rt(264)];[rt(351)];constructor(t){const e=rt;this[e(180)]=t,this[e(141)]=new Map,this[e(233)]=-1,this[e(273)]=-1,this[e(265)]=new Map,this[e(445)]=new Map,this[e(152)]=new Map,this[e(374)]=new Map,this[e(146)]=new Map,this[e(296)]=new Map,this[e(147)]=new Map,this[e(266)]=new Map,this[e(392)]=new Map,this[e(315)]=new Map,this[e(264)]=1}[rt(382)](t){const e=rt;this[e(230)]=t;const i=new Map,s=new Map,n=this[e(180)][e(198)][e(413)][e(251)][e(372)]((t=>t[e(227)]));for(const t of n){const n=this[e(180)][e(198)][e(413)][e(144)](t),r=ut(n);i[e(281)](t,r),s[e(281)](t,Object[e(339)](n[e(395)]()))}const r=Array[e(166)](this[e(180)][e(198)][e(286)])[e(372)]((t=>[t[e(355)],t[e(210)]()])),o=this[e(230)][e(451)];this[e(307)](o,i,r,s),this[e(351)]=this[e(264)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(281)](t,i),c[e(281)](t,{})}this[e(307)](Number[e(376)],a,[],c)}[rt(192)](t,e){const i=rt;if(this[i(233)]===t&&this[i(273)]<=e)this[i(141)][i(168)]>1&&this[i(359)](this[i(273)]),this[i(394)](this[i(273)],e,!0);else{if(!this[i(141)][i(259)](t)){const e=this[i(333)](t);this[i(336)](e,t,!1)}this[i(336)](t,e,!0)}return this[i(233)]=t,this[i(273)]=e,this[i(370)]()}[rt(371)](t){const e=rt,i=this[e(180)][e(354)][e(203)](e(271));this[e(235)](),this[e(233)]=t[e(139)],this[e(273)]=t[e(388)];for(const s in t[e(326)]){const n=t[e(326)][s][e(189)],r=R(t[e(326)][s][e(439)])||{},o=i[e(364)](t[e(326)][s][e(197)]);o[e(227)]=s,o[e(383)]=!n||!n[e(402)],o[e(402)]=()=>o[e(383)],this[e(374)][e(281)](s,o),this[e(146)][e(281)](s,r),n&&this[e(315)][e(281)](s,n);const a=this[e(436)](o);this[e(147)][e(281)](s,a);for(const[t,i]of o[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],r=a[e(149)](n)[e(428)](i);this[e(266)][e(281)](r,{userId:s})}}}this[e(351)]=this[e(264)];const s=[...Array(this[e(264)])[e(340)]()][e(164)](1)[e(424)]((t=>!this[e(266)][e(259)](t)));let n=0;const r=new Map;for(const o in t[e(326)]){const a=t[e(326)][o][e(189)],c=R(t[e(326)][o][e(228)])||{},u=i[e(364)](t[e(326)][o][e(363)]);u[e(227)]=o,u[e(383)]=!a||a[e(402)],u[e(402)]=()=>u[e(383)],this[e(445)][e(281)](o,u),this[e(152)][e(281)](o,c);const l=this[e(436)](u,Number[e(376)]);this[e(296)][e(281)](o,l),r[e(281)](o,u[e(402)]()?c:{});for(const[t,i]of u[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=this[e(264)]++,r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)];l[e(149)](r)[e(204)](i,n),this[e(266)][e(281)](n,{userId:s})}}for(const t of this[e(180)][e(198)][e(288)](u)[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],o=l[e(149)](r);o[e(428)](i)>0||o[e(204)](i,s[n++])}for(const[t,i]of u[e(286)])t[e(277)](e(341))||this[e(265)][e(281)](t,i)}const o=ht(e(268));this[e(374)][e(281)](e(268),o),this[e(147)][e(281)](e(268),this[e(436)](o,1));const a=ht(e(268));this[e(445)][e(281)](e(268),a),this[e(296)][e(281)](e(268),this[e(436)](a,1));const c=Array[e(166)](this[e(445)])[e(372)]((([t,e])=>[t,ut(e)]));this[e(307)](this[e(273)],c,this[e(265)],r)}[rt(310)](){const t=rt;this[t(235)](),this[t(233)]=-1,this[t(273)]=-1,this[t(141)][t(249)](),this[t(382)](this[t(230)])}[rt(307)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(281)](t,{start:e[n(214)][n(328)](),end:e[n(346)][n(328)](),rootName:e[n(450)][n(227)]});this[n(141)][n(281)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(359)](t){const e=rt;this[e(141)][e(330)](t)}[rt(235)](){const t=rt;this[t(266)][t(249)](),this[t(392)][t(249)](),this[t(315)][t(249)](),this[t(445)][t(249)](),this[t(152)][t(249)](),this[t(374)][t(249)](),this[t(146)][t(249)](),this[t(296)][t(249)](),this[t(147)][t(249)](),this[t(265)][t(249)](),this[t(264)]=1,this[t(351)]=this[t(264)]}[rt(436)](t,e=null){const i=rt;let s=null;t.is(i(437))||(s=new Z.Element(t[i(355)],{vid_start:null===e?this[i(264)]++:e++}));const n=[];for(const s of t[i(415)]())if(s.is(i(421))){n[i(244)](this[i(436)](s,e));const t=n[n[i(151)]-1];null!==e&&(e=t.is(i(421),i(136))?t[i(428)](i(297))+1:t[i(428)](i(237))+1)}else for(let t=0;t<s[i(381)];t++)n[i(244)](new Z.Element(i(136),{vid:null===e?this[i(264)]++:e++}));if(t.is(i(437))){const e=ht(t[i(227)]);return e[i(279)](0,n),e}return s[i(204)](i(237),null===e?this[i(264)]++:e++),s[i(279)](0,n),s}[rt(336)](t,e,i){const s=rt;this[s(235)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(141)][s(203)](t);this[s(374)]=new Map(n),this[s(146)]=new Map(R(o));for(const[t,e]of this[s(374)])if(s(268)!==t&&(this[s(445)][s(281)](t,ut(e)),this[s(152)]=new Map(R(o)),i)){const i=this[s(264)];this[s(296)][s(281)](t,this[s(436)](e)),this[s(147)][s(281)](t,this[s(436)](e,i))}this[s(351)]=this[s(264)],this[s(445)][s(281)](s(268),ut(this[s(374)][s(203)](s(268)))),i&&this[s(296)][s(281)](s(268),this[s(436)](this[s(374)][s(203)](s(268))));for(const[t,e]of r){const i=this[s(374)][s(203)](e[s(227)]),n=this[s(445)][s(203)](e[s(227)]),r=new Z.Range(this[s(215)](e[s(214)],i),this[s(215)](e[s(346)],i)),o=this[s(397)](r,n);i[s(286)][s(281)](t,r),this[s(265)][s(281)](t,o)}this[s(394)](t,e,i)}[rt(394)](t,e,i){const s=rt;for(const n of this[s(230)][s(234)](t,e))this[s(322)](n,i);for(const t of this[s(445)][s(155)]())t[s(286)][s(249)]();for(const[t,e]of this[s(265)])this[s(445)][s(203)](e[s(450)][s(227)])[s(286)][s(281)](t,e[s(328)]());const n=new Map,r=new Map;for(const[t,e]of this[s(445)])n[s(281)](t,ut(e)),r[s(281)](t,this[s(152)][s(203)](t));this[s(307)](e,n,this[s(265)],r)}[rt(333)](t){const e=rt,i=Array[e(166)](this[e(141)][e(340)]());i[e(140)](((t,e)=>t-e)),i[e(368)]();for(const e of i)if(e<t)return e;return Number[e(376)]}[rt(419)](t,e){const i=rt,s=Array[i(166)](e[i(286)])[i(372)]((([e,s])=>[e,this[i(397)](s,t)]));t[i(286)]=new Map(s)}[rt(153)](t){const e=rt;for(const i of this[e(265)][e(155)]()){const s=i[e(453)](t),n=Z.Range[e(416)](s);i[e(214)]=n[e(214)],i[e(346)]=n[e(346)]}}[rt(322)](t,e){const i=rt;if(i(154)!=t[i(185)]&&i(390)!=t[i(185)]){if(i(309)==t[i(185)]){const s=t[i(137)][i(450)][i(227)];this[i(445)][i(259)](s)||(this[i(445)][i(281)](s,ht(s,!0)),this[i(152)][i(281)](s,{}),e&&this[i(296)][i(281)](s,ht(s,!0)))}else{if(i(283)==t[i(185)]||i(160)==t[i(185)]||i(325)==t[i(185)])return void this[i(186)](t);i(289)==t[i(185)]&&this[i(308)](t)}if(i(289)!==t[i(185)]){const e=this[i(401)](t,this[i(445)]);e[i(433)](),this[i(153)](e)}if(e)switch(t[i(185)]){case i(309):this[i(252)](t);break;case i(239):case i(295):case i(232):this[i(345)](t);break;case i(218):this[i(175)](t);break;case i(435):this[i(431)](t)}}else this[i(312)](t,e)}[rt(401)](t,e){const i=rt,s=t[i(328)]();return s[i(332)]=t[i(332)],this[i(448)](s,e),s}[rt(240)](t){const e=rt;return t[e(372)]((t=>{const i=e,s=this[i(367)](t);return Number(t[i(241)][i(428)](s))}))}[rt(174)](t,e){const i=rt;if(t.is(i(421),i(136)))e[i(244)]({item:t,type:i(306)});else{t.is(i(421))&&e[i(244)]({item:t,type:i(222)});for(const s of t[i(415)]())this[i(174)](s,e);t.is(i(421))&&e[i(244)]({item:t,type:i(441)})}return e}[rt(370)](){const t=rt,e=new Map(this[t(266)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(374)][t(340)](),...this[t(445)][t(340)]()]);a[t(330)](t(268));for(const e of a){const i=this[t(445)][t(203)](e)||ht(e,!1),s=this[t(374)][t(203)](e)||ht(e,!1);i[t(402)]()||s[t(402)]()?(n[t(363)][e]=ut(i),n[t(197)][e]=ut(s),this[t(419)](n[t(197)][e],s),this[t(419)](n[t(363)][e],i),r[t(363)][e]=this[t(174)](this[t(296)][t(203)](e),[]),r[t(197)][e]=this[t(174)](this[t(147)][t(203)](e)||ht(e,!1),[])):a[t(330)](e)}for(const n of a){const o=r[t(363)][n];for(const n of o){const r=this[t(367)](n),o=n[t(241)][t(428)](r);i[t(330)](o),o>=this[t(351)]&&s[t(281)](o,e[t(203)](o))}}for(const n of a){const a=r[t(363)][n],c=this[t(240)](r[t(197)][n]);let u=0;for(const n of a){const r=this[t(367)](n),a=n[t(241)][t(428)](r);if(!s[t(259)](a)&&!o[t(259)](a))if(i[t(259)](a))u++;else{if(a!=c[u]){const s=e[t(203)](a)||e[t(203)](c[u]);for(;a!=c[u];)i[t(259)](c[u])||(o[t(281)](c[u],s),e[t(281)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(363)][e];for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n);if(o[t(259)](r)){const e=o[t(203)](r);i[t(259)](r)||i[t(281)](r,{...e}),s[t(281)](r,{...e})}}}for(const e of i[t(340)]())e>=this[t(351)]&&i[t(330)](e);const c=new Map;for(const e of a){let n=r[t(363)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const i=this[t(367)](e),n=e[t(241)][t(428)](i);if(s[t(259)](n)){const i=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](i)||new Set;r[t(132)](s[t(203)](n)[t(256)]),c[t(281)](i,r)}}n=r[t(197)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const s=this[t(367)](e),n=e[t(241)][t(428)](s);if(i[t(259)](n)){const s=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](s)||new Set;r[t(132)](i[t(203)](n)[t(256)]),c[t(281)](s,r)}}for(const e of c[t(340)]())(s[t(259)](e)||i[t(259)](e))&&c[t(330)](e)}for(const e of a){const n=r[t(363)][e];let o=null,a=null;for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n),u=c[t(203)](r);u&&t(222)==e[t(185)]&&(o=Array[t(166)](u)[0],a=e[t(241)][t(428)](t(237))),o&&(i[t(281)](r,{userId:o}),s[t(281)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(197)][e],a=n[t(363)][e];for(const{userId:e}of this[t(392)][t(155)]())null!==e&&l[t(132)](e);for(const{userId:e}of this[t(315)][t(155)]())null!==e&&l[t(132)](e);this[t(396)](a,r[t(363)][e],s,t(193),l),this[t(396)](o,r[t(197)][e],i,t(301),l),u[e]={insertions:this[t(425)](a),deletions:this[t(425)](o),attachChange:this[t(315)][t(203)](e)||null,attributesBefore:R(this[t(146)][t(203)](e))||{},attributesAfter:R(this[t(152)][t(203)](e))}}return{diffData:u,authorsIds:Array[t(166)](l)}}[rt(220)](t){const e=rt;for(const[,i]of t[e(286)]){const t=i[e(214)][e(442)]()[e(424)]((t=>e(311)==t[e(355)]));for(const i of t)1==i[e(211)]&&i[e(386)](0).is(e(421),e(438))&&i[e(386)](0)[e(204)](e(135),!0)}}[rt(425)](t){const e=rt;this[e(220)](t);const i=this[e(180)][e(305)][e(206)](t,{}),s=Array[e(166)](i[e(415)]())[e(372)]((t=>this[e(352)](t)));return JSON[e(195)](s)}[rt(352)](t){const e=rt;if(t.is(e(136)))return t[e(305)];{const i=this[e(180)][e(354)][e(203)](e(271)),s=t,n=this[e(180)][e(305)][e(423)][e(377)],r={type:i[e(243)](s),name:s[e(355)],attributes:Array[e(166)](s[e(395)]()),children:Array[e(166)](s[e(415)]())[e(372)]((t=>this[e(352)](t)))};if(t.is(e(403))&&e(365)!=t[e(355)]){const i=t[e(253)](n[e(447)],n);r[e(350)][e(244)](i[e(221)])}else if(t.is(e(430))){const i=n[e(447)][e(191)](s[e(355)]);t[e(253)](i,n),r[e(350)][e(244)](i[e(226)])}const o=Array[e(166)](s[e(331)]());o[e(151)]>0&&(r[e(335)]=o);const a=s[e(418)]();return null!==a&&(r[e(143)]=a),r}}[rt(396)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(180)][r(198)];for(let s=0;s<e[r(151)];s++){const n=this[r(367)](e[s]),c=e[s][r(241)][r(428)](n),h=i[r(203)](c),d=s==e[r(151)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(256)]!=o[r(256)])&&(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(256)],d=l(341)+s+":"+h+":"+c++,f=u[l(391)](i,a);t[l(286)][l(281)](d,f),null!==h&&n[l(132)](h)}}[rt(367)](t){const e=rt;switch(t[e(185)]){case e(222):return e(176);case e(441):return e(237);default:return e(297)}}[rt(448)](t,e){const i=rt;t[i(255)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(215)](n,r)}if(n instanceof Z.Range){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(397)](n,r)}i(450)===s&&(t[i(450)]=e[i(203)](t[i(450)][i(227)]))}}[rt(397)](t,e){const i=rt;return this[i(180)][i(198)][i(391)](this[i(215)](t[i(214)],e),this[i(215)](t[i(346)],e))}[rt(215)](t,e){const i=rt;return this[i(180)][i(198)][i(385)](e,t[i(353)],t[i(170)])}[rt(252)](t){const e=rt,i=this[e(296)][e(203)](t[e(137)][e(450)][e(227)]),s=this[e(215)](t[e(137)],i),n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=s[e(236)],o=this[e(264)],a=[];for(const i of t[e(278)])if(i.is(e(421)))a[e(244)](this[e(436)](i));else for(let t=0;t<i[e(381)];t++)a[e(244)](new Z.Element(e(136),{vid:this[e(264)]++}));const c=this[e(264)];for(let t=o;t<c;t++)this[e(266)][e(281)](t,{userId:n});r[e(279)](s[e(260)],a)}[rt(345)](t){const e=rt;(t=this[e(401)](t,this[e(296)]))[e(433)]();const i=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(187)](),n=s[e(236)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(386)](e);r.is(a(421),a(136))?s[a(281)](r[a(428)](a(297)),{userId:i}):(s[a(281)](r[a(428)](a(176)),{userId:i}),t(s,r,0,r[a(211)]),s[a(281)](r[a(428)](a(237)),{userId:i}))}}(this[e(266)],n,r,r+t[e(150)])}[rt(175)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(247)][e(236)],n=t[e(287)][e(236)],r=s[e(428)](e(237)),o=n[e(428)](e(176));s[e(204)](e(237),n[e(428)](e(237))),n[e(204)](e(237),r),this[e(266)][e(281)](o,{userId:i}),this[e(266)][e(281)](r,{userId:i}),t[e(433)]()}[rt(431)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(302)],n=t[e(343)][e(236)];t[e(433)]();const r=n[e(428)](e(237)),o=t[e(258)][e(280)];if(s){const t=o[e(428)](e(237)),s=n[e(428)](e(237));n[e(204)](e(237),t),o[e(204)](e(237),s),this[e(266)][e(281)](n[e(428)](e(237)),{userId:i}),this[e(266)][e(281)](o[e(428)](e(176)),{userId:i})}else{const t=this[e(264)]++,s=this[e(264)]++;n[e(204)](e(237),t),o[e(204)](e(176),s),o[e(204)](e(237),r),this[e(266)][e(281)](t,{userId:i}),this[e(266)][e(281)](s,{userId:i})}}[rt(308)](t){const e=rt;if(!t[e(158)])return;const i=(t=this[e(401)](t,this[e(445)]))[e(161)]?t[e(161)][e(450)]:null,s=t[e(205)]?t[e(205)][e(450)]:null;i&&this[e(265)][e(330)](t[e(355)]),s&&this[e(265)][e(281)](t[e(355)],t[e(205)][e(328)]());const n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=t[e(355)];if(!this[e(392)][e(259)](r))return void this[e(392)][e(281)](r,{range:t[e(161)],userId:n});const o=this[e(392)][e(203)](r),a=o[e(213)],c=t[e(205)];null==a&&null==c||a&&c&&a[e(444)](c)?this[e(392)][e(330)](t[e(355)]):o[e(256)]=n}[rt(312)](t,e){const i=rt;this[i(445)][i(259)](t[i(227)])?this[i(445)][i(203)](t[i(227)])[i(383)]=t[i(229)]:(this[i(445)][i(281)](t[i(227)],ht(t[i(227)],!0)),this[i(152)][i(281)](t[i(227)],{}),e&&this[i(296)][i(281)](t[i(227)],ht(t[i(227)],!0)));const s=null===t[i(332)]?null:t[i(332)]||this[i(180)][i(354)][i(203)](i(406)).me.id,n=this[i(315)][i(203)](t[i(227)]);n&&n[i(256)]===s?this[i(315)][i(330)](t[i(227)]):this[i(315)][i(281)](t[i(227)],{userId:s,isAttached:t[i(229)]})}[rt(186)](t){const e=rt,i=this[e(152)][e(203)](t[e(450)][e(227)]);null===t[e(427)]?delete i[t[e(327)]]:i[t[e(327)]]=t[e(427)]}}function ut(t){const e=rt,i=ht(t[e(227)],t[e(402)]());for(const s of t[e(415)]()){const t=s[e(357)](!0);i[e(449)](t)}return i}function lt(t,e){const i=ot();return(lt=function(t,e){return i[t-=132]})(t,e)}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(227)]=t,s[i(383)]=e,s[i(402)]=()=>s[i(383)],s}function dt(t,e,i){const s=rt,n=s(441)==t[s(185)]?i[s(321)](t[s(241)],s(346)):i[s(172)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}function ft(t,e,i){const s=rt,n=s(222)==t[s(185)]?i[s(321)](t[s(241)],0):i[s(387)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}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),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=155]})(t,e)}function Mt(){const t=["form","keystrokes","errorText","revisionNameInputView","set","arrowleft","96tBtgbP","1006250wJEUAG","25510199MHRihp","reset","revisionNameInputValue","optional","1517211nfWdHr","focusTracker","40BsLKOQ","ck-revision-history-save-revision-form","29470wuZvpK","1377796HIpIPz","_createRevisionNameInput","28TKmqkD","focus","add","fieldView","value","arrowright","input","ck-responsive-form","element","21219xIkTVz","arrowup","stopPropagation","revisionName","53fbIGMN","trim","16295unmQAG","label","render","extendTemplate","220","arrowdown","locale","Name of the revision","setTemplate","listenTo"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(601689===-parseInt(e(187))/1*(parseInt(e(171))/2)+-parseInt(e(183))/3*(parseInt(e(174))/4)+-parseInt(e(189))/5*(-parseInt(e(161))/6)+-parseInt(e(172))/7+-parseInt(e(169))/8*(parseInt(e(167))/9)+parseInt(e(162))/10+parseInt(e(163))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[Rt(168)];[Rt(156)];[Rt(158)];constructor(e,i){const s=Rt;super(e),this[s(168)]=new t.FocusTracker,this[s(156)]=new t.KeystrokeHandler,this[s(159)](s(165),""),this[s(158)]=this[s(173)](i),this[s(197)]({tag:s(155),attributes:{class:["ck",s(170),s(181)],tabindex:"-1"},children:[this[s(158)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(191)](){const t=Rt;super[t(191)](),(0,pt.submitHandler)({view:this}),this[t(168)][t(176)](this[t(158)][t(182)]),this[t(156)][t(198)](this[t(182)]);const e=e=>e[t(185)]();this[t(156)][t(159)](t(179),e),this[t(156)][t(159)](t(160),e),this[t(156)][t(159)](t(184),e),this[t(156)][t(159)](t(194),e)}[Rt(175)](){const t=Rt;this[t(158)][t(175)]()}get[Rt(186)](){const t=Rt;return this[t(158)][t(177)][t(182)][t(178)][t(188)]()}set[Rt(186)](t){const e=Rt;this[e(158)][e(177)][e(182)][e(178)]=t[e(188)]()}[Rt(164)](){const t=Rt;this[t(158)][t(177)][t(182)][t(178)]="",this[t(158)][t(157)]=null}[Rt(173)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(195)],pt.createLabeledInputText),s=i[e(177)];s[e(192)]({attributes:{maxlength:e(193)}});let n=X(this[e(195)],e(196));return!t&&(n+=" ("+X(this[e(195)],e(166))+")"),i[e(190)]=n,s.on(e(180),(()=>{const t=e;this[t(165)]=s[t(182)][t(178)][t(188)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=402]})(t,e)}function Ft(){const t=["hide","The revision name cannot be empty.","isReadOnly","children","Save current revision","_registerMenuComponent","1014666ovlAcx","view","focus","submit","_saveRevisionFormView","2jbiPsI","editing","items","menuitem","172827rkkrJR","reset","revisionHistory.requireRevisionName","buttonView","7585438eKBSMs","99iaAzrS","execute","Cancel","editor","config","show","35xhpYPL","revisionSave","Dialog","isOfficialPlugin","showRevisionViewerCallback","Accept","isEnabled","_createSaveRevisionFormView","menu","init","locale","menuBar:revisionHistory","ck-button-action","errorText","revisionName","136DvybFY","_showDialog","saveRevision","isReady","revisionNameInputView","bind","isOpen","panelView","isPremiumPlugin","1681272esyXER","693078XLfCEN","add","Open revision history","render","get","RevisionHistoryUI","revisionHistory","2763780iEBZKR","componentFactory","addMany","plugins","117708cVqYxP","pluginName","delegate","RevisionTracker","Revision history","role","requires","set"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(552592===parseInt(e(461))/1+parseInt(e(466))/2*(parseInt(e(447))/3)+parseInt(e(435))/4+parseInt(e(411))/5*(parseInt(e(436))/6)+parseInt(e(404))/7+parseInt(e(426))/8*(-parseInt(e(470))/9)+-parseInt(e(443))/10*(parseInt(e(405))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends W.Plugin{static get[Dt(448)](){return Dt(441)}static get[Dt(414)](){return!0}static get[Dt(434)](){return!0}static get[Dt(453)](){return[at]}[Dt(465)];[Dt(420)](){const t=Dt,e=this[t(408)],i=e[t(446)][t(440)](t(450));e.ui[t(444)][t(437)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(433)][n(458)],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(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),r[n(403)][n(454)]({icon:mt.IconHistory,label:X(s,n(451)),tooltip:!0}),u[n(454)]({label:X(s,n(459)),withText:!0,role:n(469)}),u[n(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),u.on(n(406),(()=>this[n(427)]())),h[n(454)]({label:X(s,n(438)),withText:!0,role:n(469)}),h[n(431)](n(417)).to(i,n(429),e,n(457),((t,e)=>t&&!e)),h.on(n(406),(()=>{const t=n;e[t(409)][t(440)](t(442))[t(415)](),r[t(432)]=!1,e[t(467)][t(462)][t(463)]()})),c[n(458)][n(437)](u),l[n(458)][n(437)](h),a[n(452)]=n(419),a[n(468)][n(445)]([c,l]),o[n(437)](a),r})),e.ui[t(444)][t(437)](t(422),(()=>this[t(460)]()))}[Dt(460)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(403)][t(454)]({icon:mt.IconHistory,label:X(i,t(451))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(454)]({label:X(i,t(459))}),o[t(449)](t(406)).to(s),o.on(t(406),(()=>{this[t(427)]()})),r[t(458)][t(437)](o),n[t(468)][t(437)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(454)]({label:X(i,t(438))}),c[t(449)](t(406)).to(s),c.on(t(406),(()=>{const i=t;e[i(409)][i(440)](i(442))[i(415)]()})),a[t(458)][t(437)](c),n[t(468)][t(437)](a),s[t(433)][t(458)][t(437)](n),s}[Dt(427)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=e[t(446)][t(440)](t(413)),n=e[t(446)][t(440)](t(450));function r(n){const r=t;e[r(409)][r(440)](r(402))&&""===n[r(425)]?n[r(430)][r(424)]=X(i,r(456)):(e[r(446)][r(440)](at)[r(428)]({name:n[r(425)]}),s[r(455)]())}this[t(465)]||(this[t(418)](),this[t(465)].on(t(464),(()=>r(this[t(465)])))),this[t(465)][t(471)](),s[t(410)]({id:t(412),title:X(i,t(459)),isModal:!0,content:this[t(465)],actionButtons:[{label:X(e[t(421)],t(407)),withText:!0,onExecute:()=>s[t(455)]()},{label:X(e[t(421)],t(416)),class:t(423),withText:!0,onCreate(i){const s=t;i[s(431)](s(417)).to(n,s(429),n,s(417),e,s(457),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(465)])}]})}[Dt(418)](){const t=Dt,e=this[t(408)],i=e[t(421)];this[t(465)]=new Et(i,e[t(409)][t(440)](t(402))),this[t(465)][t(439)]()}}const jt=zt;!function(t){const e=zt,i=t();for(;;)try{if(664263===parseInt(e(302))/1+parseInt(e(310))/2+-parseInt(e(316))/3+parseInt(e(296))/4*(-parseInt(e(306))/5)+-parseInt(e(299))/6*(-parseInt(e(305))/7)+-parseInt(e(311))/8+parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Pt extends pt.View{[jt(313)];[jt(298)];constructor(t,e){const i=jt;super(t),this[i(298)]=e,this[i(313)]=e.id;const s=this[i(322)],n=X(t,e[i(297)][i(303)]?i(308):i(315)==e[i(319)]?i(324):i(307));this[i(300)](i(319),e[i(319)]),this[i(301)]({tag:i(304),attributes:{class:[i(318),i(317),s.to(i(319),(t=>i(320)+t))],tabindex:-1},children:[{tag:i(312),children:[{tag:i(312),attributes:{class:[i(321)]},children:[{text:n}]},{text:" "+e[i(314)][i(294)]}]}]})}[jt(309)](){const t=jt;this[t(295)][t(309)]()}}function zt(t,e){const i=Ut();return(zt=function(t,e){return i[t-=294]})(t,e)}function Ut(){const t=["50pkVbSx","Removed by","Suggested by","focus","687332bQBDrS","6706696OlSzbz","span","changeId","author","add","3189498nmDLnN","ck-revision-change","ck-annotation","type","ck-revision-change__","ck-revision-change__label","bindTemplate","14349987GneuUX","Added by","name","element","433084sYAaff","data","_model","3438eyftpp","set","setTemplate","1046833mdIJpV","isSuggestion","div","8106ShzPgY"];return(Ut=function(){return t})()}var Wt=Zt;function Ht(){var t=["createdAt","926520ghPjpU","author","988631nbfVNB","rootName","set","1717986ednXVL","68148BNtPcp","type","184VzxIhB","1968105fQTCnp","1449684bHHFhE","toJSON","6rmfBGJ","3062736cyxZgy","data"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=372]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(551396===parseInt(e(373))/1+parseInt(e(376))/2+-parseInt(e(384))/3+-parseInt(e(381))/4+parseInt(e(380))/5*(parseInt(e(383))/6)+-parseInt(e(387))/7+parseInt(e(379))/8*(-parseInt(e(377))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt extends((0,t.ObservableMixin)()){id;[Wt(372)];[Wt(378)];[Wt(385)];[Wt(374)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(372)]=e[i(372)],this[i(378)]=e[i(378)],this[i(385)]=e[i(385)]||{},this[i(374)]=e[i(374)],this[i(375)](i(386),e[i(386)])}[Wt(382)](){var t=Wt;return{id:this.id,authorId:this[t(372)].id,type:this[t(378)],data:this[t(385)],createdAt:this[t(386)]}}}const $t=Yt;function qt(){const t=["2202842sCouxT","2403441knPNlS","762nXucnh","_setChanges","changes","oldRevisionId","32KyBnhW","add","33JdkQbj","3xgkJUk","2068927mbXAFL","3913540evHJhj","36185CImWza","655496PGzGnG","278520EQDZwx","newRevisionId"];return(qt=function(){return t})()}function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(656389===parseInt(e(279))/1+parseInt(e(266))/2+-parseInt(e(275))/3*(-parseInt(e(280))/4)+-parseInt(e(278))/5*(-parseInt(e(268))/6)+parseInt(e(276))/7*(-parseInt(e(272))/8)+parseInt(e(267))/9+parseInt(e(277))/10*(-parseInt(e(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[$t(265)];[$t(271)];[$t(270)];constructor(e,i){const s=$t;this[s(265)]=e,this[s(271)]=i,this[s(270)]=new t.Collection}[$t(269)](t){const e=$t;for(const i of t)this[e(270)][e(273)](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=se();return(Xt=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(752378===parseInt(e(560))/1+-parseInt(e(334))/2*(parseInt(e(280))/3)+parseInt(e(414))/4*(parseInt(e(469))/5)+parseInt(e(405))/6+-parseInt(e(300))/7*(-parseInt(e(423))/8)+-parseInt(e(319))/9*(parseInt(e(311))/10)+parseInt(e(475))/11*(-parseInt(e(557))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class te extends W.Plugin{[Qt(486)];[Qt(331)]=null;[Qt(528)];[Qt(578)];[Qt(292)];[Qt(465)];[Qt(452)];static get[Qt(575)](){return Qt(492)}static get[Qt(402)](){return!0}static get[Qt(597)](){return!0}static get[Qt(550)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(486)]=this[e(424)][e(349)][e(558)](e(562)),this[e(528)]=this[e(424)][e(349)][e(558)](e(428)),this[e(427)](e(297),null),this[e(427)](e(598),null),this[e(578)]=null,this[e(427)](e(542),null),this[e(427)](e(312),!1),this[e(427)](e(459),!0),this.on(e(529),((t,i,s)=>{const n=e;this[n(297)]=null,this[n(598)]=null,this[n(424)][n(274)][n(476)][n(330)]((t=>{const e=n;for(const i of this[e(424)][e(274)][e(476)][e(336)][e(437)])s?t[e(572)](e(466),i):t[e(586)](e(466),i)}))})),this[e(376)](e(420)).to(this,e(297),(t=>null!==t)),this[e(376)](e(522)).to(this,e(312),this,e(542),this,e(297),((t,i,s)=>t&&s?i[e(445)][e(422)](s):0)),this[e(376)](e(364)).to(this,e(312),this,e(542),((t,i)=>t?i[e(445)][e(415)]:0)),this[e(292)]=null,this[e(465)]=new Map,this[e(452)]=this[e(424)][e(349)][e(558)](pt.ContextualBalloon)}[Qt(449)](){const t=Qt,e=this[t(424)],i=new ne(e,{direction:t(584)}),s=new ne(e,{direction:t(539)});e[t(338)][t(434)](t(567),i),e[t(338)][t(434)](t(521),s),e[t(338)][t(434)](t(387),new ie(e)),this.on(t(351),(()=>{const e=t;i[e(276)](),s[e(276)]()})),this[t(531)](),this[t(527)](),e[t(442)](t(277)),e[t(349)][t(352)](t(375))&&e[t(349)][t(558)](t(375))[t(472)](t(277))}async[Qt(324)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(324)](t)}async[Qt(340)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(340)](t)}async[Qt(520)](t,e,i=!1){const s=Qt;if(!this[s(459)])return;const n=this[s(542)],r=this[s(486)],o=s(487)==typeof t?r[s(335)](t):t,a=s(487)==typeof e?r[s(335)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(542)]&&this[s(542)][s(329)]===c&&this[s(542)][s(358)]===u)return Promise[s(456)]();this[s(312)]=!1,this[s(598)]=null,this[s(297)]=null,this[s(542)]=new Jt(c,u);const l=this[s(393)](o,a,!0)[s(448)]((t=>this[s(528)][s(361)](t,this[s(331)])));return l[s(295)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(299)](l)[s(504)]((()=>{const t=s;if(!this[t(459)])return;this[t(417)]();const e=this[t(511)](c,u);for(const i of e[t(445)])this[t(465)][t(427)](i.id,i);this[t(424)][t(491)][t(540)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(424)][s(491)][s(336)][s(501)]())i[s(541)](t);for(const t of Object[s(342)](e[s(491)])){const n=i[s(323)](t);for(const r of Object[s(342)](e[s(433)][t]))i[s(547)](r,e[s(433)][t][r],n);i[s(301)](e[s(491)][t],n,0)}})),this[t(542)][t(439)](this[t(272)](e[t(445)])),this[t(312)]=!0}))[s(505)]((t=>{const e=s;console[e(435)](t),this[e(417)](),n&&(this[e(542)]=n),this[e(312)]=!0}))}[Qt(537)](t,e){const i=Qt,s=this[i(486)][i(279)](t);return s.on(i(582),((t,i,n)=>e(i,n,s))),this[i(486)][i(559)](s),s}[Qt(417)](){const t=Qt;this[t(297)]=null,this[t(370)](),this[t(292)]&&this[t(292)][t(495)](),this[t(292)]=null,this[t(465)][t(555)](),this[t(424)][t(491)][t(540)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(424)][i(491)][i(336)][i(501)]())e[i(541)](t)}))}[Qt(272)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(424)][e(491)][e(336)][e(501)]()){const n=this[e(424)][e(274)][e(476)][e(321)](t);if(!n)continue;const r=n[e(524)]()[e(543)](0);r&&(i[e(295)](t),s[e(427)](t,r))}return i[e(477)](((t,i)=>{const n=e,r=s[n(558)](t),o=s[n(558)](i);return r.y-o.y||r.x-o.x})),(t=t[e(288)]((t=>i[e(447)](t[e(302)]))))[e(477)](((t,s)=>i[e(515)](t[e(302)])-i[e(515)](s[e(302)]))),t}[Qt(585)](t){const e=Qt,i=Array[e(278)](t[e(359)])[e(288)]((([t,i])=>t[e(483)](e(275))&&!i[e(369)])),s=Array[e(278)](this[e(424)][e(491)][e(468)](t)[e(546)]({singleCharacters:!0}));if(0!=i[e(415)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(377)][e(533)](t[e(526)])&&i[e(565)](),(t[e(309)][e(533)](n[e(430)])||t[e(309)][e(283)](n[e(430)]))&&(e(416)==r?t[e(366)]={userId:o}:e(293)==r&&(t[e(410)]={userId:o})),0==i[e(415)])break}return s}[Qt(401)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(415)];s++)e(509)===t[s][e(411)]?(t[s][e(543)][e(592)]=s,t[s][e(543)][e(568)]=s):(e(378)===t[s][e(411)]?t[s][e(543)][e(592)]=s:e(583)===t[s][e(411)]&&(t[s][e(543)][e(568)]=s),i[e(427)](t[s].id,s));for(const s of i[e(564)]())e(378)===t[s][e(411)]?t[s][e(543)][e(568)]=i[e(558)](t[s][e(389)]):e(583)===t[s][e(411)]&&(t[s][e(543)][e(592)]=i[e(558)](t[s][e(389)]))}[Qt(341)](t){const e=Qt;for(let i=0;i<t[e(415)];i++){if(e(378)===t[i][e(411)])t[i][e(543)][e(592)]=i;else if(e(583)===t[i][e(411)]){t[i][e(543)][e(568)]=i;const s=t[i][e(543)][e(592)];t[s][e(389)]=t[i].id,t[i][e(389)]=t[s].id}else t[i][e(543)][e(592)]=i,t[i][e(543)][e(568)]=i,t[i][e(389)]=null;t[i][e(350)]||(t[i][e(350)]=[],t[i][e(451)]=[])}}[Qt(493)](t,e){const i=Qt,s=t[i(288)]((t=>!t[i(366)]));for(let t=0;t<e[i(415)];t++)e[t][i(366)]&&(s[t][i(366)]=e[t][i(366)])}[Qt(511)](t,e=null){const i=Qt,s=this[i(486)][i(335)](t),n=e?this[i(486)][i(335)](e):null,r=this[i(393)](s,n),o=r[r[i(415)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(415)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(342)](e[i(307)]))if(e[i(307)][t][i(580)]){const s=e[i(307)][t][i(580)];s[i(553)]?(u[i(434)](t),l[i(352)](t)&&l[i(558)](t)[i(431)]==s[i(431)]?l[i(517)](t):l[i(427)](t,s)):l[i(352)](t)?(u[i(517)](t),l[i(517)](t)):(u[i(434)](t),l[i(427)](t,s))}else u[i(434)](t)}for(const t of u){const e=l[i(352)](t)&&!l[i(558)](t)[i(553)];let s=e?r[i(415)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(307)][t]){const s=e?o[i(307)][t][i(365)]:o[i(307)][t][i(525)];c[i(433)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(491)]={};for(const e of t[i(314)])a[i(427)](e.id,e);for(const e of u){const s=t[i(307)][e]?t[i(307)][e][i(346)]:"[]",n=t[i(307)][e]?t[i(307)][e][i(325)]:"[]";t[i(491)][e]={insertions:this[i(528)][i(355)](s),deletions:this[i(528)][i(355)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(278)](s[i(491)][t][i(346)][i(359)])[i(288)]((([t])=>!t[i(483)](i(275)))));let h=0;for(const o of r){const r=this[i(585)](o[i(491)][t][i(346)]);o==s?(e=r,n=e[i(415)],e[i(347)]((t=>{t.id=h++})),this[i(341)](e)):this[i(493)](e,r);const a=e[i(288)]((t=>!t[i(366)]))[i(448)]((t=>t.id));let c=0;const l=this[i(585)](o[i(491)][t][i(325)]);l[i(347)]((t=>{t[i(410)]?t.id=n++:t.id=a[c++]})),this[i(341)](l),this[i(548)](e,i(366)),this[i(548)](l,i(410)),o==s&&this[i(471)](e,u),e=this[i(332)](e,l),this[i(401)](e),this[i(548)](e,i(410))}e=e[i(288)]((t=>!(t[i(366)]&&t[i(410)])));const d=new Map(o[i(491)][t][i(325)][i(359)]),f=new Set(u[i(342)]());for(const t of d[i(342)]())f[i(517)](t);this[i(440)](e,f),this[i(593)](e),e=this[i(556)](e),e=this[i(374)](e),e=this[i(577)](e);const{root:m,changes:p}=this[i(353)](e,a,t);c[i(491)][t]=m;const v=l[i(558)](t);if(v){const e=a[i(558)](v[i(431)]),s=new Bt({author:e,type:v[i(553)]?i(434):i(403),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(433)][t][i(581)]=s.id}c[i(445)]=c[i(445)][i(499)](p)}return c}[Qt(471)](t,e){const i=Qt;for(let s=0;s<t[i(415)];s++)for(const[n,r]of e)!r[i(369)]&&r[i(430)][i(533)](t[s][i(309)])&&t[s][i(350)][i(295)](n),r[i(377)][i(533)](t[s][i(526)])&&t[s][i(451)][i(295)](n)}[Qt(332)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(415)]||r<e[i(415)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(295)](o);else if(a[i(410)]&&o[i(366)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(594)](t,n,e,r);s=s[i(499)](o),n=a,r=c}else a[i(410)]?(r++,s[i(295)](a)):(n++,s[i(295)](o))}return s}[Qt(440)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(415)];o++){for(let r=0;r<t[o][i(350)][i(415)];r++){const a=t[o][i(350)][r];if(!e[i(352)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(429)!=c||i(416)!=u&&i(293)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(350)][i(380)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(451)][i(415)];r++){const a=t[o][i(451)][r];if(!e[i(352)](a))continue;const{group:c,type:u}=n(a);if(i(429)!=c||i(416)!=u&&i(293)!=u)continue;t[o][i(451)][i(380)](r,1),r--;const l=s[i(333)]((t=>t[i(344)]==a));l>-1&&s[i(380)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(415)]>=5?s[2]:null,id:s[e(415)]<5?s[2]:s[3],authorId:s[e(415)]<5?s[3]:s[4],markerCount:6==s[e(415)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(415)];i++){if(t[e(366)]&&e(416)==s[i][e(411)])return t[e(464)]=s[i],void delete t[e(366)];if(!t[e(366)]&&!t[e(410)]&&e(293)==s[i][e(411)])return void(t[e(388)]=s[i])}}}[Qt(548)](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(427)](o.id,s);for(let s=0;s<t[i(415)];s++){if(i(410)==e&&t[s][i(366)]||i(366)==e&&t[s][i(410)])continue;if(i(509)==t[s][i(411)]){t[s][i(426)]=0;continue}const n=r[i(558)](t[s][i(389)]),o=r[i(558)](t[s].id);t[s][i(426)]=n-o}}[Qt(393)](t,e,i=!1){const s=Qt,n=[];let r=this[s(486)][s(422)](t),o=this[s(486)][s(422)](e);for(-1==o&&(o=this[s(486)][s(514)][s(415)],i=!1);r<o;)n[s(295)](this[s(486)][s(335)](r)),r++;return i&&n[s(295)](this[s(486)][s(335)](r)),n}[Qt(594)](t,e,i,s){const n=Qt,r=this[n(424)][n(491)][n(536)];let o=e;for(;t[o]&&t[o][n(366)];)o++;let a=s;for(;i[a]&&i[a][n(410)];)a++;u(t,e,o),u(i,s,a);const c=i[n(318)](s,a)[n(499)](t[n(318)](e,o));return c[n(477)](((t,e)=>t[n(461)]!=e[n(461)]?t[n(461)]-e[n(461)]:t[n(513)]!=e[n(513)]?t[n(513)]-e[n(513)]:t[n(426)]!=e[n(426)]?e[n(426)]-t[n(426)]:!!t[n(366)]!=!!e[n(366)]?-1==t[n(461)]||0==t[n(461)]?t[n(366)]?-1:1:t[n(366)]?1:-1:t[n(473)]-e[n(473)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(453)],c=!0;for(let n=e;n<i;n++)if(r[s(406)](t[n][s(543)])||(c=!1),t[n][s(543)][s(592)]<e&&(o=n),t[n][s(543)][s(568)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(461)]=n<=o?-1:n<a?0:1,t[n][s(473)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(426)]?t[i][s(513)]=u:(u++,t[i][s(513)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(461)]&&(t[n][s(513)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(426)]?t[e][s(513)]=u:(u--,t[e][s(513)]=u,u--)}}[Qt(593)](t){const e=Qt,i=new Map,s=this[e(424)][e(491)][e(536)];for(let n=1;n<t[e(415)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(509)==c[e(411)])continue;if(c[e(411)]!=u[e(411)])continue;if(!s[e(357)](u[e(543)])||s[e(596)](u[e(543)]))continue;if(!s[e(357)](c[e(543)])||s[e(596)](c[e(543)]))continue;if((t[n][e(366)]||t[n][e(464)])&&t[n-1][e(410)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(410)]||!t[n-1][e(366)]&&!t[n-1][e(464)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(513)]==o[e(513)],h=Math[e(454)](r[e(513)])<Math[e(454)](o[e(513)])&&0==o[e(426)];(l||h)&&(i[e(427)](o.id,r.id),t[e(380)](a,1),n--,r[e(366)]=!1)}for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])&&(t[s][e(389)]=i[e(558)](t[s][e(389)]))}[Qt(556)](t){const e=Qt,i=new Set(t[e(448)]((t=>t.id)));for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])||0==t[s][e(426)]||(t[s][e(282)]=!0);return t[e(288)]((t=>!t[e(282)]))}[Qt(374)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(415)];s++){if(i[e(352)](t[s].id)&&t[s][e(410)]&&(t[s][e(282)]=!0),t[s][e(282)])continue;if(0==t[s][e(426)])continue;if(e(378)!=t[s][e(411)])continue;if(null==t[s][e(389)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(389)];)e(378)==t[n][e(411)]?r++:e(583)==t[n][e(411)]&&r--,n++;if(0!=r)if(t[s][e(410)])t[s][e(282)]=!0;else for(;n!=s;)t[n][e(410)]&&0!=t[n][e(426)]&&(t[n][e(282)]=!0,i[e(434)](t[n][e(389)])),n--}return t[e(288)]((t=>!t[e(282)]))}[Qt(577)](t){const e=Qt,i=this[e(424)][e(491)][e(536)];for(let s=0;s<t[e(415)];s++){if(!(t[s][e(366)]||t[s][e(464)]||t[s][e(410)]||t[s][e(388)]))continue;if(0==t[s][e(426)])continue;const n=t[s][e(543)];i[e(357)](n)||i[e(596)](n)||(t[s][e(366)]&&delete t[s][e(366)],t[s][e(464)]&&delete t[s][e(464)],t[s][e(388)]&&delete t[s][e(388)],t[s][e(410)]&&(t[s][e(282)]=!0))}return t[e(288)]((t=>!t[e(282)]))}[Qt(353)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(491)],c=a[s(536)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(415)];e++)if(s(378)===t[e][s(411)]){t[e][s(309)]=a[s(343)](n,f);const i=new Z.Element(t[e][s(543)][s(344)],t[e][s(543)][s(591)]());u[0][s(409)](i),f[s(295)](0),u[s(320)](i),t[e][s(526)]=a[s(343)](n,f)}else s(583)===t[e][s(411)]?(u[s(565)](),t[e][s(309)]=a[s(343)](n,f),f[s(534)](),f[f[s(415)]-1]++,t[e][s(526)]=a[s(343)](n,f)):(t[e][s(309)]=a[s(343)](n,f),d?d[s(356)]+=t[e][s(543)][s(482)]:d=new Z.Text(t[e][s(543)][s(482)],t[e][s(543)][s(591)]()),t[e+1]&&s(509)===t[e+1][s(411)]&&v(d,t[e+1][s(543)])||(u[0][s(409)](d),d=null),f[f[s(415)]-1]+=t[e][s(543)][s(326)],t[e][s(526)]=a[s(343)](n,f));for(let e=0;e<t[s(415)];e++){const i=t[e][s(309)],n=t[e][s(526)];for(const n of t[e][s(350)])o[s(427)](n,{start:i,end:null});m(s(388),e,i,n),m(s(464),e,i,n),m(s(410),e,i,n),m(s(366),e,i,n);for(const i of t[e][s(451)]){const t=o[s(558)](i);t?t[s(377)]=n:o[s(427)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(491)][s(532)](e[s(430)],e[s(377)]);n[s(359)][s(427)](t,i)}return r[s(477)](((t,e)=>{const i=s,r=n[i(359)][i(558)](i(275)+t.id),o=n[i(359)][i(558)](i(275)+e.id);return r[i(430)][i(392)](o[i(430)])?-1:r[i(430)][i(283)](o[i(430)])?1:r[i(377)][i(392)](o[i(377)])?-1:r[i(377)][i(283)](o[i(377)])?1:i(434)===t[i(411)]?-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(431)]:null,d=i===t[o(415)]-1,f=h[e][0],m=c[o(354)](t[i][o(543)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(377)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(431)]!==u&&(l[e][o(377)]=n,f&&f[o(431)]===l[e][o(431)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(378)!==t[i][o(411)]||f&&f[o(431)]===u||h[e][o(320)]({userId:u,object:t[i][o(543)],change:l[e]}),o(583)===t[i][o(411)]&&f&&f[o(372)]===t[i][o(543)]&&(h[e][o(565)](),l[e]=f[o(330)])),l[e]&&d&&(l[e][o(377)]=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(543)],f=a[h(536)][h(357)](d)&&!a[h(536)][h(596)](d),m=t[h(494)]==o[h(298)]&&o[h(588)];if(f&&m)return;const p=a[h(532)](t,o),v=e[h(558)](u),g=new Bt({author:v,type:h(366)==l||h(464)==l?h(434):h(403),data:{isSuggestion:h(464)==l||h(388)==l},createdAt:new Date,rootName:i});r[h(295)](g),n[h(359)][h(427)](h(275)+g.id,p)}function v(t,e){const i=s,n=t[i(591)](),r=e[i(591)]();for(const t of n){if(t[1]!==e[i(438)](t[0]))return!1;r[i(404)]()}return r[i(404)]()[i(317)]}}[Qt(531)](){const t=Qt;this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(563)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(563),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1],n=this[i(385)](s);if(!n)return null;const r=i(434)==n[i(411)]?i(416):i(293),o=[i(467),i(400)+r];return n[i(482)][i(561)]&&o[i(295)](i(400)+r+i(391)),this[i(297)]==n&&o[i(295)](i(570)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(506),((t,e,s)=>{const n=i,r=e[n(386)][n(413)](0);if(!r||!r.is(n(519),n(363)))return;if(!s[n(485)][n(287)](r,{attributes:[n(345),n(306)]}))return;const o=e[n(551)][n(430)][n(494)];s[n(284)][n(547)](n(345),r[n(438)](n(345)),o),s[n(284)][n(547)](n(306),r[n(438)](n(306)),o)}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(519),((t,e,s)=>{const n=i;if(!s[n(485)][n(287)](e[n(386)],{attributes:[n(345),n(306)]}))return;if(e[n(551)][n(369)])return;const r=e[n(551)][n(430)][n(494)];r[n(381)](n(345))||r[n(381)](n(590))||(s[n(284)][n(547)](n(345),e[n(386)][n(438)](n(345)),r),s[n(284)][n(547)](n(306),e[n(386)][n(438)](n(306)),r))}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(271)]({view:{name:t(446),attributes:{vid:!0}},model:{key:t(590),value:e=>e[t(438)](t(590))}}),this[t(424)][t(491)][t(536)].on(t(462),((e,[,i])=>{const s=t;[s(345),s(306),s(590)][s(447)](i)&&(e[s(457)]=!0,e[s(348)]())}),{priority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(434)]((e=>{const i=t;e.on(i(305),((t,e,s)=>{const n=i;if(" "!=e[n(543)][n(482)]||e[n(543)][n(298)][n(479)]>1)return;if(!s[n(485)][n(287)](e[n(543)],t[n(344)]))return;const r=s[n(284)],o=s[n(569)][n(516)](e[n(398)]);r[n(444)](o,r[n(396)](n(446)))}))})),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(563)}),this[t(424)][t(274)][t(458)].on(t(399),function(e){const i=t,s=e[i(349)][i(558)](i(492));return(t,n,r)=>{const o=i,a=n[o(502)][o(512)](":")[1],c=s[o(385)](a);if(!c)return null;const u=o(434)==c[o(411)]?o(512):o(327);if(!r[o(485)][o(538)](n[o(544)],t[o(344)]))return;const l=n[o(544)][o(546)](),h=n[o(544)][o(430)],d=e[o(491)][o(536)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(543)];p=p||d[o(296)](e);const i=r[o(569)][o(450)](e);if(i&&i[o(573)](o(407)))return;o(583)==t[o(411)]&&d[o(357)](e)&&!d[o(596)](e)&&(e[o(421)]||h[o(304)]?f&&f[o(298)]==e||(f=e,g(t[o(309)]),v=!0):m=m||t[o(309)])}function g(t){const e=o,i=r[e(284)][e(496)](e(446),{class:e(400)+u}),a=r[e(569)][e(432)](t);c[e(482)][e(561)]&&r[e(284)][e(586)](e(400)+u+e(391),i),s[e(297)]==c&&r[e(284)][e(586)](e(570),i),r[e(284)][e(301)](a,i),r[e(569)][e(313)](i,n[e(502)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(500),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)(t[n(463)](n(489))||t[n(463)](n(397)))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(399),((e,i,s)=>{const n=t,r=i[n(502)][n(512)](":")[1],o=this[n(385)](r);if(!o)return null;const a=n(434)==o[n(411)]?n(512):n(327);if(s[n(485)][n(538)](i[n(544)],e[n(344)]))for(const t of i[n(544)][n(587)]()){if(!t.is(n(519),n(395)))continue;const e=s[n(284)][n(496)](n(446),{class:n(400)+a}),r=s[n(569)][n(432)](this[n(424)][n(491)][n(443)](t));o[n(482)][n(561)]&&s[n(284)][n(586)](n(400)+a+n(391),e),this[n(297)]==o&&s[n(284)][n(586)](n(570),e),s[n(284)][n(301)](r,e),s[n(569)][n(313)](e,i[n(502)])}}),{priority:t(576)}),this[t(424)][t(491)][t(336)].on(t(330),(()=>{const e=t;this[e(424)][e(274)][e(476)][e(330)]((t=>{const i=e;for(const e of this[i(424)][i(491)][i(336)][i(501)]()){const s=this[i(424)][i(491)][i(336)][i(441)](e),n=this[i(424)][i(274)][i(476)][i(336)][i(441)](e);if(n){const e=s[i(438)](i(581));if(t[i(497)](i(535),n),t[i(572)](i(368),n),t[i(572)](i(566),n),t[i(572)](i(373),n),e){const s=this[i(385)](e);if(!s)return null;t[i(547)](i(535),e,n),t[i(586)](i(484)+s[i(411)],n),this[i(297)]==s&&t[i(586)](i(373),n)}}}}))})),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(554),model:e=>t(362)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(419),model:e=>t(290)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(429),view:e=>({name:t(383)+e,group:t(429)}),converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(429),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1];return i(416)!=s&&i(293)!=s?null:{classes:[i(412),i(508)+s]}}}),this[t(424)][t(274)][t(458)].on(t(281),ee(this[t(424)],t(327)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(523),ee(this[t(424)],t(512)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(310),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)t.is(n(571))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)})}[Qt(385)](t){const e=Qt;return this[e(465)][e(558)](t)}[Qt(574)](t){const e=Qt;return this[e(292)]&&this[e(292)][e(495)](),this[e(292)]=new Pt(this[e(424)][e(339)],t),this[e(292)]}[Qt(527)](){const t=Qt;this[t(424)][t(491)][t(336)][t(460)][t(478)](t(563)),this.on(t(294),((e,i,s,n)=>{const r=t;n&&this[r(452)][r(403)](n),s&&(this[r(452)][r(434)]({view:s,stackId:r(481),position:{target:()=>{const t=r,e=this[t(424)][t(274)],i=this[t(385)](s[t(507)]);let n;if(i[t(482)][t(337)]){const s=e[t(476)][t(321)](i[t(302)]);n=Array[t(278)](s[t(524)]())}else{const i=this[t(424)][t(491)][t(359)][t(558)](t(275)+s[t(507)]);n=Array[t(278)](e[t(569)][t(480)](i[t(344)]))[t(448)]((i=>e[t(476)][t(322)][t(474)](i)))[t(448)]((e=>Array[t(278)](e[t(524)]())))[t(518)]()}return this[t(578)]&&n[t(552)]((e=>e[t(384)]-3<=this[t(578)].y&&e[t(316)]+3>=this[t(578)].y&&e[t(589)]-3<=this[t(578)].x&&e[t(328)]+3>=this[t(578)].x))||n[0]}}}),this[r(452)][r(360)](r(481)))})),this.on(t(379),((e,i,s,n)=>{const r=t;this[r(598)]=s?this[r(574)](s):null,this[r(424)][r(491)][r(330)]((()=>{const t=r,e=this[t(424)][t(274)];n&&(n[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const s=t;i[s(572)](s(373),e[s(476)][s(336)][s(441)](n[s(302)]))})):e[t(285)](t(275)+n.id)),s&&(s[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const n=t;i[n(586)](n(373),e[n(476)][n(336)][n(441)](s[n(302)]))})):e[t(285)](t(275)+s.id))}))})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(425),((e,i)=>{const s=t;if(this[s(297)])return;const n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},this[s(598)]=this[s(574)](r)):(this[s(578)]=null,this[s(598)]=null)})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(579),((e,i)=>{const s=t,n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(297)]?this[s(452)][s(545)]():this[s(297)]=r):(this[s(578)]=null,this[s(297)]=null)}))}[Qt(470)](t){const e=Qt;do{const i=t[e(438)](e(535));if(i)return i;t=t[e(298)]}while(t);return null}[Qt(370)](){const t=Qt;this[t(424)][t(491)][t(330)]((e=>{const i=t;for(const t of this[i(424)][i(491)][i(359)])e[i(303)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(485)][r(538)](s[r(544)],i[r(344)]))return;const o=s[r(544)][r(546)](),a=s[r(544)][r(430)],c=t[r(491)][r(536)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(543)];h=h||c[r(296)](e);const i=n[r(569)][r(450)](e);if(i&&i[r(573)](r(407)))return;r(583)==t[r(411)]&&c[r(357)](e)&&!c[r(596)](e)&&(e[r(421)]||a[r(304)]?u&&u[r(298)]==e||(u=e,f(t[r(309)]),d=!0):l=l||t[r(309)])}function f(t){const i=r,o=n[i(569)][i(432)](t),a=n[i(284)][i(496)](i(446),{class:i(508)+e});n[i(284)][i(301)](o,a),n[i(569)][i(313)](a,s[i(502)])}h||d||!l||f(l)}}class ie extends W.Command{constructor(t){const e=Qt;super(t);const i=t[e(349)][e(558)](te);this[e(498)]=!1,this[e(503)](i,e(315),(()=>this[e(276)]())),this[e(503)](i,e(529),(()=>this[e(276)]()))}[Qt(390)](){const t=Qt,e=this[t(424)],i=e[t(349)][t(558)](te),s=i[t(312)]?i[t(542)][t(329)]:null;e[t(595)][t(558)](t(490))[t(273)](s)}[Qt(276)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(349)][t(558)](te),r=n&&s[t(549)](n[t(329)]);this[t(459)]=e&&i&&Boolean(r)}}function se(){const t=["_update","elementEnd","backward","_makeTape","addClass","getItems","isAtStart","left","vid","getAttributes","startIndex","_fixObsoleteTags","_threeWayMerge","config","isLimit","isPremiumPlugin","activeView","elementToAttribute","_sortAndFilterDiffChanges","restoreRevisionCallback","editing","revision:","refresh","revision-viewer","from","createRevision","6369aWbrje","addMarker:revision-suggestion:deletion","isIncorrect","isAfter","writer","reconvertMarker","target","consume","filter","low","revision-suggestion:","upcast","_changeView","deletion","change:activeView","push","isContent","activeChange","parent","all","1297919ToEivv","insert","rootName","removeMarker","isAtEnd","attribute:vid","vid_end","diffData","markerToHighlight","previousPosition","removeMarker:revision-suggestion","50fMihAj","isReady","bindElementToMarker","authors","change:isReady","bottom","done","slice","2253924vlSEJw","unshift","getDomRoot","domConverter","addRoot","getRevisionDocumentData","deletions","offsetSize","merge","right","newRevisionId","change","adapter","_joinTapes","findIndex","86nVwKmx","getRevision","document","isOnRoot","commands","locale","getRevisionRootsAttributes","_processTape","keys","createPositionFromPath","name","vid_start","insertions","forEach","stop","plugins","markersStart","change:numberOfChanges","has","_makeModelFromTape","isObject","_makeModelFromViewString","_data","isBlock","oldRevisionId","markers","showStack","loadRevisionData","revision-comment:","code","numberOfChanges","attributesBefore","isAdded","editingDowncast","ck-revision-history-root-add","isCollapsed","_cleanMarkers","conversion","object","ck-revision-history-root--active","_markMismatchedRemovedTags","WidgetToolbarRepository","bind","end","elementStart","change:activeChange","splice","hasAttribute","first","suggestion:","top","_getChangeFromId","viewItem","restoreRevision","isRemoveSuggestion","pairId","execute","-new","isBefore","_getRevisionsRange","markerToData","softBreak","createAttributeElement","ck-suggestion-marker-merge","range","addMarker:revision","ck-suggestion-marker-","_refreshStartEndIndex","isOfficialPlugin","remove","next","965760ZrIVZY","isInline","addHighlight","for","_appendChild","isRemoved","type","ck-suggestion-preview-marker","getChild","29948BJBexH","length","insertion","_cleanUp","domEvent","suggestion","isNavigationMode","nextSibling","getIndex","48XMAQhg","editor","mouseover","distance","set","RevisionHistoryUtils","revision-suggestion","start","userId","toViewPosition","attributes","add","error","unbindElementFromMarkerName","roots","getAttribute","_setChanges","_markSuggestions","getRoot","enableReadOnlyMode","createPositionBefore","wrap","changes","span","includes","map","init","toViewElement","markersEnd","_balloon","POSITIVE_INFINITY","abs","_step","resolve","return","downcastDispatcher","isEnabled","selection","side","checkAttribute","hasClass","isAddSuggestion","_changeIdToChange","ck-editor__editable__overlay","ck-suggestion-marker","createRangeIn","815ekODoK","_findChangeIdFromDomTarget","_markMarkers","forceDisabled","index","mapViewToDom","592867kdHDPG","view","sort","observeMarkers","maxOffset","markerNameToElements","revisionHistoryLabel","data","startsWith","ck-revision-history-root-","consumable","repository","string","dataToMarker","ck-suggestion-marker-split","revisionHistory","model","RevisionViewer","_markInsertions","nodeAfter","destroy","createUIElement","removeAttribute","affectsData","concat","removeMarker:revision","getRootNames","markerName","listenTo","then","catch","element:pre","changeId","ck-suggestion-preview-marker-","text","highest","_getDiff","split","level","_revisions","indexOf","toViewRange","delete","flat","element","compare","showNextChange","currentChangeNumber","addMarker:revision-suggestion:insertion","getClientRects","attributesAfter","nextPosition","_initInteractions","_utils","change:isEnabled","dataDowncast","_setConversion","createRange","isEqual","pop","data-change-id","schema","addRevisionData","test","forward","enqueueChange","detachRoot","diff","item","markerRange","updatePosition","getWalker","setAttribute","_setDistance","getLaterVisibleRevision","requires","modelRange","find","isAttached","comment","clear","_removeMissingPairs","276RLbbgJ","get","addRevision","841635Uzakvr","isSuggestion","RevisionsRepository","revision","values","shift","ck-revision-history-root-remove","showPreviousChange","endIndex","mapper","ck-suggestion-marker--active","uiElement","removeClass","getCustomProperty","_getViewForChange","pluginName","high","_removeUnsupportedChanges","_activeViewTarget","mousedown","attachChange","revisionHistoryAttachChange"];return(se=function(){return t})()}class ne extends W.Command{[Qt(455)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(349)][i(558)](te);this[i(498)]=!1,this[i(455)]=i(539)===e?1:-1,this[i(503)](s,i(315),(()=>this[i(276)]())),this[i(503)](s,i(529),(()=>this[i(276)]())),this[i(503)](s,i(379),(()=>this[i(276)]()))}[Qt(390)](){const e=Qt,i=this[e(424)],s=i[e(349)][e(558)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(297)]=n?s[e(542)][e(445)][e(558)](r+this[e(455)]):s[e(542)][e(445)][e(382)],s[e(297)][e(482)][e(337)])o=i[e(274)][e(476)][e(321)](s[e(297)][e(302)]);else{const t=i[e(491)][e(359)][e(558)](e(275)+s[e(297)].id);o=(0,H.getMarkerDomElement)(i[e(274)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(276)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(349)][t(558)](te);this[t(459)]=!!(r&&n&&s)&&(!e||(1===this[t(455)]?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-=185]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(652100===-parseInt(e(198))/1+parseInt(e(208))/2*(-parseInt(e(188))/3)+-parseInt(e(185))/4*(parseInt(e(191))/5)+parseInt(e(227))/6*(parseInt(e(203))/7)+parseInt(e(200))/8*(parseInt(e(217))/9)+parseInt(e(214))/10+-parseInt(e(216))/11)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(202)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(199)](e(225),!1),this[e(199)](e(210),!1),this[e(199)](e(204),0),this[e(199)](e(209),0),this[e(199)](e(192),!1),this[e(199)](e(186),!1),this[e(197)](e(215)).to(this,e(210),this,e(209),((t,e)=>t&&e>0)),this[e(197)](e(223)).to(this,e(210),this,e(204),this,e(209),this,e(225),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(211));if(!n)return X(t,o(190));const a=X(t,o(193),n);return r?X(t,o(226),[s+1,n]):a})),s[e(199)]({label:X(t,e(220)),tooltip:!0,icon:mt.IconChevronUp}),n[e(199)]({label:X(t,e(224)),tooltip:!0,icon:mt.IconChevronDown}),s[e(197)](e(206)).to(this,e(186)),n[e(197)](e(206)).to(this,e(192)),s.on(e(187),(()=>this[e(207)](e(187),e(228)))),n.on(e(187),(()=>this[e(207)](e(187),e(201)))),this[e(213)]({tag:e(221),attributes:{class:["ck",e(195),e(189)]},children:[{tag:e(219),attributes:{class:[e(196)]},children:[{tag:e(219),attributes:{class:[e(194),i.if(e(215),e(218),(t=>!t))]},children:[{text:i.to(e(225),(i=>i?X(t,e(222))+": ":X(t,e(205))+": "))}]},{text:i.to(e(223))}]},new pt.ToolbarSeparatorView,{tag:e(221),attributes:{class:[e(212)]},children:[s,n]}]})}}function ue(){const t=["_isStatusLabelVisible","1091915pmvJah","10951092GsmgAl","ck-hidden","span","Show previous change","div","EDIT_X_OF_Y_REVISIONS","_statusText","Show next change","isNavigationMode","X_OF_Y_CHANGES","5180430byFEjq","backward","1293316SHrkvw","isBackwardNavigationEnabled","execute","180333yaTute","ck-revision-history-ui__changes-navigation","No changes","10oeZfOZ","isForwardNavigationEnabled","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__wrapper","bind","797104xjEJnp","set","8bMoCQl","forward","bindTemplate","7uYYZGO","currentChangeNumber","Total","isEnabled","fire","26UmNbxb","numberOfChanges","isReady","Loading...","ck-revision-history-ui__changes-navigation__navigation","setTemplate","8963770soBXau"];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;const de=pe;function fe(){const t=["413484JmjyTc","show","1570wJuUiE","ck-editor__editable__loading-overlay","roots","RevisionViewerLoadingOverlay","246EKLwDT","40HXaPVO","editor","395896BIporx","8soePsm","document","removeClass","addClass","13030furcMs","20559165DXyePM","60057xjSwze","isPremiumPlugin","view","pluginName","editing","hide","isOfficialPlugin","1491826JOoWlj","change","2777452jORPWJ"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(527757===-parseInt(e(463))/1+-parseInt(e(468))/2*(parseInt(e(460))/3)+-parseInt(e(453))/4+-parseInt(e(461))/5*(parseInt(e(454))/6)+parseInt(e(451))/7*(-parseInt(e(464))/8)+parseInt(e(444))/9*(parseInt(e(456))/10)+parseInt(e(443))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(457);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=443]})(t,e)}class ve extends W.Plugin{static get[de(447)](){return de(459)}static get[de(450)](){return!0}static get[de(445)](){return!0}[de(455)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(467)](me,t)}))}[de(449)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(466)](me,t)}))}}function ge(){const t=["pluginName","restoreRevision","isEnabled","numberOfChanges","isPremiumPlugin","editor","closeRevisionViewerCallback","get","set","18046OJgxSx","4RgOMhq","listenTo","revisionHistory","1566978ZeHRbM","Restore this revision","hide","280TGsAfo","add","bind","isNavigationMode","exitToEditing","commands","showPreviousChange","execute","requires","forward","63phGTcm","changesNavigation","plugins","currentChangeNumber","isBackwardNavigationEnabled","1656844ZmSlyb","451456KVMVQC","componentFactory","5676363IpBYMd","RevisionViewerUI","show","2855390njRVBO","25800VlYMSA","config","ck-revision-history-ui__back-to-editing","isOfficialPlugin","isForwardNavigationEnabled","Back to editing","isReady","change:isReady","showNextChange","init"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(359395===parseInt(e(184))/1*(-parseInt(e(167))/2)+parseInt(e(171))/3*(-parseInt(e(168))/4)+parseInt(e(174))/5*(parseInt(e(196))/6)+parseInt(e(189))/7+parseInt(e(190))/8+parseInt(e(192))/9+parseInt(e(195))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends W.Plugin{static get[ye(158)](){return ye(193)}static get[ye(199)](){return!0}static get[ye(162)](){return!0}static get[ye(182)](){return[te,ve]}[ye(157)](){const t=ye,e=this[t(163)],i=e[t(186)][t(165)](te),s=e[t(186)][t(165)](ve);e.ui[t(191)][t(175)](t(178),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(201)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(198)}),this[s(169)](n,s(181),(()=>{const t=s;e[t(197)][t(165)](t(170))[t(164)]()})),n})),e.ui[t(191)][t(175)](t(159),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(172)),withText:!0,tooltip:!0}),n[s(176)](s(160)).to(e[s(179)][s(165)](s(159))),this[s(169)](n,s(181),(()=>e[s(181)](s(159)))),n})),e.ui[t(191)][t(175)](t(185),(s=>{const n=t,r=new ce(s),o=e[n(179)][n(165)](n(180)),a=e[n(179)][n(165)](n(156));return r[n(176)](n(188)).to(o,n(160)),r[n(176)](n(200)).to(a,n(160)),r[n(176)](n(202),n(187),n(161),n(177)).to(i),this[n(169)](r,n(181),((t,i)=>{const s=n;e[s(181)](s(183)===i?s(156):s(180))})),r})),s[t(194)](),i.on(t(155),((e,i,n)=>{const r=t;n?s[r(173)]():s[r(194)]()}))}}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=["placeholder","input","1811560UDRogS","element","_tooltipString","ck-tooltip_multi-line","_updateTooltipText","Enter the revision name","clientWidth","fieldView","205439QnSdcq","scrollWidth","440eiOJPY","listenTo","ck-revision-history-sidebar__revision-name","span","render","37590WZmOYB","destroy","2281020pvKZur","value","bindTemplate","Revision name","extendTemplate","3144415hGPTQz","set","1014686gDHUmj","_resizeObserver","1004658xqXscz"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=141]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(375977===-parseInt(e(159))/1+parseInt(e(146))/2+parseInt(e(148))/3+parseInt(e(151))/4+-parseInt(e(144))/5+-parseInt(e(168))/6+-parseInt(e(166))/7*(-parseInt(e(161))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(147)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(141)];this[i(145)]({label:X(t,i(142)),_tooltipString:""}),this[i(158)][i(149)]=X(t,i(156)),this[i(143)]({tag:i(164),attributes:{class:[i(163)],"data-cke-tooltip-text":s.to(i(153)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(154)}})}[Ie(165)](){const e=Ie;super[e(165)](),this[e(147)]=new t.ResizeObserver(this[e(158)][e(152)],(()=>this[e(155)]())),this[e(162)](this[e(158)],e(150),(()=>this[e(155)]()))}[Ie(167)](){const t=Ie;super[t(167)](),this[t(147)]&&this[t(147)][t(167)]()}[Ie(155)](){const t=Ie,e=this[t(158)][t(152)];this[t(153)]=e[t(160)]>e[t(157)]&&e[t(169)]||""}}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 Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=108]})(t,e)}function Re(){const t=["141389vzUNGK","ck-revision-history-sidebar__revision-author__name","1761060ERLYRf","1777089USGLVz","set","Revision author","span","2256kjNfDR","ck-revision-history-sidebar__revision-author_creator","push","3300588gJFGJJ","ck-revision-history-sidebar__revision-author","971540QZhVlo","setTemplate","23072gAGRsJ","Revision creator","1876460onvkKu","name","0 0 11 10"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(453315===-parseInt(e(114))/1+-parseInt(e(126))/2+-parseInt(e(117))/3+parseInt(e(124))/4+-parseInt(e(111))/5+parseInt(e(116))/6+-parseInt(e(109))/7*(-parseInt(e(121))/8))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(118)]({content:mt.IconUser,viewBox:s(113)});const r=["ck",s(125)];i&&r[s(123)](s(122));const o=[{tag:s(120),attributes:{class:["ck",s(115)],title:X(t,s(i?110:119))},children:[n,e[s(112)]]}];this[s(108)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=303]})(t,e)}function Ee(){var t=["1073048wmGiCy","numeric","680802bOcCPj","438055GEQMtq","toLocaleTimeString","long","toLocaleDateString","121095bmzEcO","2125265AspHLE","14hvXAPa","286426MHwtfa","450RNyMQP","108728WuDyJv"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(325808===parseInt(e(309))/1+parseInt(e(303))/2+parseInt(e(313))/3+-parseInt(e(306))/4+parseInt(e(314))/5+-parseInt(e(308))/6*(-parseInt(e(315))/7)+-parseInt(e(305))/8*(parseInt(e(304))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=122]})(t,e)}function Le(){const t=["set","menuitem","22lAVLZe","add","extendTemplate","Restore this revision","isEnabled","42pkIulO","buttonView","10ZAxkhB","ck-on","map","listenTo","62598oYGjwF","15TpdQdR","1896432SpFQeg","116804NsbXvV","action","stopPropagation","isReady","menu","class","first","find","Show more items","13280QyPrrL","6buDWQF","1316097UqYNHm","isVisible","source","Compare against selected","change:isActionsDropdownOpen","2278080nNbfwS","items","execute","name","_action","button","225177MtLsvM","listView","bind","model","Name this revision","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","isOpen","bindTemplate","children","panelPosition","function","locale"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(294777===-parseInt(e(142))/1+-parseInt(e(155))/2*(-parseInt(e(167))/3)+-parseInt(e(145))/4*(parseInt(e(143))/5)+parseInt(e(161))/6+-parseInt(e(136))/7*(-parseInt(e(154))/8)+parseInt(e(156))/9*(parseInt(e(138))/10)+parseInt(e(131))/11*(-parseInt(e(144))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);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=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=167]})(t,e)}function We(){const t=["setTemplate","_requireRevisionName","srcElement","value","isActionsDropdownOpen","createdAt","ck-revision-history-sidebar__revision_highlighted","closest","621309YYZPJm","revisionActionsView","bindTemplate","52420QtrGFE","length","element","span","unhighlight","ck-revision-history-sidebar__revision-wrapper","isConfirm","ck-revision-history-sidebar__revision-authors","220","from","render","isReady","ck-disabled","426334oVxBZZ","ck-revision-history-sidebar__revision__controls-wrapper","unshift","333656NlCcBs","fieldView","isHighlighted",".ck-thread__remove-confirm","fire","ck-revision-history-sidebar__revision__date","29057LzUvxh","18LUfiah","name","3QyAOEh","bind","uiLanguage","_revision","ck-reset","listenTo","select","192830JrdlLA","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","deselect","authors","261BXGgLx","creator","revisionNameView","ck-revision-history-sidebar__revision_selected","filter","isSelected","ck-revision-history-sidebar__revision","map","680AzgfdY","div","extendTemplate","highlight","_createdAtFormatted","change","ck-revision-history-sidebar__actions_dropdown_open","isEnabled","set","4253315IqlOgp"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(412269===-parseInt(e(176))/1+-parseInt(e(192))/2+-parseInt(e(204))/3*(parseInt(e(195))/4)+-parseInt(e(179))/5*(-parseInt(e(202))/6)+parseInt(e(201))/7*(parseInt(e(224))/8)+-parseInt(e(216))/9*(-parseInt(e(211))/10)+parseInt(e(167))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(218)];[ze(177)];[ze(207)];[ze(169)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(178)],a=function(t,e){const i=r,s=Array[i(188)](e[i(215)])[i(220)]((t=>t!=e[i(217)]));return e[i(217)]&&s[i(194)](e[i(217)]),s[i(223)]((s=>new Ve(t,s,s==e[i(217)])))}(e,i);this.id=i.id,this[r(207)]=i,this[r(169)]=n,this[r(205)](r(203),r(173)).to(i),this[r(205)](r(228)).to(this,r(173),(t=>{return i=e[r(206)],(s=t)[(n=Me)(312)](i,{month:n(311),day:n(307)})+", "+s[n(310)](i,{hour:n(307),minute:n(307)});var i,s,n})),this[r(232)](r(221),!1),this[r(232)](r(197),!1),this[r(232)](r(172),!1),this[r(232)](r(190),!1),this[r(232)](r(231),!1),this[r(218)]=new Te(e,pt.createLabeledInputText),this[r(218)][r(196)][r(226)]({attributes:{maxlength:r(187)}}),this[r(218)][r(196)][r(205)](r(171)).to(this,r(203),(t=>t||this[r(228)])),this[r(218)][r(205)](r(231)).to(this,r(221),this,r(231),((t,e)=>t&&e)),this[r(177)]=s&&s[r(180)]?function(e,i){const s=Fe,n=e[s(124)],r=e[s(128)],o=(0,pt.createDropdown)(r);o[s(126)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(128)],n={"Compare against selected":X(s,i(159)),"Name this revision":X(s,i(171)),"Restore this revision":X(s,i(134))};return e[i(140)]((t=>{const e=i,s=n[t[e(164)]];return s&&s!==t[e(164)]&&(t[e(164)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(166),model:new pt.ViewModel({label:t[n(164)],class:t[n(150)],withText:!0,role:n(130),_action:t[n(146)]})};i[n(170)][n(169)](n(135)).to(e,n(172),(i=>n(127)!=typeof t[n(135)]||!i||t[n(135)](e))),o[n(132)](i)}return o}(e,i);return e[s(169)](s(172)).to(o,s(123)),o[s(137)][s(129)]({label:X(r,s(153)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(133)]({attributes:{class:[s(122),n.if(s(172),s(139))]},on:{click:n.to((t=>t[s(147)]()))}}),o.on(s(163),(t=>{const i=s;e[i(148)]&&i(127)==typeof t[i(158)][i(165)]&&t[i(158)][i(165)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(149)}),o[s(141)](e,s(160),((t,n,r)=>{const a=s;if(r)for(const t of o[a(168)][a(162)]){const s=t[a(125)][a(151)],n=i[a(152)]((t=>t[a(146)]===s[a(165)]))[a(157)];t[a(157)]=void 0===n||n(e)}})),o}(this,s):"",this[r(177)]&&this[r(177)][r(205)](r(231)).to(this),this[r(168)]({tag:r(225),attributes:{class:["ck",r(208),r(184),o.if(r(185),r(212))]},children:[{tag:r(225),attributes:{class:["ck",r(208),r(222),o.if(r(231),r(191),(t=>!t)),o.if(r(221),r(219)),o.if(r(197),r(174)),o.if(r(172),r(230))]},children:[this[r(218)],{tag:r(182),attributes:{class:["ck",r(200)]},children:[{text:o.to(r(228))}]},{tag:r(225),attributes:{class:["ck",r(193)]},children:[{tag:"ul",attributes:{class:["ck",r(186)]},children:a}]},this[r(177)]],on:{click:o.to((t=>{const e=r;t[e(170)][e(175)](e(198))||this[e(190)]&&this[e(231)]&&this[e(199)](e(210),{id:this.id})}))}}]})}[ze(189)](){const t=ze;super[t(189)]();const e=this[t(218)][t(196)][t(181)];this[t(209)](e,t(229),(()=>{const i=t;this[i(169)]&&!e[i(171)]||this[i(199)](i(213),{id:this.id,name:e[i(171)]}),e[i(171)]||(e[i(171)]=this[i(203)]?this[i(203)]:this[i(228)])}))}[ze(210)](){this[ze(221)]=!0}[ze(214)](){this[ze(221)]=!1}[ze(227)](){this[ze(197)]=!0}[ze(183)](){this[ze(197)]=!1}}class Ze extends Error{}class Be extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const 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 qs(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 Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(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=Ai.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 qs(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 Ri={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function 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=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&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.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=As(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[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):Ui}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 Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(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 Bi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={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=qi.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(`${qi[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=As(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(){Wi.resetCache(),Ai.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=Us(c,e,i)):u>Us(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=Rs(t.month,1,12),s=Rs(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(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 As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function 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 Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(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 Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Bs(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)]=Bs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function 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 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]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),Bn=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),qn=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||Wi.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:Wi.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,[Rn,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,[An,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 qe(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]=Bs(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 Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.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(qi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(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,Ws);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=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Ar(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 Rr="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=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:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=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||Wi.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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.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:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.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=Br,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=qr,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Us(t.weekYear,e,i)),r=Rs(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=Rs(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,[Un,Bn],[Wn,$n],[Hn,qn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[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=Wi.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,Bn],[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 Be(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(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):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}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=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(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 Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(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")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[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(Wi.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=Wi.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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(){const t=["hasSame","monthLong","local","1989375nQgKvn","week","45vDIRdq","month","weekdayLong","startOf","7925706ZFSMcj","setLocale","5710250cJXHyj","day","419083cPoNSk","minus","toRelativeCalendar","fromJSDate","82959WkuzpD","year","toJSDate","2123512iFFTSC","544144bJgvzU","22Hcioba"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=403]})(t,e)}function oo(t,e){const i=ro,s=io[i(412)](t)[i(406)](e),n=io[i(421)](),r=n[i(410)]({days:1})[i(404)](i(408));let o,a;return s[i(419)](n,i(408))?(o=s[i(404)](i(408))[i(415)](),a=s[i(411)]()):s[i(419)](r,i(408))?(o=r[i(415)](),a=s[i(411)]()):s[i(419)](n,i(423))?(o=s[i(404)](i(423))[i(415)](),a=s[i(403)]||""):s[i(419)](n,i(414))?(o=s[i(404)](i(425))[i(415)](),a=s[i(420)]||""):(o=s[i(404)](i(414))[i(415)](),a=String(s[i(414)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(662567===parseInt(e(409))/1+-parseInt(e(418))/2*(parseInt(e(413))/3)+parseInt(e(417))/4+-parseInt(e(422))/5+parseInt(e(405))/6+parseInt(e(407))/7+-parseInt(e(416))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;!function(t){const e=ho,i=t();for(;;)try{if(512733===parseInt(e(293))/1*(parseInt(e(294))/2)+-parseInt(e(275))/3+-parseInt(e(291))/4+parseInt(e(263))/5+parseInt(e(285))/6*(parseInt(e(277))/7)+-parseInt(e(274))/8*(-parseInt(e(279))/9)+-parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class lo extends pt.View{[uo(287)];[uo(265)];[uo(283)];[uo(273)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(292)][n(278)])[n(266)];this[n(287)]=e,this[n(265)]=this[n(269)](),this[n(283)]=i,this[n(273)]=s,this[n(265)][n(288)](n(284)).to(this),this[n(265)][n(288)](n(272)).to(this),this[n(264)]({tag:n(289),attributes:{class:["ck",n(281)]},children:[{tag:n(276),attributes:{class:["ck",n(280)]},children:[{text:r}]},{tag:n(289),attributes:{class:["ck",n(267)]},children:this[n(265)]}]})}[uo(282)](t){const e=uo,i=new He(this[e(292)],t,this[e(283)],this[e(273)]);this[e(265)][e(270)](i)}[uo(271)](t){const e=uo,i=this[e(265)][e(268)]((e=>e.id===t.id));this[e(265)][e(286)](i)}}function ho(t,e){const i=fo();return(ho=function(t,e){return i[t-=263]})(t,e)}function fo(){const t=["removeRevision","setName","_requireRevisionName","101224dpEXcz","309387CsIsDg","span","7KrapUQ","uiLanguage","252sCrmzu","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","addRevision","_revisionActions","select","2080374QXbrBg","remove","startDate","delegate","div","15786150ldtOSq","581000vroVzk","locale","262503tUTBmt","6wZCGzU","4256025gGPhmu","setTemplate","revisionViews","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","find","createCollection","add"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=366]})(t,e)}function go(){const t=["content","3424848nYdLjG","setTemplate","span","2302407ZhSbLJ","1367649RMpgdi","div","1sCcMho","ck-revision-history-sidebar__header__label","3295vXWNtP","ck-reset_all","3728UwsrIT","Revision history","589426HBRXfy","ck-revision-history-sidebar__header","4261887uxHpmq","2051344LMrkEu"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(327106===-parseInt(e(367))/1*(parseInt(e(373))/2)+-parseInt(e(382))/3+-parseInt(e(371))/4*(parseInt(e(369))/5)+parseInt(e(378))/6+parseInt(e(375))/7+parseInt(e(376))/8+parseInt(e(381))/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(377)]=mt.IconHistory,this[e(379)]({tag:e(366),attributes:{class:["ck",e(370),e(374)]},children:[i,{tag:e(380),attributes:{class:["ck",e(368)]},children:[X(t,e(372))]}]})}}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;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=224]})(t,e)}const _o=wo;function Io(){const t=["_requireRevisionName","uiLanguage","_getTimePeriodViewByStartDate","startDate","99DFhfaF","revisionSelected","unhighlight","ck-revision-history-sidebar","flat","remove","get","locale","createCollection","setTemplate","revisionViews","2528778tCVVxV","128830EtWrLP","div","setName","14716jKOdQI","createdAt","some","65986NhcyCL","deselect","add","find","22WcFWWY","8704224WSXZVu","highlight","delegate","ck-rounded-corners","1038890xRzViW","bindTemplate","isEnabled","_revisionActions","timePeriodViews","removeRevision","render","getTime","highlightRevisions","map","365193gXsjXS","ck-revision-history-sidebar__timeline","selectRevision","select","ck-reset","_removeRevision","set","_addRevision","6UmVTjX","addRevision","18rsPzIX","revisionSetName","ck-disabled","fire","_revisions","8JJUOft"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(197644===parseInt(e(268))/1*(-parseInt(e(241))/2)+-parseInt(e(280))/3*(-parseInt(e(238))/4)+parseInt(e(235))/5*(parseInt(e(270))/6)+parseInt(e(234))/7*(-parseInt(e(275))/8)+parseInt(e(260))/9+-parseInt(e(250))/10*(parseInt(e(245))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(254)];[_o(274)];[_o(253)];[_o(276)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(251)];this[n(254)]=this[n(231)](),this[n(254)][n(248)](n(263)).to(this),this[n(254)][n(248)](n(237)).to(this),this[n(274)]=e,this[n(253)]=i,this[n(276)]=s,this.on(n(263),((t,e)=>{const i=n;this[i(273)](i(224),e)})),this.on(n(237),((t,e)=>{const i=n;this[i(273)](i(271),e)})),this[n(266)](n(252),!1),this[n(232)]({tag:n(236),attributes:{class:["ck",n(264),n(249),n(226)]},children:[new yo(t),{tag:n(236),attributes:{class:["ck",n(261),r.if(n(252),n(272),(t=>!t))]},children:this[n(254)]}]})}[_o(256)](){const t=_o;super[t(256)]();for(const e of this[t(274)])this[t(267)](e);this[t(274)].on(t(243),((e,i)=>{this[t(267)](i)})),this[t(274)].on(t(228),((e,i)=>{this[t(265)](i)}))}get[_o(233)](){const t=_o;return this[t(254)][t(259)]((e=>e[t(233)][t(259)]((t=>t))))[t(227)]()}[_o(262)](t){const e=_o;for(const i of this[e(233)])t&&t.id===i.id?i[e(263)]():i[e(242)]()}[_o(258)](t){const e=_o;for(const i of this[e(233)])t[e(240)]((({id:t})=>t===i.id))?i[e(247)]():i[e(225)]()}[_o(267)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];let s=this[e(254)][e(229)](0);s&&s[e(279)][e(257)]()===i[e(257)]()||(s=new lo(this[e(230)],i,this[e(253)],this[e(276)]),this[e(254)][e(243)](s)),s[e(269)](t)}[_o(265)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];this[e(278)](i)[e(255)](t)}[_o(278)](t){const e=_o;return this[e(254)][e(244)]((i=>i[e(279)][e(257)]()===t[e(257)]()))}}const Oo=xo;function To(){const t=["733075rlQHhe","revisionHistory.viewerSidebarContainer","bind","_handleDiffChange","getRevisionsInDiff","revisionViews","isSelected","get","revisionHistory.requireRevisionName","revisionHistory","getIndex","appendChild","getEarlierVisibleRevision","getLaterVisibleRevision","1849329LBoxuV","10581kBBTdM","getRevision","_handleRevisionSetName","selectRevision","data","_revisionsRepository","setName","map","isEnabled","listenTo","isReady","availableRevisionActions","remove","_revisions","nameRevision","plugins","compare","2399235egDjfG","10jAlKvx","length","requires","timePeriodViews","select","8GbjFdm","focus","name","1811OfItBf","983538AhAEuP","config","element","action","add","compareAgainstSelected","_createRevisionActions","change:diff","572HPYRtd","revisionSetName","_revisionViewer","diff","isPremiumPlugin","_handleEditorDataReady","ready","Restore this revision","RevisionsSidebar","isVisible","editor","locale","isOfficialPlugin","highlightRevisions","destroy","1059993NvUFFr","restoreRevision","_handleRevisionSelected","pluginName","string","revisionSelected","fieldView","_sidebarView","init","newRevisionId","repository","restoreRevisionCallback","180aNhkdP","revisionHistory.revisionActions","defaultRevisionActions","assign","Compare against selected","render","Name this revision"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(285252===parseInt(e(560))/1*(parseInt(e(552))/2)+-parseInt(e(534))/3*(parseInt(e(485))/4)+-parseInt(e(551))/5+-parseInt(e(561))/6+-parseInt(e(519))/7+parseInt(e(557))/8*(-parseInt(e(533))/9)+parseInt(e(512))/10*(parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends W.Plugin{[Oo(487)];[Oo(539)];[Oo(507)];static[Oo(514)]=[Oo(482),Oo(501),Oo(548)];static[Oo(545)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(516),action:({plugins:e},i)=>{const s=t,n=e[s(526)](te),r=n[s(510)];let o=n[s(488)][s(509)],a=i.id;r[s(529)](o)>r[s(529)](a)&&([o,a]=[a,o]),n[s(550)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(526)](te);return!(n[s(510)][s(523)](n[s(488)])[s(553)]>2||i[s(525)])}},restoreRevision:{name:t(492),action:(e,{id:i})=>{const s=t;e[s(562)][s(526)](s(528))[s(511)](i)},isVisible:({plugins:e},i)=>!!e[t(526)](te)[t(510)][t(532)](i.id)},nameRevision:{name:t(518),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(526)](te),o=r[n(510)][n(531)](i);r[n(550)](i,o),s[n(558)](),s[n(506)][n(556)]()}}}}();static get[Oo(503)](){return Oo(493)}static get[Oo(497)](){return!0}static get[Oo(489)](){return!0}static get[Oo(554)](){return[te]}constructor(t){const e=Oo;super(t),this[e(487)]=t[e(549)][e(526)](te),this[e(539)]=this[e(487)][e(510)],this[e(507)]=null}[Oo(508)](){const t=Oo,e=this[t(539)][t(547)],i=this[t(483)](),s=this[t(495)][t(562)][t(526)](t(520));this[t(507)]=new So(this[t(495)][t(496)],e,i,this[t(495)][t(562)][t(526)](t(527))),this[t(507)].on(t(505),this[t(502)][t(521)](this)),this[t(507)].on(t(486),this[t(536)][t(521)](this)),this[t(507)][t(521)](t(542)).to(this[t(487)]),this[t(507)][t(555)].on(t(481),((e,i)=>{const s=t;i[s(524)].on(s(481),((t,e)=>{const i=s;e[i(521)](i(542),i(544)).to(this[i(487)])}))})),this[t(507)][t(517)](),this[t(543)](this[t(495)][t(538)],t(491),this[t(490)][t(521)](this)),this[t(543)](this[t(487)],t(484),this[t(522)][t(521)](this)),s[t(530)](this[t(507)][t(563)])}[Oo(499)](){const t=Oo;this[t(507)][t(563)][t(546)](),this[t(507)][t(499)]()}[Oo(490)](){const t=Oo,e=this[t(539)][t(535)](0);if(e){const i=this[t(539)][t(531)](e.id);this[t(487)][t(550)](e,i)}}[Oo(502)](t,e){const i=Oo,s=this[i(539)][i(535)](e.id),n=this[i(539)][i(531)](s.id);this[i(487)][i(550)](s,n)}[Oo(536)](t,e){const i=Oo;this[i(539)][i(535)](e.id)[i(540)](e[i(559)])}[Oo(522)](t,e,i){const s=Oo,n=this[s(539)][s(523)](i);n[s(553)]>2?(this[s(507)][s(498)](n),this[s(507)][s(537)](null)):(this[s(507)][s(498)]([]),this[s(507)][s(537)](n[0]))}[Oo(483)](){const t=Oo,e=this[t(495)],i=No[t(545)],s=e[t(562)][t(526)](t(513))||No[t(514)];if(s[t(553)])return s[t(541)]((s=>{const n=t,r=n(504)==typeof s?Object[n(515)]({},i[s]):s;return r[n(564)]=r[n(564)][n(521)](this,e),r[n(494)]&&(r[n(494)]=r[n(494)][n(521)](this,e)),r}))}}const Ao=No;function Ro(){const t=["render","_toolbarConfig","componentFactory","toolbar","focusTracker","destroy","525728rnhhXq","replace","_view","190hxLwYy","170830YgZbXr","2845480TTyRDE","27EBTutf","get","document","setEditableElement","view","ready","isActive","attachDomRoot","_elementReplacer","572924jwYFTi","init","element","bind","_initToolbar","getRoot","name","restore","viewportOffset","12OkkUsb","fillFromConfig","fire","isFocused","detachDomRoot","viewportTopOffset","editing","504415ZLhafZ","5389454frPfJs","addToolbar","editor","config","22TlaZJk","237345ojMtqN","limiterElement","stickyPanel","editable","rootName"];return(Ro=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(591743===-parseInt(e(302))/1+-parseInt(e(290))/2*(-parseInt(e(291))/3)+-parseInt(e(269))/4+-parseInt(e(285))/5*(parseInt(e(278))/6)+-parseInt(e(286))/7+parseInt(e(259))/8*(parseInt(e(260))/9)+-parseInt(e(257))/10*(-parseInt(e(258))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends pt.EditorUI{[Vo(256)];[Vo(297)];[Vo(268)];get[Vo(264)](){return this[Vo(256)]}constructor(e,i){const s=Vo;super(e),this[s(256)]=i,this[s(297)]=(0,pt.normalizeToolbarConfig)(e[s(289)][s(261)](s(299))),this[s(268)]=new t.ElementReplacer}get[Vo(271)](){const t=Vo;return this[t(264)][t(271)]}[Vo(270)](t){const e=Vo,i=this[e(288)],s=this[e(264)],n=i[e(284)][e(264)],r=s[e(294)],o=n[e(262)][e(274)]();r[e(275)]=o[e(295)],s[e(296)]();const a=r[e(271)];this[e(263)](r[e(275)],a),s[e(294)][e(272)](e(281)).to(this[e(300)]),n[e(267)](a),this[e(268)][e(303)](t,this[e(271)]),this[e(273)](),this[e(280)](e(265))}[Vo(301)](){const t=Vo;super[t(301)]();const e=this[t(264)],i=this[t(288)][t(284)][t(264)];this[t(268)][t(276)](),i[t(282)](e[t(294)][t(275)]),e[t(301)]()}[Vo(273)](){const t=Vo,e=this[t(264)];e[t(293)][t(272)](t(266)).to(this[t(300)],t(281)),e[t(293)][t(292)]=e[t(271)],e[t(293)][t(272)](t(283)).to(this,t(277),(({top:t})=>t)),e[t(299)][t(279)](this[t(297)],this[t(298)]),this[t(287)](e[t(299)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=234]})(t,e)}function jo(){var t=["11zHAjxZ","18150850FgxdVD","add","shouldToolbarGroupWhenFull","editable","_editable","2xtHQNH","677937QVAJZA","70YpBWvP","349184BSetSe","toolbar","top","stickyPanel","19320QpqfZp","144bogspe","4774392orlTIT","render","content","main","618395VKIojB","2830974BoHAlx"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(361964===parseInt(e(236))/1+-parseInt(e(244))/2*(parseInt(e(245))/3)+parseInt(e(251))/4*(-parseInt(e(246))/5)+parseInt(e(237))/6+parseInt(e(253))/7+-parseInt(e(247))/8*(-parseInt(e(252))/9)+-parseInt(e(239))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(243)];[Fo(250)];[Fo(248)];get[Fo(242)](){return this[Fo(243)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(250)]=new pt.StickyPanelView(t),this[s(248)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(241)]}),this[s(243)]=new pt.InlineEditableUIView(t,e)}[Fo(254)](){var t=Fo;super[t(254)](),this[t(250)][t(234)][t(240)](this[t(248)]),this[t(249)][t(240)](this[t(250)]),this[t(235)][t(240)](this[t(242)])}}function zo(t,e){const i=Ho();return(zo=function(t,e){return i[t-=324]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(878061===parseInt(e(342))/1+parseInt(e(345))/2*(-parseInt(e(332))/3)+parseInt(e(339))/4*(parseInt(e(346))/5)+parseInt(e(324))/6*(-parseInt(e(340))/7)+-parseInt(e(329))/8*(-parseInt(e(328))/9)+-parseInt(e(333))/10+-parseInt(e(335))/11*(-parseInt(e(330))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[Uo(352)];get ui(){return this[Uo(352)]}constructor(t,e){const i=Uo;super(e),this[i(350)]=t,this[i(341)][i(344)][i(347)]();const s=new Po(this[i(334)],this[i(343)][i(337)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Eo(this,s)}[Uo(349)](){const t=Uo;return this[t(325)](),this.ui[t(349)](),super[t(349)]()}static async[Uo(348)](t,e){const i=Uo,s=new this(t,e);return await s[i(351)](),await s.ui[i(331)](t),await s[i(354)][i(331)](s[i(353)][i(326)](i(336))||""),s[i(338)](i(327)),s}}function Ho(){const t=["4084930rRDAzm","locale","11cQbMYG","initialData","view","fire","4YmSkDl","1787093BKLCBF","model","217836xdYLdI","editing","document","200510hDcKue","2184265AsFVEH","createRoot","create","destroy","sourceElement","initPlugins","_ui","config","data","12bvMwCb","updateSourceElement","get","ready","9kgdBlx","2029232sbkJZQ","31117728ypOCPI","init","51zvgwbP"];return(Ho=function(){return t})()}const Zo=$o;function Bo(){const t=["revisionHistory","removeMarker","11589WYVbsY","_getRevisionViewerEditorConfig","RevisionHistory","_viewerEditor","style","insert","2025471kQtWbx","_restoreRevision","toLocaleTimeString","then","toLocaleDateString","_enhanceCloseRevisionViewerCallback","2375148FRwZHs","refreshPositioning","markers","saveRevision","showRevisionViewerCallback","PaginationLookup","getMarkersGroup","exitToEditing","10243107QbPNyZ","revisionHistory.viewerEditorElement","editor","getRoot","18DhecLp","refreshVisibility","includes","restrictedEditingException","RevisionHistoryUtils","has","removeSelectionAttribute","map","view","translations","createRangeIn","isPremiumPlugin","keys","hide","revision-history-viewer-opened","push","Users","RevisionViewerIntegration","addUser","revision-history-missing-configuration","document","revisionHistory.closeRevisionViewerCallback","RevisionViewer","numeric","detachRoot","toolbar","$graveyard","block","adapter","fromCharCode","9xOGAhg","1294265CNLUqz","enableReadOnlyMode","update","Dialog","data","Annotations","none","closeRevisionViewerCallback","getRevisionRootsAttributes","revisionHistory.viewerContainer","_cleanUp","_enhanceShowRevisionViewerCallback","removeAttribute","indexOf","lazyRoots","getAttributeKeys","save","revisionHistory.editorContainer","users","RevisionHistoryUI","end","display","_update","RestrictedEditingMode","join","setSelection","addRoot","isOpen","pluginName","catch","createdAt","getUser","_closeRevisionViewer","getRevisions","config","loadRevisionData","result","isRevisionViewerOpen","disableReadOnlyMode","repository","_showRevisionViewer","parse","_recalculatePageBreaks","isEnabled","RevisionTracker","long","changesNavigation","rootName","init","toVersion","bind","plugins","Restored","name","isReady","from","addRevisionData","commands","define","isOfficialPlugin","model","setAttribute","212sYjEli","locale","getRevision","isAnonymous","requires","Autosave","isAttached","revisionHistory.requireRevisionName","remove","toJSON","element","revisionHistory.restoreRevisionCallback","destroy","roots","35909490ZlQwCA","selection","revisionHistory.showRevisionViewerCallback","DocumentOutline","DocumentOutlineUI","restoreRevision","creator","create","uiLanguage","RevisionsRepository","fromVersion","1724536ItalnT","change","enqueueChange","set","error","isReadOnly","get","getRevisionDocumentData"];return(Bo=function(){return t})()}function $o(t,e){const i=Bo();return($o=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(930722===-parseInt(e(289))/1*(-parseInt(e(406))/2)+parseInt(e(295))/3+parseInt(e(301))/4+-parseInt(e(344))/5*(-parseInt(e(313))/6)+parseInt(e(309))/7+-parseInt(e(431))/8*(parseInt(e(343))/9)+-parseInt(e(420))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(363),Zo(367)];class Yo extends W.Plugin{[Zo(380)];static get[Zo(372)](){return Zo(330)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(320)]((t=>String[e(342)](t)))[e(368)]("")}super(t),this[e(380)]=e(364),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 W.Plugin{[Zo(292)];static get[Zo(372)](){return Zo(291)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}static get[Zo(410)](){return[at,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(311)][i(378)][i(437)](i(439)))throw new t.CKEditorError(i(332),this);this[i(292)]=null,this[i(434)](i(381),!1),this[i(311)][i(378)][i(402)](i(422),(t=>this[i(384)]({...t,translations:this[i(311)][i(407)][i(322)]}))),this[i(311)][i(378)][i(402)](i(334),(t=>this[i(376)](t))),this[i(311)][i(378)][i(402)](i(417),(t=>this[i(296)](t))),this[i(311)][i(378)][i(402)](i(413),!1),this[i(355)](),this[i(300)]()}set[Zo(341)](t){const e=Zo;this[e(311)][e(395)][e(437)](e(388))[e(341)]=t}get[Zo(341)](){const t=Zo;return this[t(311)][t(395)][t(437)](t(388))[t(341)]}[Zo(400)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(388))[e(400)](t)}[Zo(408)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(408)](t)}[Zo(377)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(377)](t||{toJSON:!1})}[Zo(290)](){const e=Zo,i=this[e(311)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(329))[e(362)];return s[e(338)]=[e(308),e(425),e(390)],delete s[e(358)],s[e(395)][e(328)](Yo,te,be,class extends W.Plugin{static get[e(410)](){return[te,e(329)]}[e(392)](){const s=e,o=this[s(311)][s(395)][s(437)](s(329));for(const t of r)t[s(409)]||o[s(375)](t.id)||o[s(331)](t);const a=n[s(383)][s(377)]();let c=null;const u=this[s(311)][s(395)][s(437)](s(335));u[s(341)]=n[s(341)],u[s(394)](s(387)).to(n),this[s(311)][s(401)][s(437)](s(425))[s(394)](s(387)).to(i,s(436),(t=>!t));for(const e of a){const i=null===e[s(426)];if(i&&e[s(393)]===e[s(430)])continue;const r=e[s(415)]();u[s(400)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(366)](r,o);else if(!o){const e=a[u(415)]();e.id=(0,t.uid)(),n[u(304)](e,a[u(393)])[u(298)]((t=>{c=t}))}}else e[u(366)](r,o)}))}}},Ao),s}[Zo(355)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(305)];this[t(311)][t(378)][t(434)](t(422),(async()=>{const i=t;this[i(311)][i(345)](i(327));const s=this[i(311)][i(395)][i(437)](i(388));if(this[i(311)][i(395)][i(318)](i(411))){const t=this[i(311)][i(395)][i(437)](i(411));await t[i(360)]()}else await s[i(346)]();if(this[i(311)][i(395)][i(318)](i(306))&&this[i(311)][i(395)][i(437)](i(306))[i(386)](),this[i(311)][i(395)][i(318)](i(347))){const t=this[i(311)][i(395)][i(437)](i(347));t[i(371)]&&t[i(326)]()}const n=this[i(290)]();return e(n)[i(298)]((t=>{const e=i;return this[e(292)]=t,this[e(311)][e(395)][e(318)](e(349))&&this[e(311)][e(395)][e(437)](e(349))[e(314)](),this[e(311)][e(395)][e(318)](e(423))&&(this[e(311)][e(395)][e(437)](e(424))[e(321)][e(416)][e(293)][e(365)]=e(350)),t}))[i(373)]((t=>(console[i(435)](t),this[i(311)][i(382)](i(327)),null)))}))}[Zo(300)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(351)];this[t(311)][t(378)][t(434)](t(334),(()=>(this[t(311)][t(395)][t(318)](t(306))&&this[t(311)][t(395)][t(437)](t(306))[t(386)](),this[t(311)][t(395)][t(318)](t(423))&&(this[t(311)][t(395)][t(437)](t(424))[t(321)][t(416)][t(293)][t(365)]=""),this[t(292)][t(395)][t(437)](t(335))[t(354)](),e(this[t(292)])[t(298)]((()=>{const e=t;if(this[e(311)][e(382)](e(327)),this[e(292)]=null,this[e(311)][e(395)][e(318)](e(349))){const t=this[e(311)][e(395)][e(437)](e(349));t[e(314)](),t[e(302)]()}})))))}[Zo(384)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361)),s=this[e(311)][e(378)][e(437)](e(353)),n=this[e(311)][e(378)][e(437)](e(310));return Wo[e(427)](n,t)[e(298)]((t=>(s[e(293)][e(365)]=e(340),i[e(293)][e(365)]=e(350),this[e(381)]=!0,t)))}[Zo(376)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361));return this[e(311)][e(378)][e(437)](e(353))[e(293)][e(365)]=e(350),i[e(293)][e(365)]="",this[e(381)]=!1,t[e(418)]()}async[Zo(296)](t){const e=Zo,i=this[e(311)],s=this[e(292)][e(395)][e(437)](e(335)),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(317)),o=s[e(383)][e(408)](t);let a,c,u;try{await r[e(379)](o,this[e(341)]),a=r[e(438)](o),c=r[e(352)](o)}catch(t){return void console[e(435)](t)}i[e(404)][e(432)]((t=>{const s=e;for(const e of Array[s(399)](i[s(404)][s(303)][s(307)](s(316))))t[s(288)](e)})),s[e(398)]=!1,i[e(404)][e(433)]((t=>{const s=e;t[s(369)](null),t[s(319)](i[s(404)][s(333)][s(421)][s(359)]());const n=Object[s(325)](a);for(const e of i[s(404)][s(333)][s(419)])s(339)!=e[s(391)]&&e[s(412)]()&&!n[s(315)](e[s(391)])&&t[s(337)](e);for(const e of n){let n=i[s(404)][s(333)][s(312)](e);n&&n[s(412)]()||(n=t[s(370)](e));const r=c[e],o=Object[s(325)](r),u=a[e];for(const e of n[s(359)]())o[s(315)](e)||t[s(356)](e,n);for(const i of o)t[s(405)](i,c[e][i],n);t[s(414)](t[s(323)](n)),t[s(294)](i[s(348)][s(385)](u,n),n,0)}}));const l=X(i[e(407)],e(396));return u=o[e(397)]?-1==o[e(397)][e(357)](l)?l+": "+o[e(397)]:o[e(397)]:l+": "+o[e(374)][e(299)](i[e(407)][e(428)],{month:e(389),day:e(336)})+", "+o[e(374)][e(297)](i[e(407)][e(428)],{hour:e(336),minute:e(336)}),await n[e(304)]({name:u}),s[e(398)]=!0,i[e(378)][e(437)](e(439))[e(351)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=152]})(t,e)}function Ko(){var t=["522HQAdbo","7018795gayNrO","12ygChec","32450940icaEMv","2049020UVdxxF","111128NSSUTV","69682UUnDeU","2635740NJZivR","65133YnlhIq","80qBOJVt"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(659282===-parseInt(e(156))/1+-parseInt(e(159))/2*(parseInt(e(158))/3)+-parseInt(e(157))/4+-parseInt(e(154))/5*(-parseInt(e(152))/6)+-parseInt(e(161))/7+-parseInt(e(155))/8*(parseInt(e(160))/9)+parseInt(e(153))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|