@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250418.0 → 0.0.0-nightly-20250419.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>te,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>B,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==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;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 E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(434744===parseInt(e(310))/1*(parseInt(e(311))/2)+parseInt(e(307))/3+parseInt(e(313))/4+parseInt(e(322))/5+parseInt(e(329))/6+-parseInt(e(306))/7+-parseInt(e(331))/8*(parseInt(e(325))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(314)];[j(324)];[j(328)];[j(315)];[j(318)];[j(333)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(314)]=e[i(314)]||null,this[i(324)]=e[i(324)]||[],this[i(328)]=e[i(328)]||null,this[i(315)]=e[i(315)]||0,this[i(318)]=e[i(318)]||0,this[i(330)](i(308),e[i(308)]||""),this[i(330)](i(323),e[i(323)]||new Date),this[i(330)](i(320),e[i(320)]||{})}[j(319)](t){this[j(312)]({name:t})}[j(309)](t,e){const i=j,s=R(this[i(320)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(312)]({attributes:s})}[j(326)](t){const e=j,i=R(this[e(320)]);(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]&&M(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(312)]({attributes:i})}[j(312)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(308),i(323),i(328),i(324),i(320),i(315),i(318),i(321)];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(324)]&&(n[i(316)]=n[i(324)][i(317)]((t=>t.id)),delete n[i(324)]),this[i(332)](i(312),n,e))}[j(327)](){const t=j;return{id:this.id,name:this[t(308)],creatorId:this[t(314)]?this[t(314)].id:null,authorsIds:this[t(324)][t(317)]((t=>t.id)),diffData:this[t(328)],createdAt:this[t(323)],attributes:this[t(320)],fromVersion:this[t(318)],toVersion:this[t(315)]}}}function z(){const t=["creator","toVersion","authorsIds","map","fromVersion","setName","attributes","creatorId","690725YpEUmw","createdAt","authors","90HkDERm","removeAttribute","toJSON","diffData","2935272bACcit","set","735528GQtcpw","fire","model","914865KFyhcf","569211GOOyTY","name","setAttribute","299mryohb","2918foFhqj","_update","926056eiBsmi"];return(z=function(){return t})()}var U=i(782),Z=i(211),H=i(783);function q(t,e){const i=Y();return(q=function(t,e){return i[t-=297]})(t,e)}const $=q;!function(t){const e=q,i=t();for(;;)try{if(477213===-parseInt(e(337))/1+parseInt(e(318))/2*(-parseInt(e(328))/3)+-parseInt(e(311))/4*(-parseInt(e(317))/5)+-parseInt(e(343))/6+-parseInt(e(304))/7+parseInt(e(340))/8*(-parseInt(e(302))/9)+parseInt(e(335))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[$(347)];static get[$(313)](){return[Z.Users]}static get[$(321)](){return $(300)}static get[$(330)](){return!0}static get[$(305)](){return!0}get[$(345)](){const t=$;return this[t(347)][t(345)]}constructor(e){const i=$;super(e),this[i(347)]=new t.Collection}[$(346)](){!async function(e){const i=k([106,108,121,117,53,49,73,110,104,100,115,90,76,111,83,98,97,105,119,52,67,102,75,89,87,107,78,118,103,122,85,120,79,99,69,82,113,71,80,86,55,57,68,109,72,48,54,56,101,66,88,74,84,77,65,116,112,51,81,70,114,50]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(327)](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([106]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(316)]((t=>String[e(334)](t)))[e(332)]("")}!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:1744934400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(299)]);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)}[$(301)](t){const e=$,i=this[e(333)][e(303)][e(326)](e(331));return new W({id:t.id,name:t[e(312)],creator:t[e(320)]?i[e(309)](t[e(320)]):null,diffData:t[e(344)]||t[e(306)],authors:t[e(307)][e(316)]((t=>i[e(309)](t))),createdAt:new Date(t[e(315)]),attributes:t[e(338)],fromVersion:t[e(325)],toVersion:t[e(323)]})}[$(308)](t,e=0){const i=$;this[i(347)][i(329)](t,e)}[$(341)](t){const e=$;return this[e(347)][e(326)](t)}[$(351)](t={toJSON:!1}){const e=$,i=Array[e(322)](this[e(347)]);return i[e(314)](),t[e(349)]?i[e(316)]((t=>t[e(349)]())):i}[$(324)](t){const e=$;return this[e(347)][e(324)](t)}[$(319)](t){const e=$,[,i]=this[e(350)](t,{direction:e(336)});return i}[$(348)](t){const e=$,[,i]=this[e(350)](t,{direction:e(297)});return i}[$(310)](t){const e=$,i=[];for(const s of this[e(350)](t[e(339)]))if(i[e(342)](s),s.id===t[e(298)])break;return i}*[$(350)](t,{direction:e=$(336),filter:i=()=>!0}={}){const s=$,n=s(336)===e?1:-1;let r=this[s(347)][s(326)](t),o=this[s(324)](r);for(yield r;r;){if(o+=n,r=this[s(341)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["6829856vuSBFu","getRevision","push","5247732zvoSnw","diffData","length","afterInit","_revisions","getLaterVisibleRevision","toJSON","getRevisionsIterator","getRevisions","later","oldRevisionId","href","RevisionsRepository","createRevision","9ZJlHUg","plugins","5754490doZyms","isPremiumPlugin","data","authorsIds","addRevision","getUser","getRevisionsInDiff","40JMkQbR","name","requires","reverse","createdAt","map","246375faULJt","635906fgubFg","getEarlierVisibleRevision","creatorId","pluginName","from","toVersion","getIndex","fromVersion","get","isNaN","3eabEcN","add","isOfficialPlugin","Users","join","editor","fromCharCode","33138590tQctkE","earlier","461019LoQhtd","attributes","newRevisionId"];return(Y=function(){return t})()}function J(){const t=["config","fillerOffset","viewChildrenToDom","_removeRevisionMarkers","toData","name","diffData","getRevision","render","insertions","loadRevisionData","parse","startsWith","length","document","_setCustomProperty","children","attachChange","div","6431960oWwzyN","append","isAttached","374981gMcwTS","1336OegYFc","441609RWaXse","revision-end","childNodes","customProperties","revision-start","domDocument","attributesAfter","data-revision-","getRevisionRootsAttributes","default","20IEvqaa","9903zvuQbR","_appendChild","_viewClassToTypeChar","innerHTML","forEach","constructor","type","processor","457745ieDIuj","_getTypeCharForViewElement","toModel","isPremiumPlugin","getRevisionDocumentData","editor","useFillerType","domChildrenToView","domConverter","pluginName","12924YDfnrr","collaboration.channelId","string","data","marked","editing","createElement","map","getFillerOffset","_typeCharToViewClass","isOfficialPlugin","filter","3572820roaxXU","RevisionHistoryUtils","from","attributes","view","get","292DfTfLa","_getViewFromDiffObj","htmlProcessor","_makeModelFromViewString"];return(J=function(){return t})()}const G=K;function K(t,e){const i=J();return(K=function(t,e){return i[t-=133]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(309537===-parseInt(e(204))/1+-parseInt(e(178))/2*(-parseInt(e(142))/3)+-parseInt(e(141))/4*(-parseInt(e(150))/5)+-parseInt(e(172))/6+-parseInt(e(206))/7+-parseInt(e(205))/8*(parseInt(e(160))/9)+parseInt(e(201))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Q extends U.Plugin{static get[G(159)](){return G(173)}static get[G(170)](){return!0}static get[G(153)](){return!0}[G(144)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(169)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(192)](t,e){const i=G;if(t[i(188)]||!e)return;const s=this[i(155)][i(182)][i(177)](i(161)),n=await e[i(189)]({channelId:s,revisionId:t.id});t[i(188)]=n[i(188)]}[G(154)](t){const e=G,i={};for(const s in t[e(188)]){if(t[e(188)][s][e(199)]&&!t[e(188)][s][e(199)][e(203)])continue;const n=this[e(185)](JSON[e(193)](t[e(188)][s][e(191)])),r=this[e(155)][e(165)][e(176)][e(196)],o=new H.ViewDocumentFragment(r,n[e(167)]((t=>this[e(179)](t,!1))));this[e(155)][e(163)][e(149)][e(156)](e(164)),i[s]=this[e(155)][e(163)][e(149)][e(186)](o),this[e(155)][e(163)][e(149)][e(156)](e(140))}return i}[G(139)](t){const e=G,i={};for(const s in t[e(188)])t[e(188)][s][e(199)]&&!t[e(188)][s][e(199)][e(203)]||(i[s]=t[e(188)][s][e(137)]||{});return i}[G(151)](t){const e=G;return this[e(144)][e(177)](t[e(147)])}[G(179)](t,e){const i=G,s=this[i(155)][i(165)][i(176)][i(196)];if(i(162)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(148)]||"r"==t[i(148)]?[]:t[i(198)][i(167)]((t=>this[i(179)](t,e)));const o=this[i(169)][i(177)](t[i(148)])||H.ViewElement,a=this[i(155)][i(163)][i(180)][i(158)];if(n=new o(s,t[i(187)],t[i(175)],r),"u"==t[i(148)]&&t[i(198)][0]){const r=t[i(198)][0];if(n[i(190)]=function(t){const e=i,s=t[e(166)](e(200));return s[e(145)]=r,s[e(133)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(143)](n);const e=Array[i(174)](a[i(184)](t,{bind:!1})),r=a[i(136)][i(166)](i(200));r[i(202)](...e),n=Array[i(174)](a[i(157)](r))[0]}}else if("r"==t[i(148)]&&t[i(198)][0]){const r=t[i(198)][0];if(n[i(190)]=function(t){t[i(145)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(143)](n);const e=Array[i(174)](a[i(184)](t,{bind:!1})),r=a[i(136)][i(166)](i(200));r[i(202)](...e);const o=Array[i(174)](a[i(157)](r));o[i(195)]>1?n[i(143)](o):n=o[0]}}if(t[i(134)])for(const[e,s]of t[i(134)])n[i(197)](e,s);const c=void 0===t[i(183)]?null:t[i(183)];return null!==c&&(n[i(168)]=()=>c),n}}[G(181)](t){const e=G,i=JSON[e(193)](t),s=this[e(155)][e(165)][e(176)][e(196)],n=new H.ViewDocumentFragment(s,i[e(167)]((t=>this[e(179)](t,!0))));return this[e(155)][e(163)][e(152)](n)}[G(185)](t){const e=G;return(t=t[e(171)]((t=>!t[e(187)]||e(135)!==t[e(187)]&&e(207)!==t[e(187)])))[e(146)]((t=>{const i=e;i(162)!=typeof t&&(t[i(198)]=this[i(185)](t[i(198)]),t[i(175)]=t[i(175)][i(171)]((t=>!t[0][i(194)](i(138)))))})),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)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}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,E;const V=(s=s??new Map).get(t),D=s.get(i);if(null!=V&&null!=D)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ft();return(ot=function(t,e){return i[t-=472]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(8e5===-parseInt(e(725))/1*(parseInt(e(726))/2)+-parseInt(e(695))/3*(-parseInt(e(536))/4)+parseInt(e(772))/5*(-parseInt(e(530))/6)+parseInt(e(489))/7*(-parseInt(e(722))/8)+-parseInt(e(743))/9*(-parseInt(e(668))/10)+parseInt(e(745))/11+parseInt(e(660))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class at extends U.Plugin{[rt(735)];[rt(685)];[rt(639)]=null;[rt(748)];[rt(597)]=null;[rt(595)];[rt(582)];[rt(519)];[rt(510)];[rt(599)];[rt(596)];[rt(663)];[rt(761)];[rt(733)];static get[rt(554)](){return rt(659)}static get[rt(671)](){return!0}static get[rt(587)](){return!0}static get[rt(669)](){return[Z.Users,B,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(748)]=this[i(678)][i(762)][i(710)](i(629)),this[i(599)]=this[i(678)][i(762)][i(710)](i(690)),this[i(595)]=new ct(this[i(678)]),this[i(519)]=this[i(678)][i(524)][i(710)](i(538))||i(615),this[i(510)]=new Map,this[i(733)]=null;const s=(0,t.uid)();this[i(582)]={history:this[i(678)][i(504)][i(720)][i(676)],getLatestVersion:()=>Promise[i(496)](this[i(678)][i(504)][i(720)][i(512)]),getCurrentRevisionId:()=>s},this[i(484)](i(483),!1),this[i(484)](i(573),!0),this[i(484)](i(493),!1),this[i(678)][i(524)][i(585)](i(591),!0),this[i(678)][i(794)][i(473)](i(731))[i(648)]({view:i(545)})}[rt(792)](){const t=rt;this[t(542)](),this[t(678)][t(689)].on(t(522),(()=>{const e=t,i=this[e(748)][e(650)](0),s=i&&null===i[e(713)]?i:null;if(this[e(663)]=!!s&&this[e(678)][e(524)][e(710)](e(591)),this[e(678)][e(762)][e(740)](e(753))){const t=this[e(582)][e(586)](),n=this[e(748)][e(650)](t);if(n)this[e(761)]=n[e(657)],this[e(663)]=!1;else{const t=this[e(582)][e(676)][e(506)][e(706)]((t=>!t[e(476)])),n=t?t[e(497)]:this[e(582)][e(676)][e(512)];i?(i[e(540)]<n&&i[e(752)]({toVersion:n}),this[e(663)]?(this[e(582)][e(586)]=()=>s.id,this[e(761)]=s[e(657)]):(this[e(761)]=i[e(540)],this[e(663)]=!1)):(this[e(761)]=n,this[e(663)]=!1)}}else s&&(this[e(678)][e(504)][e(720)][e(676)][e(512)]=Math[e(649)](s[e(540)],this[e(678)][e(504)][e(720)][e(676)][e(512)]),s[e(657)]===s[e(540)]?(0!==s[e(657)]&&(this[e(582)][e(586)]=()=>s.id),this[e(663)]=!1):this[e(663)]&&(this[e(582)][e(586)]=()=>s.id,this[e(761)]=s[e(657)])),this[e(663)]||(this[e(761)]=this[e(678)][e(504)][e(720)][e(512)]);this[e(595)][e(792)](this[e(582)][e(676)]),this[e(523)](this[e(761)]),this[e(635)](this[e(761)]),this[e(597)]&&this[e(533)]()})),this[t(617)](t(483)).to(this,t(493),(t=>!t)),this[t(735)]=this[t(678)][t(524)][t(710)](t(735));const e=this[t(678)];this[t(685)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(625)==r||i(515)==r||i(727)==r||i(598)==r||i(777)==r||i(474)==r||i(580)==r||i(559)==r){delete e[n],s=r,clearInterval(this[i(685)]),this[i(685)]=void 0;break}}i(515)==s&&e[i(593)](i(774)),i(727)==s&&e[i(593)](i(687)),i(598)==s&&e[i(593)](i(763)),i(777)==s&&e[i(593)](i(708),i(589)),i(474)==s&&e[i(593)](i(600)),i(580)==s&&e[i(593)](i(521)),i(559)==s&&e[i(593)](i(568))}),1e3)}async[rt(785)](){const t=rt;if(this[t(748)][t(551)]>0){const e=this[t(748)][t(650)](0),i=await this[t(675)](e),s=await this[t(741)](e);this[t(505)](i,s)}}[rt(646)](){const t=rt;super[t(646)](),this[t(685)]&&clearInterval(this[t(685)])}[rt(539)](t){this[rt(582)]=t}async[rt(550)](){const t=rt,e=await this[t(582)][t(557)]();if(e>this[t(639)][t(540)]){await this[t(658)]();const i=this[t(714)]({revision:this[t(639)],to:e});i[t(771)]=i[t(666)][t(779)]((e=>this[t(678)][t(762)][t(710)](t(503))[t(594)](e))),this[t(639)][t(752)](i)}}async[rt(518)](e={},i=null){const s=rt,n=[];await this[s(658)](),this[s(663)]=!1,i>this[s(639)][s(540)]&&(i=null),null===i&&(i=await this[s(582)][s(557)]());const r=this[s(491)](i),o=this[s(714)]({from:r,to:i});if(this[s(639)][s(540)]<i){const t=this[s(714)]({revision:this[s(639)],from:i,to:i});t[s(771)]=[],t[s(666)]=[],t.id=this[s(639)].id,this[s(639)][s(752)](t,!0),delete t[s(771)],n[s(507)](t)}e[s(679)]=this[s(678)][s(762)][s(710)](s(503)).me.id,e[s(482)]=e[s(482)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(716)](e);n[s(507)](e);const c=this[s(748)][s(618)](a);if(0!==c){const t=this[s(748)][s(650)](c-1);if(t[s(657)]!==i){const r=this[s(595)][s(694)](i,t[s(540)]),o={id:t.id,diffData:r[s(485)],authorsIds:r[s(666)],authors:r[s(666)][s(779)]((t=>this[s(678)][s(762)][s(710)](s(503))[s(594)](t))),fromVersion:i};t===this[s(639)]&&(o[s(773)]=new Date(e[s(773)][s(633)]()+10)),t[s(752)](o,!0),delete o[s(771)],n[s(507)](o)}}if(this[s(597)]){for(const t of n)this[s(784)](t.id,t,!0);this[s(533)]()}return a}[rt(716)](t){const e=rt,i=this[e(748)][e(535)](t);return this[e(597)]&&i.on(e(752),((t,i,s)=>{const n=e;s||(this[n(784)](i.id,i,!0),this[n(533)]())})),this[e(748)][e(571)](i,this[e(711)](i)),i}async[rt(675)](t){const e=rt;return await this[e(599)][e(613)](t,this[e(597)]),this[e(599)][e(675)](t)}async[rt(741)](t){const e=rt;return await this[e(599)][e(613)](t,this[e(597)]),this[e(599)][e(741)](t)}[rt(533)](){const t=rt;if(0===this[t(510)][t(560)])return;if(this[t(493)])return;let e=Array[t(750)](this[t(510)][t(790)]());this[t(510)][t(744)]();for(let i=0;i<e[t(551)];i++){const s=e[i];let n=!1;for(const e of Object[t(742)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(620)]((t=>null!==t)),!e[t(551)])return;for(let i=0;i<e[t(551)];i++){const s=e[i];void 0!==s[t(657)]&&void 0===s[t(540)]&&(s[t(540)]=this[t(748)][t(650)](s.id)[t(540)]),void 0!==s[t(540)]&&void 0===s[t(657)]&&(s[t(657)]=this[t(748)][t(650)](s.id)[t(657)])}const i=this[t(678)][t(524)][t(710)](t(538));this[t(493)]=!0,this[t(623)](),this[t(597)][t(652)](e,i)[t(749)]((()=>{this[t(493)]=!1}))[t(683)]((e=>{const i=t;if(e)for(const t of e)this[i(500)]({id:t.id,createdAt:t[i(773)]});this[i(709)](),this[i(533)]()}))}[rt(714)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(657)],i=null!==i?i:t[s(540)];const n=this[s(595)][s(694)](e,i),r={diffData:n[s(485)],authorsIds:n[s(666)],fromVersion:e,toVersion:i};if(!t||i!==t[s(540)]){const t=i-1,e=this[s(582)][s(676)][s(746)](t);r[s(773)]=e&&e[s(773)]||new Date}if(this[s(733)]&&e===this[s(733)][s(657)])for(const t of this[s(733)][s(771)])r[s(666)][s(783)](t.id)||r[s(666)][s(507)](t.id);return r}[rt(784)](t,e,i){const s=rt;if(this[s(510)][s(740)](t)){const n=this[s(510)][s(710)](t);e=i?{...n,...e}:{...e,...n}}this[s(510)][s(484)](t,e)}[rt(500)](t){const e=rt,i=this[e(748)][e(650)](t.id);if(t[e(773)]&&(t[e(773)]=new Date(t[e(773)])),t[e(666)]){const i=this[e(678)][e(762)][e(710)](e(503));t[e(771)]=t[e(666)][e(779)]((t=>i[e(594)](t)))}i[e(752)](t,!0)}[rt(523)](t){const e=rt,i=this[e(748)][e(650)](this[e(748)][e(551)]-1);if(i)this[e(519)]=i.id;else{const i=!this[e(678)][e(504)][e(720)][e(588)][e(706)]((t=>this[e(678)][e(504)][e(732)](t))),s=this[e(678)][e(762)][e(710)](e(503)).me.id,n=X(this[e(678)][e(781)],e(i?775:604));this[e(492)]({from:t,to:t,id:this[e(519)],name:n,creatorId:s})}}[rt(635)](t){const e=rt,i=this[e(582)][e(586)]();this[e(639)]=this[e(748)][e(650)](i),this[e(639)]||(this[e(639)]=this[e(492)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(658)](){const t=rt;this[t(663)]&&!this[t(733)]&&(await this[t(599)][t(613)](this[t(639)],this[t(597)]),this[t(595)][t(681)](this[t(639)]),this[t(733)]={fromVersion:this[t(639)][t(657)],authors:this[t(639)][t(771)][t(788)]()})}[rt(505)](e,i){const s=rt;let n=this[s(678)][s(524)][s(710)](s(789)),r=this[s(678)][s(524)][s(710)](s(610));if(void 0===n){n={};for(const t of this[s(678)][s(504)][s(720)][s(511)]())n[t]=""}if(s(640)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(678)][s(504)][s(720)][s(511)]())r[t]={}}let o=!1;const a=Object[s(742)](n),c=Object[s(742)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(508)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(742)](r[t])[s(551)]>0){o=!0;break}}o||(o=c[s(513)]((t=>!this[s(678)][s(504)][s(720)][s(502)](t)))),o&&(0,t.logWarning)(s(601),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(678)][s(524)][s(484)](s(789),e),this[s(678)][s(524)][s(484)](s(610),i)}[rt(623)](){const t=rt;if(!this[t(596)]){const e=this[t(678)][t(762)][t(710)](t(627));this[t(596)]=e[t(636)](X(this[t(678)][t(781)],t(531)))}}[rt(709)](){const t=rt;this[t(596)]&&(this[t(678)][t(762)][t(710)](t(627))[t(549)](this[t(596)]),this[t(596)]=null)}[rt(711)](t){const e=rt,i=this[e(748)][e(577)]();i[e(758)]();let s=0;for(;s<i[e(551)];){const n=i[s];if(n===this[e(639)]){s++;continue}if(n.id===this[e(519)])break;const r=t[e(540)]-n[e(540)]||t[e(657)]-n[e(657)];if(r>0)break;if(r<0)s++;else{if(!t[e(713)]&&n[e(713)])break;if(n[e(713)]||!t[e(713)]){if(t[e(773)]>n[e(773)])break;s++}else s++}}return s}[rt(491)](t){const e=rt,i=this[e(748)][e(577)]();i[e(758)](),i[e(662)]();const s=i[e(706)]((i=>i[e(540)]<=t))[e(540)];return s<this[e(761)]?this[e(761)]:s}[rt(492)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(714)]({from:e,to:i});o[r(482)]=t,o[r(679)]=s,o.id=n;const a=this[r(716)](o);return this[r(597)]&&this[r(784)](o.id,o,!0),a}[rt(542)](){const t=rt;this[t(678)][t(794)][t(473)](t(715))[t(584)]({model:t(545)})}}class ct{[rt(678)];[rt(528)];[rt(767)];[rt(634)];[rt(787)];[rt(721)];[rt(737)];[rt(754)];[rt(488)];[rt(565)];[rt(575)];[rt(656)];[rt(529)];[rt(619)];[rt(477)];[rt(699)];[rt(700)];constructor(t){const e=rt;this[e(678)]=t,this[e(767)]=new Map,this[e(634)]=-1,this[e(787)]=-1,this[e(721)]=new Map,this[e(737)]=new Map,this[e(754)]=new Map,this[e(488)]=new Map,this[e(565)]=new Map,this[e(575)]=new Map,this[e(656)]=new Map,this[e(529)]=new Map,this[e(619)]=new Map,this[e(477)]=new Map,this[e(699)]=1}[rt(792)](t){const e=rt;this[e(528)]=t;const i=new Map,s=new Map,n=this[e(678)][e(504)][e(720)][e(588)][e(779)]((t=>t[e(514)]));for(const t of n){const n=this[e(678)][e(504)][e(720)][e(502)](t),r=ut(n);i[e(484)](t,r),s[e(484)](t,Object[e(552)](n[e(553)]()))}const r=Array[e(750)](this[e(678)][e(504)][e(558)])[e(779)]((t=>[t[e(482)],t[e(667)]()])),o=this[e(528)][e(512)];this[e(590)](o,i,r,s),this[e(700)]=this[e(699)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(484)](t,i),c[e(484)](t,{})}this[e(590)](Number[e(686)],a,[],c)}[rt(694)](t,e){const i=rt;if(this[i(634)]===t&&this[i(787)]<=e)this[i(767)][i(560)]>1&&this[i(728)](this[i(787)]),this[i(702)](this[i(787)],e,!0);else{if(!this[i(767)][i(740)](t)){const e=this[i(541)](t);this[i(628)](e,t,!1)}this[i(628)](t,e,!0)}return this[i(634)]=t,this[i(787)]=e,this[i(543)]()}[rt(681)](t){const e=rt,i=this[e(678)][e(762)][e(710)](e(690));this[e(602)](),this[e(634)]=t[e(657)],this[e(787)]=t[e(540)];for(const s in t[e(485)]){const n=t[e(485)][s][e(532)],r=R(t[e(485)][s][e(637)])||{},o=i[e(516)](t[e(485)][s][e(776)]);o[e(514)]=s,o[e(546)]=!n||!n[e(723)],o[e(723)]=()=>o[e(546)],this[e(488)][e(484)](s,o),this[e(565)][e(484)](s,r),n&&this[e(477)][e(484)](s,n);const a=this[e(684)](o);this[e(656)][e(484)](s,a);for(const[t,i]of o[e(558)]){if(!t[e(567)](e(712)))continue;const s=t[e(564)](":")[2];for(const t of i[e(509)]({singleCharacters:!0})){const i=this[e(696)](t),n=e(562)==t[e(670)]?t[e(765)][e(624)][e(788)](0,-1):t[e(765)][e(624)],r=a[e(755)](n)[e(563)](i);this[e(529)][e(484)](r,{userId:s})}}}this[e(700)]=this[e(699)];const s=[...Array(this[e(699)])[e(742)]()][e(788)](1)[e(620)]((t=>!this[e(529)][e(740)](t)));let n=0;const r=new Map;for(const o in t[e(485)]){const a=t[e(485)][o][e(532)],c=R(t[e(485)][o][e(544)])||{},u=i[e(516)](t[e(485)][o][e(654)]);u[e(514)]=o,u[e(546)]=!a||a[e(723)],u[e(723)]=()=>u[e(546)],this[e(737)][e(484)](o,u),this[e(754)][e(484)](o,c);const l=this[e(684)](u,Number[e(686)]);this[e(575)][e(484)](o,l),r[e(484)](o,u[e(723)]()?c:{});for(const[t,i]of u[e(558)]){if(!t[e(567)](e(712)))continue;const s=t[e(564)](":")[2];for(const t of i[e(509)]({singleCharacters:!0})){const i=this[e(696)](t),n=this[e(699)]++,r=e(562)==t[e(670)]?t[e(765)][e(624)][e(788)](0,-1):t[e(765)][e(624)];l[e(755)](r)[e(572)](i,n),this[e(529)][e(484)](n,{userId:s})}}for(const t of this[e(678)][e(504)][e(796)](u)[e(509)]({singleCharacters:!0})){const i=this[e(696)](t),r=e(562)==t[e(670)]?t[e(765)][e(624)][e(788)](0,-1):t[e(765)][e(624)],o=l[e(755)](r);o[e(563)](i)>0||o[e(572)](i,s[n++])}for(const[t,i]of u[e(558)])t[e(567)](e(712))||this[e(721)][e(484)](t,i)}const o=lt(e(607));this[e(488)][e(484)](e(607),o),this[e(656)][e(484)](e(607),this[e(684)](o,1));const a=lt(e(607));this[e(737)][e(484)](e(607),a),this[e(575)][e(484)](e(607),this[e(684)](a,1));const c=Array[e(750)](this[e(737)])[e(779)]((([t,e])=>[t,ut(e)]));this[e(590)](this[e(787)],c,this[e(721)],r)}[rt(631)](){const t=rt;this[t(602)](),this[t(634)]=-1,this[t(787)]=-1,this[t(767)][t(744)](),this[t(792)](this[t(528)])}[rt(590)](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(484)](t,{start:e[n(680)][n(561)](),end:e[n(757)][n(561)](),rootName:e[n(769)][n(514)]});this[n(767)][n(484)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(728)](t){const e=rt;this[e(767)][e(622)](t)}[rt(602)](){const t=rt;this[t(529)][t(744)](),this[t(619)][t(744)](),this[t(477)][t(744)](),this[t(737)][t(744)](),this[t(754)][t(744)](),this[t(488)][t(744)](),this[t(565)][t(744)](),this[t(575)][t(744)](),this[t(656)][t(744)](),this[t(721)][t(744)](),this[t(699)]=1,this[t(700)]=this[t(699)]}[rt(684)](t,e=null){const i=rt;let s=null;t.is(i(674))||(s=new H.Element(t[i(482)],{vid_start:null===e?this[i(699)]++:e++}));const n=[];for(const s of t[i(499)]())if(s.is(i(569))){n[i(507)](this[i(684)](s,e));const t=n[n[i(551)]-1];null!==e&&(e=t.is(i(569),i(495))?t[i(563)](i(647))+1:t[i(563)](i(487))+1)}else for(let t=0;t<s[i(576)];t++)n[i(507)](new H.Element(i(495),{vid:null===e?this[i(699)]++:e++}));if(t.is(i(674))){const e=lt(t[i(514)]);return e[i(677)](0,n),e}return s[i(572)](i(487),null===e?this[i(699)]++:e++),s[i(677)](0,n),s}[rt(628)](t,e,i){const s=rt;this[s(602)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(767)][s(710)](t);this[s(488)]=new Map(n),this[s(565)]=new Map(R(o));for(const[t,e]of this[s(488)])if(s(607)!==t&&(this[s(737)][s(484)](t,ut(e)),this[s(754)]=new Map(R(o)),i)){const i=this[s(699)];this[s(575)][s(484)](t,this[s(684)](e)),this[s(656)][s(484)](t,this[s(684)](e,i))}this[s(700)]=this[s(699)],this[s(737)][s(484)](s(607),ut(this[s(488)][s(710)](s(607)))),i&&this[s(575)][s(484)](s(607),this[s(684)](this[s(488)][s(710)](s(607))));for(const[t,e]of r){const i=this[s(488)][s(710)](e[s(514)]),n=this[s(737)][s(710)](e[s(514)]),r=new H.Range(this[s(612)](e[s(680)],i),this[s(612)](e[s(757)],i)),o=this[s(793)](r,n);i[s(558)][s(484)](t,r),this[s(721)][s(484)](t,o)}this[s(702)](t,e,i)}[rt(702)](t,e,i){const s=rt;for(const n of this[s(528)][s(770)](t,e))this[s(664)](n,i);for(const t of this[s(737)][s(790)]())t[s(558)][s(744)]();for(const[t,e]of this[s(721)])this[s(737)][s(710)](e[s(769)][s(514)])[s(558)][s(484)](t,e[s(561)]());const n=new Map,r=new Map;for(const[t,e]of this[s(737)])n[s(484)](t,ut(e)),r[s(484)](t,this[s(754)][s(710)](t));this[s(590)](e,n,this[s(721)],r)}[rt(541)](t){const e=rt,i=Array[e(750)](this[e(767)][e(742)]());i[e(527)](((t,e)=>t-e)),i[e(758)]();for(const e of i)if(e<t)return e;return Number[e(686)]}[rt(738)](t,e){const i=rt,s=Array[i(750)](e[i(558)])[i(779)]((([e,s])=>[e,this[i(793)](s,t)]));t[i(558)]=new Map(s)}[rt(655)](t){const e=rt;for(const i of this[e(721)][e(790)]()){const s=i[e(760)](t),n=H.Range[e(764)](s);i[e(680)]=n[e(680)],i[e(757)]=n[e(757)]}}[rt(664)](t,e){const i=rt;if(i(566)!=t[i(670)]&&i(724)!=t[i(670)]){if(i(782)==t[i(670)]){const s=t[i(701)][i(769)][i(514)];this[i(737)][i(740)](s)||(this[i(737)][i(484)](s,lt(s,!0)),this[i(754)][i(484)](s,{}),e&&this[i(575)][i(484)](s,lt(s,!0)))}else{if(i(537)==t[i(670)]||i(481)==t[i(670)]||i(730)==t[i(670)])return void this[i(579)](t);i(592)==t[i(670)]&&this[i(614)](t)}if(i(592)!==t[i(670)]){const e=this[i(705)](t,this[i(737)]);e[i(751)](),this[i(655)](e)}if(e)switch(t[i(670)]){case i(782):this[i(606)](t);break;case i(739):case i(549):case i(630):this[i(644)](t);break;case i(581):this[i(682)](t);break;case i(564):this[i(603)](t)}}else this[i(692)](t,e)}[rt(705)](t,e){const i=rt,s=t[i(561)]();return s[i(534)]=t[i(534)],this[i(520)](s,e),s}[rt(555)](t){const e=rt;return t[e(779)]((t=>{const i=e,s=this[i(696)](t);return Number(t[i(472)][i(563)](s))}))}[rt(547)](t,e){const i=rt;if(t.is(i(569),i(495)))e[i(507)]({item:t,type:i(632)});else{t.is(i(569))&&e[i(507)]({item:t,type:i(759)});for(const s of t[i(499)]())this[i(547)](s,e);t.is(i(569))&&e[i(507)]({item:t,type:i(562)})}return e}[rt(543)](){const t=rt,e=new Map(this[t(529)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(488)][t(742)](),...this[t(737)][t(742)]()]);a[t(622)](t(607));for(const e of a){const i=this[t(737)][t(710)](e)||lt(e,!1),s=this[t(488)][t(710)](e)||lt(e,!1);i[t(723)]()||s[t(723)]()?(n[t(654)][e]=ut(i),n[t(776)][e]=ut(s),this[t(738)](n[t(776)][e],s),this[t(738)](n[t(654)][e],i),r[t(654)][e]=this[t(547)](this[t(575)][t(710)](e),[]),r[t(776)][e]=this[t(547)](this[t(656)][t(710)](e)||lt(e,!1),[])):a[t(622)](e)}for(const n of a){const o=r[t(654)][n];for(const n of o){const r=this[t(696)](n),o=n[t(472)][t(563)](r);i[t(622)](o),o>=this[t(700)]&&s[t(484)](o,e[t(710)](o))}}for(const n of a){const a=r[t(654)][n],c=this[t(555)](r[t(776)][n]);let u=0;for(const n of a){const r=this[t(696)](n),a=n[t(472)][t(563)](r);if(!s[t(740)](a)&&!o[t(740)](a))if(i[t(740)](a))u++;else{if(a!=c[u]){const s=e[t(710)](a)||e[t(710)](c[u]);for(;a!=c[u];)i[t(740)](c[u])||(o[t(484)](c[u],s),e[t(484)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(654)][e];for(const e of n){const n=this[t(696)](e),r=e[t(472)][t(563)](n);if(o[t(740)](r)){const e=o[t(710)](r);i[t(740)](r)||i[t(484)](r,{...e}),s[t(484)](r,{...e})}}}for(const e of i[t(742)]())e>=this[t(700)]&&i[t(622)](e);const c=new Map;for(const e of a){let n=r[t(654)][e];for(const e of n)if(e[t(472)].is(t(569),t(791))){const i=this[t(696)](e),n=e[t(472)][t(563)](i);if(s[t(740)](n)){const i=e[t(472)][t(611)][t(611)][t(563)](t(479)),r=c[t(710)](i)||new Set;r[t(636)](s[t(710)](n)[t(486)]),c[t(484)](i,r)}}n=r[t(776)][e];for(const e of n)if(e[t(472)].is(t(569),t(791))){const s=this[t(696)](e),n=e[t(472)][t(563)](s);if(i[t(740)](n)){const s=e[t(472)][t(611)][t(611)][t(563)](t(479)),r=c[t(710)](s)||new Set;r[t(636)](i[t(710)](n)[t(486)]),c[t(484)](s,r)}}for(const e of c[t(742)]())(s[t(740)](e)||i[t(740)](e))&&c[t(622)](e)}for(const e of a){const n=r[t(654)][e];let o=null,a=null;for(const e of n){const n=this[t(696)](e),r=e[t(472)][t(563)](n),u=c[t(710)](r);u&&t(759)==e[t(670)]&&(o=Array[t(750)](u)[0],a=e[t(472)][t(563)](t(487))),o&&(i[t(484)](r,{userId:o}),s[t(484)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(776)][e],a=n[t(654)][e];for(const{userId:e}of this[t(619)][t(790)]())null!==e&&l[t(636)](e);for(const{userId:e}of this[t(477)][t(790)]())null!==e&&l[t(636)](e);this[t(642)](a,r[t(654)][e],s,t(719),l),this[t(642)](o,r[t(776)][e],i,t(641),l),u[e]={insertions:this[t(526)](a),deletions:this[t(526)](o),attachChange:this[t(477)][t(710)](e)||null,attributesBefore:R(this[t(565)][t(710)](e))||{},attributesAfter:R(this[t(754)][t(710)](e))}}return{diffData:u,authorsIds:Array[t(750)](l)}}[rt(734)](t){const e=rt;for(const[,i]of t[e(558)]){const t=i[e(680)][e(778)]()[e(620)]((t=>e(791)==t[e(482)]));for(const i of t)1==i[e(704)]&&i[e(645)](0).is(e(569),e(621))&&i[e(645)](0)[e(572)](e(609),!0)}}[rt(526)](t){const e=rt;this[e(734)](t);const i=this[e(678)][e(689)][e(643)](t,{}),s=Array[e(750)](i[e(499)]())[e(779)]((t=>this[e(556)](t)));return JSON[e(578)](s)}[rt(556)](t){const e=rt;if(t.is(e(495)))return t[e(689)];{const i=this[e(678)][e(762)][e(710)](e(690)),s=t,n=this[e(678)][e(689)][e(661)][e(638)],r={type:i[e(490)](s),name:s[e(482)],attributes:Array[e(750)](s[e(553)]()),children:Array[e(750)](s[e(499)]())[e(779)]((t=>this[e(556)](t)))};if(t.is(e(780))&&e(665)!=t[e(482)]){const i=t[e(672)](n[e(768)],n);r[e(608)][e(507)](i[e(583)])}else if(t.is(e(494))){const i=n[e(768)][e(475)](s[e(482)]);t[e(672)](i,n),r[e(608)][e(507)](i[e(480)])}const o=Array[e(750)](s[e(697)]());o[e(551)]>0&&(r[e(570)]=o);const a=s[e(651)]();return null!==a&&(r[e(756)]=a),r}}[rt(642)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(678)][r(504)];for(let s=0;s<e[r(551)];s++){const n=this[r(696)](e[s]),c=e[s][r(472)][r(563)](n),h=i[r(710)](c),d=s==e[r(551)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(486)]!=o[r(486)])&&(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(486)],d=l(712)+s+":"+h+":"+c++,f=u[l(795)](i,a);t[l(558)][l(484)](d,f),null!==h&&n[l(636)](h)}}[rt(696)](t){const e=rt;switch(t[e(670)]){case e(759):return e(479);case e(562):return e(487);default:return e(647)}}[rt(520)](t,e){const i=rt;t[i(497)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(710)](n[i(769)][i(514)]);t[s]=this[i(612)](n,r)}if(n instanceof H.Range){const r=e[i(710)](n[i(769)][i(514)]);t[s]=this[i(793)](n,r)}i(769)===s&&(t[i(769)]=e[i(710)](t[i(769)][i(514)]))}}[rt(793)](t,e){const i=rt;return this[i(678)][i(504)][i(795)](this[i(612)](t[i(680)],e),this[i(612)](t[i(757)],e))}[rt(612)](t,e){const i=rt;return this[i(678)][i(504)][i(478)](e,t[i(624)],t[i(718)])}[rt(606)](t){const e=rt,i=this[e(575)][e(710)](t[e(701)][e(769)][e(514)]),s=this[e(612)](t[e(701)],i),n=null===t[e(534)]?null:t[e(534)]||this[e(678)][e(762)][e(710)](e(503)).me.id,r=s[e(611)],o=this[e(699)],a=[];for(const i of t[e(548)])if(i.is(e(569)))a[e(507)](this[e(684)](i));else for(let t=0;t<i[e(576)];t++)a[e(507)](new H.Element(e(495),{vid:this[e(699)]++}));const c=this[e(699)];for(let t=o;t<c;t++)this[e(529)][e(484)](t,{userId:n});r[e(677)](s[e(698)],a)}[rt(644)](t){const e=rt;(t=this[e(705)](t,this[e(575)]))[e(751)]();const i=null===t[e(534)]?null:t[e(534)]||this[e(678)][e(762)][e(710)](e(503)).me.id,s=t[e(703)](),n=s[e(611)],r=s[e(698)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(645)](e);r.is(a(569),a(495))?s[a(484)](r[a(563)](a(647)),{userId:i}):(s[a(484)](r[a(563)](a(479)),{userId:i}),t(s,r,0,r[a(704)]),s[a(484)](r[a(563)](a(487)),{userId:i}))}}(this[e(529)],n,r,r+t[e(605)])}[rt(682)](t){const e=rt,i=null===(t=this[e(705)](t,this[e(575)]))[e(534)]?null:t[e(534)]||this[e(678)][e(762)][e(710)](e(503)).me.id,s=t[e(691)][e(611)],n=t[e(498)][e(611)],r=s[e(563)](e(487)),o=n[e(563)](e(479));s[e(572)](e(487),n[e(563)](e(487))),n[e(572)](e(487),r),this[e(529)][e(484)](o,{userId:i}),this[e(529)][e(484)](r,{userId:i}),t[e(751)]()}[rt(603)](t){const e=rt,i=null===(t=this[e(705)](t,this[e(575)]))[e(534)]?null:t[e(534)]||this[e(678)][e(762)][e(710)](e(503)).me.id,s=t[e(517)],n=t[e(525)][e(611)];t[e(751)]();const r=n[e(563)](e(487)),o=t[e(736)][e(693)];if(s){const t=o[e(563)](e(487)),s=n[e(563)](e(487));n[e(572)](e(487),t),o[e(572)](e(487),s),this[e(529)][e(484)](n[e(563)](e(487)),{userId:i}),this[e(529)][e(484)](o[e(563)](e(479)),{userId:i})}else{const t=this[e(699)]++,s=this[e(699)]++;n[e(572)](e(487),t),o[e(572)](e(479),s),o[e(572)](e(487),r),this[e(529)][e(484)](t,{userId:i}),this[e(529)][e(484)](s,{userId:i})}}[rt(614)](t){const e=rt;if(!t[e(766)])return;const i=(t=this[e(705)](t,this[e(737)]))[e(688)]?t[e(688)][e(769)]:null,s=t[e(729)]?t[e(729)][e(769)]:null;i&&this[e(721)][e(622)](t[e(482)]),s&&this[e(721)][e(484)](t[e(482)],t[e(729)][e(561)]());const n=null===t[e(534)]?null:t[e(534)]||this[e(678)][e(762)][e(710)](e(503)).me.id,r=t[e(482)];if(!this[e(619)][e(740)](r))return void this[e(619)][e(484)](r,{range:t[e(688)],userId:n});const o=this[e(619)][e(710)](r),a=o[e(574)],c=t[e(729)];null==a&&null==c||a&&c&&a[e(673)](c)?this[e(619)][e(622)](t[e(482)]):o[e(486)]=n}[rt(692)](t,e){const i=rt;this[i(737)][i(740)](t[i(514)])?this[i(737)][i(710)](t[i(514)])[i(546)]=t[i(707)]:(this[i(737)][i(484)](t[i(514)],lt(t[i(514)],!0)),this[i(754)][i(484)](t[i(514)],{}),e&&this[i(575)][i(484)](t[i(514)],lt(t[i(514)],!0)));const s=null===t[i(534)]?null:t[i(534)]||this[i(678)][i(762)][i(710)](i(503)).me.id,n=this[i(477)][i(710)](t[i(514)]);n&&n[i(486)]===s?this[i(477)][i(622)](t[i(514)]):this[i(477)][i(484)](t[i(514)],{userId:s,isAttached:t[i(707)]})}[rt(579)](t){const e=rt,i=this[e(754)][e(710)](t[e(769)][e(514)]);null===t[e(747)]?delete i[t[e(616)]]:i[t[e(616)]]=t[e(747)]}}function ut(t){const e=rt,i=lt(t[e(514)],t[e(723)]());for(const s of t[e(499)]()){const t=s[e(653)](!0);i[e(786)](t)}return i}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(514)]=t,s[i(546)]=e,s[i(723)]=()=>s[i(546)],s}function ht(t,e,i){const s=rt,n=s(562)==t[s(670)]?i[s(717)](t[s(472)],s(757)):i[s(501)](t[s(472)]);return i[s(478)](e,n[s(624)],n[s(718)])}function dt(t,e,i){const s=rt,n=s(759)==t[s(670)]?i[s(717)](t[s(472)],0):i[s(626)](t[s(472)]);return i[s(478)](e,n[s(624)],n[s(718)])}function ft(){const t=["bind","getIndex","_touchedMarkers","filter","paragraph","delete","_addPendingAction","path","revisionHistoryLicenseKeyValid","createPositionAfter","PendingActions","_calculateMetaData","RevisionsRepository","reinsert","reInit","text","getTime","_lastFrom","_createCurrentRevision","add","attributesBefore","domConverter","currentRevision","string","deletion","_markChanges","toView","_handleMoveOperation","getChild","destroy","vid","dataToMarker","max","getRevision","getFillerOffset","updateRevisions","_clone","insertions","_transformMarkers","_baseIdsRoots","fromVersion","_loadState","RevisionTracker","22742988refLEa","htmlProcessor","shift","_continueCurrentRevision","_handleOperation","$comment","authorsIds","getRange","10710doZRUg","requires","type","isOfficialPlugin","render","isEqual","documentFragment","getRevisionDocumentData","history","_insertChild","editor","creatorId","start","loadState","_handleMergeOperation","then","_makeIdsRoot","_licenseKeyCheckInterval","NEGATIVE_INFINITY","expired","oldRange","data","RevisionHistoryUtils","targetPosition","_handleRootOperation","nodeAfter","getData","39XIpmBP","_getVidAttributeName","getCustomProperties","offset","_revisionId","_startingRevisionId","position","_applyOperations","getMovedRangeStart","childCount","_cloneOperation","find","isAdd","featureNotAllowed","_removePendingAction","get","_findInsertionIndex","revision:","creator","buildRevisionData","dataDowncast","addRevisionData","createPositionAt","stickiness","insertion","document","_markers","361936cBsPCB","isAttached","detachRoot","1ulTWqY","1170748iKVWtc","revisionHistoryLicenseKeyExpired","_removeMetaData","newRange","changeRootAttribute","upcast","hasContent","_loadedStateData","_processRootBeforeSave","licenseKey","insertionPosition","_diffRoots","_copyMarkers","move","has","getRevisionRootsAttributes","keys","2898BEExSy","clear","8688790YxvjYz","getOperation","newValue","repository","finally","from","_execute","_update","RealTimeCollaborationClient","_diffRootsAttributes","getNodeByPath","fillerOffset","end","reverse","elementStart","getTransformedByOperation","_startingVersion","plugins","domainLimit","_createFromRanges","previousPosition","affectsData","_savedMetaData","domDocument","root","getOperations","authors","15LizplF","createdAt","invalid","Empty document","deletions","revisionHistoryLicenseKeyNotAllowed","getAncestors","map","uiElement","locale","insert","includes","_bufferUpdate","afterInit","_appendChild","_lastTo","slice","initialData","values","tableCell","init","_fixRange","conversion","createRange","createRangeIn","item","for","revisionHistoryLicenseKeyEvaluationLimit","createElement","_isInit","_touchedRoots","createPositionFromPath","vid_start","innerHTML","removeRootAttribute","name","isReady","set","diffData","userId","vid_end","_baseRoots","112nnzzjc","_getTypeCharForViewElement","_getFromVersion","_makeRevision","_isPendingUpdate","rawElement","$text","resolve","baseVersion","sourcePosition","getChildren","setRevisionData","createPositionBefore","getRoot","Users","model","_replaceEditorDataWithRevisionData","_operations","push","trim","getWalker","_bufferedUpdates","getRootNames","version","some","rootName","revisionHistoryLicenseKeyInvalid","_makeModelFromViewString","graveyardPosition","saveRevision","_initialRevisionId","_fixOperation","trialLimit","ready","_createInitialRevision","config","splitPosition","_prepareViewToSave","sort","source","_touched","2208942hxLHKB","PENDING_ACTION_REVISION_HISTORY","attachChange","sendBufferedUpdates","_authorId","createRevision","56528ZBloeQ","addRootAttribute","collaboration.channelId","setSource","toVersion","_getPreviousFrom","_setConversion","_getState","attributesAfter","revision","_isAttached","_generateTape","nodes","remove","update","length","fromEntries","getAttributes","pluginName","_getBaseVids","_getViewJson","getLatestVersion","markers","revisionHistoryLicenseKeyUsageLimit","size","clone","elementEnd","getAttribute","split","_baseRootsAttributes","addRoot","startsWith","usageLimit","element","customProperties","addRevision","_setAttribute","isEnabled","range","_idsRoots","offsetSize","getRevisions","stringify","_handleRootAttributeOperation","revisionHistoryLicenseKeyTrialLimit","merge","_source","outerHTML","markerToData","define","getCurrentRevisionId","isPremiumPlugin","roots","RevisionHistory","_saveMetaData","revisionHistory.resumeUnsavedRevision","marker","_showLicenseError","getUser","_revisionDataBuilder","_pendingAction","adapter","revisionHistoryLicenseKeyDomainLimit","_utils","evaluationLimit","editor-initial-data-replaced-with-revision-data","_reset","_handleSplitOperation","Initial revision","howMany","_handleInsertOperation","$graveyard","children","keepParagraph","rootsAttributes","parent","_fixPosition","loadRevisionData","_handleMarkerOperation","initial","key"];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=Vt;function Et(){const t=["10710440NZtvsk","extendTemplate","listenTo","form","stopPropagation","focusTracker","focus","arrowdown","_createRevisionNameInput","optional","locale","285872QqEDHv","errorText","ck-revision-history-save-revision-form","revisionNameInputValue","2867176PdNNzP","Name of the revision","arrowleft","1602629blaAgY","input","label","arrowright","element","trim","revisionNameInputView","keystrokes","add","revisionName","arrowup","220","set","5okUHIW","306366cfldqr","reset","fieldView","render","ck-responsive-form","2105920DAeNfz","1901307DcqJwj","value","setTemplate"];return(Et=function(){return t})()}function Vt(t,e){const i=Et();return(Vt=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(577444===-parseInt(e(400))/1+parseInt(e(385))/2+-parseInt(e(386))/3+-parseInt(e(404))/4+-parseInt(e(379))/5*(-parseInt(e(380))/6)+-parseInt(e(407))/7+parseInt(e(389))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Dt extends pt.View{[Rt(394)];[Rt(414)];[Rt(413)];constructor(e,i){const s=Rt;super(e),this[s(394)]=new t.FocusTracker,this[s(414)]=new t.KeystrokeHandler,this[s(378)](s(403),""),this[s(413)]=this[s(397)](i),this[s(388)]({tag:s(392),attributes:{class:["ck",s(402),s(384)],tabindex:"-1"},children:[this[s(413)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(383)](){const t=Rt;super[t(383)](),(0,pt.submitHandler)({view:this}),this[t(394)][t(415)](this[t(413)][t(411)]),this[t(414)][t(391)](this[t(411)]);const e=e=>e[t(393)]();this[t(414)][t(378)](t(410),e),this[t(414)][t(378)](t(406),e),this[t(414)][t(378)](t(376),e),this[t(414)][t(378)](t(396),e)}[Rt(395)](){const t=Rt;this[t(413)][t(395)]()}get[Rt(375)](){const t=Rt;return this[t(413)][t(382)][t(411)][t(387)][t(412)]()}set[Rt(375)](t){const e=Rt;this[e(413)][e(382)][e(411)][e(387)]=t[e(412)]()}[Rt(381)](){const t=Rt;this[t(413)][t(382)][t(411)][t(387)]="",this[t(413)][t(401)]=null}[Rt(397)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(399)],pt.createLabeledInputText),s=i[e(382)];s[e(390)]({attributes:{maxlength:e(377)}});let n=X(this[e(399)],e(405));return!t&&(n+=" ("+X(this[e(399)],e(398))+")"),i[e(409)]=n,s.on(e(408),(()=>{const t=e;this[t(403)]=s[t(411)][t(387)][t(412)]()})),i}}const Mt=Ft;function Ct(){const t=["buttonView","saveRevision","_registerMenuComponent","revisionHistory","19028RkUtnY","menu","show","177573FinkZv","RevisionHistoryUI","locale","revisionName","role","editing","isReady","revisionNameInputView","Save current revision","add","Open revision history","Accept","reset","requires","pluginName","Cancel","isPremiumPlugin","set","execute","revisionSave","1ADqSPf","1533626mxYALn","RevisionTracker","panelView","revisionHistory.requireRevisionName","submit","config","init","get","editor","_createSaveRevisionFormView","82104BHtgga","_showDialog","848659LNxUTx","29029440hZywtO","render","bind","delegate","children","menuitem","hide","componentFactory","Dialog","view","_saveRevisionFormView","items","370tkibXJ","2024229onYawu","showRevisionViewerCallback","isReadOnly","menuBar:revisionHistory","ck-button-action","Revision history","234syaaqq","plugins","addMany","isOfficialPlugin","The revision name cannot be empty.","errorText","80AoWnOc","focus","isOpen","6erOSRp","isEnabled"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(844460===parseInt(e(178))/1*(-parseInt(e(179))/2)+-parseInt(e(134))/3+parseInt(e(155))/4*(parseInt(e(146))/5)+-parseInt(e(149))/6*(-parseInt(e(120))/7)+parseInt(e(118))/8*(parseInt(e(140))/9)+parseInt(e(133))/10*(-parseInt(e(158))/11)+parseInt(e(121))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends U.Plugin{static get[Mt(172)](){return Mt(159)}static get[Mt(143)](){return!0}static get[Mt(174)](){return!0}static get[Mt(171)](){return[at]}[Mt(131)];[Mt(185)](){const t=Mt,e=this[t(187)],i=e[t(141)][t(186)](t(180));e.ui[t(128)][t(167)](t(154),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(181)][n(125)],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(123)](n(150)).to(i,n(164),i,n(150),e,n(136),((t,e,i)=>t&&e&&!i)),r[n(151)][n(175)]({icon:mt.IconHistory,label:X(s,n(139)),tooltip:!0}),u[n(175)]({label:X(s,n(166)),withText:!0,role:n(126)}),u[n(123)](n(150)).to(i,n(164),i,n(150),e,n(136),((t,e,i)=>t&&e&&!i)),u.on(n(176),(()=>this[n(119)]())),h[n(175)]({label:X(s,n(168)),withText:!0,role:n(126)}),h[n(123)](n(150)).to(i,n(164),e,n(136),((t,e)=>t&&!e)),h.on(n(176),(()=>{const t=n;e[t(184)][t(186)](t(154))[t(135)](),r[t(148)]=!1,e[t(163)][t(130)][t(147)]()})),c[n(125)][n(167)](u),l[n(125)][n(167)](h),a[n(162)]=n(156),a[n(132)][n(142)]([c,l]),o[n(167)](a),r})),e.ui[t(128)][t(167)](t(137),(()=>this[t(153)]()))}[Mt(153)](){const t=Mt,e=this[t(187)],i=e[t(160)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(151)][t(175)]({icon:mt.IconHistory,label:X(i,t(139))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(175)]({label:X(i,t(166))}),o[t(124)](t(176)).to(s),o.on(t(176),(()=>{this[t(119)]()})),r[t(125)][t(167)](o),n[t(132)][t(167)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(175)]({label:X(i,t(168))}),c[t(124)](t(176)).to(s),c.on(t(176),(()=>{const i=t;e[i(184)][i(186)](i(154))[i(135)]()})),a[t(125)][t(167)](c),n[t(132)][t(167)](a),s[t(181)][t(125)][t(167)](n),s}[Mt(119)](){const t=Mt,e=this[t(187)],i=e[t(160)],s=e[t(141)][t(186)](t(129)),n=e[t(141)][t(186)](t(180));function r(n){const r=t;e[r(184)][r(186)](r(182))&&""===n[r(161)]?n[r(165)][r(145)]=X(i,r(144)):(e[r(141)][r(186)](at)[r(152)]({name:n[r(161)]}),s[r(127)]())}this[t(131)]||(this[t(117)](),this[t(131)].on(t(183),(()=>r(this[t(131)])))),this[t(131)][t(170)](),s[t(157)]({id:t(177),title:X(i,t(166)),isModal:!0,content:this[t(131)],actionButtons:[{label:X(e[t(160)],t(173)),withText:!0,onExecute:()=>s[t(127)]()},{label:X(e[t(160)],t(169)),class:t(138),withText:!0,onCreate(i){const s=t;i[s(123)](s(150)).to(n,s(164),n,s(150),e,s(136),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(131)])}]})}[Mt(117)](){const t=Mt,e=this[t(187)],i=e[t(160)];this[t(131)]=new Dt(i,e[t(184)][t(186)](t(182))),this[t(131)][t(122)]()}}const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=402]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(118509===parseInt(e(404))/1*(-parseInt(e(434))/2)+-parseInt(e(431))/3*(-parseInt(e(435))/4)+parseInt(e(423))/5*(-parseInt(e(411))/6)+parseInt(e(429))/7+-parseInt(e(422))/8*(-parseInt(e(402))/9)+-parseInt(e(417))/10+-parseInt(e(418))/11*(-parseInt(e(426))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[jt(420)];[jt(427)];constructor(t,e){const i=jt;super(t),this[i(427)]=e,this[i(420)]=e.id;const s=this[i(428)],n=X(t,e[i(412)][i(433)]?i(410):i(416)==e[i(406)]?i(407):i(403));this[i(414)](i(406),e[i(406)]),this[i(419)]({tag:i(409),attributes:{class:[i(425),i(430),s.to(i(406),(t=>i(432)+t))],tabindex:-1},children:[{tag:i(415),children:[{tag:i(415),attributes:{class:[i(421)]},children:[{text:n}]},{text:" "+e[i(408)][i(405)]}]}]})}[jt(413)](){const t=jt;this[t(424)][t(413)]()}}function zt(){const t=["158123egjPFn","name","type","Added by","author","div","Suggested by","96VvCkBA","data","focus","set","span","add","2109820eiIrmc","495FtCypk","setTemplate","changeId","ck-revision-change__label","120iOcohv","23035jYQOQj","element","ck-annotation","44868mkKAer","_model","bindTemplate","1633975ZTrVBL","ck-revision-change","3XWpqVc","ck-revision-change__","isSuggestion","2DtdNLn","533404UYNVlO","15777UwpXEw","Removed by"];return(zt=function(){return t})()}var Ut=Ht;function Zt(){var t=["data","type","3633Qnaxvb","rootName","toJSON","7217SjLhEg","createdAt","168SnGQko","6IByaNc","9sdSbJq","1296wZrzIr","author","6iSqERp","84hZSwUF","12QoVakS","set","162279zzRvSM","186896mwbvAs","2516390qSxYtK","471045uxfIml","304777UgsCWO"];return(Zt=function(){return t})()}function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=107]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(136046===-parseInt(e(120))/1*(parseInt(e(123))/2)+-parseInt(e(108))/3*(-parseInt(e(111))/4)+parseInt(e(113))/5*(parseInt(e(127))/6)+parseInt(e(117))/7*(parseInt(e(125))/8)+parseInt(e(124))/9*(-parseInt(e(112))/10)+-parseInt(e(114))/11*(-parseInt(e(107))/12)+parseInt(e(110))/13*(-parseInt(e(122))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(126)];[Ut(116)];[Ut(115)];[Ut(118)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(126)]=e[i(126)],this[i(116)]=e[i(116)],this[i(115)]=e[i(115)]||{},this[i(118)]=e[i(118)],this[i(109)](i(121),e[i(121)])}[Ut(119)](){var t=Ut;return{id:this.id,authorId:this[t(126)].id,type:this[t(116)],data:this[t(115)],createdAt:this[t(121)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=125]})(t,e)}function Yt(){const t=["10708264veSDGj","_setChanges","oldRevisionId","changes","3604252USYiZI","add","24269910KvEhhV","1uyxDOK","2370666PWNEno","2609506QMaXmJ","1836933giKBdQ","7UrXwjO","newRevisionId","4917345AnCRUr","9lBfnMh"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(793439===parseInt(e(134))/1*(-parseInt(e(136))/2)+parseInt(e(137))/3+-parseInt(e(131))/4+-parseInt(e(125))/5+parseInt(e(135))/6*(-parseInt(e(138))/7)+parseInt(e(127))/8+parseInt(e(126))/9*(parseInt(e(133))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(139)];[$t(129)];[$t(130)];constructor(e,i){const s=$t;this[s(139)]=e,this[s(129)]=i,this[s(130)]=new t.Collection}[$t(128)](t){const e=$t;for(const i of t)this[e(130)][e(132)](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=ne();return(Xt=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(165180===parseInt(e(450))/1+-parseInt(e(342))/2+parseInt(e(272))/3*(parseInt(e(260))/4)+-parseInt(e(224))/5+-parseInt(e(383))/6+parseInt(e(508))/7+-parseInt(e(516))/8*(parseInt(e(385))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class te extends U.Plugin{[Qt(452)];[Qt(372)]=null;[Qt(270)];[Qt(421)];[Qt(230)];[Qt(388)];[Qt(480)];static get[Qt(286)](){return Qt(483)}static get[Qt(462)](){return!0}static get[Qt(228)](){return!0}static get[Qt(524)](){return[Z.Users,pt.ContextualBalloon,B,Q]}constructor(t){const e=Qt;super(t),this[e(452)]=this[e(233)][e(341)][e(514)](e(208)),this[e(270)]=this[e(233)][e(341)][e(514)](e(496)),this[e(226)](e(285),null),this[e(226)](e(423),null),this[e(421)]=null,this[e(226)](e(491),null),this[e(226)](e(476),!1),this[e(226)](e(407),!0),this.on(e(528),((t,i,s)=>{const n=e;this[n(285)]=null,this[n(423)]=null,this[n(233)][n(442)][n(506)][n(245)]((t=>{const e=n;for(const i of this[e(233)][e(442)][e(506)][e(512)][e(373)])s?t[e(498)](e(277),i):t[e(276)](e(277),i)}))})),this[e(324)](e(471)).to(this,e(285),(t=>null!==t)),this[e(324)](e(443)).to(this,e(476),this,e(491),this,e(285),((t,i,s)=>t&&s?i[e(384)][e(240)](s):0)),this[e(324)](e(242)).to(this,e(476),this,e(491),((t,i)=>t?i[e(384)][e(486)]:0)),this[e(230)]=null,this[e(388)]=new Map,this[e(480)]=this[e(233)][e(341)][e(514)](pt.ContextualBalloon)}[Qt(368)](){const t=Qt,e=this[t(233)],i=new se(e,{direction:t(318)}),s=new se(e,{direction:t(477)});e[t(247)][t(301)](t(405),i),e[t(247)][t(301)](t(317),s),e[t(247)][t(301)](t(253),new ie(e)),this.on(t(448),(()=>{const e=t;i[e(322)](),s[e(322)]()})),this[t(505)](),this[t(330)](),e[t(305)](t(509)),e[t(341)][t(482)](t(490))&&e[t(341)][t(514)](t(490))[t(500)](t(509))}async[Qt(366)](t){const e=Qt;return await this[e(270)][e(418)](t,this[e(372)]),this[e(270)][e(366)](t)}async[Qt(320)](t){const e=Qt;return await this[e(270)][e(418)](t,this[e(372)]),this[e(270)][e(320)](t)}async[Qt(449)](t,e,i=!1){const s=Qt;if(!this[s(407)])return;const n=this[s(491)],r=this[s(452)],o=s(220)==typeof t?r[s(250)](t):t,a=s(220)==typeof e?r[s(250)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(491)]&&this[s(491)][s(401)]===c&&this[s(491)][s(321)]===u)return Promise[s(426)]();this[s(476)]=!1,this[s(423)]=null,this[s(285)]=null,this[s(491)]=new Jt(c,u);const l=this[s(465)](o,a,!0)[s(451)]((t=>this[s(270)][s(418)](t,this[s(372)])));return l[s(213)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(215)](l)[s(278)]((()=>{const t=s;if(!this[t(407)])return;this[t(472)]();const e=this[t(493)](c,u);for(const i of e[t(384)])this[t(388)][t(226)](i.id,i);this[t(233)][t(217)][t(265)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(233)][s(217)][s(512)][s(365)]())i[s(374)](t);for(const t of Object[s(302)](e[s(217)])){const n=i[s(467)](t);for(const r of Object[s(302)](e[s(331)][t]))i[s(363)](r,e[s(331)][t][r],n);i[s(340)](e[s(217)][t],n,0)}})),this[t(491)][t(279)](this[t(446)](e[t(384)])),this[t(476)]=!0}))[s(456)]((t=>{const e=s;console[e(237)](t),this[e(472)](),n&&(this[e(491)]=n),this[e(476)]=!0}))}[Qt(348)](t,e){const i=Qt,s=this[i(452)][i(246)](t);return s.on(i(440),((t,i,n)=>e(i,n,s))),this[i(452)][i(488)](s),s}[Qt(472)](){const t=Qt;this[t(285)]=null,this[t(394)](),this[t(230)]&&this[t(230)][t(436)](),this[t(230)]=null,this[t(388)][t(416)](),this[t(233)][t(217)][t(265)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(233)][i(217)][i(512)][i(365)]())e[i(374)](t)}))}[Qt(446)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(233)][e(217)][e(512)][e(365)]()){const n=this[e(233)][e(442)][e(506)][e(380)](t);if(!n)continue;const r=n[e(515)]()[e(346)](0);r&&(i[e(213)](t),s[e(226)](t,r))}return i[e(292)](((t,i)=>{const n=e,r=s[n(514)](t),o=s[n(514)](i);return r.y-o.y||r.x-o.x})),(t=t[e(255)]((t=>i[e(474)](t[e(287)]))))[e(292)](((t,s)=>i[e(263)](t[e(287)])-i[e(263)](s[e(287)]))),t}[Qt(304)](t){const e=Qt,i=Array[e(377)](t[e(289)])[e(255)]((([t,i])=>t[e(507)](e(367))&&!i[e(523)])),s=Array[e(377)](this[e(233)][e(217)][e(345)](t)[e(227)]({singleCharacters:!0}));if(0!=i[e(486)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(413)](":");if(n[e(312)][e(223)](t[e(273)])&&i[e(455)](),(t[e(293)][e(223)](n[e(419)])||t[e(293)][e(458)](n[e(419)]))&&(e(386)==r?t[e(470)]={userId:o}:e(334)==r&&(t[e(361)]={userId:o})),0==i[e(486)])break}return s}[Qt(525)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(486)];s++)e(396)===t[s][e(478)]?(t[s][e(346)][e(264)]=s,t[s][e(346)][e(427)]=s):(e(502)===t[s][e(478)]?t[s][e(346)][e(264)]=s:e(308)===t[s][e(478)]&&(t[s][e(346)][e(427)]=s),i[e(226)](t[s].id,s));for(const s of i[e(309)]())e(502)===t[s][e(478)]?t[s][e(346)][e(427)]=i[e(514)](t[s][e(495)]):e(308)===t[s][e(478)]&&(t[s][e(346)][e(264)]=i[e(514)](t[s][e(495)]))}[Qt(412)](t){const e=Qt;for(let i=0;i<t[e(486)];i++){if(e(502)===t[i][e(478)])t[i][e(346)][e(264)]=i;else if(e(308)===t[i][e(478)]){t[i][e(346)][e(427)]=i;const s=t[i][e(346)][e(264)];t[s][e(495)]=t[i].id,t[i][e(495)]=t[s].id}else t[i][e(346)][e(264)]=i,t[i][e(346)][e(427)]=i,t[i][e(495)]=null;t[i][e(231)]||(t[i][e(231)]=[],t[i][e(387)]=[])}}[Qt(511)](t,e){const i=Qt,s=t[i(255)]((t=>!t[i(470)]));for(let t=0;t<e[i(486)];t++)e[t][i(470)]&&(s[t][i(470)]=e[t][i(470)])}[Qt(493)](t,e=null){const i=Qt,s=this[i(452)][i(250)](t),n=e?this[i(452)][i(250)](e):null,r=this[i(465)](s,n),o=r[r[i(486)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(486)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(302)](e[i(291)]))if(e[i(291)][t][i(303)]){const s=e[i(291)][t][i(303)];s[i(352)]?(u[i(301)](t),l[i(482)](t)&&l[i(514)](t)[i(424)]==s[i(424)]?l[i(526)](t):l[i(226)](t,s)):l[i(482)](t)?(u[i(526)](t),l[i(526)](t)):(u[i(301)](t),l[i(226)](t,s))}else u[i(301)](t)}for(const t of u){const e=l[i(482)](t)&&!l[i(514)](t)[i(352)];let s=e?r[i(486)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(291)][t]){const s=e?o[i(291)][t][i(214)]:o[i(291)][t][i(409)];c[i(331)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(217)]={};for(const e of t[i(360)])a[i(226)](e.id,e);for(const e of u){const s=t[i(291)][e]?t[i(291)][e][i(244)]:"[]",n=t[i(291)][e]?t[i(291)][e][i(481)]:"[]";t[i(217)][e]={insertions:this[i(270)][i(268)](s),deletions:this[i(270)][i(268)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(377)](s[i(217)][t][i(244)][i(289)])[i(255)]((([t])=>!t[i(507)](i(367)))));let h=0;for(const o of r){const r=this[i(304)](o[i(217)][t][i(244)]);o==s?(e=r,n=e[i(486)],e[i(406)]((t=>{t.id=h++})),this[i(412)](e)):this[i(511)](e,r);const a=e[i(255)]((t=>!t[i(470)]))[i(451)]((t=>t.id));let c=0;const l=this[i(304)](o[i(217)][t][i(481)]);l[i(406)]((t=>{t[i(361)]?t.id=n++:t.id=a[c++]})),this[i(412)](l),this[i(294)](e,i(470)),this[i(294)](l,i(361)),o==s&&this[i(494)](e,u),e=this[i(433)](e,l),this[i(525)](e),this[i(294)](e,i(361))}e=e[i(255)]((t=>!(t[i(470)]&&t[i(361)])));const d=new Map(o[i(217)][t][i(481)][i(289)]),f=new Set(u[i(302)]());for(const t of d[i(302)]())f[i(526)](t);this[i(362)](e,f),this[i(428)](e),e=this[i(336)](e),e=this[i(487)](e),e=this[i(393)](e);const{root:m,changes:p}=this[i(282)](e,a,t);c[i(217)][t]=m;const v=l[i(514)](t);if(v){const e=a[i(514)](v[i(424)]),s=new qt({author:e,type:v[i(352)]?i(301):i(431),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(337)](s),c[i(331)][t][i(313)]=s.id}c[i(384)]=c[i(384)][i(266)](p)}return c}[Qt(494)](t,e){const i=Qt;for(let s=0;s<t[i(486)];s++)for(const[n,r]of e)!r[i(523)]&&r[i(419)][i(223)](t[s][i(293)])&&t[s][i(231)][i(213)](n),r[i(312)][i(223)](t[s][i(273)])&&t[s][i(387)][i(213)](n)}[Qt(433)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(486)]||r<e[i(486)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(213)](o);else if(a[i(361)]&&o[i(470)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(461)](t,n,e,r);s=s[i(266)](o),n=a,r=c}else a[i(361)]?(r++,s[i(213)](a)):(n++,s[i(213)](o))}return s}[Qt(362)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(486)];o++){for(let r=0;r<t[o][i(231)][i(486)];r++){const a=t[o][i(231)][r];if(!e[i(482)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(326)!=c||i(386)!=u&&i(334)!=u||(s[i(337)]({type:u,name:a,userId:l}),t[o][i(231)][i(404)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(387)][i(486)];r++){const a=t[o][i(387)][r];if(!e[i(482)](a))continue;const{group:c,type:u}=n(a);if(i(326)!=c||i(386)!=u&&i(334)!=u)continue;t[o][i(387)][i(404)](r,1),r--;const l=s[i(517)]((t=>t[i(414)]==a));l>-1&&s[i(404)](l,1)}}function n(t){const e=i,s=t[e(413)](":");return{group:s[0],type:s[1],subType:s[e(486)]>=5?s[2]:null,id:s[e(486)]<5?s[2]:s[3],authorId:s[e(486)]<5?s[3]:s[4],markerCount:6==s[e(486)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(486)];i++){if(t[e(470)]&&e(386)==s[i][e(478)])return t[e(438)]=s[i],void delete t[e(470)];if(!t[e(470)]&&!t[e(361)]&&e(334)==s[i][e(478)])return void(t[e(353)]=s[i])}}}[Qt(294)](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(226)](o.id,s);for(let s=0;s<t[i(486)];s++){if(i(361)==e&&t[s][i(470)]||i(470)==e&&t[s][i(361)])continue;if(i(396)==t[s][i(478)]){t[s][i(397)]=0;continue}const n=r[i(514)](t[s][i(495)]),o=r[i(514)](t[s].id);t[s][i(397)]=n-o}}[Qt(465)](t,e,i=!1){const s=Qt,n=[];let r=this[s(452)][s(240)](t),o=this[s(452)][s(240)](e);for(-1==o&&(o=this[s(452)][s(238)][s(486)],i=!1);r<o;)n[s(213)](this[s(452)][s(250)](r)),r++;return i&&n[s(213)](this[s(452)][s(250)](r)),n}[Qt(461)](t,e,i,s){const n=Qt,r=this[n(233)][n(217)][n(527)];let o=e;for(;t[o]&&t[o][n(470)];)o++;let a=s;for(;i[a]&&i[a][n(361)];)a++;u(t,e,o),u(i,s,a);const c=i[n(439)](s,a)[n(266)](t[n(439)](e,o));return c[n(292)](((t,e)=>t[n(358)]!=e[n(358)]?t[n(358)]-e[n(358)]:t[n(355)]!=e[n(355)]?t[n(355)]-e[n(355)]:t[n(397)]!=e[n(397)]?e[n(397)]-t[n(397)]:!!t[n(470)]!=!!e[n(470)]?-1==t[n(358)]||0==t[n(358)]?t[n(470)]?-1:1:t[n(470)]?1:-1:t[n(395)]-e[n(395)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(513)],c=!0;for(let n=e;n<i;n++)if(r[s(211)](t[n][s(346)])||(c=!1),t[n][s(346)][s(264)]<e&&(o=n),t[n][s(346)][s(427)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(358)]=n<=o?-1:n<a?0:1,t[n][s(395)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(397)]?t[i][s(355)]=u:(u++,t[i][s(355)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(358)]&&(t[n][s(355)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(397)]?t[e][s(355)]=u:(u--,t[e][s(355)]=u,u--)}}[Qt(428)](t){const e=Qt,i=new Map,s=this[e(233)][e(217)][e(527)];for(let n=1;n<t[e(486)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(396)==c[e(478)])continue;if(c[e(478)]!=u[e(478)])continue;if(!s[e(429)](u[e(346)])||s[e(432)](u[e(346)]))continue;if(!s[e(429)](c[e(346)])||s[e(432)](c[e(346)]))continue;if((t[n][e(470)]||t[n][e(438)])&&t[n-1][e(361)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(361)]||!t[n-1][e(470)]&&!t[n-1][e(438)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(355)]==o[e(355)],h=Math[e(323)](r[e(355)])<Math[e(323)](o[e(355)])&&0==o[e(397)];(l||h)&&(i[e(226)](o.id,r.id),t[e(404)](a,1),n--,r[e(470)]=!1)}for(let s=0;s<t[e(486)];s++)i[e(482)](t[s][e(495)])&&(t[s][e(495)]=i[e(514)](t[s][e(495)]))}[Qt(336)](t){const e=Qt,i=new Set(t[e(451)]((t=>t.id)));for(let s=0;s<t[e(486)];s++)i[e(482)](t[s][e(495)])||0==t[s][e(397)]||(t[s][e(499)]=!0);return t[e(255)]((t=>!t[e(499)]))}[Qt(487)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(486)];s++){if(i[e(482)](t[s].id)&&t[s][e(361)]&&(t[s][e(499)]=!0),t[s][e(499)])continue;if(0==t[s][e(397)])continue;if(e(502)!=t[s][e(478)])continue;if(null==t[s][e(495)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(495)];)e(502)==t[n][e(478)]?r++:e(308)==t[n][e(478)]&&r--,n++;if(0!=r)if(t[s][e(361)])t[s][e(499)]=!0;else for(;n!=s;)t[n][e(361)]&&0!=t[n][e(397)]&&(t[n][e(499)]=!0,i[e(301)](t[n][e(495)])),n--}return t[e(255)]((t=>!t[e(499)]))}[Qt(393)](t){const e=Qt,i=this[e(233)][e(217)][e(527)];for(let s=0;s<t[e(486)];s++){if(!(t[s][e(470)]||t[s][e(438)]||t[s][e(361)]||t[s][e(353)]))continue;if(0==t[s][e(397)])continue;const n=t[s][e(346)];i[e(429)](n)||i[e(432)](n)||(t[s][e(470)]&&delete t[s][e(470)],t[s][e(438)]&&delete t[s][e(438)],t[s][e(353)]&&delete t[s][e(353)],t[s][e(361)]&&(t[s][e(499)]=!0))}return t[e(255)]((t=>!t[e(499)]))}[Qt(282)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(233)][s(217)],c=a[s(527)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(486)];e++)if(s(502)===t[e][s(478)]){t[e][s(293)]=a[s(216)](n,f);const i=new H.Element(t[e][s(346)][s(414)],t[e][s(346)][s(460)]());u[0][s(441)](i),f[s(213)](0),u[s(337)](i),t[e][s(273)]=a[s(216)](n,f)}else s(308)===t[e][s(478)]?(u[s(455)](),t[e][s(293)]=a[s(216)](n,f),f[s(532)](),f[f[s(486)]-1]++,t[e][s(273)]=a[s(216)](n,f)):(t[e][s(293)]=a[s(216)](n,f),d?d[s(297)]+=t[e][s(346)][s(425)]:d=new H.Text(t[e][s(346)][s(425)],t[e][s(346)][s(460)]()),t[e+1]&&s(396)===t[e+1][s(478)]&&v(d,t[e+1][s(346)])||(u[0][s(441)](d),d=null),f[f[s(486)]-1]+=t[e][s(346)][s(296)],t[e][s(273)]=a[s(216)](n,f));for(let e=0;e<t[s(486)];e++){const i=t[e][s(293)],n=t[e][s(273)];for(const n of t[e][s(231)])o[s(226)](n,{start:i,end:null});m(s(353),e,i,n),m(s(438),e,i,n),m(s(361),e,i,n),m(s(470),e,i,n);for(const i of t[e][s(387)]){const t=o[s(514)](i);t?t[s(312)]=n:o[s(226)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(233)][s(217)][s(454)](e[s(419)],e[s(312)]);n[s(289)][s(226)](t,i)}return r[s(292)](((t,e)=>{const i=s,r=n[i(289)][i(514)](i(367)+t.id),o=n[i(289)][i(514)](i(367)+e.id);return r[i(419)][i(243)](o[i(419)])?-1:r[i(419)][i(458)](o[i(419)])?1:r[i(312)][i(243)](o[i(312)])?-1:r[i(312)][i(458)](o[i(312)])?1:i(301)===t[i(478)]?-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(424)]:null,d=i===t[o(486)]-1,f=h[e][0],m=c[o(251)](t[i][o(346)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(312)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(424)]!==u&&(l[e][o(312)]=n,f&&f[o(424)]===l[e][o(424)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(502)!==t[i][o(478)]||f&&f[o(424)]===u||h[e][o(337)]({userId:u,object:t[i][o(346)],change:l[e]}),o(308)===t[i][o(478)]&&f&&f[o(400)]===t[i][o(346)]&&(h[e][o(455)](),l[e]=f[o(245)])),l[e]&&d&&(l[e][o(312)]=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(346)],f=a[h(527)][h(429)](d)&&!a[h(527)][h(432)](d),m=t[h(283)]==o[h(463)]&&o[h(350)];if(f&&m)return;const p=a[h(454)](t,o),v=e[h(514)](u),g=new qt({author:v,type:h(470)==l||h(438)==l?h(301):h(431),data:{isSuggestion:h(438)==l||h(353)==l},createdAt:new Date,rootName:i});r[h(213)](g),n[h(289)][h(226)](h(367)+g.id,p)}function v(t,e){const i=s,n=t[i(460)](),r=e[i(460)]();for(const t of n){if(t[1]!==e[i(392)](t[0]))return!1;r[i(221)]()}return r[i(221)]()[i(275)]}}[Qt(505)](){const t=Qt;this[t(233)][t(504)][t(332)](t(503))[t(225)]({view:t(417)}),this[t(233)][t(504)][t(332)](t(310))[t(209)]({model:t(417),view:e=>{const i=t,s=e[i(520)][i(413)](":")[1],n=this[i(430)](s);if(!n)return null;const r=i(301)==n[i(478)]?i(386):i(334),o=[i(328),i(236)+r];return n[i(425)][i(235)]&&o[i(213)](i(236)+r+i(262)),this[i(285)]==n&&o[i(213)](i(252)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(233)][t(504)][t(332)](t(503))[t(301)]((e=>{const i=t;e.on(i(497),((t,e,s)=>{const n=i,r=e[n(307)][n(464)](0);if(!r||!r.is(n(422),n(389)))return;if(!s[n(379)][n(484)](r,{attributes:[n(489),n(501)]}))return;const o=e[n(298)][n(419)][n(283)];s[n(381)][n(363)](n(489),r[n(392)](n(489)),o),s[n(381)][n(363)](n(501),r[n(392)](n(501)),o)}),{priority:i(378)})})),this[t(233)][t(504)][t(332)](t(503))[t(301)]((e=>{const i=t;e.on(i(422),((t,e,s)=>{const n=i;if(!s[n(379)][n(484)](e[n(307)],{attributes:[n(489),n(501)]}))return;if(e[n(298)][n(523)])return;const r=e[n(298)][n(419)][n(283)];r[n(510)](n(489))||r[n(510)](n(269))||(s[n(381)][n(363)](n(489),e[n(307)][n(392)](n(489)),r),s[n(381)][n(363)](n(501),e[n(307)][n(392)](n(501)),r))}),{priority:i(378)})})),this[t(233)][t(504)][t(332)](t(503))[t(398)]({view:{name:t(249),attributes:{vid:!0}},model:{key:t(269),value:e=>e[t(392)](t(269))}}),this[t(233)][t(217)][t(527)].on(t(475),((e,[,i])=>{const s=t;[s(489),s(501),s(269)][s(474)](i)&&(e[s(347)]=!0,e[s(339)]())}),{priority:t(356)}),this[t(233)][t(504)][t(332)](t(445))[t(301)]((e=>{const i=t;e.on(i(530),((t,e,s)=>{const n=i;if(" "!=e[n(346)][n(425)]||e[n(346)][n(463)][n(299)]>1)return;if(!s[n(379)][n(484)](e[n(346)],t[n(414)]))return;const r=s[n(381)],o=s[n(319)][n(248)](e[n(295)]);r[n(371)](o,r[n(469)](n(249)))}))})),this[t(233)][t(504)][t(332)](t(445))[t(325)]({model:t(417)}),this[t(233)][t(442)][t(466)].on(t(357),function(e){const i=t,s=e[i(341)][i(514)](i(483));return(t,n,r)=>{const o=i,a=n[o(520)][o(413)](":")[1],c=s[o(430)](a);if(!c)return null;const u=o(301)==c[o(478)]?o(413):o(434);if(!r[o(379)][o(408)](n[o(314)],t[o(414)]))return;const l=n[o(314)][o(227)](),h=n[o(314)][o(419)],d=e[o(217)][o(527)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(346)];p=p||d[o(274)](e);const i=r[o(319)][o(338)](e);if(i&&i[o(485)](o(349)))return;o(308)==t[o(478)]&&d[o(429)](e)&&!d[o(432)](e)&&(e[o(399)]||h[o(403)]?f&&f[o(463)]==e||(f=e,g(t[o(293)]),v=!0):m=m||t[o(293)])}function g(t){const e=o,i=r[e(381)][e(258)](e(249),{class:e(236)+u}),a=r[e(319)][e(280)](t);c[e(425)][e(235)]&&r[e(381)][e(276)](e(236)+u+e(262),i),s[e(285)]==c&&r[e(381)][e(276)](e(252),i),r[e(381)][e(340)](a,i),r[e(319)][e(234)](i,n[e(520)])}p||v||!m||g(m)}}(this[t(233)]),{priority:t(479)}),this[t(233)][t(442)][t(466)].on(t(306),((e,i,s)=>{const n=t,r=s[n(319)][n(402)](i[n(520)]);if(r)for(const t of r)(t[n(453)](n(284))||t[n(453)](n(457)))&&(s[n(319)][n(288)](t,i[n(520)]),s[n(381)][n(431)](t))}),{priority:t(479)}),this[t(233)][t(442)][t(466)].on(t(357),((e,i,s)=>{const n=t,r=i[n(520)][n(413)](":")[1],o=this[n(430)](r);if(!o)return null;const a=n(301)==o[n(478)]?n(413):n(434);if(s[n(379)][n(408)](i[n(314)],e[n(414)]))for(const t of i[n(314)][n(229)]()){if(!t.is(n(422),n(391)))continue;const e=s[n(381)][n(258)](n(249),{class:n(236)+a}),r=s[n(319)][n(280)](this[n(233)][n(217)][n(410)](t));o[n(425)][n(235)]&&s[n(381)][n(276)](n(236)+a+n(262),e),this[n(285)]==o&&s[n(381)][n(276)](n(252),e),s[n(381)][n(340)](r,e),s[n(319)][n(234)](e,i[n(520)])}}),{priority:t(479)}),this[t(233)][t(217)][t(512)].on(t(245),(()=>{const e=t;this[e(233)][e(442)][e(506)][e(245)]((t=>{const i=e;for(const e of this[i(233)][i(217)][i(512)][i(365)]()){const s=this[i(233)][i(217)][i(512)][i(354)](e),n=this[i(233)][i(442)][i(506)][i(512)][i(354)](e);if(n){const e=s[i(392)](i(313));if(t[i(343)](i(411),n),t[i(498)](i(415),n),t[i(498)](i(382),n),t[i(498)](i(300),n),e){const s=this[i(430)](e);if(!s)return null;t[i(363)](i(411),e,n),t[i(276)](i(333)+s[i(478)],n),this[i(285)]==s&&t[i(276)](i(300),n)}}}}))})),this[t(233)][t(504)][t(332)](t(503))[t(225)]({view:t(335),model:e=>t(447)+e,converterPriority:t(356)}),this[t(233)][t(504)][t(332)](t(503))[t(225)]({view:t(239),model:e=>t(259)+e,converterPriority:t(356)}),this[t(233)][t(504)][t(332)](t(445))[t(325)]({model:t(326),view:e=>({name:t(290)+e,group:t(326)}),converterPriority:t(356)}),this[t(233)][t(504)][t(332)](t(310))[t(209)]({model:t(326),view:e=>{const i=t,s=e[i(520)][i(413)](":")[1];return i(386)!=s&&i(334)!=s?null:{classes:[i(531),i(435)+s]}}}),this[t(233)][t(442)][t(466)].on(t(218),ee(this[t(233)],t(434)),{priority:t(479)}),this[t(233)][t(442)][t(466)].on(t(492),ee(this[t(233)],t(413)),{priority:t(479)}),this[t(233)][t(442)][t(466)].on(t(522),((e,i,s)=>{const n=t,r=s[n(319)][n(402)](i[n(520)]);if(r)for(const t of r)t.is(n(473))&&(s[n(319)][n(288)](t,i[n(520)]),s[n(381)][n(431)](t))}),{priority:t(479)})}[Qt(430)](t){const e=Qt;return this[e(388)][e(514)](t)}[Qt(364)](t){const e=Qt;return this[e(230)]&&this[e(230)][e(436)](),this[e(230)]=new Wt(this[e(233)][e(222)],t),this[e(230)]}[Qt(330)](){const t=Qt;this[t(233)][t(217)][t(512)][t(420)][t(219)](t(417)),this.on(t(521),((e,i,s,n)=>{const r=t;n&&this[r(480)][r(431)](n),s&&(this[r(480)][r(301)]({view:s,stackId:r(344),position:{target:()=>{const t=r,e=this[t(233)][t(442)],i=this[t(430)](s[t(529)]);let n;if(i[t(425)][t(444)]){const s=e[t(506)][t(380)](i[t(287)]);n=Array[t(377)](s[t(515)]())}else{const i=this[t(233)][t(217)][t(289)][t(514)](t(367)+s[t(529)]);n=Array[t(377)](e[t(319)][t(402)](i[t(414)]))[t(451)]((i=>e[t(506)][t(212)][t(351)](i)))[t(451)]((e=>Array[t(377)](e[t(515)]())))[t(390)]()}return this[t(421)]&&n[t(459)]((e=>e[t(375)]-3<=this[t(421)].y&&e[t(376)]+3>=this[t(421)].y&&e[t(316)]-3<=this[t(421)].x&&e[t(241)]+3>=this[t(421)].x))||n[0]}}}),this[r(480)][r(315)](r(344)))})),this.on(t(210),((e,i,s,n)=>{const r=t;this[r(423)]=s?this[r(364)](s):null,this[r(233)][r(217)][r(245)]((()=>{const t=r,e=this[t(233)][t(442)];n&&(n[t(425)][t(444)]?e[t(506)][t(245)]((i=>{const s=t;i[s(498)](s(300),e[s(506)][s(512)][s(354)](n[s(287)]))})):e[t(311)](t(367)+n.id)),s&&(s[t(425)][t(444)]?e[t(506)][t(245)]((i=>{const n=t;i[n(276)](n(300),e[n(506)][n(512)][n(354)](s[n(287)]))})):e[t(311)](t(367)+s.id))}))})),this[t(359)](this[t(233)][t(442)][t(506)][t(512)],t(232),((e,i)=>{const s=t;if(this[s(285)])return;const n=this[s(327)](i[s(370)]),r=this[s(388)][s(514)](n);r?(this[s(421)]={x:i[s(518)].x,y:i[s(518)].y},this[s(423)]=this[s(364)](r)):(this[s(421)]=null,this[s(423)]=null)})),this[t(359)](this[t(233)][t(442)][t(506)][t(512)],t(257),((e,i)=>{const s=t,n=this[s(327)](i[s(370)]),r=this[s(388)][s(514)](n);r?(this[s(421)]={x:i[s(518)].x,y:i[s(518)].y},r===this[s(285)]?this[s(480)][s(261)]():this[s(285)]=r):(this[s(421)]=null,this[s(285)]=null)}))}[Qt(327)](t){const e=Qt;do{const i=t[e(392)](e(411));if(i)return i;t=t[e(463)]}while(t);return null}[Qt(394)](){const t=Qt;this[t(233)][t(217)][t(245)]((e=>{const i=t;for(const t of this[i(233)][i(217)][i(289)])e[i(267)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(379)][r(408)](s[r(314)],i[r(414)]))return;const o=s[r(314)][r(227)](),a=s[r(314)][r(419)],c=t[r(217)][r(527)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(346)];h=h||c[r(274)](e);const i=n[r(319)][r(338)](e);if(i&&i[r(485)](r(349)))return;r(308)==t[r(478)]&&c[r(429)](e)&&!c[r(432)](e)&&(e[r(399)]||a[r(403)]?u&&u[r(463)]==e||(u=e,f(t[r(293)]),d=!0):l=l||t[r(293)])}function f(t){const i=r,o=n[i(319)][i(280)](t),a=n[i(381)][i(258)](i(249),{class:i(435)+e});n[i(381)][i(340)](o,a),n[i(319)][i(234)](a,s[i(520)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(341)][e(514)](te);this[e(254)]=!1,this[e(359)](i,e(468),(()=>this[e(322)]())),this[e(359)](i,e(528),(()=>this[e(322)]()))}[Qt(519)](){const t=Qt,e=this[t(233)],i=e[t(341)][t(514)](te),s=i[t(476)]?i[t(491)][t(401)]:null;e[t(369)][t(514)](t(271))[t(281)](s)}[Qt(322)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(233)][t(341)][t(514)](te),r=n&&s[t(329)](n[t(401)]);this[t(407)]=e&&i&&Boolean(r)}}class se extends U.Command{[Qt(437)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(341)][i(514)](te);this[i(254)]=!1,this[i(437)]=i(477)===e?1:-1,this[i(359)](s,i(468),(()=>this[i(322)]())),this[i(359)](s,i(528),(()=>this[i(322)]())),this[i(359)](s,i(210),(()=>this[i(322)]()))}[Qt(519)](){const e=Qt,i=this[e(233)],s=i[e(341)][e(514)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(285)]=n?s[e(491)][e(384)][e(514)](r+this[e(437)]):s[e(491)][e(384)][e(256)],s[e(285)][e(425)][e(444)])o=i[e(442)][e(506)][e(380)](s[e(285)][e(287)]);else{const t=i[e(217)][e(289)][e(514)](e(367)+s[e(285)].id);o=(0,Z.getMarkerDomElement)(i[e(442)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(322)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(233)][t(341)][t(514)](te);this[t(407)]=!!(r&&n&&s)&&(!e||(1===this[t(437)]?i<s-1:i>0))}}function ne(){const t=["showPreviousChange","forEach","isEnabled","test","attributesAfter","createPositionBefore","data-change-id","_processTape","split","name","ck-revision-history-root-add","clear","revision","loadRevisionData","start","selection","_activeViewTarget","element","activeView","userId","data","resolve","endIndex","_fixObsoleteTags","isBlock","_getChangeFromId","remove","isLimit","_joinTapes","merge","ck-suggestion-preview-marker-","destroy","_step","isAddSuggestion","slice","_update","_appendChild","editing","currentChangeNumber","isOnRoot","dataDowncast","_sortAndFilterDiffChanges","revision-comment:","change:numberOfChanges","compare","279621CwfZal","map","repository","hasClass","createRange","shift","catch","ck-suggestion-marker-merge","isAfter","find","getAttributes","_threeWayMerge","isOfficialPlugin","parent","getChild","_getRevisionsRange","downcastDispatcher","addRoot","change:isReady","createAttributeElement","isAdded","isNavigationMode","_cleanUp","uiElement","includes","checkAttribute","isReady","forward","type","high","_balloon","deletions","has","RevisionViewer","consume","getCustomProperty","length","_markMismatchedRemovedTags","addRevision","vid_start","WidgetToolbarRepository","diff","addMarker:revision-suggestion:insertion","_getDiff","_markMarkers","pairId","RevisionHistoryUtils","element:pre","removeClass","isIncorrect","forceDisabled","vid_end","elementStart","upcast","conversion","_setConversion","view","startsWith","741195ZrrObO","revision-viewer","hasAttribute","_markInsertions","document","POSITIVE_INFINITY","get","getClientRects","8FXGpcW","findIndex","domEvent","execute","markerName","change:activeView","removeMarker:revision-suggestion","isCollapsed","requires","_refreshStartEndIndex","delete","schema","change:isEnabled","changeId","attribute:vid","ck-suggestion-preview-marker","pop","RevisionsRepository","markerToHighlight","change:activeChange","isInline","domConverter","push","attributesBefore","all","createPositionFromPath","model","addMarker:revision-suggestion:deletion","observeMarkers","string","next","locale","isEqual","128620JMcOyk","dataToMarker","set","getWalker","isPremiumPlugin","getItems","_changeView","markersStart","mouseover","editor","bindElementToMarker","isSuggestion","ck-suggestion-marker-","error","_revisions","suggestion","getIndex","right","numberOfChanges","isBefore","insertions","change","createRevision","commands","toViewRange","span","getRevision","isObject","ck-suggestion-marker--active","restoreRevision","affectsData","filter","first","mousedown","createUIElement","revision-suggestion:","72OVeTFo","updatePosition","-new","indexOf","startIndex","enqueueChange","concat","removeMarker","_makeModelFromViewString","vid","_utils","revisionHistory","13245mizDuD","nextPosition","isContent","done","addClass","ck-editor__editable__overlay","then","_setChanges","toViewPosition","restoreRevisionCallback","_makeModelFromTape","nodeAfter","ck-suggestion-marker-split","activeChange","pluginName","rootName","unbindElementFromMarkerName","markers","suggestion:","diffData","sort","previousPosition","_setDistance","range","offsetSize","_data","modelRange","maxOffset","ck-revision-history-root--active","add","keys","attachChange","_makeTape","enableReadOnlyMode","removeMarker:revision","viewItem","elementEnd","values","editingDowncast","reconvertMarker","end","revisionHistoryAttachChange","markerRange","showStack","left","showNextChange","backward","mapper","getRevisionRootsAttributes","oldRevisionId","refresh","abs","bind","markerToData","revision-suggestion","_findChangeIdFromDomTarget","ck-suggestion-marker","getLaterVisibleRevision","_initInteractions","attributes","for","ck-revision-history-root-","deletion","comment","_removeMissingPairs","unshift","toViewElement","stop","insert","plugins","51320jbBLtP","removeAttribute","revisionHistoryLabel","createRangeIn","item","return","addRevisionData","addHighlight","isAtStart","mapViewToDom","isAttached","isRemoveSuggestion","getRoot","level","highest","addMarker:revision","side","listenTo","authors","isRemoved","_markSuggestions","setAttribute","_getViewForChange","getRootNames","getRevisionDocumentData","revision:","init","config","target","wrap","adapter","roots","detachRoot","top","bottom","from","low","consumable","getDomRoot","writer","ck-revision-history-root-remove","1343298HXnCZb","changes","220761pPCcaY","insertion","markersEnd","_changeIdToChange","code","flat","softBreak","getAttribute","_removeUnsupportedChanges","_cleanMarkers","index","text","distance","elementToAttribute","nextSibling","object","newRevisionId","markerNameToElements","isAtEnd","splice"];return(ne=function(){return t})()}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-=231]})(t,e)}function ce(){const t=["342481RmiNlV","ck-revision-history-ui__changes-navigation__label","1699242dBdwTE","ck-revision-history-ui__changes-navigation__wrapper","forward","isEnabled","181848rHScLD","isBackwardNavigationEnabled","fire","execute","EDIT_X_OF_Y_REVISIONS","_statusText","Total","numberOfChanges","143LWUMxN","X_OF_Y_CHANGES","isNavigationMode","bind","1100535mZpvfE","4PrCgKz","currentChangeNumber","587658JPNrOR","7GwaqTQ","bindTemplate","setTemplate","isReady","No changes","Loading...","425690VlVKWd","_isStatusLabelVisible","ck-revision-history-ui","ck-revision-history-ui__changes-navigation","backward","808AThYpS","set","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__navigation","div","isForwardNavigationEnabled","ck-hidden","4122OosxZE","Show previous change","span","Show next change"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(252887===parseInt(e(268))/1+parseInt(e(245))/2+parseInt(e(274))/3+-parseInt(e(243))/4*(parseInt(e(242))/5)+-parseInt(e(270))/6*(-parseInt(e(246))/7)+-parseInt(e(257))/8*(-parseInt(e(264))/9)+parseInt(e(252))/10*(-parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(247)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(258)](e(240),!1),this[e(258)](e(249),!1),this[e(258)](e(244),0),this[e(258)](e(237),0),this[e(258)](e(262),!1),this[e(258)](e(231),!1),this[e(241)](e(253)).to(this,e(249),this,e(237),((t,e)=>t&&e>0)),this[e(241)](e(235)).to(this,e(249),this,e(244),this,e(237),this,e(240),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(251));if(!n)return X(t,o(250));const a=X(t,o(259),n);return r?X(t,o(239),[s+1,n]):a})),s[e(258)]({label:X(t,e(265)),tooltip:!0,icon:mt.IconChevronUp}),n[e(258)]({label:X(t,e(267)),tooltip:!0,icon:mt.IconChevronDown}),s[e(241)](e(273)).to(this,e(231)),n[e(241)](e(273)).to(this,e(262)),s.on(e(233),(()=>this[e(232)](e(233),e(256)))),n.on(e(233),(()=>this[e(232)](e(233),e(272)))),this[e(248)]({tag:e(261),attributes:{class:["ck",e(254),e(255)]},children:[{tag:e(266),attributes:{class:[e(271)]},children:[{tag:e(266),attributes:{class:[e(269),i.if(e(253),e(263),(t=>!t))]},children:[{text:i.to(e(240),(i=>i?X(t,e(234))+": ":X(t,e(236))+": "))}]},{text:i.to(e(235))}]},new pt.ToolbarSeparatorView,{tag:e(261),attributes:{class:[e(260)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(976124===-parseInt(e(341))/1*(-parseInt(e(335))/2)+-parseInt(e(349))/3+parseInt(e(343))/4*(-parseInt(e(327))/5)+-parseInt(e(330))/6*(-parseInt(e(334))/7)+-parseInt(e(333))/8*(-parseInt(e(345))/9)+-parseInt(e(347))/10*(parseInt(e(350))/11)+parseInt(e(336))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(331);function pe(){const t=["1198bWaRZi","hide","2764EWtXHF","show","158157OyxLGN","isOfficialPlugin","20kSElLr","pluginName","2962611vuBDOd","3675408RMVvJR","removeClass","addClass","change","1220cYvINW","isPremiumPlugin","roots","78cmxoOz","ck-editor__editable__loading-overlay","editing","824VBJtBB","81417MXTMEE","834YLFPef","4076796NdQTfg","view","document","editor","RevisionViewerLoadingOverlay"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(348)](){return de(340)}static get[de(346)](){return!0}static get[de(328)](){return!0}[de(344)](){const t=de,e=this[t(339)][t(332)][t(337)];e[t(326)]((i=>{const s=t;for(const t of e[s(338)][s(329)])i[s(352)](me,t)}))}[de(342)](){const t=de,e=this[t(339)][t(332)][t(337)];e[t(326)]((i=>{const s=t;for(const t of e[s(338)][s(329)])i[s(351)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=155]})(t,e)}function ke(){const t=["12088pJVOEF","plugins","395853nJjPZh","numberOfChanges","Restore this revision","add","18WEpSaJ","ck-revision-history-ui__back-to-editing","changesNavigation","isOfficialPlugin","Back to editing","show","bind","set","exitToEditing","forward","config","isEnabled","get","4865627KQHAcf","requires","228HDUiqJ","commands","currentChangeNumber","isNavigationMode","1255806QFdNdu","change:isReady","RevisionViewerUI","isBackwardNavigationEnabled","2611352YUVbCC","15Cxlmhh","2tAYdUC","editor","hide","11asLEmR","3123396sGQuBz","componentFactory","pluginName","isPremiumPlugin","init","21DZvqGy","restoreRevision","listenTo","isReady","execute","3266090rpQdcO","14qGMgwF","closeRevisionViewerCallback","revisionHistory","isForwardNavigationEnabled","showPreviousChange","showNextChange"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(493043===-parseInt(e(159))/1*(parseInt(e(188))/2)+-parseInt(e(178))/3*(parseInt(e(157))/4)+-parseInt(e(187))/5*(parseInt(e(182))/6)+-parseInt(e(197))/7*(-parseInt(e(186))/8)+-parseInt(e(163))/9*(-parseInt(e(202))/10)+-parseInt(e(191))/11*(parseInt(e(192))/12)+parseInt(e(176))/13*(parseInt(e(203))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(194)](){return ge(184)}static get[ge(166)](){return!0}static get[ge(195)](){return!0}static get[ge(177)](){return[te,ve]}[ge(196)](){const t=ge,e=this[t(189)],i=e[t(158)][t(175)](te),s=e[t(158)][t(175)](ve);e.ui[t(193)][t(162)](t(171),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(170)]({label:X(i,s(167)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(164)}),this[s(199)](n,s(201),(()=>{const t=s;e[t(173)][t(175)](t(205))[t(204)]()})),n})),e.ui[t(193)][t(162)](t(198),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(170)]({label:X(i,s(161)),withText:!0,tooltip:!0}),n[s(169)](s(174)).to(e[s(179)][s(175)](s(198))),this[s(199)](n,s(201),(()=>e[s(201)](s(198)))),n})),e.ui[t(193)][t(162)](t(165),(s=>{const n=t,r=new ue(s),o=e[n(179)][n(175)](n(155)),a=e[n(179)][n(175)](n(156));return r[n(169)](n(185)).to(o,n(174)),r[n(169)](n(206)).to(a,n(174)),r[n(169)](n(200),n(180),n(160),n(181)).to(i),this[n(199)](r,n(201),((t,i)=>{const s=n;e[s(201)](s(172)===i?s(156):s(155))})),r})),s[t(168)](),i.on(t(183),((e,i,n)=>{const r=t;n?s[r(190)]():s[r(168)]()}))}}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=["3607233MrSvvJ","Revision name","ck-revision-history-sidebar__revision-name","139052DOHuiK","34080930EkYUdr","input","506wcIIKG","element","extendTemplate","9244016SjDYAZ","5105856UfWFpq","Enter the revision name","fieldView","render","_updateTooltipText","_tooltipString","3471980AhAgZs","123CrSRgr","ck-tooltip_multi-line","scrollWidth","311ObXeQv","clientWidth","destroy","span","placeholder","_resizeObserver","bindTemplate","set","listenTo","value"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=228]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(768563===-parseInt(e(242))/1*(parseInt(e(228))/2)+-parseInt(e(239))/3*(parseInt(e(255))/4)+-parseInt(e(238))/5+parseInt(e(232))/6+-parseInt(e(252))/7+-parseInt(e(231))/8+parseInt(e(256))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(247)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(248)];this[i(249)]({label:X(t,i(253)),_tooltipString:""}),this[i(234)][i(246)]=X(t,i(233)),this[i(230)]({tag:i(245),attributes:{class:[i(254)],"data-cke-tooltip-text":s.to(i(237)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(240)}})}[Ie(235)](){const e=Ie;super[e(235)](),this[e(247)]=new t.ResizeObserver(this[e(234)][e(229)],(()=>this[e(236)]())),this[e(250)](this[e(234)],e(257),(()=>this[e(236)]()))}[Ie(244)](){const t=Ie;super[t(244)](),this[t(247)]&&this[t(247)][t(244)]()}[Ie(236)](){const t=Ie,e=this[t(234)][t(229)];this[t(237)]=e[t(241)]>e[t(243)]&&e[t(251)]||""}}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=["3182928rZfSwd","push","42811WUCkHa","Revision author","1475136VdlfXO","232mNAane","ck-revision-history-sidebar__revision-author","0 0 11 10","93079tDzthY","set","span","990ZLWhwc","100mtpVhu","ck-revision-history-sidebar__revision-author_creator","setTemplate","31422kbudKg","328eKgyzp","name","ck-revision-history-sidebar__revision-author__name","2344735MGWJTN","Revision creator"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(524543===-parseInt(e(206))/1+-parseInt(e(208))/2+-parseInt(e(219))/3*(-parseInt(e(220))/4)+-parseInt(e(223))/5+parseInt(e(225))/6+parseInt(e(212))/7*(parseInt(e(209))/8)+parseInt(e(215))/9*(-parseInt(e(216))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ee extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(213)]({content:mt.IconUser,viewBox:s(211)});const r=["ck",s(210)];i&&r[s(226)](s(217));const o=[{tag:s(214),attributes:{class:["ck",s(222)],title:X(t,s(i?224:207))},children:[n,e[s(221)]]}];this[s(218)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=De();return(Ve=function(t,e){return i[t-=383]})(t,e)}function De(){var t=["760hCcFAU","15299TztbEW","28045020zKZTVQ","32mkGGHB","74HyIcRa","1303092nXeMyc","1463063PfKHCt","long","numeric","390519Uoggce","toLocaleTimeString","30iWYwOB","12881836eJAGJG","3ddLvpJ","toLocaleDateString","2076PjlhyD"];return(De=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(744628===-parseInt(e(386))/1*(-parseInt(e(389))/2)+parseInt(e(398))/3*(parseInt(e(390))/4)+parseInt(e(385))/5*(parseInt(e(384))/6)+-parseInt(e(391))/7*(-parseInt(e(388))/8)+-parseInt(e(394))/9*(-parseInt(e(396))/10)+parseInt(e(397))/11+-parseInt(e(387))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(){const t=["class","source","menu","menuitem","isReady","children","isOpen","change:isActionsDropdownOpen","bindTemplate","Show more items","Name this revision","100505XjGamc","set","8005880ycjauC","1567110NaPorI","listenTo","map","button","items","panelPosition","107572cvTrSj","isVisible","first","add","function","Restore this revision","isActionsDropdownOpen","find","buttonView","action","locale","7oLsmCE","bind","stopPropagation","_action","163288XVznoj","Compare against selected","execute","listView","40vIvALv","ck-revision-history-sidebar__revision__actions","369552rkCZpq","extendTemplate","ck-on","3502278WiodSI","model","isEnabled","1BsHoLV","name"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(261462===parseInt(e(410))/1*(parseInt(e(432))/2)+-parseInt(e(453))/3+parseInt(e(451))/4*(parseInt(e(423))/5)+-parseInt(e(426))/6+parseInt(e(443))/7*(-parseInt(e(447))/8)+-parseInt(e(456))/9+parseInt(e(425))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const We=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=259]})(t,e)}function Ue(){const t=["2342070qAEvFj","ck-revision-history-sidebar__actions_dropdown_open","bindTemplate","uiLanguage","setTemplate","268004KrQPko","authors","createdAt","64580MGQVnA","filter","fire","2210270UDVKhd","ck-revision-history-sidebar__revision","deselect","_requireRevisionName","_createdAtFormatted","setName","isSelected","element","isHighlighted","_revision","highlight","fieldView","12pkcXNG","extendTemplate","revisionActionsView","length","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","name","758460fmVdtv","srcElement","70484uYUqqV","map","isActionsDropdownOpen","from","isConfirm","ck-disabled","bind",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision_selected","revisionNameView","1112dtYWjL","ck-revision-history-sidebar__revision-wrapper","unshift","isReady","ck-revision-history-sidebar__revision__date","2947CFQYBr","4aFOnHE","220","9Mhdqib","closest","div","span","ck-revision-history-sidebar__revision_highlighted","render","unhighlight","isEnabled","listenTo","ck-revision-history-sidebar__revision__controls-wrapper","value","change","set","creator","select","ck-revision-history-sidebar__revision-authors","ck-reset"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(157661===parseInt(e(291))/1*(-parseInt(e(275))/2)+-parseInt(e(293))/3*(parseInt(e(318))/4)+-parseInt(e(273))/5*(-parseInt(e(267))/6)+-parseInt(e(290))/7*(-parseInt(e(285))/8)+-parseInt(e(310))/9+parseInt(e(321))/10+parseInt(e(315))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[We(284)];[We(269)];[We(264)];[We(324)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(312)],a=function(t,e){const i=r,s=Array[i(278)](e[i(316)])[i(319)]((t=>t!=e[i(306)]));return e[i(306)]&&s[i(287)](e[i(306)]),s[i(276)]((s=>new Ee(t,s,s==e[i(306)])))}(e,i);this.id=i.id,this[r(264)]=i,this[r(324)]=n,this[r(281)](r(272),r(317)).to(i),this[r(281)](r(259)).to(this,r(317),(t=>{return i=e[r(313)],(s=t)[(n=Ve)(383)](i,{month:n(392),day:n(393)})+", "+s[n(395)](i,{hour:n(393),minute:n(393)});var i,s,n})),this[r(305)](r(261),!1),this[r(305)](r(263),!1),this[r(305)](r(277),!1),this[r(305)](r(288),!1),this[r(305)](r(300),!1),this[r(284)]=new Te(e,pt.createLabeledInputText),this[r(284)][r(266)][r(268)]({attributes:{maxlength:r(292)}}),this[r(284)][r(266)][r(281)](r(303)).to(this,r(272),(t=>t||this[r(259)])),this[r(284)][r(281)](r(300)).to(this,r(261),this,r(300),((t,e)=>t&&e)),this[r(269)]=s&&s[r(270)]?function(e,i){const s=Le,n=e[s(420)],r=e[s(442)],o=(0,pt.createDropdown)(r);o[s(431)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(442)],n={"Compare against selected":X(s,i(448)),"Name this revision":X(s,i(422)),"Restore this revision":X(s,i(437))};return e[i(428)]((t=>{const e=i,s=n[t[e(411)]];return s&&s!==t[e(411)]&&(t[e(411)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(429),model:new pt.ViewModel({label:t[n(411)],class:t[n(412)],withText:!0,role:n(415),_action:t[n(441)]})};i[n(408)][n(444)](n(409)).to(e,n(438),(i=>n(436)!=typeof t[n(409)]||!i||t[n(409)](e))),o[n(435)](i)}return o}(e,i);return e[s(444)](s(438)).to(o,s(418)),o[s(440)][s(424)]({label:X(r,s(421)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(454)]({attributes:{class:[s(452),n.if(s(438),s(455))]},on:{click:n.to((t=>t[s(445)]()))}}),o.on(s(449),(t=>{const i=s;e[i(416)]&&i(436)==typeof t[i(413)][i(446)]&&t[i(413)][i(446)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(414)}),o[s(427)](e,s(419),((t,n,r)=>{const a=s;if(r)for(const t of o[a(450)][a(430)]){const s=t[a(417)][a(434)],n=i[a(439)]((t=>t[a(441)]===s[a(446)]))[a(433)];t[a(433)]=void 0===n||n(e)}})),o}(this,s):"",this[r(269)]&&this[r(269)][r(281)](r(300)).to(this),this[r(314)]({tag:r(295),attributes:{class:["ck",r(309),r(286),o.if(r(279),r(271))]},children:[{tag:r(295),attributes:{class:["ck",r(309),r(322),o.if(r(300),r(280),(t=>!t)),o.if(r(261),r(283)),o.if(r(263),r(297)),o.if(r(277),r(311))]},children:[this[r(284)],{tag:r(296),attributes:{class:["ck",r(289)]},children:[{text:o.to(r(259))}]},{tag:r(295),attributes:{class:["ck",r(302)]},children:[{tag:"ul",attributes:{class:["ck",r(308)]},children:a}]},this[r(269)]],on:{click:o.to((t=>{const e=r;t[e(274)][e(294)](e(282))||this[e(288)]&&this[e(300)]&&this[e(320)](e(307),{id:this.id})}))}}]})}[We(298)](){const t=We;super[t(298)]();const e=this[t(284)][t(266)][t(262)];this[t(301)](e,t(304),(()=>{const i=t;this[i(324)]&&!e[i(303)]||this[i(320)](i(260),{id:this.id,name:e[i(303)]}),e[i(303)]||(e[i(303)]=this[i(272)]?this[i(272)]:this[i(259)])}))}[We(307)](){this[We(261)]=!0}[We(323)](){this[We(261)]=!1}[We(265)](){this[We(263)]=!0}[We(299)](){this[We(263)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class 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 Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Ei={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Di={};let Mi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Di={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.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 Wi(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):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||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"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=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(){Ui.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=zs(c,e,i)):u>zs(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 Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function 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 Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(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 Es(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?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 En(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Vn[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$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const 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||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,En])}(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 Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=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])=>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,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=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=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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",Er=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Wr(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 zr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=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,zs(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,[zn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return Wr(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,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(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(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(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=["startOf","1004126iDGqVX","day","fromJSDate","year","8bqEyBl","minus","month","16585956nOREXA","week","831ufRfji","toRelativeCalendar","3810785wBNHZJ","1326240nspVMM","798mUHUDu","70EkIQcq","local","toJSDate","46506JFcOPS","6038530tSGngf","hasSame","setLocale","weekdayLong","4388TwDSYV","monthLong"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=223]})(t,e)}function oo(t,e){const i=ro,s=io[i(237)](t)[i(230)](e),n=io[i(225)](),r=n[i(240)]({days:1})[i(234)](i(236));let o,a;return s[i(229)](n,i(236))?(o=s[i(234)](i(236))[i(226)](),a=s[i(245)]()):s[i(229)](r,i(236))?(o=r[i(226)](),a=s[i(245)]()):s[i(229)](n,i(243))?(o=s[i(234)](i(243))[i(226)](),a=s[i(231)]||""):s[i(229)](n,i(238))?(o=s[i(234)](i(241))[i(226)](),a=s[i(233)]||""):(o=s[i(234)](i(238))[i(226)](),a=String(s[i(238)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(988851===-parseInt(e(247))/1+parseInt(e(235))/2+-parseInt(e(244))/3*(-parseInt(e(232))/4)+parseInt(e(228))/5+parseInt(e(227))/6*(parseInt(e(223))/7)+-parseInt(e(239))/8*(-parseInt(e(242))/9)+-parseInt(e(224))/10*(parseInt(e(246))/11))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=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(784780===-parseInt(e(458))/1+parseInt(e(457))/2*(parseInt(e(463))/3)+-parseInt(e(442))/4*(parseInt(e(447))/5)+-parseInt(e(464))/6+parseInt(e(459))/7*(-parseInt(e(467))/8)+-parseInt(e(455))/9+-parseInt(e(468))/10*(-parseInt(e(440))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(439)];[uo(449)];[uo(443)];[uo(466)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(451)][n(456)])[n(437)];this[n(439)]=e,this[n(449)]=this[n(444)](),this[n(443)]=i,this[n(466)]=s,this[n(449)][n(454)](n(461)).to(this),this[n(449)][n(454)](n(460)).to(this),this[n(452)]({tag:n(465),attributes:{class:["ck",n(446)]},children:[{tag:n(469),attributes:{class:["ck",n(438)]},children:[{text:r}]},{tag:n(465),attributes:{class:["ck",n(441)]},children:this[n(449)]}]})}[uo(450)](t){const e=uo,i=new Ze(this[e(451)],t,this[e(443)],this[e(466)]);this[e(449)][e(453)](i)}[uo(445)](t){const e=uo,i=this[e(449)][e(448)]((e=>e.id===t.id));this[e(449)][e(462)](i)}}function fo(){const t=["remove","6ArLRnd","1412346xzWhJb","div","_requireRevisionName","15704mRSudH","30uWKXTP","span","localizedPeriodName","ck-revision-history-sidebar__time-period__label","startDate","5344009QLNloy","ck-revision-history-sidebar__time-period__revisions","46180uVpGfa","_revisionActions","createCollection","removeRevision","ck-revision-history-sidebar__time-period","335ozqZiP","find","revisionViews","addRevision","locale","setTemplate","add","delegate","125091oEgmJk","uiLanguage","634806CFoIWj","215973MSVYOd","245UrkVok","setName","select"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["ck-revision-history-sidebar__header__label","div","2978188REEJqC","3ncASiz","251504FNsxfE","13535kygfcp","48PTWsRz","1485666rxMCAw","ck-reset_all","650919Qyctfm","2343054HckYbs","Revision history","setTemplate","content","span","ck-revision-history-sidebar__header","5196328vvDXjL"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(578153===parseInt(e(443))/1+-parseInt(e(438))/2+-parseInt(e(437))/3*(parseInt(e(453))/4)+parseInt(e(439))/5*(-parseInt(e(440))/6)+parseInt(e(444))/7+parseInt(e(450))/8+-parseInt(e(441))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(447)]=mt.IconHistory,this[e(446)]({tag:e(452),attributes:{class:["ck",e(442),e(449)]},children:[i,{tag:e(448),attributes:{class:["ck",e(451)]},children:[X(t,e(445))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["setTemplate","978698wAkLFy","ck-reset","_getTimePeriodViewByStartDate","remove","find","ck-disabled","ck-rounded-corners","bindTemplate","selectRevision","add","fire","locale","timePeriodViews","startDate","revisionViews","get","unhighlight","setName","_removeRevision","select","highlightRevisions","_revisionActions","delegate","highlight","6XDuzNv","createdAt","set","1103915nlbMkY","ck-revision-history-sidebar","getTime","921630AcbzZa","div","addRevision","createCollection","262801xrvisy","uiLanguage","isEnabled","8BBPAdG","_revisions","_requireRevisionName","ck-revision-history-sidebar__timeline","3ceCBue","1373348MhDVcA","11271678fehddn","removeRevision","revisionSetName","map","flat","revisionSelected","27OTEfZk","deselect","574498GeTMZW","render","_addRevision","some"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=352]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(180899===-parseInt(e(383))/1+-parseInt(e(400))/2*(parseInt(e(390))/3)+parseInt(e(391))/4+parseInt(e(376))/5*(-parseInt(e(373))/6)+parseInt(e(405))/7*(-parseInt(e(386))/8)+parseInt(e(398))/9*(-parseInt(e(379))/10)+parseInt(e(392))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(361)];[wo(387)];[wo(370)];[wo(388)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(356)];this[n(361)]=this[n(382)](),this[n(361)][n(371)](n(368)).to(this),this[n(361)][n(371)](n(366)).to(this),this[n(387)]=e,this[n(370)]=i,this[n(388)]=s,this.on(n(368),((t,e)=>{const i=n;this[i(359)](i(397),e)})),this.on(n(366),((t,e)=>{const i=n;this[i(359)](i(394),e)})),this[n(375)](n(385),!1),this[n(404)]({tag:n(380),attributes:{class:["ck",n(406),n(355),n(377)]},children:[new yo(t),{tag:n(380),attributes:{class:["ck",n(389),r.if(n(385),n(354),(t=>!t))]},children:this[n(361)]}]})}[wo(401)](){const t=wo;super[t(401)]();for(const e of this[t(387)])this[t(402)](e);this[t(387)].on(t(358),((e,i)=>{this[t(402)](i)})),this[t(387)].on(t(352),((e,i)=>{this[t(367)](i)}))}get[wo(363)](){const t=wo;return this[t(361)][t(395)]((e=>e[t(363)][t(395)]((t=>t))))[t(396)]()}[wo(357)](t){const e=wo;for(const i of this[e(363)])t&&t.id===i.id?i[e(368)]():i[e(399)]()}[wo(369)](t){const e=wo;for(const i of this[e(363)])t[e(403)]((({id:t})=>t===i.id))?i[e(372)]():i[e(365)]()}[wo(402)](t){const e=wo,i=oo(t[e(374)],this[e(360)][e(384)])[e(362)];let s=this[e(361)][e(364)](0);s&&s[e(362)][e(378)]()===i[e(378)]()||(s=new ho(this[e(360)],i,this[e(370)],this[e(388)]),this[e(361)][e(358)](s)),s[e(381)](t)}[wo(367)](t){const e=wo,i=oo(t[e(374)],this[e(360)][e(384)])[e(362)];this[e(407)](i)[e(393)](t)}[wo(407)](t){const e=wo;return this[e(361)][e(353)]((i=>i[e(362)][e(378)]()===t[e(378)]()))}}const Oo=No;function To(){const t=["392898fEnWUG","setName","2214965oEWDZJ","5648503YojJex","isReady","19794dEMxho","_revisionViewer","repository","isVisible","init","revisionHistory.viewerSidebarContainer","compare","locale","change:diff","timePeriodViews","select","_sidebarView","editor","RevisionsSidebar","restoreRevisionCallback","nameRevision","render","assign","get","requires","2343399glVLVv","isSelected","compareAgainstSelected","_handleRevisionSelected","revisionHistory.requireRevisionName","ready","data","4567496joFFZu","restoreRevision","12dnuIav","fieldView","config","_handleRevisionSetName","listenTo","revisionViews","_revisions","availableRevisionActions","getEarlierVisibleRevision","revisionSelected","getRevisionsInDiff","Compare against selected","isPremiumPlugin","focus","add","bind","_handleEditorDataReady","getLaterVisibleRevision","map","defaultRevisionActions","Restore this revision","destroy","_revisionsRepository","diff","revisionHistory.revisionActions","_handleDiffChange","isEnabled","9JXyaAY","action","remove","plugins","selectRevision","4eaqmQf","8259530wNlGsT","isOfficialPlugin","appendChild","string","element","revisionSetName","highlightRevisions","getIndex","revisionHistory","name","Name this revision","_createRevisionActions","newRevisionId","getRevision","pluginName","length"];return(To=function(){return t})()}!function(t){const e=No,i=t();for(;;)try{if(487966===-parseInt(e(175))/1*(parseInt(e(121))/2)+-parseInt(e(112))/3*(-parseInt(e(153))/4)+parseInt(e(172))/5+-parseInt(e(170))/6+-parseInt(e(173))/7+-parseInt(e(119))/8*(parseInt(e(148))/9)+parseInt(e(154))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(176)];[Oo(143)];[Oo(186)];static[Oo(140)]=[Oo(114),Oo(120),Oo(107)];static[Oo(128)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(132),action:({plugins:e},i)=>{const s=t,n=e[s(110)](te),r=n[s(177)];let o=n[s(144)][s(166)],a=i.id;r[s(161)](o)>r[s(161)](a)&&([o,a]=[a,o]),n[s(181)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(110)](te);return!(n[s(177)][s(131)](n[s(144)])[s(169)]>2||i[s(113)])}},restoreRevision:{name:t(141),action:(e,{id:i})=>{const s=t;e[s(123)][s(110)](s(162))[s(106)](i)},isVisible:({plugins:e},i)=>!!e[t(110)](te)[t(177)][t(138)](i.id)},nameRevision:{name:t(164),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(110)](te),o=r[n(177)][n(129)](i);r[n(181)](i,o),s[n(134)](),s[n(122)][n(185)]()}}}}();static get[Oo(168)](){return Oo(188)}static get[Oo(155)](){return!0}static get[Oo(133)](){return!0}static get[Oo(111)](){return[te]}constructor(t){const e=Oo;super(t),this[e(176)]=t[e(151)][e(110)](te),this[e(143)]=this[e(176)][e(177)],this[e(186)]=null}[Oo(179)](){const t=Oo,e=this[t(143)][t(127)],i=this[t(165)](),s=this[t(187)][t(123)][t(110)](t(180));this[t(186)]=new So(this[t(187)][t(182)],e,i,this[t(187)][t(123)][t(110)](t(116))),this[t(186)].on(t(130),this[t(115)][t(136)](this)),this[t(186)].on(t(159),this[t(124)][t(136)](this)),this[t(186)][t(136)](t(147)).to(this[t(176)]),this[t(186)][t(184)].on(t(135),((e,i)=>{const s=t;i[s(126)].on(s(135),((t,e)=>{const i=s;e[i(136)](i(147),i(174)).to(this[i(176)])}))})),this[t(186)][t(108)](),this[t(125)](this[t(187)][t(118)],t(117),this[t(137)][t(136)](this)),this[t(125)](this[t(176)],t(183),this[t(146)][t(136)](this)),s[t(156)](this[t(186)][t(158)])}[Oo(142)](){const t=Oo;this[t(186)][t(158)][t(150)](),this[t(186)][t(142)]()}[Oo(137)](){const t=Oo,e=this[t(143)][t(167)](0);if(e){const i=this[t(143)][t(129)](e.id);this[t(176)][t(181)](e,i)}}[Oo(115)](t,e){const i=Oo,s=this[i(143)][i(167)](e.id),n=this[i(143)][i(129)](s.id);this[i(176)][i(181)](s,n)}[Oo(124)](t,e){const i=Oo;this[i(143)][i(167)](e.id)[i(171)](e[i(163)])}[Oo(146)](t,e,i){const s=Oo,n=this[s(143)][s(131)](i);n[s(169)]>2?(this[s(186)][s(160)](n),this[s(186)][s(152)](null)):(this[s(186)][s(160)]([]),this[s(186)][s(152)](n[0]))}[Oo(165)](){const t=Oo,e=this[t(187)],i=xo[t(128)],s=e[t(123)][t(110)](t(145))||xo[t(140)];if(s[t(169)])return s[t(139)]((s=>{const n=t,r=n(157)==typeof s?Object[n(109)]({},i[s]):s;return r[n(149)]=r[n(149)][n(136)](this,e),r[n(178)]&&(r[n(178)]=r[n(178)][n(136)](this,e)),r}))}}function No(t,e){const i=To();return(No=function(t,e){return i[t-=106]})(t,e)}const Ao=xo;function Ro(t,e){const i=Eo();return(Ro=function(t,e){return i[t-=270]})(t,e)}function Eo(){const t=["replace","destroy","rootName","element","785061pAQXRN","editor","document","viewportTopOffset","componentFactory","1111915IgFGcn","32sEavJI","ready","504390IEHNBr","setEditableElement","attachDomRoot","4201410QlyKYl","6vZwSJT","11NDUgcO","detachDomRoot","restore","name","render","focusTracker","_initToolbar","viewportOffset","get","5323tPVbkL","editing","_elementReplacer","toolbar","22236OuzLow","isActive","editable","stickyPanel","431724lCcrKa","init","fire","_toolbarConfig","config","5DaLwqG","getRoot","isFocused","view","fillFromConfig","134XtBkHr","3406GAFbOU","limiterElement","_view","addToolbar","bind"];return(Eo=function(){return t})()}const Vo=Ro;!function(t){const e=Ro,i=t();for(;;)try{if(335996===parseInt(e(271))/1*(parseInt(e(289))/2)+-parseInt(e(307))/3+parseInt(e(279))/4*(-parseInt(e(284))/5)+parseInt(e(311))/6*(-parseInt(e(304))/7)+-parseInt(e(305))/8*(-parseInt(e(299))/9)+parseInt(e(310))/10*(-parseInt(e(312))/11)+-parseInt(e(275))/12*(-parseInt(e(290))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends pt.EditorUI{[Vo(292)];[Vo(282)];[Vo(273)];get[Vo(287)](){return this[Vo(292)]}constructor(e,i){const s=Vo;super(e),this[s(292)]=i,this[s(282)]=(0,pt.normalizeToolbarConfig)(e[s(283)][s(270)](s(274))),this[s(273)]=new t.ElementReplacer}get[Vo(298)](){const t=Vo;return this[t(287)][t(298)]}[Vo(280)](t){const e=Vo,i=this[e(300)],s=this[e(287)],n=i[e(272)][e(287)],r=s[e(277)],o=n[e(301)][e(285)]();r[e(315)]=o[e(297)],s[e(316)]();const a=r[e(298)];this[e(308)](r[e(315)],a),s[e(277)][e(294)](e(286)).to(this[e(317)]),n[e(309)](a),this[e(273)][e(295)](t,this[e(298)]),this[e(318)](),this[e(281)](e(306))}[Vo(296)](){const t=Vo;super[t(296)]();const e=this[t(287)],i=this[t(300)][t(272)][t(287)];this[t(273)][t(314)](),i[t(313)](e[t(277)][t(315)]),e[t(296)]()}[Vo(318)](){const t=Vo,e=this[t(287)];e[t(278)][t(294)](t(276)).to(this[t(317)],t(286)),e[t(278)][t(291)]=e[t(298)],e[t(278)][t(294)](t(302)).to(this,t(319),(({top:t})=>t)),e[t(274)][t(288)](this[t(282)],this[t(303)]),this[t(293)](e[t(274)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=213]})(t,e)}function jo(){var t=["1791qDMOfH","5807992xVIgpM","top","587487jIQPIE","4KmXQlK","328894TrzTTP","editable","30VbjbWP","41760GVWDze","1711375gcVTWb","shouldToolbarGroupWhenFull","1361166Phdcxj","add","765730wrdyit","content","_editable","stickyPanel","render","main","toolbar"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(537858===parseInt(e(227))/1+parseInt(e(229))/2+parseInt(e(215))/3+-parseInt(e(228))/4*(-parseInt(e(213))/5)+-parseInt(e(231))/6*(-parseInt(e(217))/7)+-parseInt(e(225))/8+-parseInt(e(224))/9*(parseInt(e(232))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(219)];[Fo(220)];[Fo(223)];get[Fo(230)](){return this[Fo(219)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(220)]=new pt.StickyPanelView(t),this[s(223)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(214)]}),this[s(219)]=new pt.InlineEditableUIView(t,e)}[Fo(221)](){var t=Fo;super[t(221)](),this[t(220)][t(218)][t(216)](this[t(223)]),this[t(226)][t(216)](this[t(220)]),this[t(222)][t(216)](this[t(230)])}}const Wo=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=321]})(t,e)}function Uo(){const t=["2579085GBjRUK","init","config","locale","_ui","editing","destroy","469955tRFVIl","3034404ohNrFT","createRoot","386DGQoIs","357JaIvgQ","create","60072tLXoMj","model","ready","1874bJofNl","document","updateSourceElement","initPlugins","data","get","250509YJbDPi","view","2686410gDHGZN","20kJdSMD","sourceElement","initialData","fire"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(308717===-parseInt(e(342))/1*(-parseInt(e(348))/2)+parseInt(e(325))/3+-parseInt(e(328))/4*(parseInt(e(339))/5)+parseInt(e(340))/6+-parseInt(e(343))/7*(-parseInt(e(345))/8)+-parseInt(e(332))/9+-parseInt(e(327))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(336)];get ui(){return this[Wo(336)]}constructor(t,e){const i=Wo;super(e),this[i(329)]=t,this[i(346)][i(349)][i(341)]();const s=new Po(this[i(335)],this[i(337)][i(326)],{shouldToolbarGroupWhenFull:!0});this[i(336)]=new Do(this,s)}[Wo(338)](){const t=Wo;return this[t(321)](),this.ui[t(338)](),super[t(338)]()}static async[Wo(344)](t,e){const i=Wo,s=new this(t,e);return await s[i(322)](),await s.ui[i(333)](t),await s[i(323)][i(333)](s[i(334)][i(324)](i(330))||""),s[i(331)](i(347)),s}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=355]})(t,e)}function $o(){const t=["RevisionViewerIntegration","model","Users","toLocaleTimeString","editor","revisionHistory.restoreRevisionCallback","597512hJmxGQ","catch","keys","addUser","isPremiumPlugin","uiLanguage","restoreRevision","selection","indexOf","RevisionViewer","595342IEqONi","PaginationLookup","RevisionTracker","setSelection","$graveyard","pluginName","plugins","292851eAEcKs","push","revision-history-viewer-opened","RevisionHistoryUtils","exitToEditing","hide","revisionHistory.editorContainer","_closeRevisionViewer","8438QyHTgh","isReadOnly","name","getRevision","isEnabled","getMarkersGroup","end","numeric","Annotations","Restored","requires","showRevisionViewerCallback","view","47xGBgRO","result","60EwUqAN","createdAt","locale","error","toJSON","_recalculatePageBreaks","init","6EtcxeG","createRangeIn","save","RestrictedEditingMode","revisionHistory.closeRevisionViewerCallback","isAttached","lazyRoots","roots","closeRevisionViewerCallback","long","none","revisionHistory.viewerEditorElement","join","config","getRevisions","revisionHistory.showRevisionViewerCallback","revision-history-missing-configuration","RevisionsRepository","removeAttribute","has","DocumentOutlineUI","getRoot","5gGBHyF","rootName","fromCharCode","_restoreRevision","DocumentOutline","getAttributeKeys","data","define","display","then","revisionHistory.requireRevisionName","revisionHistory","users","style","RevisionHistoryUI","_getRevisionViewerEditorConfig","_cleanUp","addRevisionData","3840529GDCWUT","create","isOpen","getUser","1942268JhtfUh","enableReadOnlyMode","isReady","commands","63qmTYZU","markers","bind","block","insert","_update","isOfficialPlugin","getRevisionDocumentData","addRoot","removeSelectionAttribute","setAttribute","getRevisionRootsAttributes","isAnonymous","fromVersion","document","revisionHistory.viewerContainer","Dialog","set","element","toolbar","changesNavigation","RevisionHistory","remove","toVersion","saveRevision","includes","map","loadRevisionData","get","from","detachRoot","toLocaleDateString","_viewerEditor","Autosave","_enhanceCloseRevisionViewerCallback","_showRevisionViewer","_enhanceShowRevisionViewerCallback","refreshVisibility","restrictedEditingException","translations","destroy","adapter","repository","1946433PBWTze","enqueueChange","isRevisionViewerOpen","change","parse","creator","disableReadOnlyMode","update","removeMarker","696RcXlkc","refreshPositioning"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(376661===parseInt(e(448))/1*(parseInt(e(435))/2)+parseInt(e(393))/3+parseInt(e(501))/4*(parseInt(e(479))/5)+-parseInt(e(457))/6*(-parseInt(e(497))/7)+parseInt(e(410))/8*(-parseInt(e(505))/9)+parseInt(e(450))/10*(parseInt(e(420))/11)+-parseInt(e(402))/12*(parseInt(e(427))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(493),Ho(460)];class Yo extends U.Plugin{[Ho(449)];static get[Ho(425)](){return Ho(404)}static get[Ho(356)](){return!0}static get[Ho(414)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(376)]((t=>String[e(481)](t)))[e(469)]("")}super(t),this[e(449)]=e(441),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 U.Plugin{[Ho(382)];static get[Ho(425)](){return Ho(371)}static get[Ho(356)](){return!0}static get[Ho(414)](){return!0}static get[Ho(445)](){return[at,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(408)][i(470)][i(378)](i(490)))throw new t.CKEditorError(i(473),this);this[i(382)]=null,this[i(367)](i(395),!1),this[i(408)][i(470)][i(486)](i(472),(t=>this[i(385)]({...t,translations:this[i(408)][i(452)][i(389)]}))),this[i(408)][i(470)][i(486)](i(461),(t=>this[i(434)](t))),this[i(408)][i(470)][i(486)](i(409),(t=>this[i(482)](t))),this[i(408)][i(470)][i(486)](i(489),!1),this[i(386)](),this[i(384)]()}set[Ho(391)](t){const e=Ho;this[e(408)][e(426)][e(378)](e(422))[e(391)]=t}get[Ho(391)](){const t=Ho;return this[t(408)][t(426)][t(378)](t(422))[t(391)]}[Ho(496)](t){const e=Ho;return this[e(408)][e(426)][e(378)](e(422))[e(496)](t)}[Ho(438)](t){const e=Ho;return this[e(408)][e(426)][e(378)](e(474))[e(438)](t)}[Ho(471)](t){const e=Ho;return this[e(408)][e(426)][e(378)](e(474))[e(471)](t||{toJSON:!1})}[Ho(494)](){const e=Ho,i=this[e(408)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(426)][e(378)](e(422)),r=i[e(426)][e(378)](e(406))[e(491)];return s[e(369)]=[e(431),e(416),e(370)],delete s[e(463)],s[e(426)][e(428)](Yo,te,be,class extends U.Plugin{static get[e(445)](){return[te,e(406)]}[e(456)](){const s=e,o=this[s(408)][s(426)][s(378)](s(406));for(const t of r)t[s(362)]||o[s(500)](t.id)||o[s(413)](t);const a=n[s(392)][s(471)]();let c=null;const u=this[s(408)][s(426)][s(378)](s(419));u[s(391)]=n[s(391)],u[s(507)](s(439)).to(n),this[s(408)][s(504)][s(378)](s(416))[s(507)](s(439)).to(i,s(436),(t=>!t));for(const e of a){const i=null===e[s(398)];if(i&&e[s(373)]===e[s(363)])continue;const r=e[s(454)]();u[s(496)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(355)](r,o);else if(!o){const e=a[u(454)]();e.id=(0,t.uid)(),n[u(374)](e,a[u(373)])[u(488)]((t=>{c=t}))}}else e[u(355)](r,o)}))}}},Ao),s}[Ho(386)](){const t=Ho,e=this[t(408)][t(470)][t(378)](t(490))[t(446)];this[t(408)][t(470)][t(367)](t(472),(async()=>{const i=t;this[i(408)][i(502)](i(429));const s=this[i(408)][i(426)][i(378)](i(422));if(this[i(408)][i(426)][i(476)](i(383))){const t=this[i(408)][i(426)][i(378)](i(383));await t[i(459)]()}else await s[i(400)]();if(this[i(408)][i(426)][i(476)](i(421))&&this[i(408)][i(426)][i(378)](i(421))[i(455)](),this[i(408)][i(426)][i(476)](i(366))){const t=this[i(408)][i(426)][i(378)](i(366));t[i(499)]&&t[i(432)]()}const n=this[i(494)]();return e(n)[i(488)]((t=>{const e=i;return this[e(382)]=t,this[e(408)][e(426)][e(476)](e(443))&&this[e(408)][e(426)][e(378)](e(443))[e(387)](),this[e(408)][e(426)][e(476)](e(483))&&(this[e(408)][e(426)][e(378)](e(477))[e(447)][e(368)][e(492)][e(487)]=e(467)),t}))[i(411)]((t=>(console[i(453)](t),this[i(408)][i(399)](i(429)),null)))}))}[Ho(384)](){const t=Ho,e=this[t(408)][t(470)][t(378)](t(490))[t(465)];this[t(408)][t(470)][t(367)](t(461),(()=>(this[t(408)][t(426)][t(476)](t(421))&&this[t(408)][t(426)][t(378)](t(421))[t(455)](),this[t(408)][t(426)][t(476)](t(483))&&(this[t(408)][t(426)][t(378)](t(477))[t(447)][t(368)][t(492)][t(487)]=""),this[t(382)][t(426)][t(378)](t(419))[t(495)](),e(this[t(382)])[t(488)]((()=>{const e=t;if(this[e(408)][e(399)](e(429)),this[e(382)]=null,this[e(408)][e(426)][e(476)](e(443))){const t=this[e(408)][e(426)][e(378)](e(443));t[e(387)](),t[e(403)]()}})))))}[Ho(385)](t){const e=Ho,i=this[e(408)][e(470)][e(378)](e(433)),s=this[e(408)][e(470)][e(378)](e(365)),n=this[e(408)][e(470)][e(378)](e(468));return Zo[e(498)](n,t)[e(488)]((t=>(s[e(492)][e(487)]=e(508),i[e(492)][e(487)]=e(467),this[e(395)]=!0,t)))}[Ho(434)](t){const e=Ho,i=this[e(408)][e(470)][e(378)](e(433));return this[e(408)][e(470)][e(378)](e(365))[e(492)][e(487)]=e(467),i[e(492)][e(487)]="",this[e(395)]=!1,t[e(390)]()}async[Ho(482)](t){const e=Ho,i=this[e(408)],s=this[e(382)][e(426)][e(378)](e(419)),n=i[e(426)][e(378)](e(422)),r=i[e(426)][e(378)](e(430)),o=s[e(392)][e(438)](t);let a,c,u;try{await r[e(377)](o,this[e(391)]),a=r[e(357)](o),c=r[e(361)](o)}catch(t){return void console[e(453)](t)}i[e(405)][e(396)]((t=>{const s=e;for(const e of Array[s(379)](i[s(405)][s(506)][s(440)](s(388))))t[s(401)](e)})),s[e(503)]=!1,i[e(405)][e(394)]((t=>{const s=e;t[s(423)](null),t[s(359)](i[s(405)][s(364)][s(417)][s(484)]());const n=Object[s(412)](a);for(const e of i[s(405)][s(364)][s(464)])s(424)!=e[s(480)]&&e[s(462)]()&&!n[s(375)](e[s(480)])&&t[s(380)](e);for(const e of n){let n=i[s(405)][s(364)][s(478)](e);n&&n[s(462)]()||(n=t[s(358)](e));const r=c[e],o=Object[s(412)](r),u=a[e];for(const e of n[s(484)]())o[s(375)](e)||t[s(475)](e,n);for(const i of o)t[s(360)](i,c[e][i],n);t[s(372)](t[s(458)](n)),t[s(509)](i[s(485)][s(397)](u,n),n,0)}}));const l=X(i[e(452)],e(444));return u=o[e(437)]?-1==o[e(437)][e(418)](l)?l+": "+o[e(437)]:o[e(437)]:l+": "+o[e(451)][e(381)](i[e(452)][e(415)],{month:e(466),day:e(442)})+", "+o[e(451)][e(407)](i[e(452)][e(415)],{hour:e(442),minute:e(442)}),await n[e(374)]({name:u}),s[e(503)]=!0,i[e(470)][e(378)](e(490))[e(465)]()}}function Go(){var t=["4LBfLRN","2318460yitNWj","3467318KejhrO","32423244ksfOQm","1jyAmPm","813237GtQubc","14182641aJHPNe","972301gRmNOq","5180049quxWKj","8ZHvGLa","170FGhtKC","5bJfGaI"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=165]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(958962===-parseInt(e(165))/1*(parseInt(e(175))/2)+parseInt(e(166))/3*(parseInt(e(173))/4)+parseInt(e(172))/5*(parseInt(e(174))/6)+parseInt(e(169))/7*(-parseInt(e(170))/8)+parseInt(e(167))/9+parseInt(e(171))/10*(-parseInt(e(168))/11)+parseInt(e(176))/12)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:()=>z,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,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]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,V(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=W;function P(){const t=["diffData","2570KSgTcY","_update","2PavyIA","authorsIds","195510BHjWZm","936WaywKL","fire","authors","map","model","fromVersion","createdAt","331646hMMyun","creator","attributes","2192092zBMuDI","setName","removeAttribute","19103SKCvxB","set","toVersion","toJSON","name","2878192pfQLgN","creatorId","1074330azWyxX","30222IbSBCu","setAttribute"];return(P=function(){return t})()}function W(t,e){const i=P();return(W=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(288565===parseInt(e(387))/1*(-parseInt(e(377))/2)+-parseInt(e(379))/3+parseInt(e(390))/4+parseInt(e(400))/5+parseInt(e(380))/6*(parseInt(e(393))/7)+parseInt(e(398))/8+-parseInt(e(401))/9*(parseInt(e(404))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class z extends((0,t.ObservableMixin)()){id;[j(388)];[j(382)];[j(403)];[j(395)];[j(385)];[j(384)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(388)]=e[i(388)]||null,this[i(382)]=e[i(382)]||[],this[i(403)]=e[i(403)]||null,this[i(395)]=e[i(395)]||0,this[i(385)]=e[i(385)]||0,this[i(394)](i(397),e[i(397)]||""),this[i(394)](i(386),e[i(386)]||new Date),this[i(394)](i(389),e[i(389)]||{})}[j(391)](t){this[j(376)]({name:t})}[j(402)](t,e){const i=j,s=A(this[i(389)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(376)]({attributes:s})}[j(392)](t){const e=j,i=A(this[e(389)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(376)]({attributes:i})}[j(376)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(397),i(386),i(403),i(382),i(389),i(395),i(385),i(399)];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(382)]&&(n[i(378)]=n[i(382)][i(383)]((t=>t.id)),delete n[i(382)]),this[i(381)](i(376),n,e))}[j(396)](){const t=j;return{id:this.id,name:this[t(397)],creatorId:this[t(388)]?this[t(388)].id:null,authorsIds:this[t(382)][t(383)]((t=>t.id)),diffData:this[t(403)],createdAt:this[t(386)],attributes:this[t(389)],fromVersion:this[t(385)],toVersion:this[t(395)]}}}var H=i(782),U=i(211),Z=i(783);const q=B;function $(){const t=["2004226cqtPVX","303egphze","diffData","1123950RBiATN","oldRevisionId","push","length","687153CrhDLb","2864332hSQJYH","from","_revisions","isOfficialPlugin","isPremiumPlugin","reverse","editor","href","afterInit","get","getRevisions","RevisionsRepository","attributes","getLaterVisibleRevision","getRevisionsIterator","plugins","map","getRevisionsInDiff","name","11876tjjyuY","1517315jkOtrQ","Users","requires","authorsIds","23248vFYywM","getRevision","4203xISssY","earlier","creatorId","toJSON","fromVersion","newRevisionId","fromCharCode","getUser","isNaN","createRevision","toVersion","getEarlierVisibleRevision","join","data","createdAt","later","addRevision","getIndex","pluginName","add"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=204]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(383838===-parseInt(e(217))/1+-parseInt(e(237))/2*(parseInt(e(211))/3)+parseInt(e(218))/4+-parseInt(e(238))/5+parseInt(e(213))/6+-parseInt(e(210))/7+parseInt(e(242))/8*(parseInt(e(244))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends H.Plugin{[q(220)];static get[q(240)](){return[U.Users]}static get[q(208)](){return q(229)}static get[q(221)](){return!0}static get[q(222)](){return!0}get[q(216)](){const t=q;return this[t(220)][t(216)]}constructor(e){const i=q;super(e),this[i(220)]=new t.Collection}[q(226)](){!async function(e){const i=k([68,101,99,74,76,77,98,75,114,51,56,50,88,122,90,87,55,86,103,66,71,113,52,57,73,111,54,106,85,97,118,116,120,83,80,102,109,104,108,100,53,81,67,78,70,72,121,115,84,89,112,69,105,48,65,107,117,110,119,82,79,49]),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(252)](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([68]);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(234)]((t=>String[e(250)](t)))[e(256)]("")}!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:1745020800;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(225)]);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(253)](t){const e=q,i=this[e(224)][e(233)][e(227)](e(239));return new z({id:t.id,name:t[e(236)],creator:t[e(246)]?i[e(251)](t[e(246)]):null,diffData:t[e(212)]||t[e(257)],authors:t[e(241)][e(234)]((t=>i[e(251)](t))),createdAt:new Date(t[e(204)]),attributes:t[e(230)],fromVersion:t[e(248)],toVersion:t[e(254)]})}[q(206)](t,e=0){const i=q;this[i(220)][i(209)](t,e)}[q(243)](t){const e=q;return this[e(220)][e(227)](t)}[q(228)](t={toJSON:!1}){const e=q,i=Array[e(219)](this[e(220)]);return i[e(223)](),t[e(247)]?i[e(234)]((t=>t[e(247)]())):i}[q(207)](t){const e=q;return this[e(220)][e(207)](t)}[q(255)](t){const e=q,[,i]=this[e(232)](t,{direction:e(245)});return i}[q(231)](t){const e=q,[,i]=this[e(232)](t,{direction:e(205)});return i}[q(235)](t){const e=q,i=[];for(const s of this[e(232)](t[e(249)]))if(i[e(215)](s),s.id===t[e(214)])break;return i}*[q(232)](t,{direction:e=q(245),filter:i=()=>!0}={}){const s=q,n=s(245)===e?1:-1;let r=this[s(220)][s(227)](t),o=this[s(207)](r);for(yield r;r;){if(o+=n,r=this[s(243)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=146]})(t,e)}function K(){const t=["toModel","14gUwpaX","revision-end","isAttached","5373390tOkyiR","getFillerOffset","from","getRevision","_getViewFromDiffObj","useFillerType","getRevisionDocumentData","document","_getTypeCharForViewElement","editor","_makeModelFromViewString","innerHTML","customProperties","length","name","diffData","attributes","constructor","8260kKbPDS","startsWith","3718VVkIoz","revision-start","parse","div","insertions","fillerOffset","type","viewChildrenToDom","get","default","data-revision-","map","1632deWERS","attachChange","getRevisionRootsAttributes","collaboration.channelId","htmlProcessor","append","forEach","config","pluginName","isPremiumPlugin","data","isOfficialPlugin","toData","domChildrenToView","processor","view","editing","RevisionHistoryUtils","render","1111158iyRZpy","loadRevisionData","_removeRevisionMarkers","domConverter","122rgncIP","childNodes","3553713KYMMMd","2504oMPhmw","attributesAfter","domDocument","filter","string","_typeCharToViewClass","createElement","marked","_setCustomProperty","_appendChild","children","_viewClassToTypeChar","605272nLdCll"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(220701===parseInt(e(188))/1*(-parseInt(e(148))/2)+parseInt(e(200))/3*(parseInt(e(151))/4)+-parseInt(e(186))/5+-parseInt(e(219))/6+parseInt(e(165))/7*(parseInt(e(163))/8)+-parseInt(e(150))/9+parseInt(e(168))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends H.Plugin{static get[J(208)](){return J(217)}static get[J(211)](){return!0}static get[J(209)](){return!0}[J(162)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(156)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(220)](t,e){const i=J;if(t[i(183)]||!e)return;const s=this[i(177)][i(207)][i(196)](i(203)),n=await e[i(171)]({channelId:s,revisionId:t.id});t[i(183)]=n[i(183)]}[J(174)](t){const e=J,i={};for(const s in t[e(183)]){if(t[e(183)][s][e(201)]&&!t[e(183)][s][e(201)][e(167)])continue;const n=this[e(146)](JSON[e(190)](t[e(183)][s][e(192)])),r=this[e(177)][e(216)][e(215)][e(175)],o=new Z.ViewDocumentFragment(r,n[e(199)]((t=>this[e(172)](t,!1))));this[e(177)][e(210)][e(214)][e(173)](e(158)),i[s]=this[e(177)][e(210)][e(214)][e(212)](o),this[e(177)][e(210)][e(214)][e(173)](e(197))}return i}[J(202)](t){const e=J,i={};for(const s in t[e(183)])t[e(183)][s][e(201)]&&!t[e(183)][s][e(201)][e(167)]||(i[s]=t[e(183)][s][e(152)]||{});return i}[J(176)](t){const e=J;return this[e(162)][e(196)](t[e(185)])}[J(172)](t,e){const i=J,s=this[i(177)][i(216)][i(215)][i(175)];if(i(155)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(194)]||"r"==t[i(194)]?[]:t[i(161)][i(199)]((t=>this[i(172)](t,e)));const o=this[i(156)][i(196)](t[i(194)])||Z.ViewElement,a=this[i(177)][i(210)][i(204)][i(147)];if(n=new o(s,t[i(182)],t[i(184)],r),"u"==t[i(194)]&&t[i(161)][0]){const r=t[i(161)][0];if(n[i(218)]=function(t){const e=i,s=t[e(157)](e(191));return s[e(179)]=r,s[e(149)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(160)](n);const e=Array[i(170)](a[i(195)](t,{bind:!1})),r=a[i(153)][i(157)](i(191));r[i(205)](...e),n=Array[i(170)](a[i(213)](r))[0]}}else if("r"==t[i(194)]&&t[i(161)][0]){const r=t[i(161)][0];if(n[i(218)]=function(t){t[i(179)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(160)](n);const e=Array[i(170)](a[i(195)](t,{bind:!1})),r=a[i(153)][i(157)](i(191));r[i(205)](...e);const o=Array[i(170)](a[i(213)](r));o[i(181)]>1?n[i(160)](o):n=o[0]}}if(t[i(180)])for(const[e,s]of t[i(180)])n[i(159)](e,s);const c=void 0===t[i(193)]?null:t[i(193)];return null!==c&&(n[i(169)]=()=>c),n}}[J(178)](t){const e=J,i=JSON[e(190)](t),s=this[e(177)][e(216)][e(215)][e(175)],n=new Z.ViewDocumentFragment(s,i[e(199)]((t=>this[e(172)](t,!0))));return this[e(177)][e(210)][e(164)](n)}[J(146)](t){const e=J;return(t=t[e(154)]((t=>!t[e(182)]||e(189)!==t[e(182)]&&e(166)!==t[e(182)])))[e(206)]((t=>{const i=e;i(155)!=typeof t&&(t[i(161)]=this[i(146)](t[i(161)]),t[i(184)]=t[i(184)][i(154)]((t=>!t[0][i(187)](i(198)))))})),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,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const D=(s=s??new Map).get(t),V=s.get(i);if(null!=D&&null!=V)return D===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,T))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,T)));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 x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||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,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=at;function ot(){const t=["PENDING_ACTION_REVISION_HISTORY","createRange","updateRevisions","editor-initial-data-replaced-with-revision-data","_markChanges","NEGATIVE_INFINITY","createRangeIn","getWalker","getData","bind","loadState","upcast","_initialRevisionId","adapter","loadRevisionData","define","_reset","_update","some","revisionHistoryLicenseKeyValid","_clone","uiElement","getNodeByPath","root","_createCurrentRevision","_getPreviousFrom","revisionHistoryLicenseKeyDomainLimit","createdAt","remove","init","customProperties","revisionHistoryLicenseKeyNotAllowed","insertions","_loadedStateData","type","createRevision","model","_makeRevision","getCurrentRevisionId","version","_saveMetaData","getRevisions","conversion","roots","getUser","oldRange","_makeModelFromViewString","_revisionDataBuilder","string","offsetSize","toVersion","revision","graveyardPosition","trialLimit","getLatestVersion","_setConversion","createPositionAt","removeRootAttribute","_pendingAction","map","userId","getAttribute","_operations","setSource","domConverter","push","element","getRevisionRootsAttributes","rawElement","expired","history","saveRevision","ready","7BNaOLz","fromVersion","source","_createFromRanges","document","_showLicenseError","PendingActions","affectsData","reverse","RealTimeCollaborationClient","_getState","Empty document","3195900mzLkUe","diffData","destroy","reinsert","has","_getVidAttributeName","keepParagraph","_authorId","_handleRootOperation","6110tCPJFt","attributesAfter","$comment","getRootNames","key","_revisionId","isPremiumPlugin","_touched","_isInit","dataToMarker","1268840TTiRzh","config","Initial revision","isOfficialPlugin","_utils","getTransformedByOperation","sendBufferedUpdates","getCustomProperties","move","hasContent","fillerOffset","revisionHistoryLicenseKeyExpired","_fixRange","trim","delete","_handleRootAttributeOperation","vid","set","createPositionAfter","_cloneOperation","_applyOperations","htmlProcessor","getAncestors","revisionHistoryLicenseKeyInvalid","nodeAfter","locale","_copyMarkers","Users","addRevision","$text","insert","getOperations","RevisionsRepository","getOperation","nodes","children","initialData","getChild","getRevision","_loadState","_isAttached","deletion","_getTypeCharForViewElement","_replaceEditorDataWithRevisionData","_licenseKeyCheckInterval","splitPosition","getFillerOffset","values","innerHTML","invalid","_bufferUpdate","licenseKey","from","addRoot","_handleMergeOperation","$graveyard","get","_touchedRoots","_generateTape","_transformMarkers","getRange","addRevisionData","vid_start","fromEntries","size","12UBgphs","clone","_lastFrom","keys","_makeIdsRoot","getRevisionDocumentData","_getFromVersion","plugins","1260744iWBstk","rootsAttributes","_diffRoots","detachRoot","path","deletions","start","revisionHistoryLicenseKeyTrialLimit","stringify","revision:","tableCell","isEnabled","startsWith","find","max","shift","_lastTo","paragraph","_appendChild","createPositionFromPath","_baseRootsAttributes","_removePendingAction","revisionHistoryLicenseKeyEvaluationLimit","vid_end","_addPendingAction","990178hwqXSj","authorsIds","_handleInsertOperation","featureNotAllowed","insertionPosition","toView","_removeMetaData","render","setRevisionData","_getViewJson","_touchedMarkers","filter","isAdd","documentFragment","getIndex","includes","revisionHistory.resumeUnsavedRevision","4466022sSdVJZ","repository","dataDowncast","_isPendingUpdate","usageLimit","text","_markers","isReady","finally","update","RevisionHistoryUtils","afterInit","_bufferedUpdates","getAttributes","offset","_findInsertionIndex","createPositionBefore","_handleMarkerOperation","_startingVersion","_fixPosition","add","getTime","domDocument","sort","_baseIdsRoots","editor","collaboration.channelId","createElement","_startingRevisionId","marker","addRootAttribute","buildRevisionData","revisionHistoryLicenseKeyUsageLimit","merge","creatorId","pluginName","_calculateMetaData","_processRootBeforeSave","end","_handleOperation","elementEnd","position","RevisionTracker","resolve","parent","attachChange","_getBaseVids","_setAttribute","howMany","length","targetPosition","_baseRoots","isEqual","_createInitialRevision","sourcePosition","newValue","elementStart","then","for","baseVersion","previousPosition","name","authors","markerToData","_handleMoveOperation","_prepareViewToSave","data","clear","stickiness","_execute","creator","item","_insertChild","currentRevision","requires","split","domainLimit","rootName","getRoot","_diffRootsAttributes","_continueCurrentRevision","changeRootAttribute","433096xLSepD","outerHTML","_fixOperation","getChildren","newRange","67185sHCWvr","_savedMetaData","markers","RevisionHistory","range","childCount","getMovedRangeStart","_idsRoots","evaluationLimit","attributesBefore","initial","_source","isAttached","insertion","_handleSplitOperation","slice","reInit"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(830064===-parseInt(e(419))/1+-parseInt(e(643))/2+parseInt(e(610))/3*(-parseInt(e(618))/4)+-parseInt(e(526))/5+parseInt(e(660))/6*(-parseInt(e(514))/7)+-parseInt(e(545))/8+-parseInt(e(424))/9*(-parseInt(e(535))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends H.Plugin{[rt(596)];[rt(589)];[rt(410)]=null;[rt(661)];[rt(454)]=null;[rt(488)];[rt(435)];[rt(453)];[rt(672)];[rt(549)];[rt(499)];[rt(417)];[rt(678)];[rt(474)];static get[rt(695)](){return rt(702)}static get[rt(548)](){return!0}static get[rt(541)](){return!0}static get[rt(411)](){return[U.Users,Y,Q,H.PendingActions]}constructor(e){const i=rt;super(e),this[i(661)]=this[i(685)][i(617)][i(601)](i(577)),this[i(549)]=this[i(685)][i(617)][i(601)](i(670)),this[i(488)]=new ut(this[i(685)]),this[i(453)]=this[i(685)][i(546)][i(601)](i(686))||i(434),this[i(672)]=new Map,this[i(474)]=null;const s=(0,t.uid)();this[i(435)]={history:this[i(685)][i(477)][i(518)][i(511)],getLatestVersion:()=>Promise[i(703)](this[i(685)][i(477)][i(518)][i(480)]),getCurrentRevisionId:()=>s},this[i(562)](i(667),!1),this[i(562)](i(629),!0),this[i(562)](i(663),!1),this[i(685)][i(546)][i(456)](i(659),!0),this[i(685)][i(483)][i(718)](i(452))[i(544)]({view:i(492)})}[rt(470)](){const t=rt;this[t(496)](),this[t(685)][t(726)].on(t(513),(()=>{const e=t,i=this[e(661)][e(583)](0),s=i&&null===i[e(730)]?i:null;if(this[e(417)]=!!s&&this[e(685)][e(546)][e(601)](e(659)),this[e(685)][e(617)][e(530)](e(523))){const t=this[e(435)][e(479)](),n=this[e(661)][e(583)](t);if(n)this[e(678)]=n[e(515)],this[e(417)]=!1;else{const t=this[e(435)][e(511)][e(503)][e(631)]((t=>!t[e(543)])),n=t?t[e(719)]:this[e(435)][e(511)][e(480)];i?(i[e(491)]<n&&i[e(458)]({toVersion:n}),this[e(417)]?(this[e(435)][e(479)]=()=>s.id,this[e(678)]=s[e(515)]):(this[e(678)]=i[e(491)],this[e(417)]=!1)):(this[e(678)]=n,this[e(417)]=!1)}}else s&&(this[e(685)][e(477)][e(518)][e(511)][e(480)]=Math[e(632)](s[e(491)],this[e(685)][e(477)][e(518)][e(511)][e(480)]),s[e(515)]===s[e(491)]?(0!==s[e(515)]&&(this[e(435)][e(479)]=()=>s.id),this[e(417)]=!1):this[e(417)]&&(this[e(435)][e(479)]=()=>s.id,this[e(678)]=s[e(515)])),this[e(417)]||(this[e(678)]=this[e(685)][e(477)][e(518)][e(480)]);this[e(488)][e(470)](this[e(435)][e(511)]),this[e(713)](this[e(678)]),this[e(465)](this[e(678)]),this[e(454)]&&this[e(551)]()})),this[t(450)](t(667)).to(this,t(663),(t=>!t)),this[t(596)]=this[t(685)][t(546)][t(601)](t(596));const e=this[t(685)];this[t(589)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(460)==r||i(568)==r||i(556)==r||i(467)==r||i(472)==r||i(640)==r||i(625)==r||i(692)==r){delete e[n],s=r,clearInterval(this[i(589)]),this[i(589)]=void 0;break}}i(568)==s&&e[i(519)](i(594)),i(556)==s&&e[i(519)](i(510)),i(467)==s&&e[i(519)](i(413)),i(472)==s&&e[i(519)](i(646),i(427)),i(640)==s&&e[i(519)](i(432)),i(625)==s&&e[i(519)](i(494)),i(692)==s&&e[i(519)](i(664))}),1e3)}async[rt(671)](){const t=rt;if(this[t(661)][t(709)]>0){const e=this[t(661)][t(583)](0),i=await this[t(615)](e),s=await this[t(508)](e);this[t(588)](i,s)}}[rt(528)](){const t=rt;super[t(528)](),this[t(589)]&&clearInterval(this[t(589)])}[rt(504)](t){this[rt(435)]=t}async[rt(669)](){const t=rt,e=await this[t(435)][t(495)]();if(e>this[t(410)][t(491)]){await this[t(584)]();const i=this[t(691)]({revision:this[t(410)],to:e});i[t(722)]=i[t(644)][t(500)]((e=>this[t(685)][t(617)][t(601)](t(572))[t(485)](e))),this[t(410)][t(458)](i)}}async[rt(512)](e={},i=null){const s=rt,n=[];await this[s(584)](),this[s(417)]=!1,i>this[s(410)][s(491)]&&(i=null),null===i&&(i=await this[s(435)][s(495)]());const r=this[s(616)](i),o=this[s(691)]({from:r,to:i});if(this[s(410)][s(491)]<i){const t=this[s(691)]({revision:this[s(410)],from:i,to:i});t[s(722)]=[],t[s(644)]=[],t.id=this[s(410)].id,this[s(410)][s(458)](t,!0),delete t[s(722)],n[s(506)](t)}e[s(694)]=this[s(685)][s(617)][s(601)](s(572)).me.id,e[s(721)]=e[s(721)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(606)](e);n[s(506)](e);const c=this[s(661)][s(657)](a);if(0!==c){const t=this[s(661)][s(583)](c-1);if(t[s(515)]!==i){const r=this[s(488)][s(449)](i,t[s(491)]),o={id:t.id,diffData:r[s(527)],authorsIds:r[s(644)],authors:r[s(644)][s(500)]((t=>this[s(685)][s(617)][s(601)](s(572))[s(485)](t))),fromVersion:i};t===this[s(410)]&&(o[s(468)]=new Date(e[s(468)][s(681)]()+10)),t[s(458)](o,!0),delete o[s(722)],n[s(506)](o)}}if(this[s(454)]){for(const t of n)this[s(595)](t.id,t,!0);this[s(551)]()}return a}[rt(606)](t){const e=rt,i=this[e(661)][e(476)](t);return this[e(454)]&&i.on(e(458),((t,i,s)=>{const n=e;s||(this[n(595)](i.id,i,!0),this[n(551)]())})),this[e(661)][e(573)](i,this[e(675)](i)),i}async[rt(615)](t){const e=rt;return await this[e(549)][e(455)](t,this[e(454)]),this[e(549)][e(615)](t)}async[rt(508)](t){const e=rt;return await this[e(549)][e(455)](t,this[e(454)]),this[e(549)][e(508)](t)}[rt(551)](){const t=rt;if(0===this[t(672)][t(609)])return;if(this[t(663)])return;let e=Array[t(597)](this[t(672)][t(592)]());this[t(672)][t(727)]();for(let i=0;i<e[t(709)];i++){const s=e[i];let n=!1;for(const e of Object[t(613)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(654)]((t=>null!==t)),!e[t(709)])return;for(let i=0;i<e[t(709)];i++){const s=e[i];void 0!==s[t(515)]&&void 0===s[t(491)]&&(s[t(491)]=this[t(661)][t(583)](s.id)[t(491)]),void 0!==s[t(491)]&&void 0===s[t(515)]&&(s[t(515)]=this[t(661)][t(583)](s.id)[t(515)])}const i=this[t(685)][t(546)][t(601)](t(686));this[t(663)]=!0,this[t(642)](),this[t(454)][t(443)](e,i)[t(668)]((()=>{this[t(663)]=!1}))[t(717)]((e=>{const i=t;if(e)for(const t of e)this[i(651)]({id:t.id,createdAt:t[i(468)]});this[i(639)](),this[i(551)]()}))}[rt(691)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(515)],i=null!==i?i:t[s(491)];const n=this[s(488)][s(449)](e,i),r={diffData:n[s(527)],authorsIds:n[s(644)],fromVersion:e,toVersion:i};if(!t||i!==t[s(491)]){const t=i-1,e=this[s(435)][s(511)][s(578)](t);r[s(468)]=e&&e[s(468)]||new Date}if(this[s(474)]&&e===this[s(474)][s(515)])for(const t of this[s(474)][s(722)])r[s(644)][s(658)](t.id)||r[s(644)][s(506)](t.id);return r}[rt(595)](t,e,i){const s=rt;if(this[s(672)][s(530)](t)){const n=this[s(672)][s(601)](t);e=i?{...n,...e}:{...e,...n}}this[s(672)][s(562)](t,e)}[rt(651)](t){const e=rt,i=this[e(661)][e(583)](t.id);if(t[e(468)]&&(t[e(468)]=new Date(t[e(468)])),t[e(644)]){const i=this[e(685)][e(617)][e(601)](e(572));t[e(722)]=t[e(644)][e(500)]((t=>i[e(485)](t)))}i[e(458)](t,!0)}[rt(713)](t){const e=rt,i=this[e(661)][e(583)](this[e(661)][e(709)]-1);if(i)this[e(453)]=i.id;else{const i=!this[e(685)][e(477)][e(518)][e(484)][e(631)]((t=>this[e(685)][e(477)][e(554)](t))),s=this[e(685)][e(617)][e(601)](e(572)).me.id,n=X(this[e(685)][e(570)],e(i?525:547));this[e(478)]({from:t,to:t,id:this[e(453)],name:n,creatorId:s})}}[rt(465)](t){const e=rt,i=this[e(435)][e(479)]();this[e(410)]=this[e(661)][e(583)](i),this[e(410)]||(this[e(410)]=this[e(478)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(584)](){const t=rt;this[t(417)]&&!this[t(474)]&&(await this[t(549)][t(455)](this[t(410)],this[t(454)]),this[t(488)][t(451)](this[t(410)]),this[t(474)]={fromVersion:this[t(410)][t(515)],authors:this[t(410)][t(722)][t(439)]()})}[rt(588)](e,i){const s=rt;let n=this[s(685)][s(546)][s(601)](s(581)),r=this[s(685)][s(546)][s(601)](s(619));if(void 0===n){n={};for(const t of this[s(685)][s(477)][s(518)][s(538)]())n[t]=""}if(s(489)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(685)][s(477)][s(518)][s(538)]())r[t]={}}let o=!1;const a=Object[s(613)](n),c=Object[s(613)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(558)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(613)](r[t])[s(709)]>0){o=!0;break}}o||(o=c[s(459)]((t=>!this[s(685)][s(477)][s(518)][s(415)](t)))),o&&(0,t.logWarning)(s(444),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(685)][s(546)][s(562)](s(581),e),this[s(685)][s(546)][s(562)](s(619),i)}[rt(642)](){const t=rt;if(!this[t(499)]){const e=this[t(685)][t(617)][t(601)](t(520));this[t(499)]=e[t(680)](X(this[t(685)][t(570)],t(441)))}}[rt(639)](){const t=rt;this[t(499)]&&(this[t(685)][t(617)][t(601)](t(520))[t(469)](this[t(499)]),this[t(499)]=null)}[rt(675)](t){const e=rt,i=this[e(661)][e(482)]();i[e(522)]();let s=0;for(;s<i[e(709)];){const n=i[s];if(n===this[e(410)]){s++;continue}if(n.id===this[e(453)])break;const r=t[e(491)]-n[e(491)]||t[e(515)]-n[e(515)];if(r>0)break;if(r<0)s++;else{if(!t[e(730)]&&n[e(730)])break;if(n[e(730)]||!t[e(730)]){if(t[e(468)]>n[e(468)])break;s++}else s++}}return s}[rt(616)](t){const e=rt,i=this[e(661)][e(482)]();i[e(522)](),i[e(633)]();const s=i[e(631)]((i=>i[e(491)]<=t))[e(491)];return s<this[e(678)]?this[e(678)]:s}[rt(478)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(691)]({from:e,to:i});o[r(721)]=t,o[r(694)]=s,o.id=n;const a=this[r(606)](o);return this[r(454)]&&this[r(595)](o.id,o,!0),a}[rt(496)](){const t=rt;this[t(685)][t(483)][t(718)](t(662))[t(723)]({model:t(492)})}}class ut{[rt(685)];[rt(516)];[rt(425)];[rt(612)];[rt(634)];[rt(666)];[rt(620)];[rt(416)];[rt(711)];[rt(638)];[rt(431)];[rt(684)];[rt(542)];[rt(653)];[rt(602)];[rt(540)];[rt(688)];constructor(t){const e=rt;this[e(685)]=t,this[e(425)]=new Map,this[e(612)]=-1,this[e(634)]=-1,this[e(666)]=new Map,this[e(620)]=new Map,this[e(416)]=new Map,this[e(711)]=new Map,this[e(638)]=new Map,this[e(431)]=new Map,this[e(684)]=new Map,this[e(542)]=new Map,this[e(653)]=new Map,this[e(602)]=new Map,this[e(540)]=1}[rt(470)](t){const e=rt;this[e(516)]=t;const i=new Map,s=new Map,n=this[e(685)][e(477)][e(518)][e(484)][e(500)]((t=>t[e(414)]));for(const t of n){const n=this[e(685)][e(477)][e(518)][e(415)](t),r=lt(n);i[e(562)](t,r),s[e(562)](t,Object[e(608)](n[e(673)]()))}const r=Array[e(597)](this[e(685)][e(477)][e(426)])[e(500)]((t=>[t[e(721)],t[e(605)]()])),o=this[e(516)][e(480)];this[e(481)](o,i,r,s),this[e(688)]=this[e(540)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(562)](t,i),c[e(562)](t,{})}this[e(481)](Number[e(446)],a,[],c)}[rt(449)](t,e){const i=rt;if(this[i(612)]===t&&this[i(634)]<=e)this[i(425)][i(609)]>1&&this[i(649)](this[i(634)]),this[i(565)](this[i(634)],e,!0);else{if(!this[i(425)][i(530)](t)){const e=this[i(466)](t);this[i(696)](e,t,!1)}this[i(696)](t,e,!0)}return this[i(612)]=t,this[i(634)]=e,this[i(524)]()}[rt(451)](t){const e=rt,i=this[e(685)][e(617)][e(601)](e(670));this[e(457)](),this[e(612)]=t[e(515)],this[e(634)]=t[e(491)];for(const s in t[e(527)]){const n=t[e(527)][s][e(705)],r=A(t[e(527)][s][e(433)])||{},o=i[e(487)](t[e(527)][s][e(623)]);o[e(414)]=s,o[e(585)]=!n||!n[e(436)],o[e(436)]=()=>o[e(585)],this[e(711)][e(562)](s,o),this[e(638)][e(562)](s,r),n&&this[e(602)][e(562)](s,n);const a=this[e(614)](o);this[e(684)][e(562)](s,a);for(const[t,i]of o[e(426)]){if(!t[e(630)](e(627)))continue;const s=t[e(412)](":")[2];for(const t of i[e(448)]({singleCharacters:!0})){const i=this[e(531)](t),n=e(700)==t[e(475)]?t[e(720)][e(622)][e(439)](0,-1):t[e(720)][e(622)],r=a[e(463)](n)[e(502)](i);this[e(542)][e(562)](r,{userId:s})}}}this[e(688)]=this[e(540)];const s=[...Array(this[e(540)])[e(613)]()][e(439)](1)[e(654)]((t=>!this[e(542)][e(530)](t)));let n=0;const r=new Map;for(const o in t[e(527)]){const a=t[e(527)][o][e(705)],c=A(t[e(527)][o][e(536)])||{},u=i[e(487)](t[e(527)][o][e(473)]);u[e(414)]=o,u[e(585)]=!a||a[e(436)],u[e(436)]=()=>u[e(585)],this[e(620)][e(562)](o,u),this[e(416)][e(562)](o,c);const l=this[e(614)](u,Number[e(446)]);this[e(431)][e(562)](o,l),r[e(562)](o,u[e(436)]()?c:{});for(const[t,i]of u[e(426)]){if(!t[e(630)](e(627)))continue;const s=t[e(412)](":")[2];for(const t of i[e(448)]({singleCharacters:!0})){const i=this[e(531)](t),n=this[e(540)]++,r=e(700)==t[e(475)]?t[e(720)][e(622)][e(439)](0,-1):t[e(720)][e(622)];l[e(463)](r)[e(707)](i,n),this[e(542)][e(562)](n,{userId:s})}}for(const t of this[e(685)][e(477)][e(447)](u)[e(448)]({singleCharacters:!0})){const i=this[e(531)](t),r=e(700)==t[e(475)]?t[e(720)][e(622)][e(439)](0,-1):t[e(720)][e(622)],o=l[e(463)](r);o[e(502)](i)>0||o[e(707)](i,s[n++])}for(const[t,i]of u[e(426)])t[e(630)](e(627))||this[e(666)][e(562)](t,i)}const o=ht(e(600));this[e(711)][e(562)](e(600),o),this[e(684)][e(562)](e(600),this[e(614)](o,1));const a=ht(e(600));this[e(620)][e(562)](e(600),a),this[e(431)][e(562)](e(600),this[e(614)](a,1));const c=Array[e(597)](this[e(620)])[e(500)]((([t,e])=>[t,lt(e)]));this[e(481)](this[e(634)],c,this[e(666)],r)}[rt(440)](){const t=rt;this[t(457)](),this[t(612)]=-1,this[t(634)]=-1,this[t(425)][t(727)](),this[t(470)](this[t(516)])}[rt(481)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(562)](t,{start:e[n(624)][n(611)](),end:e[n(698)][n(611)](),rootName:e[n(464)][n(414)]});this[n(425)][n(562)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(649)](t){const e=rt;this[e(425)][e(559)](t)}[rt(457)](){const t=rt;this[t(542)][t(727)](),this[t(653)][t(727)](),this[t(602)][t(727)](),this[t(620)][t(727)](),this[t(416)][t(727)](),this[t(711)][t(727)](),this[t(638)][t(727)](),this[t(431)][t(727)](),this[t(684)][t(727)](),this[t(666)][t(727)](),this[t(540)]=1,this[t(688)]=this[t(540)]}[rt(614)](t,e=null){const i=rt;let s=null;t.is(i(656))||(s=new Z.Element(t[i(721)],{vid_start:null===e?this[i(540)]++:e++}));const n=[];for(const s of t[i(422)]())if(s.is(i(507))){n[i(506)](this[i(614)](s,e));const t=n[n[i(709)]-1];null!==e&&(e=t.is(i(507),i(574))?t[i(502)](i(561))+1:t[i(502)](i(641))+1)}else for(let t=0;t<s[i(490)];t++)n[i(506)](new Z.Element(i(574),{vid:null===e?this[i(540)]++:e++}));if(t.is(i(656))){const e=ht(t[i(414)]);return e[i(409)](0,n),e}return s[i(707)](i(641),null===e?this[i(540)]++:e++),s[i(409)](0,n),s}[rt(696)](t,e,i){const s=rt;this[s(457)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(425)][s(601)](t);this[s(711)]=new Map(n),this[s(638)]=new Map(A(o));for(const[t,e]of this[s(711)])if(s(600)!==t&&(this[s(620)][s(562)](t,lt(e)),this[s(416)]=new Map(A(o)),i)){const i=this[s(540)];this[s(431)][s(562)](t,this[s(614)](e)),this[s(684)][s(562)](t,this[s(614)](e,i))}this[s(688)]=this[s(540)],this[s(620)][s(562)](s(600),lt(this[s(711)][s(601)](s(600)))),i&&this[s(431)][s(562)](s(600),this[s(614)](this[s(711)][s(601)](s(600))));for(const[t,e]of r){const i=this[s(711)][s(601)](e[s(414)]),n=this[s(620)][s(601)](e[s(414)]),r=new Z.Range(this[s(679)](e[s(624)],i),this[s(679)](e[s(698)],i)),o=this[s(557)](r,n);i[s(426)][s(562)](t,r),this[s(666)][s(562)](t,o)}this[s(565)](t,e,i)}[rt(565)](t,e,i){const s=rt;for(const n of this[s(516)][s(576)](t,e))this[s(699)](n,i);for(const t of this[s(620)][s(592)]())t[s(426)][s(727)]();for(const[t,e]of this[s(666)])this[s(620)][s(601)](e[s(464)][s(414)])[s(426)][s(562)](t,e[s(611)]());const n=new Map,r=new Map;for(const[t,e]of this[s(620)])n[s(562)](t,lt(e)),r[s(562)](t,this[s(416)][s(601)](t));this[s(481)](e,n,this[s(666)],r)}[rt(466)](t){const e=rt,i=Array[e(597)](this[e(425)][e(613)]());i[e(683)](((t,e)=>t-e)),i[e(522)]();for(const e of i)if(e<t)return e;return Number[e(446)]}[rt(571)](t,e){const i=rt,s=Array[i(597)](e[i(426)])[i(500)]((([e,s])=>[e,this[i(557)](s,t)]));t[i(426)]=new Map(s)}[rt(604)](t){const e=rt;for(const i of this[e(666)][e(592)]()){const s=i[e(550)](t),n=Z.Range[e(517)](s);i[e(624)]=n[e(624)],i[e(698)]=n[e(698)]}}[rt(699)](t,e){const i=rt;if(i(598)!=t[i(475)]&&i(621)!=t[i(475)]){if(i(575)==t[i(475)]){const s=t[i(701)][i(464)][i(414)];this[i(620)][i(530)](s)||(this[i(620)][i(562)](s,ht(s,!0)),this[i(416)][i(562)](s,{}),e&&this[i(431)][i(562)](s,ht(s,!0)))}else{if(i(690)==t[i(475)]||i(498)==t[i(475)]||i(418)==t[i(475)])return void this[i(560)](t);i(689)==t[i(475)]&&this[i(677)](t)}if(i(689)!==t[i(475)]){const e=this[i(564)](t,this[i(620)]);e[i(729)](),this[i(604)](e)}if(e)switch(t[i(475)]){case i(575):this[i(645)](t);break;case i(553):case i(469):case i(529):this[i(724)](t);break;case i(693):this[i(599)](t);break;case i(412):this[i(438)](t)}}else this[i(534)](t,e)}[rt(564)](t,e){const i=rt,s=t[i(611)]();return s[i(533)]=t[i(533)],this[i(421)](s,e),s}[rt(706)](t){const e=rt;return t[e(500)]((t=>{const i=e,s=this[i(531)](t);return Number(t[i(731)][i(502)](s))}))}[rt(603)](t,e){const i=rt;if(t.is(i(507),i(574)))e[i(506)]({item:t,type:i(665)});else{t.is(i(507))&&e[i(506)]({item:t,type:i(716)});for(const s of t[i(422)]())this[i(603)](s,e);t.is(i(507))&&e[i(506)]({item:t,type:i(700)})}return e}[rt(524)](){const t=rt,e=new Map(this[t(542)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(711)][t(613)](),...this[t(620)][t(613)]()]);a[t(559)](t(600));for(const e of a){const i=this[t(620)][t(601)](e)||ht(e,!1),s=this[t(711)][t(601)](e)||ht(e,!1);i[t(436)]()||s[t(436)]()?(n[t(473)][e]=lt(i),n[t(623)][e]=lt(s),this[t(571)](n[t(623)][e],s),this[t(571)](n[t(473)][e],i),r[t(473)][e]=this[t(603)](this[t(431)][t(601)](e),[]),r[t(623)][e]=this[t(603)](this[t(684)][t(601)](e)||ht(e,!1),[])):a[t(559)](e)}for(const n of a){const o=r[t(473)][n];for(const n of o){const r=this[t(531)](n),o=n[t(731)][t(502)](r);i[t(559)](o),o>=this[t(688)]&&s[t(562)](o,e[t(601)](o))}}for(const n of a){const a=r[t(473)][n],c=this[t(706)](r[t(623)][n]);let u=0;for(const n of a){const r=this[t(531)](n),a=n[t(731)][t(502)](r);if(!s[t(530)](a)&&!o[t(530)](a))if(i[t(530)](a))u++;else{if(a!=c[u]){const s=e[t(601)](a)||e[t(601)](c[u]);for(;a!=c[u];)i[t(530)](c[u])||(o[t(562)](c[u],s),e[t(562)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(473)][e];for(const e of n){const n=this[t(531)](e),r=e[t(731)][t(502)](n);if(o[t(530)](r)){const e=o[t(601)](r);i[t(530)](r)||i[t(562)](r,{...e}),s[t(562)](r,{...e})}}}for(const e of i[t(613)]())e>=this[t(688)]&&i[t(559)](e);const c=new Map;for(const e of a){let n=r[t(473)][e];for(const e of n)if(e[t(731)].is(t(507),t(628))){const i=this[t(531)](e),n=e[t(731)][t(502)](i);if(s[t(530)](n)){const i=e[t(731)][t(704)][t(704)][t(502)](t(607)),r=c[t(601)](i)||new Set;r[t(680)](s[t(601)](n)[t(501)]),c[t(562)](i,r)}}n=r[t(623)][e];for(const e of n)if(e[t(731)].is(t(507),t(628))){const s=this[t(531)](e),n=e[t(731)][t(502)](s);if(i[t(530)](n)){const s=e[t(731)][t(704)][t(704)][t(502)](t(607)),r=c[t(601)](s)||new Set;r[t(680)](i[t(601)](n)[t(501)]),c[t(562)](s,r)}}for(const e of c[t(613)]())(s[t(530)](e)||i[t(530)](e))&&c[t(559)](e)}for(const e of a){const n=r[t(473)][e];let o=null,a=null;for(const e of n){const n=this[t(531)](e),r=e[t(731)][t(502)](n),u=c[t(601)](r);u&&t(716)==e[t(475)]&&(o=Array[t(597)](u)[0],a=e[t(731)][t(502)](t(641))),o&&(i[t(562)](r,{userId:o}),s[t(562)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(623)][e],a=n[t(473)][e];for(const{userId:e}of this[t(653)][t(592)]())null!==e&&l[t(680)](e);for(const{userId:e}of this[t(602)][t(592)]())null!==e&&l[t(680)](e);this[t(445)](a,r[t(473)][e],s,t(437),l),this[t(445)](o,r[t(623)][e],i,t(586),l),u[e]={insertions:this[t(725)](a),deletions:this[t(725)](o),attachChange:this[t(602)][t(601)](e)||null,attributesBefore:A(this[t(638)][t(601)](e))||{},attributesAfter:A(this[t(416)][t(601)](e))}}return{diffData:u,authorsIds:Array[t(597)](l)}}[rt(697)](t){const e=rt;for(const[,i]of t[e(426)]){const t=i[e(624)][e(567)]()[e(654)]((t=>e(628)==t[e(721)]));for(const i of t)1==i[e(429)]&&i[e(582)](0).is(e(507),e(635))&&i[e(582)](0)[e(707)](e(532),!0)}}[rt(725)](t){const e=rt;this[e(697)](t);const i=this[e(685)][e(726)][e(648)](t,{}),s=Array[e(597)](i[e(422)]())[e(500)]((t=>this[e(652)](t)));return JSON[e(626)](s)}[rt(652)](t){const e=rt;if(t.is(e(574)))return t[e(726)];{const i=this[e(685)][e(617)][e(601)](e(670)),s=t,n=this[e(685)][e(726)][e(566)][e(505)],r={type:i[e(587)](s),name:s[e(721)],attributes:Array[e(597)](s[e(673)]()),children:Array[e(597)](s[e(422)]())[e(500)]((t=>this[e(652)](t)))};if(t.is(e(462))&&e(537)!=t[e(721)]){const i=t[e(650)](n[e(682)],n);r[e(580)][e(506)](i[e(420)])}else if(t.is(e(509))){const i=n[e(682)][e(687)](s[e(721)]);t[e(650)](i,n),r[e(580)][e(506)](i[e(593)])}const o=Array[e(597)](s[e(552)]());o[e(709)]>0&&(r[e(471)]=o);const a=s[e(591)]();return null!==a&&(r[e(555)]=a),r}}[rt(445)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(685)][r(477)];for(let s=0;s<e[r(709)];s++){const n=this[r(531)](e[s]),c=e[s][r(731)][r(502)](n),h=i[r(601)](c),d=s==e[r(709)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(501)]!=o[r(501)])&&(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(501)],d=l(627)+s+":"+h+":"+c++,f=u[l(442)](i,a);t[l(426)][l(562)](d,f),null!==h&&n[l(680)](h)}}[rt(531)](t){const e=rt;switch(t[e(475)]){case e(716):return e(607);case e(700):return e(641);default:return e(561)}}[rt(421)](t,e){const i=rt;t[i(719)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(601)](n[i(464)][i(414)]);t[s]=this[i(679)](n,r)}if(n instanceof Z.Range){const r=e[i(601)](n[i(464)][i(414)]);t[s]=this[i(557)](n,r)}i(464)===s&&(t[i(464)]=e[i(601)](t[i(464)][i(414)]))}}[rt(557)](t,e){const i=rt;return this[i(685)][i(477)][i(442)](this[i(679)](t[i(624)],e),this[i(679)](t[i(698)],e))}[rt(679)](t,e){const i=rt;return this[i(685)][i(477)][i(637)](e,t[i(622)],t[i(728)])}[rt(645)](t){const e=rt,i=this[e(431)][e(601)](t[e(701)][e(464)][e(414)]),s=this[e(679)](t[e(701)],i),n=null===t[e(533)]?null:t[e(533)]||this[e(685)][e(617)][e(601)](e(572)).me.id,r=s[e(704)],o=this[e(540)],a=[];for(const i of t[e(579)])if(i.is(e(507)))a[e(506)](this[e(614)](i));else for(let t=0;t<i[e(490)];t++)a[e(506)](new Z.Element(e(574),{vid:this[e(540)]++}));const c=this[e(540)];for(let t=o;t<c;t++)this[e(542)][e(562)](t,{userId:n});r[e(409)](s[e(674)],a)}[rt(724)](t){const e=rt;(t=this[e(564)](t,this[e(431)]))[e(729)]();const i=null===t[e(533)]?null:t[e(533)]||this[e(685)][e(617)][e(601)](e(572)).me.id,s=t[e(430)](),n=s[e(704)],r=s[e(674)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(582)](e);r.is(a(507),a(574))?s[a(562)](r[a(502)](a(561)),{userId:i}):(s[a(562)](r[a(502)](a(607)),{userId:i}),t(s,r,0,r[a(429)]),s[a(562)](r[a(502)](a(641)),{userId:i}))}}(this[e(542)],n,r,r+t[e(708)])}[rt(599)](t){const e=rt,i=null===(t=this[e(564)](t,this[e(431)]))[e(533)]?null:t[e(533)]||this[e(685)][e(617)][e(601)](e(572)).me.id,s=t[e(710)][e(704)],n=t[e(714)][e(704)],r=s[e(502)](e(641)),o=n[e(502)](e(607));s[e(707)](e(641),n[e(502)](e(641))),n[e(707)](e(641),r),this[e(542)][e(562)](o,{userId:i}),this[e(542)][e(562)](r,{userId:i}),t[e(729)]()}[rt(438)](t){const e=rt,i=null===(t=this[e(564)](t,this[e(431)]))[e(533)]?null:t[e(533)]||this[e(685)][e(617)][e(601)](e(572)).me.id,s=t[e(493)],n=t[e(590)][e(704)];t[e(729)]();const r=n[e(502)](e(641)),o=t[e(647)][e(569)];if(s){const t=o[e(502)](e(641)),s=n[e(502)](e(641));n[e(707)](e(641),t),o[e(707)](e(641),s),this[e(542)][e(562)](n[e(502)](e(641)),{userId:i}),this[e(542)][e(562)](o[e(502)](e(607)),{userId:i})}else{const t=this[e(540)]++,s=this[e(540)]++;n[e(707)](e(641),t),o[e(707)](e(607),s),o[e(707)](e(641),r),this[e(542)][e(562)](t,{userId:i}),this[e(542)][e(562)](s,{userId:i})}}[rt(677)](t){const e=rt;if(!t[e(521)])return;const i=(t=this[e(564)](t,this[e(620)]))[e(486)]?t[e(486)][e(464)]:null,s=t[e(423)]?t[e(423)][e(464)]:null;i&&this[e(666)][e(559)](t[e(721)]),s&&this[e(666)][e(562)](t[e(721)],t[e(423)][e(611)]());const n=null===t[e(533)]?null:t[e(533)]||this[e(685)][e(617)][e(601)](e(572)).me.id,r=t[e(721)];if(!this[e(653)][e(530)](r))return void this[e(653)][e(562)](r,{range:t[e(486)],userId:n});const o=this[e(653)][e(601)](r),a=o[e(428)],c=t[e(423)];null==a&&null==c||a&&c&&a[e(712)](c)?this[e(653)][e(559)](t[e(721)]):o[e(501)]=n}[rt(534)](t,e){const i=rt;this[i(620)][i(530)](t[i(414)])?this[i(620)][i(601)](t[i(414)])[i(585)]=t[i(655)]:(this[i(620)][i(562)](t[i(414)],ht(t[i(414)],!0)),this[i(416)][i(562)](t[i(414)],{}),e&&this[i(431)][i(562)](t[i(414)],ht(t[i(414)],!0)));const s=null===t[i(533)]?null:t[i(533)]||this[i(685)][i(617)][i(601)](i(572)).me.id,n=this[i(602)][i(601)](t[i(414)]);n&&n[i(501)]===s?this[i(602)][i(559)](t[i(414)]):this[i(602)][i(562)](t[i(414)],{userId:s,isAttached:t[i(655)]})}[rt(560)](t){const e=rt,i=this[e(416)][e(601)](t[e(464)][e(414)]);null===t[e(715)]?delete i[t[e(539)]]:i[t[e(539)]]=t[e(715)]}}function lt(t){const e=rt,i=ht(t[e(414)],t[e(436)]());for(const s of t[e(422)]()){const t=s[e(461)](!0);i[e(636)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(414)]=t,s[i(585)]=e,s[i(436)]=()=>s[i(585)],s}function dt(t,e,i){const s=rt,n=s(700)==t[s(475)]?i[s(497)](t[s(731)],s(698)):i[s(676)](t[s(731)]);return i[s(637)](e,n[s(622)],n[s(728)])}function ft(t,e,i){const s=rt,n=s(716)==t[s(475)]?i[s(497)](t[s(731)],0):i[s(563)](t[s(731)]);return i[s(637)](e,n[s(622)],n[s(728)])}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),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=362]})(t,e)}function Dt(){const t=["revisionNameInputView","errorText","11566608nPoJdk","form","arrowup","revisionName","Name of the revision","element","render","set","942001GzoxHC","label","arrowleft","372020LukNgM","6eLeaZb","setTemplate","reset","arrowright","value","locale","extendTemplate","145310CahNnT","optional","6877230qsWazK","2687223FHIRmb","focus","keystrokes","6pnAhpx","fieldView","revisionNameInputValue","focusTracker","add","429854RLKLHQ","_createRevisionNameInput","stopPropagation","listenTo","input","ck-responsive-form","ck-revision-history-save-revision-form","9EJtwKI","arrowdown","trim","220"];return(Dt=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(807514===-parseInt(e(389))/1+parseInt(e(368))/2+-parseInt(e(393))/3*(parseInt(e(392))/4)+parseInt(e(400))/5*(-parseInt(e(363))/6)+-parseInt(e(403))/7+parseInt(e(381))/8+-parseInt(e(375))/9*(-parseInt(e(402))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Vt extends pt.View{[At(366)];[At(362)];[At(379)];constructor(e,i){const s=At;super(e),this[s(366)]=new t.FocusTracker,this[s(362)]=new t.KeystrokeHandler,this[s(388)](s(365),""),this[s(379)]=this[s(369)](i),this[s(394)]({tag:s(382),attributes:{class:["ck",s(374),s(373)],tabindex:"-1"},children:[this[s(379)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(387)](){const t=At;super[t(387)](),(0,pt.submitHandler)({view:this}),this[t(366)][t(367)](this[t(379)][t(386)]),this[t(362)][t(371)](this[t(386)]);const e=e=>e[t(370)]();this[t(362)][t(388)](t(396),e),this[t(362)][t(388)](t(391),e),this[t(362)][t(388)](t(383),e),this[t(362)][t(388)](t(376),e)}[At(404)](){const t=At;this[t(379)][t(404)]()}get[At(384)](){const t=At;return this[t(379)][t(364)][t(386)][t(397)][t(377)]()}set[At(384)](t){const e=At;this[e(379)][e(364)][e(386)][e(397)]=t[e(377)]()}[At(395)](){const t=At;this[t(379)][t(364)][t(386)][t(397)]="",this[t(379)][t(380)]=null}[At(369)](t){const e=At,i=new pt.LabeledFieldView(this[e(398)],pt.createLabeledInputText),s=i[e(364)];s[e(399)]({attributes:{maxlength:e(378)}});let n=X(this[e(398)],e(385));return!t&&(n+=" ("+X(this[e(398)],e(401))+")"),i[e(390)]=n,s.on(e(372),(()=>{const t=e;this[t(365)]=s[t(386)][t(397)][t(377)]()})),i}}const Et=Ft;function Ct(){const t=["Accept","saveRevision","pluginName","isEnabled","16XbSqxc","menuitem","view","reset","_saveRevisionFormView","isOfficialPlugin","RevisionHistoryUI","show","_registerMenuComponent","isReadOnly","add","submit","config","3461700AkVpAl","locale","addMany","items","menuBar:revisionHistory","1024188JKwUrr","Open revision history","79494FsOCua","16838080rvJelx","ck-button-action","focus","buttonView","3029064XgrQkD","isReady","editing","render","delegate","children","init","errorText","revisionSave","hide","revisionHistory","isOpen","Cancel","_createSaveRevisionFormView","role","menu","Dialog","15zxlxuj","editor","RevisionTracker","get","execute","bind","set","Revision history","14pvaHHe","revisionHistory.requireRevisionName","1484298vRoHVn","plugins","6635835IsBDHe","_showDialog","panelView","Save current revision","isPremiumPlugin","revisionNameInputView","requires","showRevisionViewerCallback","revisionName","The revision name cannot be empty.","componentFactory"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(749550===-parseInt(e(175))/1*(parseInt(e(155))/2)+parseInt(e(197))/3*(-parseInt(e(173))/4)+parseInt(e(209))/5+parseInt(e(168))/6+parseInt(e(205))/7*(-parseInt(e(180))/8)+-parseInt(e(207))/9+parseInt(e(176))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends H.Plugin{static get[Et(153)](){return Et(161)}static get[Et(160)](){return!0}static get[Et(144)](){return!0}static get[Et(146)](){return[ct]}[Et(159)];[Et(186)](){const t=Et,e=this[t(198)],i=e[t(208)][t(200)](t(199));e.ui[t(150)][t(165)](t(190),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(211)][n(185)],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(202)](n(154)).to(i,n(181),i,n(154),e,n(164),((t,e,i)=>t&&e&&!i)),r[n(179)][n(203)]({icon:mt.IconHistory,label:X(s,n(204)),tooltip:!0}),u[n(203)]({label:X(s,n(143)),withText:!0,role:n(156)}),u[n(202)](n(154)).to(i,n(181),i,n(154),e,n(164),((t,e,i)=>t&&e&&!i)),u.on(n(201),(()=>this[n(210)]())),h[n(203)]({label:X(s,n(174)),withText:!0,role:n(156)}),h[n(202)](n(154)).to(i,n(181),e,n(164),((t,e)=>t&&!e)),h.on(n(201),(()=>{const t=n;e[t(167)][t(200)](t(190))[t(147)](),r[t(191)]=!1,e[t(182)][t(157)][t(178)]()})),c[n(185)][n(165)](u),l[n(185)][n(165)](h),a[n(194)]=n(195),a[n(171)][n(170)]([c,l]),o[n(165)](a),r})),e.ui[t(150)][t(165)](t(172),(()=>this[t(163)]()))}[Et(163)](){const t=Et,e=this[t(198)],i=e[t(169)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(179)][t(203)]({icon:mt.IconHistory,label:X(i,t(204))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(203)]({label:X(i,t(143))}),o[t(184)](t(201)).to(s),o.on(t(201),(()=>{this[t(210)]()})),r[t(185)][t(165)](o),n[t(171)][t(165)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(203)]({label:X(i,t(174))}),c[t(184)](t(201)).to(s),c.on(t(201),(()=>{const i=t;e[i(167)][i(200)](i(190))[i(147)]()})),a[t(185)][t(165)](c),n[t(171)][t(165)](a),s[t(211)][t(185)][t(165)](n),s}[Et(210)](){const t=Et,e=this[t(198)],i=e[t(169)],s=e[t(208)][t(200)](t(196)),n=e[t(208)][t(200)](t(199));function r(n){const r=t;e[r(167)][r(200)](r(206))&&""===n[r(148)]?n[r(145)][r(187)]=X(i,r(149)):(e[r(208)][r(200)](ct)[r(152)]({name:n[r(148)]}),s[r(189)]())}this[t(159)]||(this[t(193)](),this[t(159)].on(t(166),(()=>r(this[t(159)])))),this[t(159)][t(158)](),s[t(162)]({id:t(188),title:X(i,t(143)),isModal:!0,content:this[t(159)],actionButtons:[{label:X(e[t(169)],t(192)),withText:!0,onExecute:()=>s[t(189)]()},{label:X(e[t(169)],t(151)),class:t(177),withText:!0,onCreate(i){const s=t;i[s(202)](s(154)).to(n,s(181),n,s(154),e,s(164),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(159)])}]})}[Et(193)](){const t=Et,e=this[t(198)],i=e[t(169)];this[t(159)]=new Vt(i,e[t(167)][t(200)](t(206))),this[t(159)][t(183)]()}}function jt(){const t=["isSuggestion","setTemplate","ck-revision-change__label","7tonXRW","add","changeId","set","Added by","688thqYjq","span","2431287hgncCP","10bbgmEQ","5488224YKgldD","Removed by","focus","935418MGstfe","ck-annotation","element","5237fMgWkW","1720464lfIzDW","data","name","type","Suggested by","1642184izQIiV","div","5981569QbzHin","_model","bindTemplate","5wevgYQ","ck-revision-change","ck-revision-change__","author"];return(jt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(955115===-parseInt(e(440))/1*(-parseInt(e(430))/2)+-parseInt(e(437))/3+-parseInt(e(441))/4*(parseInt(e(418))/5)+parseInt(e(434))/6+parseInt(e(425))/7*(-parseInt(e(446))/8)+-parseInt(e(432))/9+-parseInt(e(433))/10*(parseInt(e(415))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Pt(427)];[Pt(416)];constructor(t,e){const i=Pt;super(t),this[i(416)]=e,this[i(427)]=e.id;const s=this[i(417)],n=X(t,e[i(442)][i(422)]?i(445):i(426)==e[i(444)]?i(429):i(435));this[i(428)](i(444),e[i(444)]),this[i(423)]({tag:i(447),attributes:{class:[i(438),i(419),s.to(i(444),(t=>i(420)+t))],tabindex:-1},children:[{tag:i(431),children:[{tag:i(431),attributes:{class:[i(424)]},children:[{text:n}]},{text:" "+e[i(421)][i(443)]}]}]})}[Pt(436)](){const t=Pt;this[t(439)][t(436)]()}}var Ht=Ut;function Ut(t,e){var i=qt();return(Ut=function(t,e){return i[t-=440]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(982476===parseInt(e(456))/1+parseInt(e(453))/2+parseInt(e(442))/3*(parseInt(e(450))/4)+-parseInt(e(441))/5*(parseInt(e(448))/6)+-parseInt(e(447))/7*(-parseInt(e(455))/8)+parseInt(e(454))/9*(parseInt(e(446))/10)+parseInt(e(443))/11*(-parseInt(e(451))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Ht(444)];[Ht(452)];[Ht(440)];[Ht(458)];constructor(e){var i=Ht;super(),this.id=e.id||(0,t.uid)(),this[i(444)]=e[i(444)],this[i(452)]=e[i(452)],this[i(440)]=e[i(440)]||{},this[i(458)]=e[i(458)],this[i(457)](i(445),e[i(445)])}[Ht(449)](){var t=Ht;return{id:this.id,authorId:this[t(444)].id,type:this[t(452)],data:this[t(440)],createdAt:this[t(445)]}}}function qt(){var t=["data","10ZjmUSb","138qSqQbN","44ACMfGY","author","createdAt","20omPwqR","146839ZaiJiq","409926DqhOFD","toJSON","142412yfhWnJ","14728896xqQcgC","type","1702546aGUSZZ","8783469BaWBtI","424nrdoMk","476076CgGkjC","set","rootName"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(413863===parseInt(e(277))/1+-parseInt(e(272))/2*(parseInt(e(279))/3)+parseInt(e(280))/4*(-parseInt(e(283))/5)+-parseInt(e(282))/6*(-parseInt(e(276))/7)+parseInt(e(275))/8+parseInt(e(285))/9+-parseInt(e(273))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(284)];[$t(286)];[$t(278)];constructor(e,i){const s=$t;this[s(284)]=e,this[s(286)]=i,this[s(278)]=new t.Collection}[$t(274)](t){const e=$t;for(const i of t)this[e(278)][e(281)](i)}}function Jt(){const t=["504462QWTEkp","5kkjhZK","newRevisionId","1326537RofAKm","oldRevisionId","2UUzkyI","1395900ZdQoyO","_setChanges","6091240NIpcTD","42VrPLGS","111565aEoiFH","changes","1238337wnsrbM","2234372dGYnaN","add"];return(Jt=function(){return t})()}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=379]})(t,e)}function te(){const t=["getLaterVisibleRevision","mapper","dataDowncast","data","addMarker:revision-suggestion:insertion","toViewRange","catch","ck-revision-history-root-","_update","_removeMissingPairs","set","comment","mousedown","forEach","includes","then","createRevision","concat","editing","affectsData","addRoot","sort","changes","markersStart","parent","vid_end","suggestion:","from","_getDiff","upcast","markers","type","wrap","authors","_data","values","attributesBefore","markerRange","_markSuggestions","newRevisionId","restoreRevision","change","consume","changeId","423876FcCKXY","diff","showPreviousChange","addRevisionData","change:isReady","index","ck-suggestion-marker","_markInsertions","revision-viewer","revision-suggestion:","name","softBreak","compare","forceDisabled","high","right","startIndex","removeMarker","getClientRects","roots","domConverter","setAttribute","markersEnd","_step","addClass","isAdded","getDomRoot","domEvent","flat","_makeModelFromTape","change:activeView","consumable","isOfficialPlugin","resolve","revision:","revision","return","listenTo","isSuggestion","_makeModelFromViewString","first","3UvFVwQ","findIndex","addRevision","side","isPremiumPlugin","enableReadOnlyMode","RevisionViewer","editor","next","enqueueChange","isBefore","remove","765KUdreT","_getViewForChange","_getRevisionsRange","bind","removeMarker:revision","_makeTape","addHighlight","abs","loadRevisionData","filter","toViewPosition","isRemoved","level","merge","updatePosition","attributesAfter","previousPosition","clear","hasClass","element","attributes","insertions","-new","pop","markerToHighlight","stop","dataToMarker","observeMarkers","createAttributeElement","restoreRevisionCallback","change:numberOfChanges","activeView","requires","_setConversion","ck-suggestion-marker-merge","_findChangeIdFromDomTarget","238350lMirun","addMarker:revision-suggestion:deletion","ck-editor__editable__overlay","mapViewToDom","ck-suggestion-marker-split","_balloon","isAtStart","markerToData","userId","nextPosition","isAtEnd","get","distance","error","split","data-change-id","_fixObsoleteTags","currentChangeNumber","top","code","schema","ck-suggestion-marker--active","low","_setDistance","_threeWayMerge","isBlock","checkAttribute","getItems","_refreshStartEndIndex","string","isIncorrect","getChild","showNextChange","createRange","forward","push","add","map","_activeViewTarget","_changeView","createPositionFromPath","_sortAndFilterDiffChanges","_changeIdToChange","oldRevisionId","_initInteractions","createPositionBefore","getRoot","unbindElementFromMarkerName","revisionHistory","isEnabled","shift","document","toViewElement","init","12680MKAoAg","RevisionHistoryUtils","getIndex","isAttached","isOnRoot","elementStart","pluginName","model","offsetSize","710580CUOrZw","isReady","createRangeIn","attribute:vid","_joinTapes","elementEnd","refresh","item","vid_start","left","11GXbzcm","insertion","isAddSuggestion","showStack","removeMarker:revision-suggestion","all","done","locale","getAttribute","mouseover","execute","30NGLROO","_revisions","getRevisionRootsAttributes","indexOf","diffData","span","hasAttribute","has","detachRoot","vid","4736210IYoEMa","deletions","activeChange","adapter","modelRange","change:isEnabled","isEqual","getCustomProperty","ck-revision-history-root-add","change:activeChange","nextSibling","unshift","_utils","_removeUnsupportedChanges","plugins","highest","startsWith","config","removeAttribute","viewItem","keys","suggestion","view","getRevision","getRootNames","isNavigationMode","object","isLimit","editingDowncast","deletion","delete","attachChange","bindElementToMarker","ck-suggestion-preview-marker","rootName","createUIElement","insert","conversion","length","splice","_cleanUp","repository","markerName","384500pCJUdb","getAttributes","reconvertMarker","selection","range","_cleanMarkers","writer","revision-suggestion","ck-suggestion-marker-","212967DYRhhQ","isObject","text","revision-comment:","target","downcastDispatcher","isAfter","revisionHistoryAttachChange","isInline","markerNameToElements","numberOfChanges","_processTape","WidgetToolbarRepository","test","_markMismatchedRemovedTags","ck-revision-history-root-remove","_getChangeFromId","isContent","_setChanges","revisionHistoryLabel","removeClass","find","elementToAttribute","RevisionsRepository","slice","start","destroy","POSITIVE_INFINITY","ck-suggestion-preview-marker-","isRemoveSuggestion","commands","getWalker","for","bottom","addMarker:revision","end","maxOffset","_appendChild","nodeAfter","endIndex","pairId","getRevisionDocumentData","backward","ck-revision-history-root--active","element:pre","_markMarkers","uiElement","isCollapsed"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(125294===-parseInt(e(407))/1+-parseInt(e(398))/2+-parseInt(e(540))/3*(parseInt(e(499))/4)+-parseInt(e(651))/5+-parseInt(e(672))/6*(-parseInt(e(588))/7)+-parseInt(e(642))/8*(-parseInt(e(552))/9)+-parseInt(e(682))/10*(-parseInt(e(661))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends H.Plugin{[Qt(396)];[Qt(685)]=null;[Qt(694)];[Qt(626)];[Qt(627)];[Qt(630)];[Qt(593)];static get[Qt(648)](){return Qt(546)}static get[Qt(531)](){return!0}static get[Qt(544)](){return!0}static get[Qt(584)](){return[U.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(396)]=this[e(547)][e(696)][e(599)](e(430)),this[e(694)]=this[e(547)][e(696)][e(599)](e(643)),this[e(465)](e(684),null),this[e(465)](e(583),null),this[e(626)]=null,this[e(465)](e(500),null),this[e(465)](e(652),!1),this[e(465)](e(637),!0),this.on(e(687),((t,i,s)=>{const n=e;this[n(684)]=null,this[n(583)]=null,this[n(547)][n(473)][n(704)][n(496)]((t=>{const e=n;for(const i of this[e(547)][e(473)][e(704)][e(639)][e(518)])s?t[e(427)](e(590),i):t[e(523)](e(590),i)}))})),this[e(555)](e(380)).to(this,e(684),(t=>null!==t)),this[e(555)](e(605)).to(this,e(652),this,e(500),this,e(684),((t,i,s)=>t&&s?i[e(477)][e(644)](s):0)),this[e(555)](e(417)).to(this,e(652),this,e(500),((t,i)=>t?i[e(477)][e(393)]:0)),this[e(627)]=null,this[e(630)]=new Map,this[e(593)]=this[e(547)][e(696)][e(599)](pt.ContextualBalloon)}[Qt(641)](){const t=Qt,e=this[t(547)],i=new ne(e,{direction:t(449)}),s=new ne(e,{direction:t(622)});e[t(437)][t(624)](t(501),i),e[t(437)][t(624)](t(620),s),e[t(437)][t(624)](t(495),new se(e)),this.on(t(582),(()=>{const e=t;i[e(657)](),s[e(657)]()})),this[t(585)](),this[t(632)](),e[t(545)](t(507)),e[t(696)][t(679)](t(419))&&e[t(696)][t(599)](t(419))[t(512)](t(507))}async[Qt(448)](t){const e=Qt;return await this[e(694)][e(560)](t,this[e(685)]),this[e(694)][e(448)](t)}async[Qt(674)](t){const e=Qt;return await this[e(694)][e(560)](t,this[e(685)]),this[e(694)][e(674)](t)}async[Qt(511)](t,e,i=!1){const s=Qt;if(!this[s(637)])return;const n=this[s(500)],r=this[s(396)],o=s(617)==typeof t?r[s(705)](t):t,a=s(617)==typeof e?r[s(705)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(500)]&&this[s(500)][s(494)]===c&&this[s(500)][s(631)]===u)return Promise[s(532)]();this[s(652)]=!1,this[s(583)]=null,this[s(684)]=null,this[s(500)]=new Yt(c,u);const l=this[s(554)](o,a,!0)[s(625)]((t=>this[s(694)][s(560)](t,this[s(685)])));return l[s(623)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(666)](l)[s(470)]((()=>{const t=s;if(!this[t(637)])return;this[t(395)]();const e=this[t(483)](c,u);for(const i of e[t(477)])this[t(630)][t(465)](i.id,i);this[t(547)][t(649)][t(549)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(547)][s(649)][s(639)][s(379)]())i[s(680)](t);for(const t of Object[s(702)](e[s(649)])){const n=i[s(475)](t);for(const r of Object[s(702)](e[s(572)][t]))i[s(520)](r,e[s(572)][t][r],n);i[s(391)](e[s(649)][t],n,0)}})),this[t(500)][t(425)](this[t(629)](e[t(477)])),this[t(652)]=!0}))[s(461)]((t=>{const e=s;console[e(601)](t),this[e(395)](),n&&(this[e(500)]=n),this[e(652)]=!0}))}[Qt(502)](t,e){const i=Qt,s=this[i(396)][i(471)](t);return s.on(i(463),((t,i,n)=>e(i,n,s))),this[i(396)][i(542)](s),s}[Qt(395)](){const t=Qt;this[t(684)]=null,this[t(403)](),this[t(627)]&&this[t(627)][t(433)](),this[t(627)]=null,this[t(630)][t(569)](),this[t(547)][t(649)][t(549)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(547)][i(649)][i(639)][i(379)]())e[i(680)](t)}))}[Qt(629)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(547)][e(649)][e(639)][e(379)]()){const n=this[e(547)][e(473)][e(704)][e(525)](t);if(!n)continue;const r=n[e(517)]()[e(658)](0);r&&(i[e(623)](t),s[e(465)](t,r))}return i[e(476)](((t,i)=>{const n=e,r=s[n(599)](t),o=s[n(599)](i);return r.y-o.y||r.x-o.x})),(t=t[e(561)]((t=>i[e(469)](t[e(389)]))))[e(476)](((t,s)=>i[e(675)](t[e(389)])-i[e(675)](s[e(389)]))),t}[Qt(557)](t){const e=Qt,i=Array[e(482)](t[e(485)])[e(561)]((([t,i])=>t[e(698)](e(533))&&!i[e(454)])),s=Array[e(482)](this[e(547)][e(649)][e(653)](t)[e(438)]({singleCharacters:!0}));if(0!=i[e(393)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(602)](":");if(n[e(442)][e(688)](t[e(597)])&&i[e(638)](),(t[e(568)][e(688)](n[e(432)])||t[e(568)][e(413)](n[e(432)]))&&(e(662)==r?t[e(524)]={userId:o}:e(384)==r&&(t[e(563)]={userId:o})),0==i[e(393)])break}return s}[Qt(616)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(393)];s++)e(409)===t[s][e(486)]?(t[s][e(658)][e(515)]=s,t[s][e(658)][e(446)]=s):(e(647)===t[s][e(486)]?t[s][e(658)][e(515)]=s:e(656)===t[s][e(486)]&&(t[s][e(658)][e(446)]=s),i[e(465)](t[s].id,s));for(const s of i[e(490)]())e(647)===t[s][e(486)]?t[s][e(658)][e(446)]=i[e(599)](t[s][e(447)]):e(656)===t[s][e(486)]&&(t[s][e(658)][e(515)]=i[e(599)](t[s][e(447)]))}[Qt(418)](t){const e=Qt;for(let i=0;i<t[e(393)];i++){if(e(647)===t[i][e(486)])t[i][e(658)][e(515)]=i;else if(e(656)===t[i][e(486)]){t[i][e(658)][e(446)]=i;const s=t[i][e(658)][e(515)];t[s][e(447)]=t[i].id,t[i][e(447)]=t[s].id}else t[i][e(658)][e(515)]=i,t[i][e(658)][e(446)]=i,t[i][e(447)]=null;t[i][e(478)]||(t[i][e(478)]=[],t[i][e(521)]=[])}}[Qt(506)](t,e){const i=Qt,s=t[i(561)]((t=>!t[i(524)]));for(let t=0;t<e[i(393)];t++)e[t][i(524)]&&(s[t][i(524)]=e[t][i(524)])}[Qt(483)](t,e=null){const i=Qt,s=this[i(396)][i(705)](t),n=e?this[i(396)][i(705)](e):null,r=this[i(554)](s,n),o=r[r[i(393)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(393)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(702)](e[i(676)]))if(e[i(676)][t][i(386)]){const s=e[i(676)][t][i(386)];s[i(645)]?(u[i(624)](t),l[i(679)](t)&&l[i(599)](t)[i(596)]==s[i(596)]?l[i(385)](t):l[i(465)](t,s)):l[i(679)](t)?(u[i(385)](t),l[i(385)](t)):(u[i(624)](t),l[i(465)](t,s))}else u[i(624)](t)}for(const t of u){const e=l[i(679)](t)&&!l[i(599)](t)[i(645)];let s=e?r[i(393)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(676)][t]){const s=e?o[i(676)][t][i(491)]:o[i(676)][t][i(567)];c[i(572)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(649)]={};for(const e of t[i(488)])a[i(465)](e.id,e);for(const e of u){const s=t[i(676)][e]?t[i(676)][e][i(573)]:"[]",n=t[i(676)][e]?t[i(676)][e][i(683)]:"[]";t[i(649)][e]={insertions:this[i(694)][i(538)](s),deletions:this[i(694)][i(538)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(482)](s[i(649)][t][i(573)][i(485)])[i(561)]((([t])=>!t[i(698)](i(533)))));let h=0;for(const o of r){const r=this[i(557)](o[i(649)][t][i(573)]);o==s?(e=r,n=e[i(393)],e[i(468)]((t=>{t.id=h++})),this[i(418)](e)):this[i(506)](e,r);const a=e[i(561)]((t=>!t[i(524)]))[i(625)]((t=>t.id));let c=0;const l=this[i(557)](o[i(649)][t][i(683)]);l[i(468)]((t=>{t[i(563)]?t.id=n++:t.id=a[c++]})),this[i(418)](l),this[i(611)](e,i(524)),this[i(611)](l,i(563)),o==s&&this[i(452)](e,u),e=this[i(655)](e,l),this[i(616)](e),this[i(611)](e,i(563))}e=e[i(561)]((t=>!(t[i(524)]&&t[i(563)])));const d=new Map(o[i(649)][t][i(683)][i(485)]),f=new Set(u[i(702)]());for(const t of d[i(702)]())f[i(385)](t);this[i(493)](e,f),this[i(604)](e),e=this[i(464)](e),e=this[i(421)](e),e=this[i(695)](e);const{root:m,changes:p}=this[i(528)](e,a,t);c[i(649)][t]=m;const v=l[i(599)](t);if(v){const e=a[i(599)](v[i(596)]),s=new Zt({author:e,type:v[i(645)]?i(624):i(551),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(693)](s),c[i(572)][t][i(414)]=s.id}c[i(477)]=c[i(477)][i(472)](p)}return c}[Qt(452)](t,e){const i=Qt;for(let s=0;s<t[i(393)];s++)for(const[n,r]of e)!r[i(454)]&&r[i(432)][i(688)](t[s][i(568)])&&t[s][i(478)][i(623)](n),r[i(442)][i(688)](t[s][i(597)])&&t[s][i(521)][i(623)](n)}[Qt(655)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(393)]||r<e[i(393)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(623)](o);else if(a[i(563)]&&o[i(524)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(612)](t,n,e,r);s=s[i(472)](o),n=a,r=c}else a[i(563)]?(r++,s[i(623)](a)):(n++,s[i(623)](o))}return s}[Qt(493)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(393)];o++){for(let r=0;r<t[o][i(478)][i(393)];r++){const a=t[o][i(478)][r];if(!e[i(679)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(405)!=c||i(662)!=u&&i(384)!=u||(s[i(693)]({type:u,name:a,userId:l}),t[o][i(478)][i(394)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(521)][i(393)];r++){const a=t[o][i(521)][r];if(!e[i(679)](a))continue;const{group:c,type:u}=n(a);if(i(405)!=c||i(662)!=u&&i(384)!=u)continue;t[o][i(521)][i(394)](r,1),r--;const l=s[i(541)]((t=>t[i(509)]==a));l>-1&&s[i(394)](l,1)}}function n(t){const e=i,s=t[e(602)](":");return{group:s[0],type:s[1],subType:s[e(393)]>=5?s[2]:null,id:s[e(393)]<5?s[2]:s[3],authorId:s[e(393)]<5?s[3]:s[4],markerCount:6==s[e(393)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(393)];i++){if(t[e(524)]&&e(662)==s[i][e(486)])return t[e(663)]=s[i],void delete t[e(524)];if(!t[e(524)]&&!t[e(563)]&&e(384)==s[i][e(486)])return void(t[e(436)]=s[i])}}}[Qt(611)](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(465)](o.id,s);for(let s=0;s<t[i(393)];s++){if(i(563)==e&&t[s][i(524)]||i(524)==e&&t[s][i(563)])continue;if(i(409)==t[s][i(486)]){t[s][i(600)]=0;continue}const n=r[i(599)](t[s][i(447)]),o=r[i(599)](t[s].id);t[s][i(600)]=n-o}}[Qt(554)](t,e,i=!1){const s=Qt,n=[];let r=this[s(396)][s(644)](t),o=this[s(396)][s(644)](e);for(-1==o&&(o=this[s(396)][s(673)][s(393)],i=!1);r<o;)n[s(623)](this[s(396)][s(705)](r)),r++;return i&&n[s(623)](this[s(396)][s(705)](r)),n}[Qt(612)](t,e,i,s){const n=Qt,r=this[n(547)][n(649)][n(608)];let o=e;for(;t[o]&&t[o][n(524)];)o++;let a=s;for(;i[a]&&i[a][n(563)];)a++;u(t,e,o),u(i,s,a);const c=i[n(431)](s,a)[n(472)](t[n(431)](e,o));return c[n(476)](((t,e)=>t[n(543)]!=e[n(543)]?t[n(543)]-e[n(543)]:t[n(564)]!=e[n(564)]?t[n(564)]-e[n(564)]:t[n(600)]!=e[n(600)]?e[n(600)]-t[n(600)]:!!t[n(524)]!=!!e[n(524)]?-1==t[n(543)]||0==t[n(543)]?t[n(524)]?-1:1:t[n(524)]?1:-1:t[n(504)]-e[n(504)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(434)],c=!0;for(let n=e;n<i;n++)if(r[s(415)](t[n][s(658)])||(c=!1),t[n][s(658)][s(515)]<e&&(o=n),t[n][s(658)][s(446)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(543)]=n<=o?-1:n<a?0:1,t[n][s(504)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(600)]?t[i][s(564)]=u:(u++,t[i][s(564)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(543)]&&(t[n][s(564)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(600)]?t[e][s(564)]=u:(u--,t[e][s(564)]=u,u--)}}[Qt(604)](t){const e=Qt,i=new Map,s=this[e(547)][e(649)][e(608)];for(let n=1;n<t[e(393)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(409)==c[e(486)])continue;if(c[e(486)]!=u[e(486)])continue;if(!s[e(613)](u[e(658)])||s[e(382)](u[e(658)]))continue;if(!s[e(613)](c[e(658)])||s[e(382)](c[e(658)]))continue;if((t[n][e(524)]||t[n][e(663)])&&t[n-1][e(563)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(563)]||!t[n-1][e(524)]&&!t[n-1][e(663)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(564)]==o[e(564)],h=Math[e(559)](r[e(564)])<Math[e(559)](o[e(564)])&&0==o[e(600)];(l||h)&&(i[e(465)](o.id,r.id),t[e(394)](a,1),n--,r[e(524)]=!1)}for(let s=0;s<t[e(393)];s++)i[e(679)](t[s][e(447)])&&(t[s][e(447)]=i[e(599)](t[s][e(447)]))}[Qt(464)](t){const e=Qt,i=new Set(t[e(625)]((t=>t.id)));for(let s=0;s<t[e(393)];s++)i[e(679)](t[s][e(447)])||0==t[s][e(600)]||(t[s][e(618)]=!0);return t[e(561)]((t=>!t[e(618)]))}[Qt(421)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(393)];s++){if(i[e(679)](t[s].id)&&t[s][e(563)]&&(t[s][e(618)]=!0),t[s][e(618)])continue;if(0==t[s][e(600)])continue;if(e(647)!=t[s][e(486)])continue;if(null==t[s][e(447)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(447)];)e(647)==t[n][e(486)]?r++:e(656)==t[n][e(486)]&&r--,n++;if(0!=r)if(t[s][e(563)])t[s][e(618)]=!0;else for(;n!=s;)t[n][e(563)]&&0!=t[n][e(600)]&&(t[n][e(618)]=!0,i[e(624)](t[n][e(447)])),n--}return t[e(561)]((t=>!t[e(618)]))}[Qt(695)](t){const e=Qt,i=this[e(547)][e(649)][e(608)];for(let s=0;s<t[e(393)];s++){if(!(t[s][e(524)]||t[s][e(663)]||t[s][e(563)]||t[s][e(436)]))continue;if(0==t[s][e(600)])continue;const n=t[s][e(658)];i[e(613)](n)||i[e(382)](n)||(t[s][e(524)]&&delete t[s][e(524)],t[s][e(663)]&&delete t[s][e(663)],t[s][e(436)]&&delete t[s][e(436)],t[s][e(563)]&&(t[s][e(618)]=!0))}return t[e(561)]((t=>!t[e(618)]))}[Qt(528)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(547)][s(649)],c=a[s(608)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(393)];e++)if(s(647)===t[e][s(486)]){t[e][s(568)]=a[s(628)](n,f);const i=new Z.Element(t[e][s(658)][s(509)],t[e][s(658)][s(399)]());u[0][s(444)](i),f[s(623)](0),u[s(693)](i),t[e][s(597)]=a[s(628)](n,f)}else s(656)===t[e][s(486)]?(u[s(638)](),t[e][s(568)]=a[s(628)](n,f),f[s(575)](),f[f[s(393)]-1]++,t[e][s(597)]=a[s(628)](n,f)):(t[e][s(568)]=a[s(628)](n,f),d?d[s(489)]+=t[e][s(658)][s(458)]:d=new Z.Text(t[e][s(658)][s(458)],t[e][s(658)][s(399)]()),t[e+1]&&s(409)===t[e+1][s(486)]&&v(d,t[e+1][s(658)])||(u[0][s(444)](d),d=null),f[f[s(393)]-1]+=t[e][s(658)][s(650)],t[e][s(597)]=a[s(628)](n,f));for(let e=0;e<t[s(393)];e++){const i=t[e][s(568)],n=t[e][s(597)];for(const n of t[e][s(478)])o[s(465)](n,{start:i,end:null});m(s(436),e,i,n),m(s(663),e,i,n),m(s(563),e,i,n),m(s(524),e,i,n);for(const i of t[e][s(521)]){const t=o[s(599)](i);t?t[s(442)]=n:o[s(465)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(547)][s(649)][s(621)](e[s(432)],e[s(442)]);n[s(485)][s(465)](t,i)}return r[s(476)](((t,e)=>{const i=s,r=n[i(485)][i(599)](i(533)+t.id),o=n[i(485)][i(599)](i(533)+e.id);return r[i(432)][i(550)](o[i(432)])?-1:r[i(432)][i(413)](o[i(432)])?1:r[i(442)][i(550)](o[i(442)])?-1:r[i(442)][i(413)](o[i(442)])?1:i(624)===t[i(486)]?-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(596)]:null,d=i===t[o(393)]-1,f=h[e][0],m=c[o(408)](t[i][o(658)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(442)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(596)]!==u&&(l[e][o(442)]=n,f&&f[o(596)]===l[e][o(596)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(647)!==t[i][o(486)]||f&&f[o(596)]===u||h[e][o(693)]({userId:u,object:t[i][o(658)],change:l[e]}),o(656)===t[i][o(486)]&&f&&f[o(381)]===t[i][o(658)]&&(h[e][o(638)](),l[e]=f[o(496)])),l[e]&&d&&(l[e][o(442)]=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(658)],f=a[h(608)][h(613)](d)&&!a[h(608)][h(382)](d),m=t[h(445)]==o[h(479)]&&o[h(594)];if(f&&m)return;const p=a[h(621)](t,o),v=e[h(599)](u),g=new Zt({author:v,type:h(524)==l||h(663)==l?h(624):h(551),data:{isSuggestion:h(663)==l||h(436)==l},createdAt:new Date,rootName:i});r[h(623)](g),n[h(485)][h(465)](h(533)+g.id,p)}function v(t,e){const i=s,n=t[i(399)](),r=e[i(399)]();for(const t of n){if(t[1]!==e[i(669)](t[0]))return!1;r[i(548)]()}return r[i(548)]()[i(667)]}}[Qt(585)](){const t=Qt;this[t(547)][t(392)][t(439)](t(484))[t(578)]({view:t(534)}),this[t(547)][t(392)][t(439)](t(383))[t(576)]({model:t(534),view:e=>{const i=t,s=e[i(397)][i(602)](":")[1],n=this[i(423)](s);if(!n)return null;const r=i(624)==n[i(486)]?i(662):i(384),o=[i(505),i(406)+r];return n[i(458)][i(537)]&&o[i(623)](i(406)+r+i(574)),this[i(684)]==n&&o[i(623)](i(609)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(547)][t(392)][t(439)](t(484))[t(624)]((e=>{const i=t;e.on(i(451),((t,e,s)=>{const n=i,r=e[n(701)][n(619)](0);if(!r||!r.is(n(571),n(607)))return;if(!s[n(530)][n(497)](r,{attributes:[n(659),n(480)]}))return;const o=e[n(686)][n(432)][n(445)];s[n(404)][n(520)](n(659),r[n(669)](n(659)),o),s[n(404)][n(520)](n(480),r[n(669)](n(480)),o)}),{priority:i(610)})})),this[t(547)][t(392)][t(439)](t(484))[t(624)]((e=>{const i=t;e.on(i(571),((t,e,s)=>{const n=i;if(!s[n(530)][n(497)](e[n(701)],{attributes:[n(659),n(480)]}))return;if(e[n(686)][n(454)])return;const r=e[n(686)][n(432)][n(445)];r[n(678)](n(659))||r[n(678)](n(681))||(s[n(404)][n(520)](n(659),e[n(701)][n(669)](n(659)),r),s[n(404)][n(520)](n(480),e[n(701)][n(669)](n(480)),r))}),{priority:i(610)})})),this[t(547)][t(392)][t(439)](t(484))[t(429)]({view:{name:t(677),attributes:{vid:!0}},model:{key:t(681),value:e=>e[t(669)](t(681))}}),this[t(547)][t(649)][t(608)].on(t(614),((e,[,i])=>{const s=t;[s(659),s(480),s(681)][s(469)](i)&&(e[s(535)]=!0,e[s(577)]())}),{priority:t(697)}),this[t(547)][t(392)][t(439)](t(457))[t(624)]((e=>{const i=t;e.on(i(654),((t,e,s)=>{const n=i;if(" "!=e[n(658)][n(458)]||e[n(658)][n(479)][n(443)]>1)return;if(!s[n(530)][n(497)](e[n(658)],t[n(509)]))return;const r=s[n(404)],o=s[n(456)][n(460)](e[n(402)]);r[n(487)](o,r[n(580)](n(677)))}))})),this[t(547)][t(392)][t(439)](t(457))[t(595)]({model:t(534)}),this[t(547)][t(473)][t(412)].on(t(441),function(e){const i=t,s=e[i(696)][i(599)](i(546));return(t,n,r)=>{const o=i,a=n[o(397)][o(602)](":")[1],c=s[o(423)](a);if(!c)return null;const u=o(624)==c[o(486)]?o(602):o(565);if(!r[o(530)][o(420)](n[o(492)],t[o(509)]))return;const l=n[o(492)][o(438)](),h=n[o(492)][o(432)],d=e[o(649)][o(608)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(658)];p=p||d[o(424)](e);const i=r[o(456)][o(640)](e);if(i&&i[o(689)](o(558)))return;o(656)==t[o(486)]&&d[o(613)](e)&&!d[o(382)](e)&&(e[o(692)]||h[o(598)]?f&&f[o(479)]==e||(f=e,g(t[o(568)]),v=!0):m=m||t[o(568)])}function g(t){const e=o,i=r[e(404)][e(390)](e(677),{class:e(406)+u}),a=r[e(456)][e(562)](t);c[e(458)][e(537)]&&r[e(404)][e(523)](e(406)+u+e(574),i),s[e(684)]==c&&r[e(404)][e(523)](e(609),i),r[e(404)][e(391)](a,i),r[e(456)][e(387)](i,n[e(397)])}p||v||!m||g(m)}}(this[t(547)]),{priority:t(513)}),this[t(547)][t(473)][t(412)].on(t(556),((e,i,s)=>{const n=t,r=s[n(456)][n(416)](i[n(397)]);if(r)for(const t of r)(t[n(570)](n(592))||t[n(570)](n(586)))&&(s[n(456)][n(635)](t,i[n(397)]),s[n(404)][n(551)](t))}),{priority:t(513)}),this[t(547)][t(473)][t(412)].on(t(441),((e,i,s)=>{const n=t,r=i[n(397)][n(602)](":")[1],o=this[n(423)](r);if(!o)return null;const a=n(624)==o[n(486)]?n(602):n(565);if(s[n(530)][n(420)](i[n(492)],e[n(509)]))for(const t of i[n(492)][n(615)]()){if(!t.is(n(571),n(510)))continue;const e=s[n(404)][n(390)](n(677),{class:n(406)+a}),r=s[n(456)][n(562)](this[n(547)][n(649)][n(633)](t));o[n(458)][n(537)]&&s[n(404)][n(523)](n(406)+a+n(574),e),this[n(684)]==o&&s[n(404)][n(523)](n(609),e),s[n(404)][n(391)](r,e),s[n(456)][n(387)](e,i[n(397)])}}),{priority:t(513)}),this[t(547)][t(649)][t(639)].on(t(496),(()=>{const e=t;this[e(547)][e(473)][e(704)][e(496)]((t=>{const i=e;for(const e of this[i(547)][i(649)][i(639)][i(379)]()){const s=this[i(547)][i(649)][i(639)][i(634)](e),n=this[i(547)][i(473)][i(704)][i(639)][i(634)](e);if(n){const e=s[i(669)](i(414));if(t[i(700)](i(603),n),t[i(427)](i(690),n),t[i(427)](i(422),n),t[i(427)](i(450),n),e){const s=this[i(423)](e);if(!s)return null;t[i(520)](i(603),e,n),t[i(523)](i(462)+s[i(486)],n),this[i(684)]==s&&t[i(523)](i(450),n)}}}}))})),this[t(547)][t(392)][t(439)](t(484))[t(578)]({view:t(466),model:e=>t(410)+e,converterPriority:t(697)}),this[t(547)][t(392)][t(439)](t(484))[t(578)]({view:t(703),model:e=>t(508)+e,converterPriority:t(697)}),this[t(547)][t(392)][t(439)](t(457))[t(595)]({model:t(405),view:e=>({name:t(481)+e,group:t(405)}),converterPriority:t(697)}),this[t(547)][t(392)][t(439)](t(383))[t(576)]({model:t(405),view:e=>{const i=t,s=e[i(397)][i(602)](":")[1];return i(662)!=s&&i(384)!=s?null:{classes:[i(388),i(435)+s]}}}),this[t(547)][t(473)][t(412)].on(t(589),ie(this[t(547)],t(565)),{priority:t(513)}),this[t(547)][t(473)][t(412)].on(t(459),ie(this[t(547)],t(602)),{priority:t(513)}),this[t(547)][t(473)][t(412)].on(t(665),((e,i,s)=>{const n=t,r=s[n(456)][n(416)](i[n(397)]);if(r)for(const t of r)t.is(n(453))&&(s[n(456)][n(635)](t,i[n(397)]),s[n(404)][n(551)](t))}),{priority:t(513)})}[Qt(423)](t){const e=Qt;return this[e(630)][e(599)](t)}[Qt(553)](t){const e=Qt;return this[e(627)]&&this[e(627)][e(433)](),this[e(627)]=new zt(this[e(547)][e(668)],t),this[e(627)]}[Qt(632)](){const t=Qt;this[t(547)][t(649)][t(639)][t(401)][t(579)](t(534)),this.on(t(529),((e,i,s,n)=>{const r=t;n&&this[r(593)][r(551)](n),s&&(this[r(593)][r(624)]({view:s,stackId:r(426),position:{target:()=>{const t=r,e=this[t(547)][t(473)],i=this[t(423)](s[t(498)]);let n;if(i[t(458)][t(646)]){const s=e[t(704)][t(525)](i[t(389)]);n=Array[t(482)](s[t(517)]())}else{const i=this[t(547)][t(649)][t(485)][t(599)](t(533)+s[t(498)]);n=Array[t(482)](e[t(456)][t(416)](i[t(509)]))[t(625)]((i=>e[t(704)][t(519)][t(591)](i)))[t(625)]((e=>Array[t(482)](e[t(517)]())))[t(527)]()}return this[t(626)]&&n[t(428)]((e=>e[t(606)]-3<=this[t(626)].y&&e[t(440)]+3>=this[t(626)].y&&e[t(660)]-3<=this[t(626)].x&&e[t(514)]+3>=this[t(626)].x))||n[0]}}}),this[r(593)][r(664)](r(426)))})),this.on(t(691),((e,i,s,n)=>{const r=t;this[r(583)]=s?this[r(553)](s):null,this[r(547)][r(649)][r(496)]((()=>{const t=r,e=this[t(547)][t(473)];n&&(n[t(458)][t(646)]?e[t(704)][t(496)]((i=>{const s=t;i[s(427)](s(450),e[s(704)][s(639)][s(634)](n[s(389)]))})):e[t(400)](t(533)+n.id)),s&&(s[t(458)][t(646)]?e[t(704)][t(496)]((i=>{const n=t;i[n(523)](n(450),e[n(704)][n(639)][n(634)](s[n(389)]))})):e[t(400)](t(533)+s.id))}))})),this[t(536)](this[t(547)][t(473)][t(704)][t(639)],t(670),((e,i)=>{const s=t;if(this[s(684)])return;const n=this[s(587)](i[s(411)]),r=this[s(630)][s(599)](n);r?(this[s(626)]={x:i[s(526)].x,y:i[s(526)].y},this[s(583)]=this[s(553)](r)):(this[s(626)]=null,this[s(583)]=null)})),this[t(536)](this[t(547)][t(473)][t(704)][t(639)],t(467),((e,i)=>{const s=t,n=this[s(587)](i[s(411)]),r=this[s(630)][s(599)](n);r?(this[s(626)]={x:i[s(526)].x,y:i[s(526)].y},r===this[s(684)]?this[s(593)][s(566)]():this[s(684)]=r):(this[s(626)]=null,this[s(684)]=null)}))}[Qt(587)](t){const e=Qt;do{const i=t[e(669)](e(603));if(i)return i;t=t[e(479)]}while(t);return null}[Qt(403)](){const t=Qt;this[t(547)][t(649)][t(496)]((e=>{const i=t;for(const t of this[i(547)][i(649)][i(485)])e[i(516)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(530)][r(420)](s[r(492)],i[r(509)]))return;const o=s[r(492)][r(438)](),a=s[r(492)][r(432)],c=t[r(649)][r(608)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(658)];h=h||c[r(424)](e);const i=n[r(456)][r(640)](e);if(i&&i[r(689)](r(558)))return;r(656)==t[r(486)]&&c[r(613)](e)&&!c[r(382)](e)&&(e[r(692)]||a[r(598)]?u&&u[r(479)]==e||(u=e,f(t[r(568)]),d=!0):l=l||t[r(568)])}function f(t){const i=r,o=n[i(456)][i(562)](t),a=n[i(404)][i(390)](i(677),{class:i(435)+e});n[i(404)][i(391)](o,a),n[i(456)][i(387)](a,s[i(397)])}h||d||!l||f(l)}}class se extends H.Command{constructor(t){const e=Qt;super(t);const i=t[e(696)][e(599)](ee);this[e(474)]=!1,this[e(536)](i,e(503),(()=>this[e(657)]())),this[e(536)](i,e(687),(()=>this[e(657)]()))}[Qt(671)](){const t=Qt,e=this[t(547)],i=e[t(696)][t(599)](ee),s=i[t(652)]?i[t(500)][t(494)]:null;e[t(699)][t(599)](t(636))[t(581)](s)}[Qt(657)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(547)][t(696)][t(599)](ee),r=n&&s[t(455)](n[t(494)]);this[t(637)]=e&&i&&Boolean(r)}}class ne extends H.Command{[Qt(522)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(696)][i(599)](ee);this[i(474)]=!1,this[i(522)]=i(622)===e?1:-1,this[i(536)](s,i(503),(()=>this[i(657)]())),this[i(536)](s,i(687),(()=>this[i(657)]())),this[i(536)](s,i(691),(()=>this[i(657)]()))}[Qt(671)](){const e=Qt,i=this[e(547)],s=i[e(696)][e(599)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(684)]=n?s[e(500)][e(477)][e(599)](r+this[e(522)]):s[e(500)][e(477)][e(539)],s[e(684)][e(458)][e(646)])o=i[e(473)][e(704)][e(525)](s[e(684)][e(389)]);else{const t=i[e(649)][e(485)][e(599)](e(533)+s[e(684)].id);o=(0,U.getMarkerDomElement)(i[e(473)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(657)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(547)][t(696)][t(599)](ee);this[t(637)]=!!(r&&n&&s)&&(!e||(1===this[t(522)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["ck-hidden","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","No changes","50MKrwfy","630872eNGNSu","X_OF_Y_CHANGES","set","bind","NUMBER_OF_CHANGES","_isStatusLabelVisible","283424iOiiSv","setTemplate","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","6902442NpMwJC","backward","forward","Show next change","Loading...","isEnabled","isBackwardNavigationEnabled","Show previous change","fire","26406cvmvjf","isReady","ck-revision-history-ui__changes-navigation__navigation","6542XqYzGM","span","489047KVoEZy","isNavigationMode","417RnQinY","ck-revision-history-ui__changes-navigation__label","637PiwWmh","numberOfChanges","div","execute","Total","currentChangeNumber","_statusText","bindTemplate","15389730ooyNFV","ck-revision-history-ui__changes-navigation__wrapper"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=102]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(419485===parseInt(e(115))/1+parseInt(e(113))/2*(-parseInt(e(117))/3)+parseInt(e(140))/4*(-parseInt(e(133))/5)+parseInt(e(110))/6*(parseInt(e(119))/7)+-parseInt(e(134))/8+-parseInt(e(144))/9+parseInt(e(127))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(126)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(136)](e(116),!1),this[e(136)](e(111),!1),this[e(136)](e(124),0),this[e(136)](e(120),0),this[e(136)](e(131),!1),this[e(136)](e(107),!1),this[e(137)](e(139)).to(this,e(111),this,e(120),((t,e)=>t&&e>0)),this[e(137)](e(125)).to(this,e(111),this,e(124),this,e(120),this,e(116),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(105));if(!n)return X(t,o(132));const a=X(t,o(138),n);return r?X(t,o(135),[s+1,n]):a})),s[e(136)]({label:X(t,e(108)),tooltip:!0,icon:mt.IconChevronUp}),n[e(136)]({label:X(t,e(104)),tooltip:!0,icon:mt.IconChevronDown}),s[e(137)](e(106)).to(this,e(107)),n[e(137)](e(106)).to(this,e(131)),s.on(e(122),(()=>this[e(109)](e(122),e(102)))),n.on(e(122),(()=>this[e(109)](e(122),e(103)))),this[e(141)]({tag:e(121),attributes:{class:["ck",e(143),e(130)]},children:[{tag:e(114),attributes:{class:[e(128)]},children:[{tag:e(114),attributes:{class:[e(118),i.if(e(139),e(129),(t=>!t))]},children:[{text:i.to(e(116),(i=>i?X(t,e(142))+": ":X(t,e(123))+": "))}]},{text:i.to(e(125))}]},new pt.ToolbarSeparatorView,{tag:e(121),attributes:{class:[e(112)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(135026===parseInt(e(190))/1*(parseInt(e(197))/2)+-parseInt(e(209))/3*(-parseInt(e(187))/4)+-parseInt(e(206))/5+-parseInt(e(195))/6+-parseInt(e(198))/7+parseInt(e(192))/8*(parseInt(e(207))/9)+-parseInt(e(199))/10*(-parseInt(e(201))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(191);function pe(){const t=["1412880IpkRbz","addClass","170364TPHWio","1538838dIgxyd","2063930KXtiHn","editor","11HYpJzM","roots","show","editing","isPremiumPlugin","688945whqLqS","9IFCGgQ","RevisionViewerLoadingOverlay","8124BDKFHG","change","view","hide","116MddLZc","pluginName","removeClass","3vHNgpJ","ck-editor__editable__loading-overlay","1501264HivIFH","document","isOfficialPlugin"];return(pe=function(){return t})()}class ve extends H.Plugin{static get[de(188)](){return de(208)}static get[de(194)](){return!0}static get[de(205)](){return!0}[de(203)](){const t=de,e=this[t(200)][t(204)][t(211)];e[t(210)]((i=>{const s=t;for(const t of e[s(193)][s(202)])i[s(196)](me,t)}))}[de(186)](){const t=de,e=this[t(200)][t(204)][t(211)];e[t(210)]((i=>{const s=t;for(const t of e[s(193)][s(202)])i[s(189)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=477]})(t,e)}function ke(){const t=["56469JaIluf","get","plugins","Restore this revision","config","1fkbWor","add","componentFactory","numberOfChanges","currentChangeNumber","isReady","ck-revision-history-ui__back-to-editing","isForwardNavigationEnabled","requires","exitToEditing","pluginName","1307690WUrYYd","revisionHistory","closeRevisionViewerCallback","Back to editing","commands","showPreviousChange","init","changesNavigation","9544xhvzth","forward","showNextChange","isNavigationMode","restoreRevision","isEnabled","4252655CQIXkw","set","bind","693mmaSGT","1471845mRLYAO","354188xdQStC","show","hide","execute","RevisionViewerUI","16opsqyP","7aDbwtI","2794410egLriB","change:isReady","isBackwardNavigationEnabled","listenTo","isPremiumPlugin","editor","isOfficialPlugin"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(278133===parseInt(e(504))/1*(parseInt(e(485))/2)+parseInt(e(499))/3*(-parseInt(e(490))/4)+parseInt(e(484))/5+-parseInt(e(492))/6*(parseInt(e(491))/7)+parseInt(e(523))/8*(parseInt(e(483))/9)+-parseInt(e(515))/10+parseInt(e(480))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends H.Plugin{static get[ge(514)](){return ge(489)}static get[ge(498)](){return!0}static get[ge(496)](){return!0}static get[ge(512)](){return[ee,ve]}[ge(521)](){const t=ge,e=this[t(497)],i=e[t(501)][t(500)](ee),s=e[t(501)][t(500)](ve);e.ui[t(506)][t(505)](t(513),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(481)]({label:X(i,s(518)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(510)}),this[s(495)](n,s(488),(()=>{const t=s;e[t(503)][t(500)](t(516))[t(517)]()})),n})),e.ui[t(506)][t(505)](t(478),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(481)]({label:X(i,s(502)),withText:!0,tooltip:!0}),n[s(482)](s(479)).to(e[s(519)][s(500)](s(478))),this[s(495)](n,s(488),(()=>e[s(488)](s(478)))),n})),e.ui[t(506)][t(505)](t(522),(s=>{const n=t,r=new ue(s),o=e[n(519)][n(500)](n(520)),a=e[n(519)][n(500)](n(525));return r[n(482)](n(494)).to(o,n(479)),r[n(482)](n(511)).to(a,n(479)),r[n(482)](n(509),n(508),n(507),n(477)).to(i),this[n(495)](r,n(488),((t,i)=>{const s=n;e[s(488)](s(524)===i?s(525):s(520))})),r})),s[t(486)](),i.on(t(493),((e,i,n)=>{const r=t;n?s[r(487)]():s[r(486)]()}))}}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=["1312QeuBhw","3236529MZePqq","set","ck-tooltip_multi-line","placeholder","bindTemplate","_updateTooltipText","6155610aWJEZN","render","fieldView","scrollWidth","Enter the revision name","value","extendTemplate","input","54XbfUAN","clientWidth","_tooltipString","Revision name","1SanHqs","3519724XhTowi","17486BadiWV","destroy","listenTo","2731254xfUcGT","ck-revision-history-sidebar__revision-name","_resizeObserver","98310zCalqB","span","5249874Qykvoe","element"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(814610===parseInt(e(279))/1*(-parseInt(e(253))/2)+-parseInt(e(261))/3+-parseInt(e(249))/4+-parseInt(e(256))/5+parseInt(e(258))/6+parseInt(e(250))/7*(-parseInt(e(260))/8)+-parseInt(e(275))/9*(-parseInt(e(267))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends pt.LabeledFieldView{[Ie(255)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(265)];this[i(262)]({label:X(t,i(278)),_tooltipString:""}),this[i(269)][i(264)]=X(t,i(271)),this[i(273)]({tag:i(257),attributes:{class:[i(254)],"data-cke-tooltip-text":s.to(i(277)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(263)}})}[Ie(268)](){const e=Ie;super[e(268)](),this[e(255)]=new t.ResizeObserver(this[e(269)][e(259)],(()=>this[e(266)]())),this[e(252)](this[e(269)],e(274),(()=>this[e(266)]()))}[Ie(251)](){const t=Ie;super[t(251)](),this[t(255)]&&this[t(255)][t(251)]()}[Ie(266)](){const t=Ie,e=this[t(269)][t(259)];this[t(277)]=e[t(270)]>e[t(276)]&&e[t(272)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(){const t=["ck-revision-history-sidebar__revision-author__name","0 0 11 10","name","1065627jhEmRo","8TXLWdM","span","setTemplate","ck-revision-history-sidebar__revision-author","set","86970OJIpBw","100296mAGyuK","393993TimXIe","ck-revision-history-sidebar__revision-author_creator","2020032RkEggW","8oZjvXF","Revision creator","Revision author","903740WxNIYf","push","22xibHvA","2grFioW","384147ymBvxE"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(295227===-parseInt(e(326))/1+-parseInt(e(325))/2*(-parseInt(e(316))/3)+parseInt(e(309))/4*(parseInt(e(322))/5)+parseInt(e(318))/6+-parseInt(e(315))/7+-parseInt(e(319))/8*(parseInt(e(330))/9)+parseInt(e(314))/10*(-parseInt(e(324))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(313)]({content:mt.IconUser,viewBox:s(328)});const r=["ck",s(312)];i&&r[s(323)](s(317));const o=[{tag:s(310),attributes:{class:["ck",s(327)],title:X(t,s(i?320:321))},children:[n,e[s(329)]]}];this[s(311)]({tag:"li",attributes:{class:r},children:o})}}function De(t,e){var i=Ve();return(De=function(t,e){return i[t-=294]})(t,e)}function Ve(){var t=["12IWFGOv","40PndlXO","810062JdQunw","102232mZEQxo","1073570aOLzno","toLocaleDateString","36QxJubC","long","4907AcLRic","numeric","6ghlkZd","110440ATqLJu","toLocaleTimeString","869253MXTHkj","75935XXUnyI"];return(Ve=function(){return t})()}!function(t){for(var e=De,i=t();;)try{if(165391===parseInt(e(299))/1*(parseInt(e(295))/2)+parseInt(e(298))/3+-parseInt(e(301))/4*(parseInt(e(296))/5)+-parseInt(e(300))/6*(parseInt(e(308))/7)+-parseInt(e(303))/8*(-parseInt(e(306))/9)+-parseInt(e(304))/10+-parseInt(e(302))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=223]})(t,e)}function Le(){const t=["action","Compare against selected","listView","source","button","add","35aTlaXY","isVisible","243615dppfzL","first","stopPropagation","buttonView","ck-revision-history-sidebar__revision__actions","set","20xwWJIv","class","440342uamYZH","bind","_action","2142734rZUxcb","change:isActionsDropdownOpen","items","3804776EYONWk","listenTo","bindTemplate","Restore this revision","name","402484fDHRtR","model","6739893cJPARY","map","execute","Show more items","isActionsDropdownOpen","isReady","find","menu","2cWAAbZ","Name this revision","panelPosition","extendTemplate","children","function","ck-on","isEnabled","217367snNPOj","66emDtpc","menuitem","locale","isOpen"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(427261===parseInt(e(224))/1*(parseInt(e(266))/2)+parseInt(e(237))/3+parseInt(e(256))/4*(parseInt(e(235))/5)+-parseInt(e(225))/6*(parseInt(e(245))/7)+parseInt(e(251))/8+-parseInt(e(258))/9+parseInt(e(243))/10*(parseInt(e(248))/11))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 We=ze;function ze(t,e){const i=He();return(ze=function(t,e){return i[t-=422]})(t,e)}function He(){const t=["srcElement","span","isReady","ck-revision-history-sidebar__revision_selected","isEnabled","value","setName","revisionNameView","element","ck-revision-history-sidebar__revision__date","ck-reset","div","1339790jackUv","_revision","set","ck-disabled","change","fire","highlight","220","render","bind","map","fieldView","ck-revision-history-sidebar__revision","_requireRevisionName","1564jgWymV","extendTemplate","createdAt","listenTo","deselect","18jpSbNW","2565816xkTuoJ","creator","isHighlighted","setTemplate","filter","uiLanguage","select","_createdAtFormatted","6190645cCkBfl","unhighlight","247098QrqNkg","from","14vAOnHS","isActionsDropdownOpen","isConfirm","length","ck-revision-history-sidebar__revision_highlighted",".ck-thread__remove-confirm","name","31008eeHVNF","6fBjGND","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","isSelected","bindTemplate","closest","ck-revision-history-sidebar__revision-authors","1333693AVELkk","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__actions_dropdown_open","unshift","8994riDLxT","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper","286EqOTQe"];return(He=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(837921===parseInt(e(467))/1+-parseInt(e(450))/2+-parseInt(e(471))/3*(-parseInt(e(434))/4)+-parseInt(e(448))/5*(parseInt(e(460))/6)+parseInt(e(452))/7*(-parseInt(e(440))/8)+parseInt(e(439))/9*(parseInt(e(487))/10)+-parseInt(e(474))/11*(-parseInt(e(459))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[We(482)];[We(472)];[We(488)];[We(433)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(464)],a=function(t,e){const i=r,s=Array[i(451)](e[i(462)])[i(444)]((t=>t!=e[i(441)]));return e[i(441)]&&s[i(470)](e[i(441)]),s[i(430)]((s=>new Me(t,s,s==e[i(441)])))}(e,i);this.id=i.id,this[r(488)]=i,this[r(433)]=n,this[r(429)](r(458),r(436)).to(i),this[r(429)](r(447)).to(this,r(436),(t=>{return i=e[r(445)],(s=t)[(n=De)(305)](i,{month:n(307),day:n(294)})+", "+s[n(297)](i,{hour:n(294),minute:n(294)});var i,s,n})),this[r(422)](r(463),!1),this[r(422)](r(442),!1),this[r(422)](r(453),!1),this[r(422)](r(477),!1),this[r(422)](r(479),!1),this[r(482)]=new xe(e,pt.createLabeledInputText),this[r(482)][r(431)][r(435)]({attributes:{maxlength:r(427)}}),this[r(482)][r(431)][r(429)](r(480)).to(this,r(458),(t=>t||this[r(447)])),this[r(482)][r(429)](r(479)).to(this,r(463),this,r(479),((t,e)=>t&&e)),this[r(472)]=s&&s[r(455)]?function(e,i){const s=Fe,n=e[s(253)],r=e[s(227)],o=(0,pt.createDropdown)(r);o[s(268)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(227)],n={"Compare against selected":X(s,i(230)),"Name this revision":X(s,i(267)),"Restore this revision":X(s,i(254))};return e[i(259)]((t=>{const e=i,s=n[t[e(255)]];return s&&s!==t[e(255)]&&(t[e(255)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(233),model:new pt.ViewModel({label:t[n(255)],class:t[n(244)],withText:!0,role:n(226),_action:t[n(229)]})};i[n(257)][n(246)](n(223)).to(e,n(262),(i=>n(271)!=typeof t[n(223)]||!i||t[n(223)](e))),o[n(234)](i)}return o}(e,i);return e[s(246)](s(262)).to(o,s(228)),o[s(240)][s(242)]({label:X(r,s(261)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(269)]({attributes:{class:[s(241),n.if(s(262),s(272))]},on:{click:n.to((t=>t[s(239)]()))}}),o.on(s(260),(t=>{const i=s;e[i(263)]&&i(271)==typeof t[i(232)][i(247)]&&t[i(232)][i(247)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(265)}),o[s(252)](e,s(249),((t,n,r)=>{const a=s;if(r)for(const t of o[a(231)][a(250)]){const s=t[a(270)][a(238)],n=i[a(264)]((t=>t[a(229)]===s[a(247)]))[a(236)];t[a(236)]=void 0===n||n(e)}})),o}(this,s):"",this[r(472)]&&this[r(472)][r(429)](r(479)).to(this),this[r(443)]({tag:r(486),attributes:{class:["ck",r(485),r(468),o.if(r(454),r(461))]},children:[{tag:r(486),attributes:{class:["ck",r(485),r(432),o.if(r(479),r(423),(t=>!t)),o.if(r(463),r(478)),o.if(r(442),r(456)),o.if(r(453),r(469))]},children:[this[r(482)],{tag:r(476),attributes:{class:["ck",r(484)]},children:[{text:o.to(r(447))}]},{tag:r(486),attributes:{class:["ck",r(473)]},children:[{tag:"ul",attributes:{class:["ck",r(466)]},children:a}]},this[r(472)]],on:{click:o.to((t=>{const e=r;t[e(475)][e(465)](e(457))||this[e(477)]&&this[e(479)]&&this[e(425)](e(446),{id:this.id})}))}}]})}[We(428)](){const t=We;super[t(428)]();const e=this[t(482)][t(431)][t(483)];this[t(437)](e,t(424),(()=>{const i=t;this[i(433)]&&!e[i(480)]||this[i(425)](i(481),{id:this.id,name:e[i(480)]}),e[i(480)]||(e[i(480)]=this[i(458)]?this[i(458)]:this[i(447)])}))}[We(446)](){this[We(463)]=!0}[We(438)](){this[We(463)]=!1}[We(426)](){this[We(442)]=!0}[We(449)](){this[We(442)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const 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 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 xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,xi[s]||(xi[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"})),xi[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=Ti[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Mi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Vi={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Hi{static fromOpts(t){return Hi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Hi(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Hi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Hi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return 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 Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:xs()?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):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ui=null;class Zi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Hi.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(t)-s+n)/7}function Hs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ds(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Hs(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Hn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Jn=mn(xn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(xn,Tn,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||Hi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Hi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Hi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Hi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Hi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Hi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Hi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Hs);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Wr(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 zr(t,e,i=!0){return t.isValid?hn.create(Hi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Hi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=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:Dr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=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||Hi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=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:Hi.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Hi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Hi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Hi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Hn,$n],[Un,Bn],[Zn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Hi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Hi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(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(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Hr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Hr(this,"extended"===t):null}toISOWeekDate(){return zr(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 zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Hr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Hi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Hi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(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","minus","4YpiZya","819039gkyfxD","day","monthLong","170598lsnuSm","301CZFmry","week","1615257bwknUY","6931040rfbLyL","month","local","weekdayLong","setLocale","year","304dTyNah","toRelativeCalendar","12dIxPbW","60104132sWIesl","206937Dbcqjl","2zNDFKq","startOf","toJSDate","fromJSDate","10009620wHJVWH"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=377]})(t,e)}function oo(t,e){const i=ro,s=io[i(380)](t)[i(396)](e),n=io[i(394)](),r=n[i(383)]({days:1})[i(378)](i(386));let o,a;return s[i(382)](n,i(386))?(o=s[i(378)](i(386))[i(379)](),a=s[i(399)]()):s[i(382)](r,i(386))?(o=r[i(379)](),a=s[i(399)]()):s[i(382)](n,i(390))?(o=s[i(378)](i(390))[i(379)](),a=s[i(395)]||""):s[i(382)](n,i(397))?(o=s[i(378)](i(393))[i(379)](),a=s[i(387)]||""):(o=s[i(378)](i(397))[i(379)](),a=String(s[i(397)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(839687===parseInt(e(391))/1*(-parseInt(e(377))/2)+-parseInt(e(385))/3*(parseInt(e(384))/4)+-parseInt(e(392))/5+parseInt(e(388))/6*(-parseInt(e(389))/7)+parseInt(e(398))/8*(parseInt(e(402))/9)+-parseInt(e(381))/10+-parseInt(e(401))/11*(-parseInt(e(400))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["setName","27152NJaxcW","14gxRGEK","1258256tRlHri","find","removeRevision","span","_requireRevisionName","delegate","createCollection","1980HJephX","5210IjKmAd","37659olrbsv","70uabBGj","ck-revision-history-sidebar__time-period","_revisionActions","startDate","add","localizedPeriodName","div","263178LYlmOg","select","ck-revision-history-sidebar__time-period__label","revisionViews","162888KEXXhc","3NNkSFo","uiLanguage","ck-revision-history-sidebar__time-period__revisions","12HKAdPR","setTemplate","392CrcJci","addRevision","locale","remove","1358149AqmaIy"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=414]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(188614===-parseInt(e(418))/1*(-parseInt(e(443))/2)+parseInt(e(431))/3*(-parseInt(e(444))/4)+parseInt(e(417))/5*(parseInt(e(416))/6)+parseInt(e(436))/7*(parseInt(e(442))/8)+-parseInt(e(426))/9*(parseInt(e(419))/10)+parseInt(e(430))/11+-parseInt(e(434))/12*(parseInt(e(440))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(422)];[uo(429)];[uo(421)];[uo(448)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(438)][n(432)])[n(424)];this[n(422)]=e,this[n(429)]=this[n(415)](),this[n(421)]=i,this[n(448)]=s,this[n(429)][n(414)](n(427)).to(this),this[n(429)][n(414)](n(441)).to(this),this[n(435)]({tag:n(425),attributes:{class:["ck",n(420)]},children:[{tag:n(447),attributes:{class:["ck",n(428)]},children:[{text:r}]},{tag:n(425),attributes:{class:["ck",n(433)]},children:this[n(429)]}]})}[uo(437)](t){const e=uo,i=new Ue(this[e(438)],t,this[e(421)],this[e(448)]);this[e(429)][e(423)](i)}[uo(446)](t){const e=uo,i=this[e(429)][e(445)]((e=>e.id===t.id));this[e(429)][e(439)](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-=489]})(t,e)}function go(){const t=["6118650DVcPJL","8953152ZcUhJg","1RdIZKr","setTemplate","div","13362EUmHsB","910702RuCqox","span","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","6PrwyXR","4809434aQsFSj","ck-reset_all","10035018AWCtvy","Revision history","20902990lfyqxu","content","1084iRLkwY"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(806090===-parseInt(e(503))/1*(-parseInt(e(489))/2)+-parseInt(e(506))/3*(parseInt(e(500))/4)+-parseInt(e(501))/5+parseInt(e(493))/6*(parseInt(e(494))/7)+parseInt(e(502))/8+-parseInt(e(496))/9+parseInt(e(498))/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(499)]=mt.IconHistory,this[e(504)]({tag:e(505),attributes:{class:["ck",e(495),e(492)]},children:[i,{tag:e(490),attributes:{class:["ck",e(491)]},children:[X(t,e(497))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["_requireRevisionName","removeRevision","unhighlight","find","_getTimePeriodViewByStartDate","revisionSelected","isEnabled","1655370mDDeqc","remove","render","addRevision","select","651792mZcJwR","map","revisionSetName","_revisionActions","highlightRevisions","timePeriodViews","deselect","8sLaZnp","_removeRevision","24636GpUTQa","setTemplate","ck-disabled","ck-revision-history-sidebar","set","flat","7749801DgwQvL","createdAt","3857451iQSAyH","delegate","656516WrCStM","getTime","revisionViews","bindTemplate","4qBwRir","div","_addRevision","ck-revision-history-sidebar__timeline","createCollection","ck-rounded-corners","startDate","highlight","uiLanguage","ck-reset","some","1500401xSzCol","add","get","955WgAsQH","_revisions","selectRevision","fire","setName","locale"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(652160===-parseInt(e(145))/1+parseInt(e(181))/2+parseInt(e(143))/3*(parseInt(e(149))/4)+-parseInt(e(163))/5*(parseInt(e(135))/6)+-parseInt(e(160))/7+-parseInt(e(133))/8*(-parseInt(e(141))/9)+-parseInt(e(176))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(131)];[wo(164)];[wo(184)];[wo(169)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(148)];this[n(131)]=this[n(153)](),this[n(131)][n(144)](n(180)).to(this),this[n(131)][n(144)](n(167)).to(this),this[n(164)]=e,this[n(184)]=i,this[n(169)]=s,this.on(n(180),((t,e)=>{const i=n;this[i(166)](i(174),e)})),this.on(n(167),((t,e)=>{const i=n;this[i(166)](i(183),e)})),this[n(139)](n(175),!1),this[n(136)]({tag:n(150),attributes:{class:["ck",n(158),n(154),n(138)]},children:[new yo(t),{tag:n(150),attributes:{class:["ck",n(152),r.if(n(175),n(137),(t=>!t))]},children:this[n(131)]}]})}[wo(178)](){const t=wo;super[t(178)]();for(const e of this[t(164)])this[t(151)](e);this[t(164)].on(t(161),((e,i)=>{this[t(151)](i)})),this[t(164)].on(t(177),((e,i)=>{this[t(134)](i)}))}get[wo(147)](){const t=wo;return this[t(131)][t(182)]((e=>e[t(147)][t(182)]((t=>t))))[t(140)]()}[wo(165)](t){const e=wo;for(const i of this[e(147)])t&&t.id===i.id?i[e(180)]():i[e(132)]()}[wo(130)](t){const e=wo;for(const i of this[e(147)])t[e(159)]((({id:t})=>t===i.id))?i[e(156)]():i[e(171)]()}[wo(151)](t){const e=wo,i=oo(t[e(142)],this[e(168)][e(157)])[e(155)];let s=this[e(131)][e(162)](0);s&&s[e(155)][e(146)]()===i[e(146)]()||(s=new fo(this[e(168)],i,this[e(184)],this[e(169)]),this[e(131)][e(161)](s)),s[e(179)](t)}[wo(134)](t){const e=wo,i=oo(t[e(142)],this[e(168)][e(157)])[e(155)];this[e(173)](i)[e(170)](t)}[wo(173)](t){const e=wo;return this[e(131)][e(172)]((i=>i[e(155)][e(146)]()===t[e(146)]()))}}const Oo=To;!function(t){const e=To,i=t();for(;;)try{if(815606===-parseInt(e(290))/1*(-parseInt(e(272))/2)+-parseInt(e(316))/3+-parseInt(e(278))/4*(parseInt(e(270))/5)+parseInt(e(300))/6*(parseInt(e(302))/7)+parseInt(e(319))/8+-parseInt(e(276))/9*(-parseInt(e(297))/10)+parseInt(e(282))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class xo extends H.Plugin{[Oo(327)];[Oo(298)];[Oo(249)];static[Oo(295)]=[Oo(320),Oo(294),Oo(252)];static[Oo(312)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(247),action:({plugins:e},i)=>{const s=t,n=e[s(280)](ee),r=n[s(277)];let o=n[s(306)][s(254)],a=i.id;r[s(263)](o)>r[s(263)](a)&&([o,a]=[a,o]),n[s(261)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(280)](ee);return!(n[s(277)][s(323)](n[s(306)])[s(281)]>2||i[s(289)])}},restoreRevision:{name:t(273),action:(e,{id:i})=>{const s=t;e[s(308)][s(280)](s(285))[s(257)](i)},isVisible:({plugins:e},i)=>!!e[t(280)](ee)[t(277)][t(309)](i.id)},nameRevision:{name:t(296),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(280)](ee),o=r[n(277)][n(293)](i);r[n(261)](i,o),s[n(274)](),s[n(250)][n(304)]()}}}}();static get[Oo(262)](){return Oo(271)}static get[Oo(291)](){return!0}static get[Oo(324)](){return!0}static get[Oo(268)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(327)]=t[e(287)][e(280)](ee),this[e(298)]=this[e(327)][e(277)],this[e(249)]=null}[Oo(292)](){const t=Oo,e=this[t(298)][t(269)],i=this[t(284)](),s=this[t(314)][t(308)][t(280)](t(322));this[t(249)]=new So(this[t(314)][t(315)],e,i,this[t(314)][t(308)][t(280)](t(253))),this[t(249)].on(t(264),this[t(275)][t(248)](this)),this[t(249)].on(t(266),this[t(311)][t(248)](this)),this[t(249)][t(248)](t(258)).to(this[t(327)]),this[t(249)][t(305)].on(t(259),((e,i)=>{const s=t;i[s(307)].on(s(259),((t,e)=>{const i=s;e[i(248)](i(258),i(267)).to(this[i(327)])}))})),this[t(249)][t(279)](),this[t(288)](this[t(314)][t(283)],t(313),this[t(251)][t(248)](this)),this[t(288)](this[t(327)],t(326),this[t(303)][t(248)](this)),s[t(318)](this[t(249)][t(329)])}[Oo(325)](){const t=Oo;this[t(249)][t(329)][t(321)](),this[t(249)][t(325)]()}[Oo(251)](){const t=Oo,e=this[t(298)][t(260)](0);if(e){const i=this[t(298)][t(293)](e.id);this[t(327)][t(261)](e,i)}}[Oo(275)](t,e){const i=Oo,s=this[i(298)][i(260)](e.id),n=this[i(298)][i(293)](s.id);this[i(327)][i(261)](s,n)}[Oo(311)](t,e){const i=Oo;this[i(298)][i(260)](e.id)[i(255)](e[i(328)])}[Oo(303)](t,e,i){const s=Oo,n=this[s(298)][s(323)](i);n[s(281)]>2?(this[s(249)][s(246)](n),this[s(249)][s(310)](null)):(this[s(249)][s(246)]([]),this[s(249)][s(310)](n[0]))}[Oo(284)](){const t=Oo,e=this[t(314)],i=xo[t(312)],s=e[t(308)][t(280)](t(301))||xo[t(295)];if(s[t(281)])return s[t(299)]((s=>{const n=t,r=n(286)==typeof s?Object[n(256)]({},i[s]):s;return r[n(317)]=r[n(317)][n(248)](this,e),r[n(265)]&&(r[n(265)]=r[n(265)][n(248)](this,e)),r}))}}function To(t,e){const i=Ro();return(To=function(t,e){return i[t-=246]})(t,e)}const No=xo;function Ro(){const t=["get","length","1352527WUYLSd","data","_createRevisionActions","revisionHistory","string","plugins","listenTo","isSelected","14591tdOpkK","isOfficialPlugin","init","getEarlierVisibleRevision","restoreRevision","defaultRevisionActions","Name this revision","20Fnsvzw","_revisionsRepository","map","246ISKecH","revisionHistory.revisionActions","68271GHplHn","_handleDiffChange","select","timePeriodViews","diff","revisionViews","config","getLaterVisibleRevision","selectRevision","_handleRevisionSetName","availableRevisionActions","ready","editor","locale","2083935rPbUaR","action","appendChild","9149736ZihJLM","compareAgainstSelected","remove","revisionHistory.viewerSidebarContainer","getRevisionsInDiff","isPremiumPlugin","destroy","change:diff","_revisionViewer","name","element","highlightRevisions","Compare against selected","bind","_sidebarView","fieldView","_handleEditorDataReady","nameRevision","revisionHistory.requireRevisionName","newRevisionId","setName","assign","restoreRevisionCallback","isEnabled","add","getRevision","compare","pluginName","getIndex","revisionSelected","isVisible","revisionSetName","isReady","requires","_revisions","25LsxCZj","RevisionsSidebar","82rusKzt","Restore this revision","focus","_handleRevisionSelected","3561966mVPjSr","repository","1236860GcyjZZ","render"];return(Ro=function(){return t})()}const Ao=Mo;function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=320]})(t,e)}function Do(){const t=["fillFromConfig","897497ZJDbWa","view","viewportOffset","_toolbarConfig","editing","bind","3TtcDnY","detachDomRoot","document","_elementReplacer","render","fire","editor","addToolbar","focusTracker","1577786AumVyo","ready","isFocused","editable","replace","1241165UMzhMY","1039772gKfFQR","destroy","element","_initToolbar","limiterElement","viewportTopOffset","1812238ijhpZi","1709217LTSOJt","restore","config","name","stickyPanel","isActive","_view","72bZxHLB","init","get","getRoot","toolbar","componentFactory","2052246ngpJAu","rootName","attachDomRoot","setEditableElement"];return(Do=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(461330===-parseInt(e(338))/1+-parseInt(e(365))/2+parseInt(e(344))/3*(-parseInt(e(359))/4)+parseInt(e(358))/5+parseInt(e(333))/6+parseInt(e(353))/7+-parseInt(e(327))/8*(-parseInt(e(320))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends pt.EditorUI{[Ao(326)];[Ao(341)];[Ao(347)];get[Ao(339)](){return this[Ao(326)]}constructor(e,i){const s=Ao;super(e),this[s(326)]=i,this[s(341)]=(0,pt.normalizeToolbarConfig)(e[s(322)][s(329)](s(331))),this[s(347)]=new t.ElementReplacer}get[Ao(361)](){const t=Ao;return this[t(339)][t(361)]}[Ao(328)](t){const e=Ao,i=this[e(350)],s=this[e(339)],n=i[e(342)][e(339)],r=s[e(356)],o=n[e(346)][e(330)]();r[e(323)]=o[e(334)],s[e(348)]();const a=r[e(361)];this[e(336)](r[e(323)],a),s[e(356)][e(343)](e(355)).to(this[e(352)]),n[e(335)](a),this[e(347)][e(357)](t,this[e(361)]),this[e(362)](),this[e(349)](e(354))}[Ao(360)](){const t=Ao;super[t(360)]();const e=this[t(339)],i=this[t(350)][t(342)][t(339)];this[t(347)][t(321)](),i[t(345)](e[t(356)][t(323)]),e[t(360)]()}[Ao(362)](){const t=Ao,e=this[t(339)];e[t(324)][t(343)](t(325)).to(this[t(352)],t(355)),e[t(324)][t(363)]=e[t(361)],e[t(324)][t(343)](t(364)).to(this,t(340),(({top:t})=>t)),e[t(331)][t(337)](this[t(341)],this[t(332)]),this[t(351)](e[t(331)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=488]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(363375===parseInt(e(503))/1+parseInt(e(492))/2*(parseInt(e(502))/3)+parseInt(e(506))/4+-parseInt(e(496))/5+-parseInt(e(498))/6*(parseInt(e(500))/7)+parseInt(e(499))/8*(parseInt(e(493))/9)+-parseInt(e(505))/10*(parseInt(e(490))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(497)];[Fo(508)];[Fo(491)];get[Fo(504)](){return this[Fo(497)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(508)]=new pt.StickyPanelView(t),this[s(491)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(501)]}),this[s(497)]=new pt.InlineEditableUIView(t,e)}[Fo(507)](){var t=Fo;super[t(507)](),this[t(508)][t(489)][t(495)](this[t(491)]),this[t(488)][t(495)](this[t(508)]),this[t(494)][t(495)](this[t(504)])}}function Po(){var t=["355153BSalGu","editable","790BUCYSN","2651752oVicIM","render","stickyPanel","top","content","57662FQbwrN","toolbar","2MyGSVw","9RHMLdt","main","add","3007895WqRZic","_editable","383808tkfDtn","3373984pwbAKJ","21nOEXUP","shouldToolbarGroupWhenFull","393411AroeyV"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(853635===-parseInt(e(415))/1*(parseInt(e(421))/2)+parseInt(e(409))/3*(parseInt(e(428))/4)+parseInt(e(414))/5+parseInt(e(402))/6+parseInt(e(422))/7*(-parseInt(e(410))/8)+-parseInt(e(419))/9*(parseInt(e(416))/10)+parseInt(e(427))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,H.ElementApiMixin)(H.Editor)){[Wo(413)];get ui(){return this[Wo(413)]}constructor(t,e){const i=Wo;super(e),this[i(425)]=t,this[i(407)][i(399)][i(424)]();const s=new jo(this[i(418)],this[i(404)][i(412)],{shouldToolbarGroupWhenFull:!0});this[i(413)]=new Vo(this,s)}[Wo(417)](){const t=Wo;return this[t(406)](),this.ui[t(417)](),super[t(417)]()}static async[Wo(408)](t,e){const i=Wo,s=new this(t,e);return await s[i(411)](),await s.ui[i(403)](t),await s[i(423)][i(403)](s[i(426)][i(420)](i(400))||""),s[i(405)](i(401)),s}}function Uo(){const t=["init","editing","fire","updateSourceElement","model","create","2968821NcGawf","8PEFXdK","initPlugins","view","_ui","4521145bHhpgh","257RLPhRo","350AjRzgF","destroy","locale","333972ynrCNo","get","10162QhHrEW","10073497bEhzfu","data","createRoot","sourceElement","config","19690836sQwRLG","4vTCwJs","document","initialData","ready","7280346clLVag"];return(Uo=function(){return t})()}const Zo=$o;function qo(){const t=["RevisionTracker","detachRoot","keys","6743DaARLU","adapter","locale","saveRevision","changesNavigation","enableReadOnlyMode","get","Restored","display","addUser","model","removeMarker","isAttached","revisionHistory.viewerContainer","DocumentOutlineUI","requires","72bqDRYt","isEnabled","toJSON","3qSRfxb","Dialog","destroy","revisionHistory.showRevisionViewerCallback","RevisionViewerIntegration","isOpen","change","RevisionsRepository","data","none","from","result","has","isAnonymous","getAttributeKeys","loadRevisionData","enqueueChange","RevisionViewer","PaginationLookup","restrictedEditingException","revisionHistory.requireRevisionName","addRoot","commands","then","RestrictedEditingMode","numeric","translations","createdAt","init","fromVersion","14083168aBsUhU","Annotations","disableReadOnlyMode","includes","revisionHistory","isReadOnly","RevisionHistory","map","RevisionHistoryUI","element","_recalculatePageBreaks","remove","define","config","roots","_showRevisionViewer","setAttribute","getRevision","error","repository","3955275YUxqGv","block","plugins","115655dJvCCm","_closeRevisionViewer","RevisionHistoryUtils","hide","getRevisionRootsAttributes","join","name","revisionHistory.closeRevisionViewerCallback","DocumentOutline","create","_update","users","_enhanceCloseRevisionViewerCallback","20Jhyjxc","revisionHistory.editorContainer","Autosave","_enhanceShowRevisionViewerCallback","_getRevisionViewerEditorConfig","getMarkersGroup","markers","toVersion","document","toLocaleDateString","revisionHistory.viewerEditorElement","createRangeIn","_cleanUp","lazyRoots","isPremiumPlugin","fromCharCode","style","push","end","Users","removeSelectionAttribute","_viewerEditor","update","revision-history-viewer-opened","1523896nEdgBa","getRoot","restoreRevision","exitToEditing","creator","catch","refreshPositioning","save","2168208CkhNOD","258MXigsG","setSelection","3319864LTzPkJ","indexOf","insert","parse","editor","isReady","set","isRevisionViewerOpen","getRevisions","pluginName","isOfficialPlugin","getUser","toolbar","addRevisionData","rootName","removeAttribute","long","selection","bind","view","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","_restoreRevision","refreshVisibility","closeRevisionViewerCallback","uiLanguage","revision-history-missing-configuration","$graveyard","toLocaleTimeString","showRevisionViewerCallback"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(599534===-parseInt(e(571))/1*(-parseInt(e(536))/2)+-parseInt(e(590))/3*(parseInt(e(538))/4)+parseInt(e(490))/5*(parseInt(e(587))/6)+-parseInt(e(535))/7+parseInt(e(527))/8+-parseInt(e(487))/9*(parseInt(e(503))/10)+parseInt(e(467))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Zo(475),Zo(461)];class Yo extends H.Plugin{[Zo(601)];static get[Zo(547)](){return Zo(594)}static get[Zo(548)](){return!0}static get[Zo(517)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(474)]((t=>String[e(518)](t)))[e(495)]("")}super(t),this[e(601)]=e(521),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends H.Plugin{[Zo(524)];static get[Zo(547)](){return Zo(473)}static get[Zo(548)](){return!0}static get[Zo(517)](){return!0}static get[Zo(586)](){return[ct,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(542)][i(480)][i(577)](i(471)))throw new t.CKEditorError(i(564),this);this[i(524)]=null,this[i(544)](i(545),!1),this[i(542)][i(480)][i(479)](i(593),(t=>this[i(482)]({...t,translations:this[i(542)][i(573)][i(463)]}))),this[i(542)][i(480)][i(479)](i(497),(t=>this[i(491)](t))),this[i(542)][i(480)][i(479)](i(558),(t=>this[i(560)](t))),this[i(542)][i(480)][i(479)](i(610),!1),this[i(506)](),this[i(502)]()}set[Zo(572)](t){const e=Zo;this[e(542)][e(489)][e(577)](e(568))[e(572)]=t}get[Zo(572)](){const t=Zo;return this[t(542)][t(489)][t(577)](t(568))[t(572)]}[Zo(551)](t){const e=Zo;return this[e(542)][e(489)][e(577)](e(568))[e(551)](t)}[Zo(484)](t){const e=Zo;return this[e(542)][e(489)][e(577)](e(597))[e(484)](t)}[Zo(546)](t){const e=Zo;return this[e(542)][e(489)][e(577)](e(597))[e(546)](t||{toJSON:!1})}[Zo(507)](){const e=Zo,i=this[e(542)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(489)][e(577)](e(568)),r=i[e(489)][e(577)](e(522))[e(501)];return s[e(550)]=[e(530),e(529),e(575)],delete s[e(516)],s[e(489)][e(520)](Yo,ee,be,class extends H.Plugin{static get[e(586)](){return[ee,e(522)]}[e(465)](){const s=e,o=this[s(542)][s(489)][s(577)](s(522));for(const t of r)t[s(603)]||o[s(549)](t.id)||o[s(580)](t);const a=n[s(486)][s(546)]();let c=null;const u=this[s(542)][s(489)][s(577)](s(607));u[s(572)]=n[s(572)],u[s(556)](s(588)).to(n),this[s(542)][s(612)][s(577)](s(529))[s(556)](s(588)).to(i,s(472),(t=>!t));for(const e of a){const i=null===e[s(531)];if(i&&e[s(510)]===e[s(466)])continue;const r=e[s(589)]();u[s(551)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(500)](r,o);else if(!o){const e=a[u(589)]();e.id=(0,t.uid)(),n[u(574)](e,a[u(510)])[u(460)]((t=>{c=t}))}}else e[u(500)](r,o)}))}}},No),s}[Zo(506)](){const t=Zo,e=this[t(542)][t(480)][t(577)](t(471))[t(567)];this[t(542)][t(480)][t(544)](t(593),(async()=>{const i=t;this[i(542)][i(576)](i(526));const s=this[i(542)][i(489)][i(577)](i(568));if(this[i(542)][i(489)][i(602)](i(505))){const t=this[i(542)][i(489)][i(577)](i(505));await t[i(534)]()}else await s[i(525)]();if(this[i(542)][i(489)][i(602)](i(608))&&this[i(542)][i(489)][i(577)](i(608))[i(477)](),this[i(542)][i(489)][i(602)](i(591))){const t=this[i(542)][i(489)][i(577)](i(591));t[i(595)]&&t[i(493)]()}const n=this[i(507)]();return e(n)[i(460)]((t=>{const e=i;return this[e(524)]=t,this[e(542)][e(489)][e(602)](e(468))&&this[e(542)][e(489)][e(577)](e(468))[e(561)](),this[e(542)][e(489)][e(602)](e(498))&&(this[e(542)][e(489)][e(577)](e(585))[e(557)][e(476)][e(519)][e(579)]=e(599)),t}))[i(532)]((t=>(console[i(485)](t),this[i(542)][i(469)](i(526)),null)))}))}[Zo(502)](){const t=Zo,e=this[t(542)][t(480)][t(577)](t(471))[t(562)];this[t(542)][t(480)][t(544)](t(497),(()=>(this[t(542)][t(489)][t(602)](t(608))&&this[t(542)][t(489)][t(577)](t(608))[t(477)](),this[t(542)][t(489)][t(602)](t(498))&&(this[t(542)][t(489)][t(577)](t(585))[t(557)][t(476)][t(519)][t(579)]=""),this[t(524)][t(489)][t(577)](t(607))[t(515)](),e(this[t(524)])[t(460)]((()=>{const e=t;if(this[e(542)][e(469)](e(526)),this[e(524)]=null,this[e(542)][e(489)][e(602)](e(468))){const t=this[e(542)][e(489)][e(577)](e(468));t[e(561)](),t[e(533)]()}})))))}[Zo(482)](t){const e=Zo,i=this[e(542)][e(480)][e(577)](e(504)),s=this[e(542)][e(480)][e(577)](e(584)),n=this[e(542)][e(480)][e(577)](e(513));return Ho[e(499)](n,t)[e(460)]((t=>(s[e(519)][e(579)]=e(488),i[e(519)][e(579)]=e(599),this[e(545)]=!0,t)))}[Zo(491)](t){const e=Zo,i=this[e(542)][e(480)][e(577)](e(504));return this[e(542)][e(480)][e(577)](e(584))[e(519)][e(579)]=e(599),i[e(519)][e(579)]="",this[e(545)]=!1,t[e(592)]()}async[Zo(560)](t){const e=Zo,i=this[e(542)],s=this[e(524)][e(489)][e(577)](e(607)),n=i[e(489)][e(577)](e(568)),r=i[e(489)][e(577)](e(492)),o=s[e(486)][e(484)](t);let a,c,u;try{await r[e(605)](o,this[e(572)]),a=r[e(559)](o),c=r[e(494)](o)}catch(t){return void console[e(485)](t)}i[e(581)][e(596)]((t=>{const s=e;for(const e of Array[s(600)](i[s(581)][s(509)][s(508)](s(609))))t[s(582)](e)})),s[e(543)]=!1,i[e(581)][e(606)]((t=>{const s=e;t[s(537)](null),t[s(523)](i[s(581)][s(511)][s(555)][s(604)]());const n=Object[s(570)](a);for(const e of i[s(581)][s(511)][s(481)])s(565)!=e[s(552)]&&e[s(583)]()&&!n[s(470)](e[s(552)])&&t[s(569)](e);for(const e of n){let n=i[s(581)][s(511)][s(528)](e);n&&n[s(583)]()||(n=t[s(611)](e));const r=c[e],o=Object[s(570)](r),u=a[e];for(const e of n[s(604)]())o[s(470)](e)||t[s(553)](e,n);for(const i of o)t[s(483)](i,c[e][i],n);t[s(478)](t[s(514)](n)),t[s(540)](i[s(598)][s(541)](u,n),n,0)}}));const l=X(i[e(573)],e(578));return u=o[e(496)]?-1==o[e(496)][e(539)](l)?l+": "+o[e(496)]:o[e(496)]:l+": "+o[e(464)][e(512)](i[e(573)][e(563)],{month:e(554),day:e(462)})+", "+o[e(464)][e(566)](i[e(573)][e(563)],{hour:e(462),minute:e(462)}),await n[e(574)]({name:u}),s[e(543)]=!0,i[e(480)][e(577)](e(471))[e(562)]()}}function Go(){var t=["3171735tBTdsz","2cwyBnY","7056035fetACn","1364331dgfDnT","1680152zpNyCw","6uMyLJp","6695075OExkKm","5787xKXoZj","69140oqSlxo","58936pwnVLH"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=269]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(750299===parseInt(e(277))/1+parseInt(e(275))/2*(parseInt(e(274))/3)+parseInt(e(278))/4+parseInt(e(270))/5*(parseInt(e(269))/6)+parseInt(e(276))/7+parseInt(e(273))/8+-parseInt(e(271))/9*(parseInt(e(272))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|