@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250604.0 → 0.0.0-nightly-20250605.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 +7 -7
- 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 +14 -14
- 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 +2 -2
- 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:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});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]",N="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;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,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,T(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(T(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]=T(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),x(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),x(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(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,x(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 N:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),x(e,t,i,s,A),e}return t}function x(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const D=/^(?: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 D.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function P(){const t=["setName","authors","createdAt","name","attributes","5153394odMnnT","1837719ZjSIHs","_update","toVersion","1635534MKkdXs","103sMiFCA","model","4EHXLiA","fire","14zUVLFa","36xGNvFN","creator","7404694yHbLUN","fromVersion","17614SSVphw","5ietqXe","649210vPfPid","set","map","60jBjscT","removeAttribute","creatorId","toJSON","2444968JbTYBj","authorsIds","setAttribute","diffData"];return(P=function(){return t})()}const L=z;function z(t,e){const i=P();return(z=function(t,e){return i[t-=225]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(510685===parseInt(e(234))/1*(-parseInt(e(243))/2)+-parseInt(e(233))/3*(-parseInt(e(236))/4)+parseInt(e(244))/5*(-parseInt(e(229))/6)+-parseInt(e(238))/7*(-parseInt(e(252))/8)+parseInt(e(239))/9*(-parseInt(e(245))/10)+parseInt(e(241))/11+-parseInt(e(248))/12*(-parseInt(e(230))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class U extends((0,t.ObservableMixin)()){id;[L(240)];[L(225)];[L(255)];[L(232)];[L(242)];[L(235)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(240)]=e[i(240)]||null,this[i(225)]=e[i(225)]||[],this[i(255)]=e[i(255)]||null,this[i(232)]=e[i(232)]||0,this[i(242)]=e[i(242)]||0,this[i(246)](i(227),e[i(227)]||""),this[i(246)](i(226),e[i(226)]||new Date),this[i(246)](i(228),e[i(228)]||{})}[L(256)](t){this[L(231)]({name:t})}[L(254)](t,e){const i=L,s=R(this[i(228)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(231)]({attributes:s})}[L(249)](t){const e=L,i=R(this[e(228)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&M(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(231)]({attributes:i})}[L(231)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(227),i(226),i(255),i(225),i(228),i(232),i(242),i(250)];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(225)]&&(n[i(253)]=n[i(225)][i(247)]((t=>t.id)),delete n[i(225)]),this[i(237)](i(231),n,e))}[L(251)](){const t=L;return{id:this.id,name:this[t(227)],creatorId:this[t(240)]?this[t(240)].id:null,authorsIds:this[t(225)][t(247)]((t=>t.id)),diffData:this[t(255)],createdAt:this[t(226)],attributes:this[t(228)],fromVersion:this[t(242)],toVersion:this[t(232)]}}}var W=i(782),H=i(211),Z=i(783);const B=q;function $(){const t=["isOfficialPlugin","RevisionsRepository","pluginName","toVersion","480xHMryh","getUser","addRevision","getEarlierVisibleRevision","requires","2980rKuqrB","isNaN","data","getRevisionsIterator","editor","join","createRevision","href","later","toJSON","getIndex","earlier","oldRevisionId","diffData","39557nKwzbu","fromVersion","getRevisions","length","get","map","createdAt","attributes","fromCharCode","from","getLaterVisibleRevision","authorsIds","3ymZqfv","711556diHWBB","plugins","_revisions","187498SQgdvf","getRevisionsInDiff","22281660zqBFEb","isPremiumPlugin","5088bWfEun","getRevision","name","push","add","699864ExTqPZ","6006879hKzgNn","afterInit","newRevisionId","reverse","creatorId","Users"];return($=function(){return t})()}function q(t,e){const i=$();return(q=function(t,e){return i[t-=453]})(t,e)}!function(t){const e=q,i=t();for(;;)try{if(453022===-parseInt(e(494))/1+-parseInt(e(497))/2*(parseInt(e(493))/3)+-parseInt(e(501))/4*(parseInt(e(467))/5)+parseInt(e(506))/6+-parseInt(e(481))/7*(-parseInt(e(462))/8)+-parseInt(e(507))/9+parseInt(e(499))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[B(496)];static get[B(466)](){return[H.Users]}static get[B(460)](){return B(459)}static get[B(458)](){return!0}static get[B(500)](){return!0}get[B(484)](){const t=B;return this[t(496)][t(484)]}constructor(e){const i=B;super(e),this[i(496)]=new t.Collection}[B(453)](){!async function(e){const i=k([67,104,71,100,98,110,115,82,108,112,77,101,73,85,97,87,51,66,74,118,78,80,102,49,65,105,109,88,103,116,113,83,111,107,70,106,53,122,89,99,119,55,90,120,72,114,57,86,81,69,84,76,52,48,68,117,56,79,75,121,50,54]),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(468)](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([67]);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(486)]((t=>String[e(489)](t)))[e(472)]("")}!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{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:1748995200;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(474)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[B(473)](t){const e=B,i=this[e(471)][e(495)][e(485)](e(457));return new U({id:t.id,name:t[e(503)],creator:t[e(456)]?i[e(463)](t[e(456)]):null,diffData:t[e(480)]||t[e(469)],authors:t[e(492)][e(486)]((t=>i[e(463)](t))),createdAt:new Date(t[e(487)]),attributes:t[e(488)],fromVersion:t[e(482)],toVersion:t[e(461)]})}[B(464)](t,e=0){const i=B;this[i(496)][i(505)](t,e)}[B(502)](t){const e=B;return this[e(496)][e(485)](t)}[B(483)](t={toJSON:!1}){const e=B,i=Array[e(490)](this[e(496)]);return i[e(455)](),t[e(476)]?i[e(486)]((t=>t[e(476)]())):i}[B(477)](t){const e=B;return this[e(496)][e(477)](t)}[B(465)](t){const e=B,[,i]=this[e(470)](t,{direction:e(478)});return i}[B(491)](t){const e=B,[,i]=this[e(470)](t,{direction:e(475)});return i}[B(498)](t){const e=B,i=[];for(const s of this[e(470)](t[e(454)]))if(i[e(504)](s),s.id===t[e(479)])break;return i}*[B(470)](t,{direction:e=B(478),filter:i=()=>!0}={}){const s=B,n=s(478)===e?1:-1;let r=this[s(496)][s(485)](t),o=this[s(477)](r);for(yield r;r;){if(o+=n,r=this[s(502)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["name","215478umyjbD","render","insertions","customProperties","useFillerType","marked","children","_setCustomProperty","4722108nwtVBd","getRevision","editor","_makeModelFromViewString","5593340rsWkJP","type","parse","_getViewFromDiffObj","string","domConverter","startsWith","length","domChildrenToView","processor","isOfficialPlugin","htmlProcessor","14jhKorm","_viewClassToTypeChar","isAttached","loadRevisionData","attachChange","1457588dqBPGI","getRevisionDocumentData","data-revision-","4801650TUihPu","revision-end","config","get","editing","_getTypeCharForViewElement","getRevisionRootsAttributes","domDocument","createElement","pluginName","_typeCharToViewClass","getFillerOffset","append","viewChildrenToDom","view","fillerOffset","childNodes","default","from","_removeRevisionMarkers","144CgqVyk","diffData","20IPcJTb","attributesAfter","toData","map","data","div","444279kyhUdr","constructor","RevisionHistoryUtils","filter","174017EPbFHA","innerHTML","isPremiumPlugin","toModel","90wkptYD","_appendChild","forEach","document","attributes","revision-start","collaboration.channelId"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(689356===parseInt(e(409))/1*(parseInt(e(369))/2)+parseInt(e(405))/3*(parseInt(e(399))/4)+-parseInt(e(357))/5+parseInt(e(353))/6+parseInt(e(377))/7+parseInt(e(397))/8*(-parseInt(e(345))/9)+-parseInt(e(413))/10*(parseInt(e(374))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class X extends W.Plugin{static get[J(386)](){return J(407)}static get[J(367)](){return!0}static get[J(411)](){return!0}[J(370)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(387)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(372)](t,e){const i=J;if(t[i(398)]||!e)return;const s=this[i(355)][i(379)][i(380)](i(343)),n=await e[i(354)]({channelId:s,revisionId:t.id});t[i(398)]=n[i(398)]}[J(375)](t){const e=J,i={};for(const s in t[e(398)]){if(t[e(398)][s][e(373)]&&!t[e(398)][s][e(373)][e(371)])continue;const n=this[e(396)](JSON[e(359)](t[e(398)][s][e(347)])),r=this[e(355)][e(381)][e(391)][e(340)],o=new Z.ViewDocumentFragment(r,n[e(402)]((t=>this[e(360)](t,!1))));this[e(355)][e(403)][e(366)][e(349)](e(350)),i[s]=this[e(355)][e(403)][e(366)][e(401)](o),this[e(355)][e(403)][e(366)][e(349)](e(394))}return i}[J(383)](t){const e=J,i={};for(const s in t[e(398)])t[e(398)][s][e(373)]&&!t[e(398)][s][e(373)][e(371)]||(i[s]=t[e(398)][s][e(400)]||{});return i}[J(382)](t){const e=J;return this[e(370)][e(380)](t[e(406)])}[J(360)](t,e){const i=J,s=this[i(355)][i(381)][i(391)][i(340)];if(i(361)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(358)]||"r"==t[i(358)]?[]:t[i(351)][i(402)]((t=>this[i(360)](t,e)));const o=this[i(387)][i(380)](t[i(358)])||Z.ViewElement,a=this[i(355)][i(403)][i(368)][i(362)];if(n=new o(s,t[i(344)],t[i(341)],r),"u"==t[i(358)]&&t[i(351)][0]){const r=t[i(351)][0];if(n[i(346)]=function(t){const e=i,s=t[e(385)](e(404));return s[e(410)]=r,s[e(393)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(338)](n);const e=Array[i(395)](a[i(390)](t,{bind:!1})),r=a[i(384)][i(385)](i(404));r[i(389)](...e),n=Array[i(395)](a[i(365)](r))[0]}}else if("r"==t[i(358)]&&t[i(351)][0]){const r=t[i(351)][0];if(n[i(346)]=function(t){t[i(410)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(338)](n);const e=Array[i(395)](a[i(390)](t,{bind:!1})),r=a[i(384)][i(385)](i(404));r[i(389)](...e);const o=Array[i(395)](a[i(365)](r));o[i(364)]>1?n[i(338)](o):n=o[0]}}if(t[i(348)])for(const[e,s]of t[i(348)])n[i(352)](e,s);const c=void 0===t[i(392)]?null:t[i(392)];return null!==c&&(n[i(388)]=()=>c),n}}[J(356)](t){const e=J,i=JSON[e(359)](t),s=this[e(355)][e(381)][e(391)][e(340)],n=new Z.ViewDocumentFragment(s,i[e(402)]((t=>this[e(360)](t,!0))));return this[e(355)][e(403)][e(412)](n)}[J(396)](t){const e=J;return(t=t[e(408)]((t=>!t[e(344)]||e(342)!==t[e(344)]&&e(378)!==t[e(344)])))[e(339)]((t=>{const i=e;i(361)!=typeof t&&(t[i(351)]=this[i(396)](t[i(351)]),t[i(341)]=t[i(341)][i(408)]((t=>!t[0][i(363)](i(376)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,T){if(Object.is(t,i))return!0;let x=n(t),A=n(i);if(x===u&&(x=v),A===u&&(A=v),x!==A)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(D=s)||Number.isNaN(R)&&Number.isNaN(D)}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,D;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(x){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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 N: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=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=392]})(t,e)}function at(){const t=["domDocument","init","reinsert","vid","path","marker","getData","isEnabled","_removeMetaData","sendBufferedUpdates","newValue","_handleMoveOperation","getFillerOffset","history","children","_handleSplitOperation","_handleOperation","createRangeIn","getAncestors","_lastTo","getMovedRangeStart","range","_loadedStateData","getLatestVersion","_operations","RealTimeCollaborationClient","_licenseKeyCheckInterval","getWalker","editor","includes","add","initialData","isPremiumPlugin","_isPendingUpdate","evaluationLimit","upcast","RevisionHistory","revisionHistoryLicenseKeyUsageLimit","graveyardPosition","reverse","RevisionTracker","isEqual","markers","data","getTime","model","sourcePosition","_getPreviousFrom","creatorId","11400NYjrdD","_fixOperation","_idsRoots","revisionHistoryLicenseKeyValid","editor-initial-data-replaced-with-revision-data","from","Users","name","_setConversion","_showLicenseError","_copyMarkers","plugins","size","revisionHistoryLicenseKeyInvalid","initial","revisionHistoryLicenseKeyNotAllowed","targetPosition","$text","domConverter","6lWFIyB","_savedMetaData","_revisionId","document","insertions","PENDING_ACTION_REVISION_HISTORY","createRevision","markerToData","push","clone","_diffRootsAttributes","rootsAttributes","_diffRoots","_handleRootAttributeOperation","_lastFrom","loadRevisionData","filter","source","text","revisionHistoryLicenseKeyExpired","_makeRevision","updateRevisions","diffData","define","has","_touchedMarkers","childCount","setRevisionData","destroy","finally","find","getAttributes","_baseIdsRoots","reInit","_handleInsertOperation","featureNotAllowed","getRevisionDocumentData","splitPosition","getRootNames","_setAttribute","isAdd","revision:","_fixPosition","trialLimit","addRevision","customProperties","delete","setSource","deletions","_applyOperations","RevisionHistoryUtils","_touched","hasContent","uiElement","authorsIds","some","bind","values","_saveMetaData","_handleMarkerOperation","root","offset","expired","_replaceEditorDataWithRevisionData","_fixRange","key","invalid","_pendingAction","creator","oldRange","loadState","getRevisions","_clone","innerHTML","detachRoot","position","getChildren","remove","Initial revision","vid_start","_getTypeCharForViewElement","insertion","_execute","move","baseVersion","isReady","removeRootAttribute","168KZKYuJ","$comment","_prepareViewToSave","_transformMarkers","createPositionBefore","deletion","fromVersion","_markers","attachChange","newRange","getUser","dataToMarker","createPositionAfter","nodes","_initialRevisionId","_removePendingAction","startsWith","currentRevision","3681852ZmWUHC","getCurrentRevisionId","resolve","getNodeByPath","render","adapter","_baseRoots","set","_createCurrentRevision","_findInsertionIndex","revisionHistoryLicenseKeyTrialLimit","split","_getFromVersion","locale","elementEnd","createElement","createPositionFromPath","_appendChild","rawElement","shift","_loadState","domainLimit","_calculateMetaData","pluginName","_bufferUpdate","Empty document","type","PendingActions","906192cbyAZB","_markChanges","_startingVersion","_update","dataDowncast","documentFragment","_touchedRoots","fillerOffset","then","for","$graveyard","getRevisionRootsAttributes","8504liFFwn","offsetSize","stickiness","vid_end","affectsData","_revisionDataBuilder","_bufferedUpdates","userId","length","getCustomProperties","_addPendingAction","saveRevision","_getState","_source","_getVidAttributeName","addRootAttribute","elementStart","buildRevisionData","parent","update","end","_makeModelFromViewString","rootName","_makeIdsRoot","_isInit","map","addRoot","getTransformedByOperation","getIndex","getRoot","toVersion","isOfficialPlugin","getRange","getChild","RevisionsRepository","howMany","version","_reset","trim","authors","keys","352910kQGYgK","117qSexZX","revisionHistoryLicenseKeyDomainLimit","get","getOperation","getOperations","conversion","repository","154tRSZQy","fromEntries","revisionHistoryLicenseKeyEvaluationLimit","attributesAfter","_cloneOperation","licenseKey","stringify","NEGATIVE_INFINITY","addRevisionData","_insertChild","string","merge","isAttached","_generateTape","insert","changeRootAttribute","ready","keepParagraph","afterInit","slice","sort","nodeAfter","createdAt","insertionPosition","config","_getBaseVids","htmlProcessor","clear","_authorId","_processRootBeforeSave","collaboration.channelId","revision","_handleMergeOperation","previousPosition","attributesBefore","outerHTML","paragraph","tableCell","start","createPositionAt","createRange","toView","getAttribute","_startingRevisionId","item","requires","_continueCurrentRevision","_isAttached","revisionHistory.resumeUnsavedRevision","_handleRootOperation","roots","_createInitialRevision","_getViewJson","_baseRootsAttributes","_utils","108tkzLiS","getRevision","1zKhASR","element","52360GapQvp","max","usageLimit","_createFromRanges"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(108913===-parseInt(e(399))/1*(-parseInt(e(560))/2)+parseInt(e(660))/3*(-parseInt(e(618))/4)+-parseInt(e(659))/5*(-parseInt(e(473))/6)+-parseInt(e(606))/7+-parseInt(e(454))/8*(-parseInt(e(397))/9)+-parseInt(e(401))/10*(parseInt(e(667))/11)+parseInt(e(578))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends W.Plugin{[rt(672)];[rt(431)];[rt(577)]=null;[rt(666)];[rt(583)]=null;[rt(623)];[rt(631)];[rt(574)];[rt(624)];[rt(396)];[rt(540)];[rt(713)];[rt(608)];[rt(427)];static get[rt(601)](){return rt(445)}static get[rt(649)](){return!0}static get[rt(437)](){return!0}static get[rt(712)](){return[H.Users,Y,X,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(666)]=this[i(433)][i(465)][i(662)](i(652)),this[i(396)]=this[i(433)][i(465)][i(662)](i(523)),this[i(623)]=new ut(this[i(433)]),this[i(574)]=this[i(433)][i(691)][i(662)](i(697))||i(468),this[i(624)]=new Map,this[i(427)]=null;const s=(0,t.uid)();this[i(631)]={history:this[i(433)][i(450)][i(476)][i(418)],getLatestVersion:()=>Promise[i(580)](this[i(433)][i(450)][i(476)][i(654)]),getCurrentRevisionId:()=>s},this[i(585)](i(558),!1),this[i(585)](i(412),!0),this[i(585)](i(438),!1),this[i(433)][i(691)][i(496)](i(715),!0),this[i(433)][i(665)][i(615)](i(440))[i(571)]({view:i(698)})}[rt(406)](){const t=rt;this[t(462)](),this[t(433)][t(448)].on(t(683),(()=>{const e=t,i=this[e(666)][e(398)](0),s=i&&null===i[e(541)]?i:null;if(this[e(713)]=!!s&&this[e(433)][e(691)][e(662)](e(715)),this[e(433)][e(465)][e(497)](e(430))){const t=this[e(631)][e(579)](),n=this[e(666)][e(398)](t);if(n)this[e(608)]=n[e(566)],this[e(713)]=!1;else{const t=this[e(631)][e(418)][e(429)][e(503)]((t=>!t[e(642)])),n=t?t[e(557)]:this[e(631)][e(418)][e(654)];i?(i[e(648)]<n&&i[e(609)]({toVersion:n}),this[e(713)]?(this[e(631)][e(579)]=()=>s.id,this[e(608)]=s[e(566)]):(this[e(608)]=i[e(648)],this[e(713)]=!1)):(this[e(608)]=n,this[e(713)]=!1)}}else s&&(this[e(433)][e(450)][e(476)][e(418)][e(654)]=Math[e(402)](s[e(648)],this[e(433)][e(450)][e(476)][e(418)][e(654)]),s[e(566)]===s[e(648)]?(0!==s[e(566)]&&(this[e(631)][e(579)]=()=>s.id),this[e(713)]=!1):this[e(713)]&&(this[e(631)][e(579)]=()=>s.id,this[e(608)]=s[e(566)])),this[e(713)]||(this[e(608)]=this[e(433)][e(450)][e(476)][e(654)]);this[e(623)][e(406)](this[e(631)][e(418)]),this[e(393)](this[e(608)]),this[e(586)](this[e(608)]),this[e(583)]&&this[e(414)]()})),this[t(529)](t(558)).to(this,t(438),(t=>!t)),this[t(672)]=this[t(433)][t(691)][t(662)](t(672));const e=this[t(433)];this[t(431)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(457)==r||i(467)==r||i(492)==r||i(661)==r||i(469)==r||i(669)==r||i(588)==r||i(442)==r){delete e[n],s=r,clearInterval(this[i(431)]),this[i(431)]=void 0;break}}i(467)==s&&e[i(463)](i(539)),i(492)==s&&e[i(463)](i(535)),i(661)==s&&e[i(463)](i(599)),i(469)==s&&e[i(463)](i(508),i(441)),i(669)==s&&e[i(463)](i(439)),i(588)==s&&e[i(463)](i(516)),i(442)==s&&e[i(463)](i(403))}),1e3)}async[rt(685)](){const t=rt;if(this[t(666)][t(626)]>0){const e=this[t(666)][t(398)](0),i=await this[t(509)](e),s=await this[t(617)](e);this[t(536)](i,s)}}[rt(501)](){const t=rt;super[t(501)](),this[t(431)]&&clearInterval(this[t(431)])}[rt(520)](t){this[rt(631)]=t}async[rt(637)](){const t=rt,e=await this[t(631)][t(428)]();if(e>this[t(577)][t(648)]){await this[t(598)]();const i=this[t(635)]({revision:this[t(577)],to:e});i[t(657)]=i[t(527)][t(643)]((e=>this[t(433)][t(465)][t(662)](t(460))[t(570)](e))),this[t(577)][t(609)](i)}}async[rt(629)](e={},i=null){const s=rt,n=[];await this[s(598)](),this[s(713)]=!1,i>this[s(577)][s(648)]&&(i=null),null===i&&(i=await this[s(631)][s(428)]());const r=this[s(590)](i),o=this[s(635)]({from:r,to:i});if(this[s(577)][s(648)]<i){const t=this[s(635)]({revision:this[s(577)],from:i,to:i});t[s(657)]=[],t[s(527)]=[],t.id=this[s(577)].id,this[s(577)][s(609)](t,!0),delete t[s(657)],n[s(481)](t)}e[s(453)]=this[s(433)][s(465)][s(662)](s(460)).me.id,e[s(461)]=e[s(461)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(675)](e);n[s(481)](e);const c=this[s(666)][s(646)](a);if(0!==c){const t=this[s(666)][s(398)](c-1);if(t[s(566)]!==i){const r=this[s(623)][s(411)](i,t[s(648)]),o={id:t.id,diffData:r[s(495)],authorsIds:r[s(527)],authors:r[s(527)][s(643)]((t=>this[s(433)][s(465)][s(662)](s(460))[s(570)](t))),fromVersion:i};t===this[s(577)]&&(o[s(689)]=new Date(e[s(689)][s(449)]()+10)),t[s(609)](o,!0),delete o[s(657)],n[s(481)](o)}}if(this[s(583)]){for(const t of n)this[s(602)](t.id,t,!0);this[s(414)]()}return a}[rt(675)](t){const e=rt,i=this[e(666)][e(479)](t);return this[e(583)]&&i.on(e(609),((t,i,s)=>{const n=e;s||(this[n(602)](i.id,i,!0),this[n(414)]())})),this[e(666)][e(517)](i,this[e(587)](i)),i}async[rt(509)](t){const e=rt;return await this[e(396)][e(488)](t,this[e(583)]),this[e(396)][e(509)](t)}async[rt(617)](t){const e=rt;return await this[e(396)][e(488)](t,this[e(583)]),this[e(396)][e(617)](t)}[rt(414)](){const t=rt;if(0===this[t(624)][t(466)])return;if(this[t(438)])return;let e=Array[t(459)](this[t(624)][t(530)]());this[t(624)][t(694)]();for(let i=0;i<e[t(626)];i++){const s=e[i];let n=!1;for(const e of Object[t(658)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(489)]((t=>null!==t)),!e[t(626)])return;for(let i=0;i<e[t(626)];i++){const s=e[i];void 0!==s[t(566)]&&void 0===s[t(648)]&&(s[t(648)]=this[t(666)][t(398)](s.id)[t(648)]),void 0!==s[t(648)]&&void 0===s[t(566)]&&(s[t(566)]=this[t(666)][t(398)](s.id)[t(566)])}const i=this[t(433)][t(691)][t(662)](t(697));this[t(438)]=!0,this[t(628)](),this[t(583)][t(494)](e,i)[t(502)]((()=>{this[t(438)]=!1}))[t(614)]((e=>{const i=t;if(e)for(const t of e)this[i(500)]({id:t.id,createdAt:t[i(689)]});this[i(575)](),this[i(414)]()}))}[rt(635)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(566)],i=null!==i?i:t[s(648)];const n=this[s(623)][s(411)](e,i),r={diffData:n[s(495)],authorsIds:n[s(527)],fromVersion:e,toVersion:i};if(!t||i!==t[s(648)]){const t=i-1,e=this[s(631)][s(418)][s(663)](t);r[s(689)]=e&&e[s(689)]||new Date}if(this[s(427)]&&e===this[s(427)][s(566)])for(const t of this[s(427)][s(657)])r[s(527)][s(434)](t.id)||r[s(527)][s(481)](t.id);return r}[rt(602)](t,e,i){const s=rt;if(this[s(624)][s(497)](t)){const n=this[s(624)][s(662)](t);e=i?{...n,...e}:{...e,...n}}this[s(624)][s(585)](t,e)}[rt(500)](t){const e=rt,i=this[e(666)][e(398)](t.id);if(t[e(689)]&&(t[e(689)]=new Date(t[e(689)])),t[e(527)]){const i=this[e(433)][e(465)][e(662)](e(460));t[e(657)]=t[e(527)][e(643)]((t=>i[e(570)](t)))}i[e(609)](t,!0)}[rt(393)](t){const e=rt,i=this[e(666)][e(398)](this[e(666)][e(626)]-1);if(i)this[e(574)]=i.id;else{const i=!this[e(433)][e(450)][e(476)][e(392)][e(503)]((t=>this[e(433)][e(450)][e(525)](t))),s=this[e(433)][e(465)][e(662)](e(460)).me.id,n=Q(this[e(433)][e(591)],e(i?603:551));this[e(493)]({from:t,to:t,id:this[e(574)],name:n,creatorId:s})}}[rt(586)](t){const e=rt,i=this[e(631)][e(579)]();this[e(577)]=this[e(666)][e(398)](i),this[e(577)]||(this[e(577)]=this[e(493)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(598)](){const t=rt;this[t(713)]&&!this[t(427)]&&(await this[t(396)][t(488)](this[t(577)],this[t(583)]),this[t(623)][t(543)](this[t(577)]),this[t(427)]={fromVersion:this[t(577)][t(566)],authors:this[t(577)][t(657)][t(686)]()})}[rt(536)](e,i){const s=rt;let n=this[s(433)][s(691)][s(662)](s(436)),r=this[s(433)][s(691)][s(662)](s(484));if(void 0===n){n={};for(const t of this[s(433)][s(450)][s(476)][s(511)]())n[t]=""}if(s(677)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(433)][s(450)][s(476)][s(511)]())r[t]={}}let o=!1;const a=Object[s(658)](n),c=Object[s(658)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(656)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(658)](r[t])[s(626)]>0){o=!0;break}}o||(o=c[s(528)]((t=>!this[s(433)][s(450)][s(476)][s(647)](t)))),o&&(0,t.logWarning)(s(458),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(433)][s(691)][s(585)](s(436),e),this[s(433)][s(691)][s(585)](s(484),i)}[rt(628)](){const t=rt;if(!this[t(540)]){const e=this[t(433)][t(465)][t(662)](t(605));this[t(540)]=e[t(435)](Q(this[t(433)][t(591)],t(478)))}}[rt(575)](){const t=rt;this[t(540)]&&(this[t(433)][t(465)][t(662)](t(605))[t(550)](this[t(540)]),this[t(540)]=null)}[rt(587)](t){const e=rt,i=this[e(666)][e(544)]();i[e(444)]();let s=0;for(;s<i[e(626)];){const n=i[s];if(n===this[e(577)]){s++;continue}if(n.id===this[e(574)])break;const r=t[e(648)]-n[e(648)]||t[e(566)]-n[e(566)];if(r>0)break;if(r<0)s++;else{if(!t[e(541)]&&n[e(541)])break;if(n[e(541)]||!t[e(541)]){if(t[e(689)]>n[e(689)])break;s++}else s++}}return s}[rt(590)](t){const e=rt,i=this[e(666)][e(544)]();i[e(444)](),i[e(597)]();const s=i[e(503)]((i=>i[e(648)]<=t))[e(648)];return s<this[e(608)]?this[e(608)]:s}[rt(493)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(635)]({from:e,to:i});o[r(461)]=t,o[r(453)]=s,o.id=n;const a=this[r(675)](o);return this[r(583)]&&this[r(602)](o.id,o,!0),a}[rt(462)](){const t=rt;this[t(433)][t(665)][t(615)](t(610))[t(480)]({model:t(698)})}}class ut{[rt(433)];[rt(490)];[rt(474)];[rt(487)];[rt(424)];[rt(567)];[rt(485)];[rt(483)];[rt(584)];[rt(395)];[rt(456)];[rt(505)];[rt(524)];[rt(498)];[rt(612)];[rt(475)];[rt(710)];constructor(t){const e=rt;this[e(433)]=t,this[e(474)]=new Map,this[e(487)]=-1,this[e(424)]=-1,this[e(567)]=new Map,this[e(485)]=new Map,this[e(483)]=new Map,this[e(584)]=new Map,this[e(395)]=new Map,this[e(456)]=new Map,this[e(505)]=new Map,this[e(524)]=new Map,this[e(498)]=new Map,this[e(612)]=new Map,this[e(475)]=1}[rt(406)](t){const e=rt;this[e(490)]=t;const i=new Map,s=new Map,n=this[e(433)][e(450)][e(476)][e(392)][e(643)]((t=>t[e(640)]));for(const t of n){const n=this[e(433)][e(450)][e(476)][e(647)](t),r=lt(n);i[e(585)](t,r),s[e(585)](t,Object[e(668)](n[e(504)]()))}const r=Array[e(459)](this[e(433)][e(450)][e(447)])[e(643)]((t=>[t[e(461)],t[e(650)]()])),o=this[e(490)][e(654)];this[e(531)](o,i,r,s),this[e(710)]=this[e(475)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(585)](t,i),c[e(585)](t,{})}this[e(531)](Number[e(674)],a,[],c)}[rt(411)](t,e){const i=rt;if(this[i(487)]===t&&this[i(424)]<=e)this[i(474)][i(466)]>1&&this[i(413)](this[i(424)]),this[i(522)](this[i(424)],e,!0);else{if(!this[i(474)][i(497)](t)){const e=this[i(452)](t);this[i(600)](e,t,!1)}this[i(600)](t,e,!0)}return this[i(487)]=t,this[i(424)]=e,this[i(630)]()}[rt(543)](t){const e=rt,i=this[e(433)][e(465)][e(662)](e(523));this[e(655)](),this[e(487)]=t[e(566)],this[e(424)]=t[e(648)];for(const s in t[e(495)]){const n=t[e(495)][s][e(568)],r=R(t[e(495)][s][e(701)])||{},o=i[e(639)](t[e(495)][s][e(521)]);o[e(640)]=s,o[e(714)]=!n||!n[e(679)],o[e(679)]=()=>o[e(714)],this[e(584)][e(585)](s,o),this[e(395)][e(585)](s,r),n&&this[e(612)][e(585)](s,n);const a=this[e(641)](o);this[e(505)][e(585)](s,a);for(const[t,i]of o[e(447)]){if(!t[e(576)](e(514)))continue;const s=t[e(589)](":")[2];for(const t of i[e(432)]({singleCharacters:!0})){const i=this[e(632)](t),n=e(592)==t[e(604)]?t[e(700)][e(409)][e(686)](0,-1):t[e(700)][e(409)],r=a[e(581)](n)[e(709)](i);this[e(524)][e(585)](r,{userId:s})}}}this[e(710)]=this[e(475)];const s=[...Array(this[e(475)])[e(658)]()][e(686)](1)[e(489)]((t=>!this[e(524)][e(497)](t)));let n=0;const r=new Map;for(const o in t[e(495)]){const a=t[e(495)][o][e(568)],c=R(t[e(495)][o][e(670)])||{},u=i[e(639)](t[e(495)][o][e(477)]);u[e(640)]=o,u[e(714)]=!a||a[e(679)],u[e(679)]=()=>u[e(714)],this[e(485)][e(585)](o,u),this[e(483)][e(585)](o,c);const l=this[e(641)](u,Number[e(674)]);this[e(456)][e(585)](o,l),r[e(585)](o,u[e(679)]()?c:{});for(const[t,i]of u[e(447)]){if(!t[e(576)](e(514)))continue;const s=t[e(589)](":")[2];for(const t of i[e(432)]({singleCharacters:!0})){const i=this[e(632)](t),n=this[e(475)]++,r=e(592)==t[e(604)]?t[e(700)][e(409)][e(686)](0,-1):t[e(700)][e(409)];l[e(581)](r)[e(512)](i,n),this[e(524)][e(585)](n,{userId:s})}}for(const t of this[e(433)][e(450)][e(422)](u)[e(432)]({singleCharacters:!0})){const i=this[e(632)](t),r=e(592)==t[e(604)]?t[e(700)][e(409)][e(686)](0,-1):t[e(700)][e(409)],o=l[e(581)](r);o[e(709)](i)>0||o[e(512)](i,s[n++])}for(const[t,i]of u[e(447)])t[e(576)](e(514))||this[e(567)][e(585)](t,i)}const o=ht(e(616));this[e(584)][e(585)](e(616),o),this[e(505)][e(585)](e(616),this[e(641)](o,1));const a=ht(e(616));this[e(485)][e(585)](e(616),a),this[e(456)][e(585)](e(616),this[e(641)](a,1));const c=Array[e(459)](this[e(485)])[e(643)]((([t,e])=>[t,lt(e)]));this[e(531)](this[e(424)],c,this[e(567)],r)}[rt(506)](){const t=rt;this[t(655)](),this[t(487)]=-1,this[t(424)]=-1,this[t(474)][t(694)](),this[t(406)](this[t(490)])}[rt(531)](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(585)](t,{start:e[n(705)][n(482)](),end:e[n(638)][n(482)](),rootName:e[n(533)][n(640)]});this[n(474)][n(585)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(413)](t){const e=rt;this[e(474)][e(519)](t)}[rt(655)](){const t=rt;this[t(524)][t(694)](),this[t(498)][t(694)](),this[t(612)][t(694)](),this[t(485)][t(694)](),this[t(483)][t(694)](),this[t(584)][t(694)](),this[t(395)][t(694)](),this[t(456)][t(694)](),this[t(505)][t(694)](),this[t(567)][t(694)](),this[t(475)]=1,this[t(710)]=this[t(475)]}[rt(641)](t,e=null){const i=rt;let s=null;t.is(i(611))||(s=new Z.Element(t[i(461)],{vid_start:null===e?this[i(475)]++:e++}));const n=[];for(const s of t[i(549)]())if(s.is(i(400))){n[i(481)](this[i(641)](s,e));const t=n[n[i(626)]-1];null!==e&&(e=t.is(i(400),i(471))?t[i(709)](i(408))+1:t[i(709)](i(621))+1)}else for(let t=0;t<s[i(619)];t++)n[i(481)](new Z.Element(i(471),{vid:null===e?this[i(475)]++:e++}));if(t.is(i(611))){const e=ht(t[i(640)]);return e[i(676)](0,n),e}return s[i(512)](i(621),null===e?this[i(475)]++:e++),s[i(676)](0,n),s}[rt(600)](t,e,i){const s=rt;this[s(655)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(474)][s(662)](t);this[s(584)]=new Map(n),this[s(395)]=new Map(R(o));for(const[t,e]of this[s(584)])if(s(616)!==t&&(this[s(485)][s(585)](t,lt(e)),this[s(483)]=new Map(R(o)),i)){const i=this[s(475)];this[s(456)][s(585)](t,this[s(641)](e)),this[s(505)][s(585)](t,this[s(641)](e,i))}this[s(710)]=this[s(475)],this[s(485)][s(585)](s(616),lt(this[s(584)][s(662)](s(616)))),i&&this[s(456)][s(585)](s(616),this[s(641)](this[s(584)][s(662)](s(616))));for(const[t,e]of r){const i=this[s(584)][s(662)](e[s(640)]),n=this[s(485)][s(662)](e[s(640)]),r=new Z.Range(this[s(515)](e[s(705)],i),this[s(515)](e[s(638)],i)),o=this[s(537)](r,n);i[s(447)][s(585)](t,r),this[s(567)][s(585)](t,o)}this[s(522)](t,e,i)}[rt(522)](t,e,i){const s=rt;for(const n of this[s(490)][s(664)](t,e))this[s(421)](n,i);for(const t of this[s(485)][s(530)]())t[s(447)][s(694)]();for(const[t,e]of this[s(567)])this[s(485)][s(662)](e[s(533)][s(640)])[s(447)][s(585)](t,e[s(482)]());const n=new Map,r=new Map;for(const[t,e]of this[s(485)])n[s(585)](t,lt(e)),r[s(585)](t,this[s(483)][s(662)](t));this[s(531)](e,n,this[s(567)],r)}[rt(452)](t){const e=rt,i=Array[e(459)](this[e(474)][e(658)]());i[e(687)](((t,e)=>t-e)),i[e(444)]();for(const e of i)if(e<t)return e;return Number[e(674)]}[rt(464)](t,e){const i=rt,s=Array[i(459)](e[i(447)])[i(643)]((([e,s])=>[e,this[i(537)](s,t)]));t[i(447)]=new Map(s)}[rt(563)](t){const e=rt;for(const i of this[e(567)][e(530)]()){const s=i[e(645)](t),n=Z.Range[e(404)](s);i[e(705)]=n[e(705)],i[e(638)]=n[e(638)]}}[rt(421)](t,e){const i=rt;if(i(644)!=t[i(604)]&&i(547)!=t[i(604)]){if(i(681)==t[i(604)]){const s=t[i(548)][i(533)][i(640)];this[i(485)][i(497)](s)||(this[i(485)][i(585)](s,ht(s,!0)),this[i(483)][i(585)](s,{}),e&&this[i(456)][i(585)](s,ht(s,!0)))}else{if(i(633)==t[i(604)]||i(559)==t[i(604)]||i(682)==t[i(604)])return void this[i(486)](t);i(410)==t[i(604)]&&this[i(532)](t)}if(i(410)!==t[i(604)]){const e=this[i(671)](t,this[i(485)]);e[i(555)](),this[i(563)](e)}if(e)switch(t[i(604)]){case i(681):this[i(507)](t);break;case i(556):case i(550):case i(407):this[i(416)](t);break;case i(678):this[i(699)](t);break;case i(589):this[i(420)](t)}}else this[i(716)](t,e)}[rt(671)](t,e){const i=rt,s=t[i(482)]();return s[i(695)]=t[i(695)],this[i(455)](s,e),s}[rt(692)](t){const e=rt;return t[e(643)]((t=>{const i=e,s=this[i(632)](t);return Number(t[i(711)][i(709)](s))}))}[rt(680)](t,e){const i=rt;if(t.is(i(400),i(471)))e[i(481)]({item:t,type:i(491)});else{t.is(i(400))&&e[i(481)]({item:t,type:i(634)});for(const s of t[i(549)]())this[i(680)](s,e);t.is(i(400))&&e[i(481)]({item:t,type:i(592)})}return e}[rt(630)](){const t=rt,e=new Map(this[t(524)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(584)][t(658)](),...this[t(485)][t(658)]()]);a[t(519)](t(616));for(const e of a){const i=this[t(485)][t(662)](e)||ht(e,!1),s=this[t(584)][t(662)](e)||ht(e,!1);i[t(679)]()||s[t(679)]()?(n[t(477)][e]=lt(i),n[t(521)][e]=lt(s),this[t(464)](n[t(521)][e],s),this[t(464)](n[t(477)][e],i),r[t(477)][e]=this[t(680)](this[t(456)][t(662)](e),[]),r[t(521)][e]=this[t(680)](this[t(505)][t(662)](e)||ht(e,!1),[])):a[t(519)](e)}for(const n of a){const o=r[t(477)][n];for(const n of o){const r=this[t(632)](n),o=n[t(711)][t(709)](r);i[t(519)](o),o>=this[t(710)]&&s[t(585)](o,e[t(662)](o))}}for(const n of a){const a=r[t(477)][n],c=this[t(692)](r[t(521)][n]);let u=0;for(const n of a){const r=this[t(632)](n),a=n[t(711)][t(709)](r);if(!s[t(497)](a)&&!o[t(497)](a))if(i[t(497)](a))u++;else{if(a!=c[u]){const s=e[t(662)](a)||e[t(662)](c[u]);for(;a!=c[u];)i[t(497)](c[u])||(o[t(585)](c[u],s),e[t(585)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(477)][e];for(const e of n){const n=this[t(632)](e),r=e[t(711)][t(709)](n);if(o[t(497)](r)){const e=o[t(662)](r);i[t(497)](r)||i[t(585)](r,{...e}),s[t(585)](r,{...e})}}}for(const e of i[t(658)]())e>=this[t(710)]&&i[t(519)](e);const c=new Map;for(const e of a){let n=r[t(477)][e];for(const e of n)if(e[t(711)].is(t(400),t(704))){const i=this[t(632)](e),n=e[t(711)][t(709)](i);if(s[t(497)](n)){const i=e[t(711)][t(636)][t(636)][t(709)](t(552)),r=c[t(662)](i)||new Set;r[t(435)](s[t(662)](n)[t(625)]),c[t(585)](i,r)}}n=r[t(521)][e];for(const e of n)if(e[t(711)].is(t(400),t(704))){const s=this[t(632)](e),n=e[t(711)][t(709)](s);if(i[t(497)](n)){const s=e[t(711)][t(636)][t(636)][t(709)](t(552)),r=c[t(662)](s)||new Set;r[t(435)](i[t(662)](n)[t(625)]),c[t(585)](s,r)}}for(const e of c[t(658)]())(s[t(497)](e)||i[t(497)](e))&&c[t(519)](e)}for(const e of a){const n=r[t(477)][e];let o=null,a=null;for(const e of n){const n=this[t(632)](e),r=e[t(711)][t(709)](n),u=c[t(662)](r);u&&t(634)==e[t(604)]&&(o=Array[t(459)](u)[0],a=e[t(711)][t(709)](t(621))),o&&(i[t(585)](r,{userId:o}),s[t(585)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(521)][e],a=n[t(477)][e];for(const{userId:e}of this[t(498)][t(530)]())null!==e&&l[t(435)](e);for(const{userId:e}of this[t(612)][t(530)]())null!==e&&l[t(435)](e);this[t(607)](a,r[t(477)][e],s,t(554),l),this[t(607)](o,r[t(521)][e],i,t(565),l),u[e]={insertions:this[t(562)](a),deletions:this[t(562)](o),attachChange:this[t(612)][t(662)](e)||null,attributesBefore:R(this[t(395)][t(662)](e))||{},attributesAfter:R(this[t(483)][t(662)](e))}}return{diffData:u,authorsIds:Array[t(459)](l)}}[rt(696)](t){const e=rt;for(const[,i]of t[e(447)]){const t=i[e(705)][e(423)]()[e(489)]((t=>e(704)==t[e(461)]));for(const i of t)1==i[e(499)]&&i[e(651)](0).is(e(400),e(703))&&i[e(651)](0)[e(512)](e(684),!0)}}[rt(562)](t){const e=rt;this[e(696)](t);const i=this[e(433)][e(448)][e(708)](t,{}),s=Array[e(459)](i[e(549)]())[e(643)]((t=>this[e(394)](t)));return JSON[e(673)](s)}[rt(394)](t){const e=rt;if(t.is(e(471)))return t[e(448)];{const i=this[e(433)][e(465)][e(662)](e(523)),s=t,n=this[e(433)][e(448)][e(693)][e(472)],r={type:i[e(553)](s),name:s[e(461)],attributes:Array[e(459)](s[e(504)]()),children:Array[e(459)](s[e(549)]())[e(643)]((t=>this[e(394)](t)))};if(t.is(e(526))&&e(561)!=t[e(461)]){const i=t[e(582)](n[e(405)],n);r[e(419)][e(481)](i[e(702)])}else if(t.is(e(596))){const i=n[e(405)][e(593)](s[e(461)]);t[e(582)](i,n),r[e(419)][e(481)](i[e(546)])}const o=Array[e(459)](s[e(627)]());o[e(626)]>0&&(r[e(518)]=o);const a=s[e(417)]();return null!==a&&(r[e(613)]=a),r}}[rt(607)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(433)][r(450)];for(let s=0;s<e[r(626)];s++){const n=this[r(632)](e[s]),c=e[s][r(711)][r(709)](n),h=i[r(662)](c),d=s==e[r(626)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(625)]!=o[r(625)])&&(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(625)],d=l(514)+s+":"+h+":"+c++,f=u[l(707)](i,a);t[l(447)][l(585)](d,f),null!==h&&n[l(435)](h)}}[rt(632)](t){const e=rt;switch(t[e(604)]){case e(634):return e(552);case e(592):return e(621);default:return e(408)}}[rt(455)](t,e){const i=rt;t[i(557)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(662)](n[i(533)][i(640)]);t[s]=this[i(515)](n,r)}if(n instanceof Z.Range){const r=e[i(662)](n[i(533)][i(640)]);t[s]=this[i(537)](n,r)}i(533)===s&&(t[i(533)]=e[i(662)](t[i(533)][i(640)]))}}[rt(537)](t,e){const i=rt;return this[i(433)][i(450)][i(707)](this[i(515)](t[i(705)],e),this[i(515)](t[i(638)],e))}[rt(515)](t,e){const i=rt;return this[i(433)][i(450)][i(594)](e,t[i(409)],t[i(620)])}[rt(507)](t){const e=rt,i=this[e(456)][e(662)](t[e(548)][e(533)][e(640)]),s=this[e(515)](t[e(548)],i),n=null===t[e(695)]?null:t[e(695)]||this[e(433)][e(465)][e(662)](e(460)).me.id,r=s[e(636)],o=this[e(475)],a=[];for(const i of t[e(573)])if(i.is(e(400)))a[e(481)](this[e(641)](i));else for(let t=0;t<i[e(619)];t++)a[e(481)](new Z.Element(e(471),{vid:this[e(475)]++}));const c=this[e(475)];for(let t=o;t<c;t++)this[e(524)][e(585)](t,{userId:n});r[e(676)](s[e(534)],a)}[rt(416)](t){const e=rt;(t=this[e(671)](t,this[e(456)]))[e(555)]();const i=null===t[e(695)]?null:t[e(695)]||this[e(433)][e(465)][e(662)](e(460)).me.id,s=t[e(425)](),n=s[e(636)],r=s[e(534)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(651)](e);r.is(a(400),a(471))?s[a(585)](r[a(709)](a(408)),{userId:i}):(s[a(585)](r[a(709)](a(552)),{userId:i}),t(s,r,0,r[a(499)]),s[a(585)](r[a(709)](a(621)),{userId:i}))}}(this[e(524)],n,r,r+t[e(653)])}[rt(699)](t){const e=rt,i=null===(t=this[e(671)](t,this[e(456)]))[e(695)]?null:t[e(695)]||this[e(433)][e(465)][e(662)](e(460)).me.id,s=t[e(470)][e(636)],n=t[e(451)][e(636)],r=s[e(709)](e(621)),o=n[e(709)](e(552));s[e(512)](e(621),n[e(709)](e(621))),n[e(512)](e(621),r),this[e(524)][e(585)](o,{userId:i}),this[e(524)][e(585)](r,{userId:i}),t[e(555)]()}[rt(420)](t){const e=rt,i=null===(t=this[e(671)](t,this[e(456)]))[e(695)]?null:t[e(695)]||this[e(433)][e(465)][e(662)](e(460)).me.id,s=t[e(443)],n=t[e(510)][e(636)];t[e(555)]();const r=n[e(709)](e(621)),o=t[e(690)][e(688)];if(s){const t=o[e(709)](e(621)),s=n[e(709)](e(621));n[e(512)](e(621),t),o[e(512)](e(621),s),this[e(524)][e(585)](n[e(709)](e(621)),{userId:i}),this[e(524)][e(585)](o[e(709)](e(552)),{userId:i})}else{const t=this[e(475)]++,s=this[e(475)]++;n[e(512)](e(621),t),o[e(512)](e(552),s),o[e(512)](e(621),r),this[e(524)][e(585)](t,{userId:i}),this[e(524)][e(585)](s,{userId:i})}}[rt(532)](t){const e=rt;if(!t[e(622)])return;const i=(t=this[e(671)](t,this[e(485)]))[e(542)]?t[e(542)][e(533)]:null,s=t[e(569)]?t[e(569)][e(533)]:null;i&&this[e(567)][e(519)](t[e(461)]),s&&this[e(567)][e(585)](t[e(461)],t[e(569)][e(482)]());const n=null===t[e(695)]?null:t[e(695)]||this[e(433)][e(465)][e(662)](e(460)).me.id,r=t[e(461)];if(!this[e(498)][e(497)](r))return void this[e(498)][e(585)](r,{range:t[e(542)],userId:n});const o=this[e(498)][e(662)](r),a=o[e(426)],c=t[e(569)];null==a&&null==c||a&&c&&a[e(446)](c)?this[e(498)][e(519)](t[e(461)]):o[e(625)]=n}[rt(716)](t,e){const i=rt;this[i(485)][i(497)](t[i(640)])?this[i(485)][i(662)](t[i(640)])[i(714)]=t[i(513)]:(this[i(485)][i(585)](t[i(640)],ht(t[i(640)],!0)),this[i(483)][i(585)](t[i(640)],{}),e&&this[i(456)][i(585)](t[i(640)],ht(t[i(640)],!0)));const s=null===t[i(695)]?null:t[i(695)]||this[i(433)][i(465)][i(662)](i(460)).me.id,n=this[i(612)][i(662)](t[i(640)]);n&&n[i(625)]===s?this[i(612)][i(519)](t[i(640)]):this[i(612)][i(585)](t[i(640)],{userId:s,isAttached:t[i(513)]})}[rt(486)](t){const e=rt,i=this[e(483)][e(662)](t[e(533)][e(640)]);null===t[e(415)]?delete i[t[e(538)]]:i[t[e(538)]]=t[e(415)]}}function lt(t){const e=rt,i=ht(t[e(640)],t[e(679)]());for(const s of t[e(549)]()){const t=s[e(545)](!0);i[e(595)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(640)]=t,s[i(714)]=e,s[i(679)]=()=>s[i(714)],s}function dt(t,e,i){const s=rt,n=s(592)==t[s(604)]?i[s(706)](t[s(711)],s(638)):i[s(564)](t[s(711)]);return i[s(594)](e,n[s(409)],n[s(620)])}function ft(t,e,i){const s=rt,n=s(634)==t[s(604)]?i[s(706)](t[s(711)],0):i[s(572)](t[s(711)]);return i[s(594)](e,n[s(409)],n[s(620)])}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),Nt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(Nt.A,Tt);Nt.A&&Nt.A.locals&&Nt.A.locals;var xt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(xt.A,At);xt.A&&xt.A.locals&&xt.A.locals;const Rt=Vt;!function(t){const e=Vt,i=t();for(;;)try{if(171186===parseInt(e(256))/1*(parseInt(e(263))/2)+parseInt(e(257))/3+-parseInt(e(265))/4*(parseInt(e(252))/5)+parseInt(e(234))/6+-parseInt(e(268))/7+-parseInt(e(251))/8+-parseInt(e(270))/9*(-parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Dt extends((0,pt.CssTransitionDisablerMixin)(pt.View)){[Rt(258)];[Rt(260)];[Rt(269)];constructor(e,i){const s=Rt;super(e),this[s(258)]=new t.FocusTracker,this[s(260)]=new t.KeystrokeHandler,this[s(266)](s(227),""),this[s(269)]=this[s(250)](i),this[s(242)]({tag:s(228),attributes:{class:["ck",s(235),s(261)],tabindex:"-1"},children:[this[s(269)]]}),this[s(241)]()}[Rt(264)](){const t=Rt;super[t(264)](),(0,pt.submitHandler)({view:this}),this[t(258)][t(255)](this[t(269)][t(267)]),this[t(260)][t(253)](this[t(267)]);const e=e=>e[t(246)]();this[t(260)][t(266)](t(247),e),this[t(260)][t(266)](t(232),e),this[t(260)][t(266)](t(231),e),this[t(260)][t(266)](t(239),e)}[Rt(240)](){const t=Rt;this[t(269)][t(240)]()}get[Rt(254)](){const t=Rt;return this[t(269)][t(230)][t(267)][t(237)][t(238)]()}set[Rt(254)](t){const e=Rt;this[e(269)][e(230)][e(267)][e(237)]=t[e(238)]()}[Rt(248)](){const t=Rt;this[t(269)][t(230)][t(267)][t(237)]="",this[t(269)][t(243)]=null}[Rt(250)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(229)],pt.createLabeledInputText),s=i[e(230)];s[e(245)]({attributes:{maxlength:e(262)}});let n=Q(this[e(229)],e(236));return!t&&(n+=" ("+Q(this[e(229)],e(249))+")"),i[e(244)]=n,s.on(e(233),(()=>{const t=e;this[t(227)]=s[t(267)][t(237)][t(238)]()})),i}}function Vt(t,e){const i=Et();return(Vt=function(t,e){return i[t-=227]})(t,e)}function Et(){const t=["form","locale","fieldView","arrowup","arrowleft","input","1136688fePCrJ","ck-revision-history-save-revision-form","Name of the revision","value","trim","arrowdown","focus","initializeCssTransitionDisablerMixin","setTemplate","errorText","label","extendTemplate","stopPropagation","arrowright","reset","optional","_createRevisionNameInput","2272360GJtXCD","265fnyFoC","listenTo","revisionName","add","1ESCzFf","167772ArrhFj","focusTracker","255390ihVaIc","keystrokes","ck-responsive-form","220","9602MrFINt","render","24620sYEMZq","set","element","2359371PvkeCu","revisionNameInputView","306Eewadq","revisionNameInputValue"];return(Et=function(){return t})()}const Mt=Ft;function Ct(){const t=["3145387fmOVWQ","Accept","pluginName","revisionName","revisionSave","role","isReady","get","plugins","requires","Cancel","set","focus","panelView","isPremiumPlugin","isOfficialPlugin","init","_showDialog","6078AqcUYR","RevisionTracker","errorText","view","children","locale","delegate","14642469JcoBOc","Dialog","hide","menu","412bPtOGP","execute","menuBar:revisionHistory","revisionHistory","_saveRevisionFormView","bind","1duPmNk","reset","isReadOnly","ck-button-action","The revision name cannot be empty.","config","isOpen","revisionHistory.requireRevisionName","4176352SLLgRj","RevisionHistoryUI","componentFactory","isEnabled","add","buttonView","editing","1316550wwSqQu","Open revision history","render","showRevisionViewerCallback","_registerMenuComponent","submit","menuitem","show","editor","revisionNameInputView","994404EpRvLr","Save current revision","Revision history","addMany","_createSaveRevisionFormView","saveRevision","62994AlPNJG","items"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(317805===-parseInt(e(271))/1*(parseInt(e(234))/2)+parseInt(e(254))/3*(-parseInt(e(265))/4)+-parseInt(e(218))/5+parseInt(e(228))/6+-parseInt(e(236))/7+-parseInt(e(211))/8+parseInt(e(261))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends W.Plugin{static get[Mt(238)](){return Mt(212)}static get[Mt(251)](){return!0}static get[Mt(250)](){return!0}static get[Mt(245)](){return[ct]}[Mt(269)];[Mt(252)](){const t=Mt,e=this[t(226)],i=e[t(244)][t(243)](t(255));e.ui[t(213)][t(215)](t(268),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(249)][n(258)],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(270)](n(214)).to(i,n(242),i,n(214),e,n(273),((t,e,i)=>t&&e&&!i)),r[n(216)][n(247)]({icon:mt.IconHistory,label:Q(s,n(230)),tooltip:!0}),u[n(247)]({label:Q(s,n(229)),withText:!0,role:n(224)}),u[n(270)](n(214)).to(i,n(242),i,n(214),e,n(273),((t,e,i)=>t&&e&&!i)),u.on(n(266),(()=>this[n(253)]())),h[n(247)]({label:Q(s,n(219)),withText:!0,role:n(224)}),h[n(270)](n(214)).to(i,n(242),e,n(273),((t,e)=>t&&!e)),h.on(n(266),(()=>{const t=n;e[t(276)][t(243)](t(268))[t(221)](),r[t(277)]=!1,e[t(217)][t(257)][t(248)]()})),c[n(258)][n(215)](u),l[n(258)][n(215)](h),a[n(241)]=n(264),a[n(235)][n(231)]([c,l]),o[n(215)](a),r})),e.ui[t(213)][t(215)](t(267),(()=>this[t(222)]()))}[Mt(222)](){const t=Mt,e=this[t(226)],i=e[t(259)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(216)][t(247)]({icon:mt.IconHistory,label:Q(i,t(230))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(247)]({label:Q(i,t(229))}),o[t(260)](t(266)).to(s),o.on(t(266),(()=>{this[t(253)]()})),r[t(258)][t(215)](o),n[t(235)][t(215)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(247)]({label:Q(i,t(219))}),c[t(260)](t(266)).to(s),c.on(t(266),(()=>{const i=t;e[i(276)][i(243)](i(268))[i(221)]()})),a[t(258)][t(215)](c),n[t(235)][t(215)](a),s[t(249)][t(258)][t(215)](n),s}[Mt(253)](){const t=Mt,e=this[t(226)],i=e[t(259)],s=e[t(244)][t(243)](t(262)),n=e[t(244)][t(243)](t(255));function r(n){const r=t;e[r(276)][r(243)](r(210))&&""===n[r(239)]?n[r(227)][r(256)]=Q(i,r(275)):(e[r(244)][r(243)](ct)[r(233)]({name:n[r(239)]}),s[r(263)]())}this[t(269)]||(this[t(232)](),this[t(269)].on(t(223),(()=>r(this[t(269)])))),this[t(269)][t(272)](),s[t(225)]({id:t(240),title:Q(i,t(229)),isModal:!0,content:this[t(269)],actionButtons:[{label:Q(e[t(259)],t(246)),withText:!0,onExecute:()=>s[t(263)]()},{label:Q(e[t(259)],t(237)),class:t(274),withText:!0,onCreate(i){const s=t;i[s(270)](s(214)).to(n,s(242),n,s(214),e,s(273),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(269)])}]})}[Mt(232)](){const t=Mt,e=this[t(226)],i=e[t(259)];this[t(269)]=new Dt(i,e[t(276)][t(243)](t(210))),this[t(269)][t(220)]()}}const Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=315]})(t,e)}function zt(){const t=["data","1MxBPjF","78415dzBbrs","isSuggestion","252970fUaRvU","8531984mkJANO","_model","2369010nUdJut","ck-revision-change__label","ck-revision-change","ck-revision-change__","div","1743707NNGfXh","2125224qEYnsr","author","Suggested by","set","span","type","Added by","28ljeIlC","element","add","changeId","ck-annotation","Removed by","setTemplate","focus","bindTemplate","name","900SNvVPs","7184370oRtBua"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(668995===parseInt(e(345))/1*(-parseInt(e(325))/2)+-parseInt(e(319))/3+parseInt(e(332))/4*(parseInt(e(346))/5)+parseInt(e(343))/6+-parseInt(e(324))/7+-parseInt(e(317))/8+parseInt(e(342))/9*(parseInt(e(316))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[Pt(335)];[Pt(318)];constructor(t,e){const i=Pt;super(t),this[i(318)]=e,this[i(335)]=e.id;const s=this[i(340)],n=Q(t,e[i(344)][i(315)]?i(327):i(334)==e[i(330)]?i(331):i(337));this[i(328)](i(330),e[i(330)]),this[i(338)]({tag:i(323),attributes:{class:[i(336),i(321),s.to(i(330),(t=>i(322)+t))],tabindex:-1},children:[{tag:i(329),children:[{tag:i(329),attributes:{class:[i(320)]},children:[{text:n}]},{text:" "+e[i(326)][i(341)]}]}]})}[Pt(339)](){const t=Pt;this[t(333)][t(339)]()}}var Wt=Zt;!function(t){for(var e=Zt,i=t();;)try{if(607463===parseInt(e(332))/1+-parseInt(e(323))/2+-parseInt(e(322))/3+-parseInt(e(326))/4*(-parseInt(e(324))/5)+parseInt(e(325))/6+-parseInt(e(335))/7+-parseInt(e(329))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(321)];[Wt(333)];[Wt(327)];[Wt(334)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(321)]=e[i(321)],this[i(333)]=e[i(333)],this[i(327)]=e[i(327)]||{},this[i(334)]=e[i(334)],this[i(330)](i(331),e[i(331)])}[Wt(328)](){var t=Wt;return{id:this.id,authorId:this[t(321)].id,type:this[t(333)],data:this[t(327)],createdAt:this[t(331)]}}}function Zt(t,e){var i=Bt();return(Zt=function(t,e){return i[t-=321]})(t,e)}function Bt(){var t=["7130670pRAIOP","237896vObeXY","data","toJSON","3915384mLCQEs","set","createdAt","711489NYbMaJ","type","rootName","6828969ZZCFfc","author","2380755ynJKny","208856jyfaYt","90CfmjpN"];return(Bt=function(){return t})()}function $t(t,e){const i=Jt();return($t=function(t,e){return i[t-=391]})(t,e)}const qt=$t;!function(t){const e=$t,i=t();for(;;)try{if(937621===parseInt(e(404))/1*(parseInt(e(393))/2)+parseInt(e(401))/3*(-parseInt(e(405))/4)+parseInt(e(392))/5+-parseInt(e(391))/6*(-parseInt(e(397))/7)+parseInt(e(407))/8*(parseInt(e(394))/9)+-parseInt(e(403))/10*(-parseInt(e(400))/11)+-parseInt(e(398))/12*(parseInt(e(402))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[qt(408)];[qt(395)];[qt(399)];constructor(e,i){const s=qt;this[s(408)]=e,this[s(395)]=i,this[s(399)]=new t.Collection}[qt(406)](t){const e=qt;for(const i of t)this[e(399)][e(396)](i)}}function Jt(){const t=["4mgtSEb","_setChanges","40dDbbjv","newRevisionId","1674OpnBtr","6708305dTQIdo","1918578chJCKX","2053701WYXBym","oldRevisionId","add","6601DDySab","61896PoWYnU","changes","88979oKopIu","1929837RKBXNR","9594qvEBBi","2080aAPwJH","1FveEav"];return(Jt=function(){return t})()}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=377]})(t,e)}function te(){const t=["getRootNames","addRevision","createPositionBefore","find","data","string","_activeViewTarget","consume","set","repository","8765099lwftWM","has","vid_start","markerToHighlight","getRoot","_removeMissingPairs","isAfter","getAttribute","view","dataDowncast","revision","revision-comment:","_processTape","oldRevisionId","createPositionFromPath","forward","ck-revision-history-root-","low","_initInteractions","editor","includes","sort","observeMarkers","getAttributes","5dSLibR","vid_end","change:isReady","ck-revision-history-root-add","locale","isNavigationMode","index","_sortAndFilterDiffChanges","next","WidgetToolbarRepository","addHighlight","ck-revision-history-root-remove","_markSuggestions","isSuggestion","listenTo","change","RevisionViewer","nodeAfter","markersStart","end","uiElement","all","_balloon","getLaterVisibleRevision","rootName","toViewElement","currentChangeNumber","restoreRevisionCallback","markers","ck-editor__editable__overlay","removeAttribute","newRevisionId","startsWith","_changeView","return","markerToData","error","ck-revision-history-root--active","changeId","isBefore","_markInsertions","18dnUMbl","getRevisionDocumentData","revision-suggestion","compare","_setDistance","_markMismatchedRemovedTags","deletion","refresh","right","isOfficialPlugin","_getViewForChange","checkAttribute","change:activeView","activeChange","getWalker","_makeModelFromTape","change:numberOfChanges","diffData","removeMarker:revision","catch","flat","isAdded","_update","isIncorrect","config","start","112144VdvgRZ","backward","_makeModelFromViewString","getDomRoot","init","getIndex","addMarker:revision","_step","toViewRange","mapper","downcastDispatcher","item","revisionHistoryAttachChange","plugins","_refreshStartEndIndex","_utils","test","modelRange","isPremiumPlugin","ck-suggestion-preview-marker-","commands","previousPosition","isBlock","markerName","remove","range","deletions","viewItem","softBreak","bind","diff","revisionHistoryLabel","done","mouseover","split","enqueueChange","removeClass","destroy","splice","removeMarker:revision-suggestion","wrap","elementToAttribute","mousedown","selection","shift","text","toViewPosition","ck-suggestion-preview-marker","isEqual","get","3623368daoGHR","ck-suggestion-marker-merge","_threeWayMerge","getRevisionRootsAttributes","getClientRects","_removeUnsupportedChanges","abs","POSITIVE_INFINITY","element","updatePosition","startIndex","isReady","domConverter","addClass","parent","target","slice","_findChangeIdFromDomTarget","adapter","map","getRevision","numberOfChanges","editingDowncast","unbindElementFromMarkerName","_appendChild","activeView","name","_markMarkers","left","attachChange","attributesAfter","detachRoot","_revisions","isAtEnd","_makeTape","affectsData","isRemoved","delete","markerNameToElements","changes","bottom","nextSibling","consumable","keys","bindElementToMarker","_getDiff","length","addRoot","revision:","endIndex","object","elementStart","RevisionsRepository","high","mapViewToDom","upcast","authors","setAttribute","isContent","isRemoveSuggestion","2826534ojVrpF","getCustomProperty","pairId","9403064Bqpequ","element:pre","_getRevisionsRange","type","enableReadOnlyMode","suggestion:","reconvertMarker","revisionHistory","highest","_cleanMarkers","side","document","model","isInline","restoreRevision","conversion","findIndex","markerRange","createRange","concat","showStack","requires","_getChangeFromId","_changeIdToChange","createUIElement","ck-suggestion-marker--active","schema","for","indexOf","getItems","distance","execute","removeMarker","showNextChange","243dUHjBc","maxOffset","pluginName","userId","ck-suggestion-marker","dataToMarker","attributes","hasAttribute","unshift","attributesBefore","level","then","ck-suggestion-marker-split","domEvent","showPreviousChange","suggestion","vid","loadRevisionData","filter","merge","-new","offsetSize","_setChanges","add","push","clear","addRevisionData","addMarker:revision-suggestion:deletion","_fixObsoleteTags","isAtStart","hasClass","_joinTapes","revision-viewer","first","isObject","isEnabled","createAttributeElement","attribute:vid","top","isAttached","insertions","RevisionHistoryUtils","forEach","data-change-id","comment","stop","insert","change:activeChange","writer","code","change:isEnabled","isCollapsed","insertion","span","pop","createRevision","isLimit","roots","editing","isAddSuggestion","revision-suggestion:","from","1195030AUceQk","_cleanUp","getChild","createRangeIn","elementEnd","483387VaJmIx","forceDisabled","nextPosition","_setConversion","_data","addMarker:revision-suggestion:insertion","resolve","values","ck-suggestion-marker-","markersEnd","isOnRoot"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(837955===parseInt(e(456))/1+parseInt(e(430))/2*(-parseInt(e(670))/3)+parseInt(e(506))/4+parseInt(e(389))/5*(parseInt(e(566))/6)+-parseInt(e(691))/7+-parseInt(e(569))/8+-parseInt(e(603))/9*(-parseInt(e(665))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends W.Plugin{[Xt(690)];[Xt(524)]=null;[Xt(471)];[Xt(687)];[Xt(422)];[Xt(592)];[Xt(411)];static get[Xt(605)](){return Xt(405)}static get[Xt(439)](){return!0}static get[Xt(474)](){return!0}static get[Xt(590)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Xt;super(t),this[e(690)]=this[e(384)][e(469)][e(505)](e(558)),this[e(471)]=this[e(384)][e(469)][e(505)](e(644)),this[e(689)](e(443),null),this[e(689)](e(531),null),this[e(687)]=null,this[e(689)](e(486),null),this[e(689)](e(517),!1),this[e(689)](e(638),!0),this.on(e(653),((t,i,s)=>{const n=e;this[n(443)]=null,this[n(531)]=null,this[n(384)][n(661)][n(699)][n(404)]((t=>{const e=n;for(const i of this[e(384)][e(661)][e(699)][e(580)][e(660)])s?t[e(492)](e(418),i):t[e(519)](e(418),i)}))})),this[e(485)](e(394)).to(this,e(443),(t=>null!==t)),this[e(485)](e(415)).to(this,e(517),this,e(486),this,e(443),((t,i,s)=>t&&s?i[e(545)][e(461)](s):0)),this[e(485)](e(527)).to(this,e(517),this,e(486),((t,i)=>t?i[e(545)][e(552)]:0)),this[e(422)]=null,this[e(592)]=new Map,this[e(411)]=this[e(384)][e(469)][e(505)](pt.ContextualBalloon)}[Xt(460)](){const t=Xt,e=this[t(384)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(380)});e[t(476)][t(626)](t(617),i),e[t(476)][t(626)](t(602),s),e[t(476)][t(626)](t(583),new se(e)),this.on(t(446),(()=>{const e=t;i[e(437)](),s[e(437)]()})),this[t(673)](),this[t(383)](),e[t(573)](t(635)),e[t(469)][t(692)](t(398))&&e[t(469)][t(505)](t(398))[t(671)](t(635))}async[Xt(431)](t){const e=Xt;return await this[e(471)][e(620)](t,this[e(524)]),this[e(471)][e(431)](t)}async[Xt(509)](t){const e=Xt;return await this[e(471)][e(620)](t,this[e(524)]),this[e(471)][e(509)](t)}async[Xt(433)](t,e,i=!1){const s=Xt;if(!this[s(638)])return;const n=this[s(486)],r=this[s(690)],o=s(686)==typeof t?r[s(526)](t):t,a=s(686)==typeof e?r[s(526)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(486)]&&this[s(486)][s(420)]===c&&this[s(486)][s(378)]===u)return Promise[s(676)]();this[s(517)]=!1,this[s(531)]=null,this[s(443)]=null,this[s(486)]=new Yt(c,u);const l=this[s(571)](o,a,!0)[s(525)]((t=>this[s(471)][s(620)](t,this[s(524)])));return l[s(627)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(410)](l)[s(614)]((()=>{const t=s;if(!this[t(638)])return;this[t(666)]();const e=this[t(551)](c,u);for(const i of e[t(545)])this[t(592)][t(689)](i.id,i);this[t(384)][t(581)][t(491)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(384)][s(581)][s(580)][s(681)]())i[s(537)](t);for(const t of Object[s(549)](e[s(581)])){const n=i[s(553)](t);for(const r of Object[s(549)](e[s(609)][t]))i[s(563)](r,e[s(609)][t][r],n);i[s(649)](e[s(581)][t],n,0)}})),this[t(486)][t(625)](this[t(396)](e[t(545)])),this[t(517)]=!0}))[s(449)]((t=>{const e=s;console[e(425)](t),this[e(666)](),n&&(this[e(486)]=n),this[e(517)]=!0}))}[Xt(629)](t,e){const i=Xt,s=this[i(690)][i(658)](t);return s.on(i(452),((t,i,n)=>e(i,n,s))),this[i(690)][i(682)](s),s}[Xt(666)](){const t=Xt;this[t(443)]=null,this[t(578)](),this[t(422)]&&this[t(422)][t(493)](),this[t(422)]=null,this[t(592)][t(628)](),this[t(384)][t(581)][t(491)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(384)][i(581)][i(580)][i(681)]())e[i(537)](t)}))}[Xt(396)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(384)][e(581)][e(580)][e(681)]()){const n=this[e(384)][e(661)][e(699)][e(459)](t);if(!n)continue;const r=n[e(510)]()[e(467)](0);r&&(i[e(627)](t),s[e(689)](t,r))}return i[e(386)](((t,i)=>{const n=e,r=s[n(505)](t),o=s[n(505)](i);return r.y-o.y||r.x-o.x})),(t=t[e(621)]((t=>i[e(385)](t[e(413)]))))[e(386)](((t,s)=>i[e(597)](t[e(413)])-i[e(597)](s[e(413)]))),t}[Xt(540)](t){const e=Xt,i=Array[e(664)](t[e(417)])[e(621)]((([t,i])=>t[e(421)](e(554))&&!i[e(654)])),s=Array[e(664)](this[e(384)][e(581)][e(668)](t)[e(444)]({singleCharacters:!0}));if(0!=i[e(552)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(490)](":");if(n[e(408)][e(504)](t[e(672)])&&i[e(500)](),(t[e(477)][e(504)](n[e(455)])||t[e(477)][e(697)](n[e(455)]))&&(e(655)==r?t[e(451)]={userId:o}:e(436)==r&&(t[e(542)]={userId:o})),0==i[e(552)])break}return s}[Xt(470)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(552)];s++)e(501)===t[s][e(572)]?(t[s][e(467)][e(516)]=s,t[s][e(467)][e(555)]=s):(e(557)===t[s][e(572)]?t[s][e(467)][e(516)]=s:e(669)===t[s][e(572)]&&(t[s][e(467)][e(555)]=s),i[e(689)](t[s].id,s));for(const s of i[e(677)]())e(557)===t[s][e(572)]?t[s][e(467)][e(555)]=i[e(505)](t[s][e(568)]):e(669)===t[s][e(572)]&&(t[s][e(467)][e(516)]=i[e(505)](t[s][e(568)]))}[Xt(377)](t){const e=Xt;for(let i=0;i<t[e(552)];i++){if(e(557)===t[i][e(572)])t[i][e(467)][e(516)]=i;else if(e(669)===t[i][e(572)]){t[i][e(467)][e(555)]=i;const s=t[i][e(467)][e(516)];t[s][e(568)]=t[i].id,t[i][e(568)]=t[s].id}else t[i][e(467)][e(516)]=i,t[i][e(467)][e(555)]=i,t[i][e(568)]=null;t[i][e(407)]||(t[i][e(407)]=[],t[i][e(679)]=[])}}[Xt(429)](t,e){const i=Xt,s=t[i(621)]((t=>!t[i(451)]));for(let t=0;t<e[i(552)];t++)e[t][i(451)]&&(s[t][i(451)]=e[t][i(451)])}[Xt(551)](t,e=null){const i=Xt,s=this[i(690)][i(526)](t),n=e?this[i(690)][i(526)](e):null,r=this[i(571)](s,n),o=r[r[i(552)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(552)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(549)](e[i(447)]))if(e[i(447)][t][i(535)]){const s=e[i(447)][t][i(535)];s[i(642)]?(u[i(626)](t),l[i(692)](t)&&l[i(505)](t)[i(606)]==s[i(606)]?l[i(543)](t):l[i(689)](t,s)):l[i(692)](t)?(u[i(543)](t),l[i(543)](t)):(u[i(626)](t),l[i(689)](t,s))}else u[i(626)](t)}for(const t of u){const e=l[i(692)](t)&&!l[i(505)](t)[i(642)];let s=e?r[i(552)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(447)][t]){const s=e?o[i(447)][t][i(612)]:o[i(447)][t][i(536)];c[i(609)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(581)]={};for(const e of t[i(562)])a[i(689)](e.id,e);for(const e of u){const s=t[i(447)][e]?t[i(447)][e][i(643)]:"[]",n=t[i(447)][e]?t[i(447)][e][i(482)]:"[]";t[i(581)][e]={insertions:this[i(471)][i(458)](s),deletions:this[i(471)][i(458)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(664)](s[i(581)][t][i(643)][i(417)])[i(621)]((([t])=>!t[i(421)](i(554)))));let h=0;for(const o of r){const r=this[i(540)](o[i(581)][t][i(643)]);o==s?(e=r,n=e[i(552)],e[i(645)]((t=>{t.id=h++})),this[i(377)](e)):this[i(429)](e,r);const a=e[i(621)]((t=>!t[i(451)]))[i(525)]((t=>t.id));let c=0;const l=this[i(540)](o[i(581)][t][i(482)]);l[i(645)]((t=>{t[i(542)]?t.id=n++:t.id=a[c++]})),this[i(377)](l),this[i(434)](e,i(451)),this[i(434)](l,i(542)),o==s&&this[i(533)](e,u),e=this[i(634)](e,l),this[i(470)](e),this[i(434)](e,i(542))}e=e[i(621)]((t=>!(t[i(451)]&&t[i(542)])));const d=new Map(o[i(581)][t][i(482)][i(417)]),f=new Set(u[i(549)]());for(const t of d[i(549)]())f[i(543)](t);this[i(401)](e,f),this[i(631)](e),e=this[i(696)](e),e=this[i(435)](e),e=this[i(511)](e);const{root:m,changes:p}=this[i(445)](e,a,t);c[i(581)][t]=m;const v=l[i(505)](t);if(v){const e=a[i(505)](v[i(606)]),s=new Ht({author:e,type:v[i(642)]?i(626):i(480),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(611)](s),c[i(609)][t][i(468)]=s.id}c[i(545)]=c[i(545)][i(588)](p)}return c}[Xt(533)](t,e){const i=Xt;for(let s=0;s<t[i(552)];s++)for(const[n,r]of e)!r[i(654)]&&r[i(455)][i(504)](t[s][i(477)])&&t[s][i(407)][i(627)](n),r[i(408)][i(504)](t[s][i(672)])&&t[s][i(679)][i(627)](n)}[Xt(634)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(552)]||r<e[i(552)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(627)](o);else if(a[i(542)]&&o[i(451)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(508)](t,n,e,r);s=s[i(588)](o),n=a,r=c}else a[i(542)]?(r++,s[i(627)](a)):(n++,s[i(627)](o))}return s}[Xt(401)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(552)];o++){for(let r=0;r<t[o][i(407)][i(552)];r++){const a=t[o][i(407)][r];if(!e[i(692)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(432)!=c||i(655)!=u&&i(436)!=u||(s[i(611)]({type:u,name:a,userId:l}),t[o][i(407)][i(494)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(679)][i(552)];r++){const a=t[o][i(679)][r];if(!e[i(692)](a))continue;const{group:c,type:u}=n(a);if(i(432)!=c||i(655)!=u&&i(436)!=u)continue;t[o][i(679)][i(494)](r,1),r--;const l=s[i(585)]((t=>t[i(532)]==a));l>-1&&s[i(494)](l,1)}}function n(t){const e=i,s=t[e(490)](":");return{group:s[0],type:s[1],subType:s[e(552)]>=5?s[2]:null,id:s[e(552)]<5?s[2]:s[3],authorId:s[e(552)]<5?s[3]:s[4],markerCount:6==s[e(552)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(552)];i++){if(t[e(451)]&&e(655)==s[i][e(572)]&&t[e(451)][e(606)]==s[i][e(606)])return t[e(662)]=s[i],void delete t[e(451)];if(!t[e(451)]&&!t[e(542)]&&e(436)==s[i][e(572)])return void(t[e(565)]=s[i])}}}[Xt(434)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(689)](o.id,s);for(let s=0;s<t[i(552)];s++){if(i(542)==e&&t[s][i(451)]||i(451)==e&&t[s][i(542)])continue;if(i(501)==t[s][i(572)]){t[s][i(599)]=0;continue}const n=r[i(505)](t[s][i(568)]),o=r[i(505)](t[s].id);t[s][i(599)]=n-o}}[Xt(571)](t,e,i=!1){const s=Xt,n=[];let r=this[s(690)][s(461)](t),o=this[s(690)][s(461)](e);for(-1==o&&(o=this[s(690)][s(538)][s(552)],i=!1);r<o;)n[s(627)](this[s(690)][s(526)](r)),r++;return i&&n[s(627)](this[s(690)][s(526)](r)),n}[Xt(508)](t,e,i,s){const n=Xt,r=this[n(384)][n(581)][n(595)];let o=e;for(;t[o]&&t[o][n(451)];)o++;let a=s;for(;i[a]&&i[a][n(542)];)a++;u(t,e,o),u(i,s,a);const c=i[n(522)](s,a)[n(588)](t[n(522)](e,o));return c[n(386)](((t,e)=>t[n(579)]!=e[n(579)]?t[n(579)]-e[n(579)]:t[n(613)]!=e[n(613)]?t[n(613)]-e[n(613)]:t[n(599)]!=e[n(599)]?e[n(599)]-t[n(599)]:!!t[n(451)]!=!!e[n(451)]?-1==t[n(579)]||0==t[n(579)]?t[n(451)]?-1:1:t[n(451)]?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(582)](t[n][s(467)])||(c=!1),t[n][s(467)][s(516)]<e&&(o=n),t[n][s(467)][s(555)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(579)]=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(599)]?t[i][s(613)]=u:(u++,t[i][s(613)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(579)]&&(t[n][s(613)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(599)]?t[e][s(613)]=u:(u--,t[e][s(613)]=u,u--)}}[Xt(631)](t){const e=Xt,i=new Map,s=this[e(384)][e(581)][e(595)];for(let n=1;n<t[e(552)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(501)==c[e(572)])continue;if(c[e(572)]!=u[e(572)])continue;if(!s[e(478)](u[e(467)])||s[e(659)](u[e(467)]))continue;if(!s[e(478)](c[e(467)])||s[e(659)](c[e(467)]))continue;if((t[n][e(451)]||t[n][e(662)])&&t[n-1][e(542)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(542)]||!t[n-1][e(451)]&&!t[n-1][e(662)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(613)]==o[e(613)],h=Math[e(512)](r[e(613)])<Math[e(512)](o[e(613)])&&0==o[e(599)];(l||h)&&(i[e(689)](o.id,r.id),t[e(494)](a,1),n--,r[e(451)]=!1)}for(let s=0;s<t[e(552)];s++)i[e(692)](t[s][e(568)])&&(t[s][e(568)]=i[e(505)](t[s][e(568)]))}[Xt(696)](t){const e=Xt,i=new Set(t[e(525)]((t=>t.id)));for(let s=0;s<t[e(552)];s++)i[e(692)](t[s][e(568)])||0==t[s][e(599)]||(t[s][e(453)]=!0);return t[e(621)]((t=>!t[e(453)]))}[Xt(435)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(552)];s++){if(i[e(692)](t[s].id)&&t[s][e(542)]&&(t[s][e(453)]=!0),t[s][e(453)])continue;if(0==t[s][e(599)])continue;if(e(557)!=t[s][e(572)])continue;if(null==t[s][e(568)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(568)];)e(557)==t[n][e(572)]?r++:e(669)==t[n][e(572)]&&r--,n++;if(0!=r)if(t[s][e(542)])t[s][e(453)]=!0;else for(;n!=s;)t[n][e(542)]&&0!=t[n][e(599)]&&(t[n][e(453)]=!0,i[e(626)](t[n][e(568)])),n--}return t[e(621)]((t=>!t[e(453)]))}[Xt(511)](t){const e=Xt,i=this[e(384)][e(581)][e(595)];for(let s=0;s<t[e(552)];s++){if(!(t[s][e(451)]||t[s][e(662)]||t[s][e(542)]||t[s][e(565)]))continue;if(0==t[s][e(599)])continue;const n=t[s][e(467)];i[e(478)](n)||i[e(659)](n)||(t[s][e(451)]&&delete t[s][e(451)],t[s][e(662)]&&delete t[s][e(662)],t[s][e(565)]&&delete t[s][e(565)],t[s][e(542)]&&(t[s][e(453)]=!0))}return t[e(621)]((t=>!t[e(453)]))}[Xt(445)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(384)][s(581)],c=a[s(595)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(552)];e++)if(s(557)===t[e][s(572)]){t[e][s(477)]=a[s(379)](n,f);const i=new Z.Element(t[e][s(467)][s(532)],t[e][s(467)][s(388)]());u[0][s(530)](i),f[s(627)](0),u[s(611)](i),t[e][s(672)]=a[s(379)](n,f)}else s(669)===t[e][s(572)]?(u[s(500)](),t[e][s(477)]=a[s(379)](n,f),f[s(657)](),f[f[s(552)]-1]++,t[e][s(672)]=a[s(379)](n,f)):(t[e][s(477)]=a[s(379)](n,f),d?d[s(674)]+=t[e][s(467)][s(685)]:d=new Z.Text(t[e][s(467)][s(685)],t[e][s(467)][s(388)]()),t[e+1]&&s(501)===t[e+1][s(572)]&&v(d,t[e+1][s(467)])||(u[0][s(530)](d),d=null),f[f[s(552)]-1]+=t[e][s(467)][s(624)],t[e][s(672)]=a[s(379)](n,f));for(let e=0;e<t[s(552)];e++){const i=t[e][s(477)],n=t[e][s(672)];for(const n of t[e][s(407)])o[s(689)](n,{start:i,end:null});m(s(565),e,i,n),m(s(662),e,i,n),m(s(542),e,i,n),m(s(451),e,i,n);for(const i of t[e][s(679)]){const t=o[s(505)](i);t?t[s(408)]=n:o[s(689)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(384)][s(581)][s(587)](e[s(455)],e[s(408)]);n[s(417)][s(689)](t,i)}return r[s(386)](((t,e)=>{const i=s,r=n[i(417)][i(505)](i(554)+t.id),o=n[i(417)][i(505)](i(554)+e.id);return r[i(455)][i(428)](o[i(455)])?-1:r[i(455)][i(697)](o[i(455)])?1:r[i(408)][i(428)](o[i(408)])?-1:r[i(408)][i(697)](o[i(408)])?1:i(626)===t[i(572)]?-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(606)]:null,d=i===t[o(552)]-1,f=h[e][0],m=c[o(637)](t[i][o(467)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(408)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(606)]!==u&&(l[e][o(408)]=n,f&&f[o(606)]===l[e][o(606)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(557)!==t[i][o(572)]||f&&f[o(606)]===u||h[e][o(611)]({userId:u,object:t[i][o(467)],change:l[e]}),o(669)===t[i][o(572)]&&f&&f[o(556)]===t[i][o(467)]&&(h[e][o(500)](),l[e]=f[o(404)])),l[e]&&d&&(l[e][o(408)]=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(467)],f=a[h(595)][h(478)](d)&&!a[h(595)][h(659)](d),m=t[h(406)]==o[h(520)]&&o[h(632)];if(f&&m)return;const p=a[h(587)](t,o),v=e[h(505)](u),g=new Ht({author:v,type:h(451)==l||h(662)==l?h(626):h(480),data:{isSuggestion:h(662)==l||h(565)==l},createdAt:new Date,rootName:i});r[h(627)](g),n[h(417)][h(689)](h(554)+g.id,p)}function v(t,e){const i=s,n=t[i(388)](),r=e[i(388)]();for(const t of n){if(t[1]!==e[i(698)](t[0]))return!1;r[i(397)]()}return r[i(397)]()[i(488)]}}[Xt(673)](){const t=Xt;this[t(384)][t(584)][t(596)](t(561))[t(608)]({view:t(701)}),this[t(384)][t(584)][t(596)](t(528))[t(694)]({model:t(701),view:e=>{const i=t,s=e[i(479)][i(490)](":")[1],n=this[i(591)](s);if(!n)return null;const r=i(626)==n[i(572)]?i(655):i(436),o=[i(607),i(678)+r];return n[i(685)][i(402)]&&o[i(627)](i(678)+r+i(623)),this[i(443)]==n&&o[i(627)](i(594)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(384)][t(584)][t(596)](t(561))[t(626)]((e=>{const i=t;e.on(i(570),((t,e,s)=>{const n=i,r=e[n(483)][n(667)](0);if(!r||!r.is(n(514),n(652)))return;if(!s[n(548)][n(688)](r,{attributes:[n(693),n(390)]}))return;const o=e[n(473)][n(455)][n(406)];s[n(651)][n(563)](n(693),r[n(698)](n(693)),o),s[n(651)][n(563)](n(390),r[n(698)](n(390)),o)}),{priority:i(382)})})),this[t(384)][t(584)][t(596)](t(561))[t(626)]((e=>{const i=t;e.on(i(514),((t,e,s)=>{const n=i;if(!s[n(548)][n(688)](e[n(483)],{attributes:[n(693),n(390)]}))return;if(e[n(473)][n(654)])return;const r=e[n(473)][n(455)][n(406)];r[n(610)](n(693))||r[n(610)](n(619))||(s[n(651)][n(563)](n(693),e[n(483)][n(698)](n(693)),r),s[n(651)][n(563)](n(390),e[n(483)][n(698)](n(390)),r))}),{priority:i(382)})})),this[t(384)][t(584)][t(596)](t(561))[t(497)]({view:{name:t(656),attributes:{vid:!0}},model:{key:t(619),value:e=>e[t(698)](t(619))}}),this[t(384)][t(581)][t(595)].on(t(441),((e,[,i])=>{const s=t;[s(693),s(390),s(619)][s(385)](i)&&(e[s(423)]=!0,e[s(648)]())}),{priority:t(577)}),this[t(384)][t(584)][t(596)](t(700))[t(626)]((e=>{const i=t;e.on(i(640),((t,e,s)=>{const n=i;if(" "!=e[n(467)][n(685)]||e[n(467)][n(520)][n(604)]>1)return;if(!s[n(548)][n(688)](e[n(467)],t[n(532)]))return;const r=s[n(651)],o=s[n(465)][n(464)](e[n(481)]);r[n(496)](o,r[n(639)](n(656)))}))})),this[t(384)][t(584)][t(596)](t(700))[t(424)]({model:t(701)}),this[t(384)][t(661)][t(466)].on(t(462),function(e){const i=t,s=e[i(469)][i(505)](i(405));return(t,n,r)=>{const o=i,a=n[o(479)][o(490)](":")[1],c=s[o(591)](a);if(!c)return null;const u=o(626)==c[o(572)]?o(490):o(622);if(!r[o(548)][o(472)](n[o(586)],t[o(532)]))return;const l=n[o(586)][o(444)](),h=n[o(586)][o(455)],d=e[o(581)][o(595)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(467)];p=p||d[o(564)](e);const i=r[o(465)][o(414)](e);if(i&&i[o(567)](o(399)))return;o(669)==t[o(572)]&&d[o(478)](e)&&!d[o(659)](e)&&(e[o(547)]||h[o(539)]?f&&f[o(520)]==e||(f=e,g(t[o(477)]),v=!0):m=m||t[o(477)])}function g(t){const e=o,i=r[e(651)][e(593)](e(656),{class:e(678)+u}),a=r[e(465)][e(502)](t);c[e(685)][e(402)]&&r[e(651)][e(519)](e(678)+u+e(623),i),s[e(443)]==c&&r[e(651)][e(519)](e(594),i),r[e(651)][e(649)](a,i),r[e(465)][e(550)](i,n[e(479)])}p||v||!m||g(m)}}(this[t(384)]),{priority:t(559)}),this[t(384)][t(661)][t(466)].on(t(448),((e,i,s)=>{const n=t,r=s[n(465)][n(544)](i[n(479)]);if(r)for(const t of r)(t[n(633)](n(615))||t[n(633)](n(507)))&&(s[n(465)][n(529)](t,i[n(479)]),s[n(651)][n(480)](t))}),{priority:t(559)}),this[t(384)][t(661)][t(466)].on(t(462),((e,i,s)=>{const n=t,r=i[n(479)][n(490)](":")[1],o=this[n(591)](r);if(!o)return null;const a=n(626)==o[n(572)]?n(490):n(622);if(s[n(548)][n(472)](i[n(586)],e[n(532)]))for(const t of i[n(586)][n(598)]()){if(!t.is(n(514),n(484)))continue;const e=s[n(651)][n(593)](n(656),{class:n(678)+a}),r=s[n(465)][n(502)](this[n(384)][n(581)][n(683)](t));o[n(685)][n(402)]&&s[n(651)][n(519)](n(678)+a+n(623),e),this[n(443)]==o&&s[n(651)][n(519)](n(594),e),s[n(651)][n(649)](r,e),s[n(465)][n(550)](e,i[n(479)])}}),{priority:t(559)}),this[t(384)][t(581)][t(580)].on(t(404),(()=>{const e=t;this[e(384)][e(661)][e(699)][e(404)]((t=>{const i=e;for(const e of this[i(384)][i(581)][i(580)][i(681)]()){const s=this[i(384)][i(581)][i(580)][i(695)](e),n=this[i(384)][i(661)][i(699)][i(580)][i(695)](e);if(n){const e=s[i(698)](i(468));if(t[i(419)](i(646),n),t[i(492)](i(392),n),t[i(492)](i(400),n),t[i(492)](i(426),n),e){const s=this[i(591)](e);if(!s)return null;t[i(563)](i(646),e,n),t[i(519)](i(381)+s[i(572)],n),this[i(443)]==s&&t[i(519)](i(426),n)}}}}))})),this[t(384)][t(584)][t(596)](t(561))[t(608)]({view:t(647),model:e=>t(702)+e,converterPriority:t(577)}),this[t(384)][t(584)][t(596)](t(561))[t(608)]({view:t(618),model:e=>t(663)+e,converterPriority:t(577)}),this[t(384)][t(584)][t(596)](t(700))[t(424)]({model:t(432),view:e=>({name:t(574)+e,group:t(432)}),converterPriority:t(577)}),this[t(384)][t(584)][t(596)](t(528))[t(694)]({model:t(432),view:e=>{const i=t,s=e[i(479)][i(490)](":")[1];return i(655)!=s&&i(436)!=s?null:{classes:[i(503),i(475)+s]}}}),this[t(384)][t(661)][t(466)].on(t(630),ie(this[t(384)],t(622)),{priority:t(559)}),this[t(384)][t(661)][t(466)].on(t(675),ie(this[t(384)],t(490)),{priority:t(559)}),this[t(384)][t(661)][t(466)].on(t(495),((e,i,s)=>{const n=t,r=s[n(465)][n(544)](i[n(479)]);if(r)for(const t of r)t.is(n(409))&&(s[n(465)][n(529)](t,i[n(479)]),s[n(651)][n(480)](t))}),{priority:t(559)})}[Xt(591)](t){const e=Xt;return this[e(592)][e(505)](t)}[Xt(440)](t){const e=Xt;return this[e(422)]&&this[e(422)][e(493)](),this[e(422)]=new Ut(this[e(384)][e(393)],t),this[e(422)]}[Xt(383)](){const t=Xt;this[t(384)][t(581)][t(580)][t(499)][t(387)](t(701)),this.on(t(442),((e,i,s,n)=>{const r=t;n&&this[r(411)][r(480)](n),s&&(this[r(411)][r(626)]({view:s,stackId:r(487),position:{target:()=>{const t=r,e=this[t(384)][t(661)],i=this[t(591)](s[t(427)]);let n;if(i[t(685)][t(680)]){const s=e[t(699)][t(459)](i[t(413)]);n=Array[t(664)](s[t(510)]())}else{const i=this[t(384)][t(581)][t(417)][t(505)](t(554)+s[t(427)]);n=Array[t(664)](e[t(465)][t(544)](i[t(532)]))[t(525)]((i=>e[t(699)][t(518)][t(560)](i)))[t(525)]((e=>Array[t(664)](e[t(510)]())))[t(450)]()}return this[t(687)]&&n[t(684)]((e=>e[t(641)]-3<=this[t(687)].y&&e[t(546)]+3>=this[t(687)].y&&e[t(534)]-3<=this[t(687)].x&&e[t(438)]+3>=this[t(687)].x))||n[0]}}}),this[r(411)][r(589)](r(487)))})),this.on(t(650),((e,i,s,n)=>{const r=t;this[r(531)]=s?this[r(440)](s):null,this[r(384)][r(581)][r(404)]((()=>{const t=r,e=this[t(384)][t(661)];n&&(n[t(685)][t(680)]?e[t(699)][t(404)]((i=>{const s=t;i[s(492)](s(426),e[s(699)][s(580)][s(695)](n[s(413)]))})):e[t(575)](t(554)+n.id)),s&&(s[t(685)][t(680)]?e[t(699)][t(404)]((i=>{const n=t;i[n(519)](n(426),e[n(699)][n(580)][n(695)](s[n(413)]))})):e[t(575)](t(554)+s.id))}))})),this[t(403)](this[t(384)][t(661)][t(699)][t(580)],t(489),((e,i)=>{const s=t;if(this[s(443)])return;const n=this[s(523)](i[s(521)]),r=this[s(592)][s(505)](n);r?(this[s(687)]={x:i[s(616)].x,y:i[s(616)].y},this[s(531)]=this[s(440)](r)):(this[s(687)]=null,this[s(531)]=null)})),this[t(403)](this[t(384)][t(661)][t(699)][t(580)],t(498),((e,i)=>{const s=t,n=this[s(523)](i[s(521)]),r=this[s(592)][s(505)](n);r?(this[s(687)]={x:i[s(616)].x,y:i[s(616)].y},r===this[s(443)]?this[s(411)][s(515)]():this[s(443)]=r):(this[s(687)]=null,this[s(443)]=null)}))}[Xt(523)](t){const e=Xt;do{const i=t[e(698)](e(646));if(i)return i;t=t[e(520)]}while(t);return null}[Xt(578)](){const t=Xt;this[t(384)][t(581)][t(404)]((e=>{const i=t;for(const t of this[i(384)][i(581)][i(417)])e[i(601)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(548)][r(472)](s[r(586)],i[r(532)]))return;const o=s[r(586)][r(444)](),a=s[r(586)][r(455)],c=t[r(581)][r(595)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(467)];h=h||c[r(564)](e);const i=n[r(465)][r(414)](e);if(i&&i[r(567)](r(399)))return;r(669)==t[r(572)]&&c[r(478)](e)&&!c[r(659)](e)&&(e[r(547)]||a[r(539)]?u&&u[r(520)]==e||(u=e,f(t[r(477)]),d=!0):l=l||t[r(477)])}function f(t){const i=r,o=n[i(465)][i(502)](t),a=n[i(651)][i(593)](i(656),{class:i(475)+e});n[i(651)][i(649)](o,a),n[i(465)][i(550)](a,s[i(479)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(469)][e(505)](ee);this[e(541)]=!1,this[e(403)](i,e(391),(()=>this[e(437)]())),this[e(403)](i,e(653),(()=>this[e(437)]()))}[Xt(600)](){const t=Xt,e=this[t(384)],i=e[t(469)][t(505)](ee),s=i[t(517)]?i[t(486)][t(420)]:null;e[t(454)][t(505)](t(576))[t(416)](s)}[Xt(437)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(384)][t(469)][t(505)](ee),r=n&&s[t(412)](n[t(420)]);this[t(638)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(463)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(469)][i(505)](ee);this[i(541)]=!1,this[i(463)]=i(380)===e?1:-1,this[i(403)](s,i(391),(()=>this[i(437)]())),this[i(403)](s,i(653),(()=>this[i(437)]())),this[i(403)](s,i(650),(()=>this[i(437)]()))}[Xt(600)](){const e=Xt,i=this[e(384)],s=i[e(469)][e(505)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(443)]=n?s[e(486)][e(545)][e(505)](r+this[e(463)]):s[e(486)][e(545)][e(636)],s[e(443)][e(685)][e(680)])o=i[e(661)][e(699)][e(459)](s[e(443)][e(413)]);else{const t=i[e(581)][e(417)][e(505)](e(554)+s[e(443)].id);o=(0,H.getMarkerDomElement)(i[e(661)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(437)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(384)][t(469)][t(505)](ee);this[t(638)]=!!(r&&n&&s)&&(!e||(1===this[t(463)]?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-revision-history-ui","Total","numberOfChanges","NUMBER_OF_CHANGES","bindTemplate","forward","84xxzrGl","Show previous change","div","388clbgIM","isEnabled","fire","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","ck-hidden","374652NcSXfq","bind","ck-revision-history-ui__changes-navigation__navigation","_statusText","EDIT_X_OF_Y_REVISIONS","isBackwardNavigationEnabled","1056860WFrczN","_isStatusLabelVisible","isNavigationMode","307348eDQvkc","Loading...","execute","104375DNUIeD","5083416lwzrcn","span","99JtnkAf","setTemplate","Show next change","1017639QeiEwb","set","isReady","1877cXGVJX","currentChangeNumber","ck-revision-history-ui__changes-navigation__wrapper","No changes","ck-revision-history-ui__changes-navigation__label","X_OF_Y_CHANGES","backward"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(476367===-parseInt(e(160))/1*(-parseInt(e(176))/2)+parseInt(e(182))/3+parseInt(e(191))/4+parseInt(e(194))/5*(parseInt(e(173))/6)+parseInt(e(157))/7+parseInt(e(195))/8+-parseInt(e(197))/9*(parseInt(e(188))/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(171)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(158)](e(190),!1),this[e(158)](e(159),!1),this[e(158)](e(161),0),this[e(158)](e(169),0),this[e(158)](e(180),!1),this[e(158)](e(187),!1),this[e(183)](e(189)).to(this,e(159),this,e(169),((t,e)=>t&&e>0)),this[e(183)](e(185)).to(this,e(159),this,e(161),this,e(169),this,e(190),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(192));if(!n)return Q(t,o(163));const a=Q(t,o(170),n);return r?Q(t,o(165),[s+1,n]):a})),s[e(158)]({label:Q(t,e(174)),tooltip:!0,icon:mt.IconChevronUp}),n[e(158)]({label:Q(t,e(156)),tooltip:!0,icon:mt.IconChevronDown}),s[e(183)](e(177)).to(this,e(187)),n[e(183)](e(177)).to(this,e(180)),s.on(e(193),(()=>this[e(178)](e(193),e(166)))),n.on(e(193),(()=>this[e(178)](e(193),e(172)))),this[e(155)]({tag:e(175),attributes:{class:["ck",e(167),e(179)]},children:[{tag:e(196),attributes:{class:[e(162)]},children:[{tag:e(196),attributes:{class:[e(164),i.if(e(189),e(181),(t=>!t))]},children:[{text:i.to(e(190),(i=>i?Q(t,e(186))+": ":Q(t,e(168))+": "))}]},{text:i.to(e(185))}]},new pt.ToolbarSeparatorView,{tag:e(175),attributes:{class:[e(184)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=337]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(736141===-parseInt(e(338))/1*(-parseInt(e(355))/2)+parseInt(e(360))/3*(parseInt(e(347))/4)+parseInt(e(339))/5+-parseInt(e(358))/6+-parseInt(e(348))/7*(parseInt(e(361))/8)+parseInt(e(362))/9+parseInt(e(357))/10*(-parseInt(e(354))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(353);function pe(){const t=["editor","427122BDnOCs","113440lFcymU","roots","change","addClass","isOfficialPlugin","show","hide","document","533188SFKWjT","59591RjmfeK","view","editing","removeClass","pluginName","ck-editor__editable__loading-overlay","4157087aAWtcL","4jQBULl","isPremiumPlugin","10FLSfEP","7655316VzlySU","RevisionViewerLoadingOverlay","24rsdtBf","664ccuqaD","10378935meXzpX"];return(pe=function(){return t})()}class ve extends W.Plugin{static get[fe(352)](){return fe(359)}static get[fe(343)](){return!0}static get[fe(356)](){return!0}[fe(344)](){const t=fe,e=this[t(337)][t(350)][t(349)];e[t(341)]((i=>{const s=t;for(const t of e[s(346)][s(340)])i[s(342)](me,t)}))}[fe(345)](){const t=fe,e=this[t(337)][t(350)][t(349)];e[t(341)]((i=>{const s=t;for(const t of e[s(346)][s(340)])i[s(351)](me,t)}))}}const ge=ke;function ye(){const t=["440HmeWll","isForwardNavigationEnabled","config","showNextChange","revisionHistory","1359KQuDgF","2juyzLB","editor","set","show","numberOfChanges","RevisionViewerUI","4986693vExfNv","restoreRevision","isBackwardNavigationEnabled","1707060OaRZIh","isOfficialPlugin","pluginName","plugins","execute","closeRevisionViewerCallback","5843588KGbCcM","get","isEnabled","requires","changesNavigation","9097431ZxTejH","init","componentFactory","exitToEditing","isPremiumPlugin","change:isReady","showPreviousChange","isReady","90108KkLQDp","commands","forward","currentChangeNumber","21720EoIFSQ","hide","ck-revision-history-ui__back-to-editing","2238550UAuCmc","bind","add","Back to editing","Restore this revision","listenTo","isNavigationMode"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=160]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(898933===-parseInt(e(179))/1+parseInt(e(170))/2*(-parseInt(e(176))/3)+parseInt(e(185))/4+-parseInt(e(164))/5*(-parseInt(e(198))/6)+parseInt(e(190))/7+parseInt(e(202))/8*(parseInt(e(169))/9)+-parseInt(e(205))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends W.Plugin{static get[ge(181)](){return ge(175)}static get[ge(180)](){return!0}static get[ge(194)](){return!0}static get[ge(188)](){return[ee,ve]}[ge(191)](){const t=ge,e=this[t(171)],i=e[t(182)][t(186)](ee),s=e[t(182)][t(186)](ve);e.ui[t(192)][t(207)](t(193),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(172)]({label:Q(i,s(160)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(204)}),this[s(162)](n,s(183),(()=>{const t=s;e[t(166)][t(186)](t(168))[t(184)]()})),n})),e.ui[t(192)][t(207)](t(177),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(172)]({label:Q(i,s(161)),withText:!0,tooltip:!0}),n[s(206)](s(187)).to(e[s(199)][s(186)](s(177))),this[s(162)](n,s(183),(()=>e[s(183)](s(177)))),n})),e.ui[t(192)][t(207)](t(189),(s=>{const n=t,r=new ue(s),o=e[n(199)][n(186)](n(196)),a=e[n(199)][n(186)](n(167));return r[n(206)](n(178)).to(o,n(187)),r[n(206)](n(165)).to(a,n(187)),r[n(206)](n(197),n(201),n(174),n(163)).to(i),this[n(162)](r,n(183),((t,i)=>{const s=n;e[s(183)](s(200)===i?s(167):s(196))})),r})),s[t(173)](),i.on(t(195),((e,i,n)=>{const r=t;n?s[r(203)]():s[r(173)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=370]})(t,e)}function Oe(){const t=["value","render","Enter the revision name","3539844euHgpC","fieldView","placeholder","2AUpSrN","6702132SxkhkF","set","264560qYZYgh","listenTo","47250pSwHrV","2501752rPThkC","18yLJMsu","30NzDFum","destroy","Revision name","1125941UXXcJU","element","_updateTooltipText","ck-revision-history-sidebar__revision-name","bindTemplate","input","_resizeObserver","_tooltipString","scrollWidth","span","ck-tooltip_multi-line","extendTemplate","620LWaxqK","1379919BGsOZP","clientWidth"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(811794===parseInt(e(372))/1+parseInt(e(393))/2*(parseInt(e(385))/3)+parseInt(e(384))/4*(parseInt(e(398))/5)+-parseInt(e(394))/6+-parseInt(e(390))/7+-parseInt(e(396))/8*(-parseInt(e(400))/9)+parseInt(e(401))/10*(-parseInt(e(399))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ne extends pt.LabeledFieldView{[Ie(378)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(376)];this[i(395)]({label:Q(t,i(371)),_tooltipString:""}),this[i(391)][i(392)]=Q(t,i(389)),this[i(383)]({tag:i(381),attributes:{class:[i(375)],"data-cke-tooltip-text":s.to(i(379)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(382)}})}[Ie(388)](){const e=Ie;super[e(388)](),this[e(378)]=new t.ResizeObserver(this[e(391)][e(373)],(()=>this[e(374)]())),this[e(397)](this[e(391)],e(377),(()=>this[e(374)]()))}[Ie(370)](){const t=Ie;super[t(370)](),this[t(378)]&&this[t(378)][t(370)]()}[Ie(374)](){const t=Ie,e=this[t(391)][t(373)];this[t(379)]=e[t(380)]>e[t(386)]&&e[t(387)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=It(),xe.insert=wt().bind(null,"head"),xe.domAPI=kt(),xe.insertStyleElement=Ot();gt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ae(t,e){const i=De();return(Ae=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(481196===parseInt(e(429))/1+-parseInt(e(423))/2+parseInt(e(414))/3*(parseInt(e(425))/4)+parseInt(e(419))/5+-parseInt(e(420))/6*(parseInt(e(418))/7)+-parseInt(e(411))/8*(parseInt(e(421))/9)+-parseInt(e(412))/10*(-parseInt(e(417))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Re extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(424)]({content:mt.IconUser,viewBox:s(416)});const r=["ck",s(413)];i&&r[s(409)](s(410));const o=[{tag:s(426),attributes:{class:["ck",s(428)],title:Q(t,s(i?430:415))},children:[n,e[s(422)]]}];this[s(427)]({tag:"li",attributes:{class:r},children:o})}}function De(){const t=["ck-revision-history-sidebar__revision-author_creator","936YcdfdG","330njdtDj","ck-revision-history-sidebar__revision-author","829773RPDQfA","Revision author","0 0 11 10","60401zLFBdJ","644kktMoL","4702005HRYrlO","8718GogfFw","40878RLgJVr","name","1810438AhCorw","set","4oaWbvm","span","setTemplate","ck-revision-history-sidebar__revision-author__name","653310RPrmOU","Revision creator","push"];return(De=function(){return t})()}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=141]})(t,e)}function Ee(){var t=["toLocaleTimeString","178133UeBWVe","numeric","1758hzwxrr","2664688ouhOyt","7364CfGUzi","toLocaleDateString","34767MvUuVs","1138734aiTGZs","74OpuJGc","1497048ShgPnY","506710oNvzrS","long","10ZJGeMb"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(433842===-parseInt(e(146))/1+-parseInt(e(154))/2*(parseInt(e(152))/3)+parseInt(e(141))/4+-parseInt(e(142))/5+-parseInt(e(148))/6*(-parseInt(e(150))/7)+parseInt(e(149))/8+parseInt(e(153))/9*(parseInt(e(144))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=348]})(t,e)}function je(){const t=["Show more items","2155050WiKxYe","262dAEIIk","Restore this revision","1208435hShkdX","280328RFEtOL","isReady","function","isVisible","add","first","buttonView","change:isActionsDropdownOpen","class","_action","ck-on","execute","bind","isActionsDropdownOpen","children","source","listenTo","listView","Name this revision","isOpen","button","240904hywVjD","isEnabled","menu","menuitem","panelPosition","2489eXcbIA","6VQZHDN","866929CuDxsj","477366AiwNhg","locale","63msiGKC","model","stopPropagation","map","Compare against selected","find","items","action","ck-revision-history-sidebar__revision__actions","extendTemplate","name","set","bindTemplate"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(277333===-parseInt(e(365))/1*(-parseInt(e(385))/2)+parseInt(e(368))/3+-parseInt(e(360))/4+-parseInt(e(387))/5+parseInt(e(366))/6*(parseInt(e(367))/7)+parseInt(e(388))/8*(-parseInt(e(370))/9)+parseInt(e(384))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Pe=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=It(),Le.insert=wt().bind(null,"head"),Le.domAPI=kt(),Le.insertStyleElement=Ot();gt()(Pe.A,Le);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=We;function Ue(){const t=["1868970RABypX","extendTemplate","map","bindTemplate","220","477988eYujSc","creator","fieldView","ck-revision-history-sidebar__revision__controls-wrapper","_requireRevisionName","ck-revision-history-sidebar__revision-authors","unshift","isSelected","set","fire","323684Woiyrz","9gVrJZs","revisionActionsView","revisionNameView","setTemplate","unhighlight","7HBiyNN","div","deselect","bind","filter","change","createdAt","value","ck-revision-history-sidebar__revision","isEnabled","_revision","15098jEjZiN","element","render","listenTo","ck-revision-history-sidebar__revision_highlighted","from",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-wrapper","name","ck-reset","147Udnubs","isConfirm","ck-revision-history-sidebar__revision__date","1369450eKMgyC","ck-revision-history-sidebar__revision_selected","uiLanguage","15QaQSsg","span","isActionsDropdownOpen","ck-revision-history-sidebar__actions_dropdown_open","setName","length","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-disabled","_createdAtFormatted","closest","select","isReady","highlight","srcElement","1042088ZvqONa","isHighlighted","authors","8099916PGaHuQ"];return(Ue=function(){return t})()}function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(262981===-parseInt(e(187))/1+-parseInt(e(204))/2*(parseInt(e(214))/3)+parseInt(e(243))/4*(-parseInt(e(220))/5)+parseInt(e(238))/6*(parseInt(e(193))/7)+-parseInt(e(234))/8*(-parseInt(e(188))/9)+parseInt(e(217))/10+parseInt(e(237))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(190)];[ze(189)];[ze(203)];[ze(247)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(241)],a=function(t,e){const i=r,s=Array[i(209)](e[i(236)])[i(197)]((t=>t!=e[i(244)]));return e[i(244)]&&s[i(249)](e[i(244)]),s[i(240)]((s=>new Re(t,s,s==e[i(244)])))}(e,i);this.id=i.id,this[r(203)]=i,this[r(247)]=n,this[r(196)](r(212),r(199)).to(i),this[r(196)](r(228)).to(this,r(199),(t=>{return i=e[r(219)],(s=t)[(n=Ve)(151)](i,{month:n(143),day:n(147)})+", "+s[n(145)](i,{hour:n(147),minute:n(147)});var i,s,n})),this[r(185)](r(250),!1),this[r(185)](r(235),!1),this[r(185)](r(222),!1),this[r(185)](r(231),!1),this[r(185)](r(202),!1),this[r(190)]=new Ne(e,pt.createLabeledInputText),this[r(190)][r(245)][r(239)]({attributes:{maxlength:r(242)}}),this[r(190)][r(245)][r(196)](r(200)).to(this,r(212),(t=>t||this[r(228)])),this[r(190)][r(196)](r(202)).to(this,r(250),this,r(202),((t,e)=>t&&e)),this[r(189)]=s&&s[r(225)]?function(e,i){const s=Fe,n=e[s(382)],r=e[s(369)],o=(0,pt.createDropdown)(r);o[s(364)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(369)],n={"Compare against selected":Q(s,i(374)),"Name this revision":Q(s,i(357)),"Restore this revision":Q(s,i(386))};return e[i(373)]((t=>{const e=i,s=n[t[e(380)]];return s&&s!==t[e(380)]&&(t[e(380)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(359),model:new pt.ViewModel({label:t[n(380)],class:t[n(396)],withText:!0,role:n(363),_action:t[n(377)]})};i[n(371)][n(351)](n(361)).to(e,n(352),(i=>n(390)!=typeof t[n(361)]||!i||t[n(361)](e))),o[n(392)](i)}return o}(e,i);return e[s(351)](s(352)).to(o,s(358)),o[s(394)][s(381)]({label:Q(r,s(383)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(379)]({attributes:{class:[s(378),n.if(s(352),s(349))]},on:{click:n.to((t=>t[s(372)]()))}}),o.on(s(350),(t=>{const i=s;e[i(389)]&&i(390)==typeof t[i(354)][i(348)]&&t[i(354)][i(348)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(362)}),o[s(355)](e,s(395),((t,n,r)=>{const a=s;if(r)for(const t of o[a(356)][a(376)]){const s=t[a(353)][a(393)],n=i[a(375)]((t=>t[a(377)]===s[a(348)]))[a(391)];t[a(391)]=void 0===n||n(e)}})),o}(this,s):"",this[r(189)]&&this[r(189)][r(196)](r(202)).to(this),this[r(191)]({tag:r(194),attributes:{class:["ck",r(213),r(211),o.if(r(215),r(226))]},children:[{tag:r(194),attributes:{class:["ck",r(213),r(201),o.if(r(202),r(227),(t=>!t)),o.if(r(250),r(218)),o.if(r(235),r(208)),o.if(r(222),r(223))]},children:[this[r(190)],{tag:r(221),attributes:{class:["ck",r(216)]},children:[{text:o.to(r(228))}]},{tag:r(194),attributes:{class:["ck",r(246)]},children:[{tag:"ul",attributes:{class:["ck",r(248)]},children:a}]},this[r(189)]],on:{click:o.to((t=>{const e=r;t[e(233)][e(229)](e(210))||this[e(231)]&&this[e(202)]&&this[e(186)](e(230),{id:this.id})}))}}]})}[ze(206)](){const t=ze;super[t(206)]();const e=this[t(190)][t(245)][t(205)];this[t(207)](e,t(198),(()=>{const i=t;this[i(247)]&&!e[i(200)]||this[i(186)](i(224),{id:this.id,name:e[i(200)]}),e[i(200)]||(e[i(200)]=this[i(212)]?this[i(212)]:this[i(228)])}))}[ze(230)](){this[ze(250)]=!0}[ze(195)](){this[ze(250)]=!1}[ze(232)](){this[ze(235)]=!0}[ze(192)](){this[ze(235)]=!1}}class Ze extends Error{}class Be extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ni={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ai extends Ii{static create(t){return xi[t]||(xi[t]=new Ai(t)),xi[t]}static resetCache(){xi={},Ni={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ni[s]||(Ni[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"})),Ni[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,(Ls({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 Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};let Mi={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Li{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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Di={},Ei={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=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?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return ji(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ns()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Bi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${qi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Wi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ps(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 Ns(){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 xs(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 Ds(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 Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ps(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 Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Bs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Bs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=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 Nn(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 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 xn(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 Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(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?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(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 Ln(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),Bn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Nn,Tn,xn),$n=mn(wn,Nn,Tn,xn),qn=mn(_n,Nn,Tn,xn),Yn=mn(Nn,Tn,xn);const Jn=mn(Nn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Nn,Tn,xn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Dn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Bs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ns()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Nr(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 Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Nr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ai.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=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(xs(i,"a")&&xs(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(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",Dr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Pr(t,e,i){return Fr(Ls(t),e,i)}function Lr(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,Ps(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=Ls(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null: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=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Wi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=Br,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=qr,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,Us(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,Bn],[Wn,$n],[Hn,qn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Ln],[jn,Ln],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,Bn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Nr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ps(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Pr(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(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return 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 xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new 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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(209)](t)[i(220)](e),n=io[i(217)](),r=n[i(228)]({days:1})[i(221)](i(223));let o,a;return s[i(225)](n,i(223))?(o=s[i(221)](i(223))[i(219)](),a=s[i(215)]()):s[i(225)](r,i(223))?(o=r[i(219)](),a=s[i(215)]()):s[i(225)](n,i(222))?(o=s[i(221)](i(222))[i(219)](),a=s[i(230)]||""):s[i(225)](n,i(233))?(o=s[i(221)](i(213))[i(219)](),a=s[i(231)]||""):(o=s[i(221)](i(233))[i(219)](),a=String(s[i(233)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=209]})(t,e)}function oo(){const t=["toRelativeCalendar","21160pAmPKL","local","18dShKBW","toJSDate","setLocale","startOf","week","day","1174656INHapk","hasSame","81IBLXKE","1197oeNltN","minus","13504116esNNgZ","weekdayLong","monthLong","20ReCubK","year","213170WfwZaR","fromJSDate","65994zBlSne","11MiapIr","38024CqLVOs","month","46226wbXuBD"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(434841===-parseInt(e(214))/1+parseInt(e(218))/2*(-parseInt(e(210))/3)+-parseInt(e(232))/4*(parseInt(e(216))/5)+parseInt(e(224))/6+parseInt(e(227))/7*(-parseInt(e(212))/8)+parseInt(e(226))/9*(parseInt(e(234))/10)+-parseInt(e(211))/11*(-parseInt(e(229))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=142]})(t,e)}const lo=uo;function ho(){const t=["7626qKzXKJ","53724xvQjQm","1419796usLdVo","locale","_revisionActions","ck-revision-history-sidebar__time-period","246517OswilY","find","231ESYNor","select","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","revisionViews","remove","3311472Akklyz","delegate","span","startDate","add","6518124sRtxwK","uiLanguage","createCollection","setName","5wDtgOU","_requireRevisionName","addRevision","localizedPeriodName","1035156KZyPbl","setTemplate","div","removeRevision"];return(ho=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(236129===-parseInt(e(142))/1+parseInt(e(167))/2*(-parseInt(e(144))/3)+-parseInt(e(168))/4*(-parseInt(e(159))/5)+-parseInt(e(163))/6+-parseInt(e(169))/7+parseInt(e(150))/8+parseInt(e(155))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[lo(153)];[lo(148)];[lo(171)];[lo(160)];constructor(t,e,i,s){const n=lo;super(t);const r=no(e,this[n(170)][n(156)])[n(162)];this[n(153)]=e,this[n(148)]=this[n(157)](),this[n(171)]=i,this[n(160)]=s,this[n(148)][n(151)](n(145)).to(this),this[n(148)][n(151)](n(158)).to(this),this[n(164)]({tag:n(165),attributes:{class:["ck",n(172)]},children:[{tag:n(152),attributes:{class:["ck",n(147)]},children:[{text:r}]},{tag:n(165),attributes:{class:["ck",n(146)]},children:this[n(148)]}]})}[lo(161)](t){const e=lo,i=new He(this[e(170)],t,this[e(171)],this[e(160)]);this[e(148)][e(154)](i)}[lo(166)](t){const e=lo,i=this[e(148)][e(143)]((e=>e.id===t.id));this[e(148)][e(149)](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-=395]})(t,e)}function go(){const t=["498162WOBcvr","5315517ATnCXD","ck-revision-history-sidebar__header__label","10dAiRzC","setTemplate","6aNQBwq","499156DWwHAY","30385NJgiNO","ck-revision-history-sidebar__header","span","652074Tpyhut","56ODbWPr","Revision history","8429938dMySHD","ck-reset_all","258BHlKCM","content","2505084hrHRcn","div"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(366593===-parseInt(e(412))/1+-parseInt(e(397))/2*(-parseInt(e(411))/3)+parseInt(e(404))/4+-parseInt(e(413))/5*(-parseInt(e(402))/6)+-parseInt(e(406))/7*(parseInt(e(398))/8)+parseInt(e(407))/9+-parseInt(e(409))/10*(parseInt(e(400))/11))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(403)]=mt.IconHistory,this[e(410)]({tag:e(405),attributes:{class:["ck",e(401),e(395)]},children:[i,{tag:e(396),attributes:{class:["ck",e(408)]},children:[Q(t,e(399))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["ck-revision-history-sidebar__timeline","240785UpLhGE","add","some","flat","get","getTime","416889ffOKPk","setName","createdAt","selectRevision","render","select","unhighlight","_removeRevision","map","createCollection","_requireRevisionName","1531449dQLaJS","revisionSelected","uiLanguage","addRevision","bindTemplate","ck-rounded-corners","ck-revision-history-sidebar","2crUFyL","_revisionActions","ck-reset","revisionViews","startDate","2925708zzpOdh","timePeriodViews","find","setTemplate","_addRevision","fire","24JXaaOM","highlight","deselect","set","div","remove","167013BZBlmy","_revisions","isEnabled","273664neeecU","delegate","locale","_getTimePeriodViewByStartDate","highlightRevisions","removeRevision","revisionSetName","ck-disabled","694101tjxAKV"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(255371===parseInt(e(469))/1+-parseInt(e(487))/2*(parseInt(e(515))/3)+parseInt(e(507))/4+parseInt(e(517))/5+parseInt(e(492))/6+-parseInt(e(504))/7+parseInt(e(498))/8*(-parseInt(e(480))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(493)];[wo(505)];[wo(488)];[wo(479)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(484)];this[n(493)]=this[n(478)](),this[n(493)][n(508)](n(474)).to(this),this[n(493)][n(508)](n(470)).to(this),this[n(505)]=e,this[n(488)]=i,this[n(479)]=s,this.on(n(474),((t,e)=>{const i=n;this[i(497)](i(481),e)})),this.on(n(470),((t,e)=>{const i=n;this[i(497)](i(513),e)})),this[n(501)](n(506),!1),this[n(495)]({tag:n(502),attributes:{class:["ck",n(489),n(485),n(486)]},children:[new yo(t),{tag:n(502),attributes:{class:["ck",n(516),r.if(n(506),n(514),(t=>!t))]},children:this[n(493)]}]})}[wo(473)](){const t=wo;super[t(473)]();for(const e of this[t(505)])this[t(496)](e);this[t(505)].on(t(464),((e,i)=>{this[t(496)](i)})),this[t(505)].on(t(503),((e,i)=>{this[t(476)](i)}))}get[wo(490)](){const t=wo;return this[t(493)][t(477)]((e=>e[t(490)][t(477)]((t=>t))))[t(466)]()}[wo(472)](t){const e=wo;for(const i of this[e(490)])t&&t.id===i.id?i[e(474)]():i[e(500)]()}[wo(511)](t){const e=wo;for(const i of this[e(490)])t[e(465)]((({id:t})=>t===i.id))?i[e(499)]():i[e(475)]()}[wo(496)](t){const e=wo,i=no(t[e(471)],this[e(509)][e(482)])[e(491)];let s=this[e(493)][e(467)](0);s&&s[e(491)][e(468)]()===i[e(468)]()||(s=new fo(this[e(509)],i,this[e(488)],this[e(479)]),this[e(493)][e(464)](s)),s[e(483)](t)}[wo(476)](t){const e=wo,i=no(t[e(471)],this[e(509)][e(482)])[e(491)];this[e(510)](i)[e(512)](t)}[wo(510)](t){const e=wo;return this[e(493)][e(494)]((i=>i[e(491)][e(468)]()===t[e(468)]()))}}const Oo=No;function No(t,e){const i=Ao();return(No=function(t,e){return i[t-=336]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(946356===-parseInt(e(394))/1+parseInt(e(345))/2+parseInt(e(387))/3*(parseInt(e(365))/4)+-parseInt(e(403))/5+parseInt(e(396))/6+parseInt(e(412))/7*(-parseInt(e(340))/8)+-parseInt(e(357))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class To extends W.Plugin{[Oo(388)];[Oo(367)];[Oo(411)];static[Oo(344)]=[Oo(347),Oo(385),Oo(395)];static[Oo(386)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(354),action:({plugins:e},i)=>{const s=t,n=e[s(390)](ee),r=n[s(336)];let o=n[s(376)][s(342)],a=i.id;r[s(356)](o)>r[s(356)](a)&&([o,a]=[a,o]),n[s(353)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(390)](ee);return!(n[s(336)][s(397)](n[s(376)])[s(371)]>2||i[s(349)])}},restoreRevision:{name:t(355),action:(e,{id:i})=>{const s=t;e[s(360)][s(390)](s(389))[s(404)](i)},isVisible:({plugins:e},i)=>!!e[t(390)](ee)[t(336)][t(401)](i.id)},nameRevision:{name:t(369),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(390)](ee),o=r[n(336)][n(413)](i);r[n(353)](i,o),s[n(380)](),s[n(392)][n(358)]()}}}}();static get[Oo(351)](){return Oo(368)}static get[Oo(409)](){return!0}static get[Oo(341)](){return!0}static get[Oo(400)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(388)]=t[e(364)][e(390)](ee),this[e(367)]=this[e(388)][e(336)],this[e(411)]=null}[Oo(359)](){const t=Oo,e=this[t(367)][t(375)],i=this[t(372)](),s=this[t(415)][t(360)][t(390)](t(373));this[t(411)]=new So(this[t(415)][t(410)],e,i,this[t(415)][t(360)][t(390)](t(374))),this[t(411)].on(t(383),this[t(339)][t(379)](this)),this[t(411)].on(t(391),this[t(377)][t(379)](this)),this[t(411)][t(379)](t(348)).to(this[t(388)]),this[t(411)][t(363)].on(t(399),((e,i)=>{const s=t;i[s(362)].on(s(399),((t,e)=>{const i=s;e[i(379)](i(348),i(381)).to(this[i(388)])}))})),this[t(411)][t(408)](),this[t(405)](this[t(415)][t(414)],t(366),this[t(350)][t(379)](this)),this[t(405)](this[t(388)],t(416),this[t(406)][t(379)](this)),s[t(352)](this[t(411)][t(382)])}[Oo(343)](){const t=Oo;this[t(411)][t(382)][t(338)](),this[t(411)][t(343)]()}[Oo(350)](){const t=Oo,e=this[t(367)][t(402)](0);if(e){const i=this[t(367)][t(413)](e.id);this[t(388)][t(353)](e,i)}}[Oo(339)](t,e){const i=Oo,s=this[i(367)][i(402)](e.id),n=this[i(367)][i(413)](s.id);this[i(388)][i(353)](s,n)}[Oo(377)](t,e){const i=Oo;this[i(367)][i(402)](e.id)[i(378)](e[i(398)])}[Oo(406)](t,e,i){const s=Oo,n=this[s(367)][s(397)](i);n[s(371)]>2?(this[s(411)][s(370)](n),this[s(411)][s(346)](null)):(this[s(411)][s(370)]([]),this[s(411)][s(346)](n[0]))}[Oo(372)](){const t=Oo,e=this[t(415)],i=To[t(386)],s=e[t(360)][t(390)](t(407))||To[t(344)];if(s[t(371)])return s[t(337)]((s=>{const n=t,r=n(417)==typeof s?Object[n(384)]({},i[s]):s;return r[n(393)]=r[n(393)][n(379)](this,e),r[n(361)]&&(r[n(361)]=r[n(361)][n(379)](this,e)),r}))}}const xo=To;function Ao(){const t=["action","306261JCrzEU","nameRevision","9146484YyKBym","getRevisionsInDiff","name","add","requires","getLaterVisibleRevision","getRevision","7691615DaNmDW","restoreRevisionCallback","listenTo","_handleDiffChange","revisionHistory.revisionActions","render","isOfficialPlugin","locale","_sidebarView","1760941lFvSXi","getEarlierVisibleRevision","data","editor","change:diff","string","repository","map","remove","_handleRevisionSelected","16gOmYeZ","isPremiumPlugin","newRevisionId","destroy","defaultRevisionActions","3622720yVffHC","selectRevision","compareAgainstSelected","isEnabled","isSelected","_handleEditorDataReady","pluginName","appendChild","compare","Compare against selected","Restore this revision","getIndex","15797331PdyGDd","select","init","config","isVisible","revisionViews","timePeriodViews","plugins","244FshPHp","ready","_revisionsRepository","RevisionsSidebar","Name this revision","highlightRevisions","length","_createRevisionActions","revisionHistory.viewerSidebarContainer","revisionHistory.requireRevisionName","_revisions","diff","_handleRevisionSetName","setName","bind","focus","isReady","element","revisionSelected","assign","restoreRevision","availableRevisionActions","84273yPooKF","_revisionViewer","revisionHistory","get","revisionSetName","fieldView"];return(Ao=function(){return t})()}function Ro(){const t=["destroy","config","editing","isFocused","30yeUFOF","render","componentFactory","_initToolbar","bind","stickyPanel","toolbar","init","document","viewportOffset","3776112FrEmqN","isActive","202296kjWDuY","addToolbar","name","attachDomRoot","element","getRoot","153846nnduXM","setEditableElement","14ywwJxI","view","994792kpxSUS","_toolbarConfig","ready","rootName","viewportTopOffset","fire","_view","replace","limiterElement","detachDomRoot","focusTracker","_elementReplacer","211485tUwnzP","editable","restore","641088BYhScQ","editor","get","fillFromConfig","16910CkzbAA"];return(Ro=function(){return t})()}function Do(t,e){const i=Ro();return(Do=function(t,e){return i[t-=216]})(t,e)}const Vo=Do;!function(t){const e=Do,i=t();for(;;)try{if(129822===-parseInt(e(236))/1+-parseInt(e(259))/2+parseInt(e(232))/3+parseInt(e(253))/4+parseInt(e(229))/5*(-parseInt(e(241))/6)+parseInt(e(261))/7*(-parseInt(e(217))/8)+parseInt(e(251))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends pt.EditorUI{[Vo(223)];[Vo(218)];[Vo(228)];get[Vo(216)](){return this[Vo(223)]}constructor(e,i){const s=Vo;super(e),this[s(223)]=i,this[s(218)]=(0,pt.normalizeToolbarConfig)(e[s(238)][s(234)](s(247))),this[s(228)]=new t.ElementReplacer}get[Vo(257)](){const t=Vo;return this[t(216)][t(257)]}[Vo(248)](t){const e=Vo,i=this[e(233)],s=this[e(216)],n=i[e(239)][e(216)],r=s[e(230)],o=n[e(249)][e(258)]();r[e(255)]=o[e(220)],s[e(242)]();const a=r[e(257)];this[e(260)](r[e(255)],a),s[e(230)][e(245)](e(240)).to(this[e(227)]),n[e(256)](a),this[e(228)][e(224)](t,this[e(257)]),this[e(244)](),this[e(222)](e(219))}[Vo(237)](){const t=Vo;super[t(237)]();const e=this[t(216)],i=this[t(233)][t(239)][t(216)];this[t(228)][t(231)](),i[t(226)](e[t(230)][t(255)]),e[t(237)]()}[Vo(244)](){const t=Vo,e=this[t(216)];e[t(246)][t(245)](t(252)).to(this[t(227)],t(240)),e[t(246)][t(225)]=e[t(257)],e[t(246)][t(245)](t(221)).to(this,t(250),(({top:t})=>t)),e[t(247)][t(235)](this[t(218)],this[t(243)]),this[t(254)](e[t(247)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;function Fo(){var t=["2092671UbSjkB","content","top","shouldToolbarGroupWhenFull","add","175JItMbD","_editable","479684oposat","51054TYOtAf","23628wDRPsk","editable","main","2PGuHPm","1547qXbGrz","1207365kAVzFI","190NVzxEU","stickyPanel","119130bABGcr","render","4qrQxGs","toolbar","8KtNTpz","1532508oLNvOg"];return(Fo=function(){return t})()}var jo=Po;function Po(t,e){var i=Fo();return(Po=function(t,e){return i[t-=357]})(t,e)}!function(t){for(var e=Po,i=t();;)try{if(281372===parseInt(e(375))/1*(-parseInt(e(370))/2)+parseInt(e(362))/3+parseInt(e(359))/4*(parseInt(e(377))/5)+parseInt(e(371))/6*(parseInt(e(368))/7)+-parseInt(e(361))/8*(parseInt(e(363))/9)+-parseInt(e(378))/10*(parseInt(e(357))/11)+-parseInt(e(372))/12*(-parseInt(e(376))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends pt.BoxedEditorUIView{[jo(369)];[jo(379)];[jo(360)];get[jo(373)](){return this[jo(369)]}constructor(t,e,i={}){var s=jo;super(t),this[s(379)]=new pt.StickyPanelView(t),this[s(360)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(366)]}),this[s(369)]=new pt.InlineEditableUIView(t,e)}[jo(358)](){var t=jo;super[t(358)](),this[t(379)][t(364)][t(367)](this[t(360)]),this[t(365)][t(367)](this[t(379)]),this[t(374)][t(367)](this[t(373)])}}const zo=Uo;function Uo(t,e){const i=Ho();return(Uo=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(518774===parseInt(e(259))/1+parseInt(e(265))/2*(-parseInt(e(268))/3)+-parseInt(e(254))/4*(parseInt(e(256))/5)+parseInt(e(269))/6+-parseInt(e(274))/7+parseInt(e(252))/8*(parseInt(e(258))/9)+parseInt(e(264))/10*(parseInt(e(260))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[zo(261)];get ui(){return this[zo(261)]}constructor(t,e){const i=zo;super(e),this[i(272)]=t,this[i(255)][i(266)][i(263)]();const s=new Lo(this[i(257)],this[i(262)][i(279)],{shouldToolbarGroupWhenFull:!0});this[i(261)]=new Eo(this,s)}[zo(275)](){const t=zo;return this[t(253)](),this.ui[t(275)](),super[t(275)]()}static async[zo(270)](t,e){const i=zo,s=new this(t,e);return await s[i(273)](),await s.ui[i(251)](t),await s[i(267)][i(251)](s[i(276)][i(250)](i(278))||""),s[i(277)](i(271)),s}}function Ho(){const t=["709126inHVVC","11pluANb","_ui","editing","createRoot","7858940tMsjvd","2AIhNxE","document","data","1880583JobBnn","3098028kohPrE","create","ready","sourceElement","initPlugins","4064389rLXJJi","destroy","config","fire","initialData","view","get","init","88mUPNxm","updateSourceElement","1916vnfrAd","model","5645tyDoAW","locale","209205UUKlRG"];return(Ho=function(){return t})()}const Zo=$o;function Bo(){const t=["bind","users","save","820932YjCtda","_enhanceCloseRevisionViewerCallback","isReadOnly","removeAttribute","enableReadOnlyMode","insert","156NQvduH","restoreRevision","397115OLjfoI","change","rootName","saveRevision","RestrictedEditingMode","then","long","toJSON","showRevisionViewerCallback","_restoreRevision","RevisionTracker","includes","RevisionHistoryUtils","none","_recalculatePageBreaks","isReady","revisionHistory.editorContainer","getRevisionRootsAttributes","data","selection","refreshPositioning","RevisionViewer","commands","isRevisionViewerOpen","create","markers","isPremiumPlugin","2ZGTLmv","getRevisions","getUser","isAttached","removeSelectionAttribute","fromCharCode","hide","uiLanguage","Dialog","revisionHistory.viewerEditorElement","Restored","pluginName","plugins","result","getAttributeKeys","730684KsKjNJ","lazyRoots","_viewerEditor","RevisionHistoryUI","requires","config","element","restrictedEditingException","toolbar","from","removeMarker","addRevisionData","error","name","RevisionHistory","has","getRevision","_closeRevisionViewer","push","revisionHistory","getMarkersGroup","revisionHistory.closeRevisionViewerCallback","170YwPxNj","block","changesNavigation","isAnonymous","keys","remove","RevisionsRepository","map","join","detachRoot","addUser","isEnabled","PaginationLookup","409581Vdfvaa","fromVersion","revisionHistory.viewerContainer","end","getRoot","3375984voPgcl","revisionHistory.restoreRevisionCallback","style","createdAt","refreshVisibility","model","DocumentOutlineUI","view","201369OJqTbh","get","Autosave","toLocaleDateString","_getRevisionViewerEditorConfig","define","14wAyBQE","toVersion","_cleanUp","indexOf","update","isOfficialPlugin","disableReadOnlyMode","parse","isOpen","_showRevisionViewer","3lKCFzF","translations","exitToEditing","closeRevisionViewerCallback","$graveyard","_enhanceShowRevisionViewerCallback","revision-history-missing-configuration","repository","DocumentOutline","editor","set","display","creator","catch","Annotations","Users","loadRevisionData","revision-history-viewer-opened","setSelection","toLocaleTimeString","destroy","revisionHistory.showRevisionViewerCallback","addRoot","adapter","enqueueChange","106436OBrAXJ","revisionHistory.requireRevisionName","createRangeIn","document","numeric","init","locale","getRevisionDocumentData","setAttribute","RevisionViewerIntegration","_update","roots"];return(Bo=function(){return t})()}function $o(t,e){const i=Bo();return($o=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(401390===parseInt(e(531))/1*(-parseInt(e(622))/2)+-parseInt(e(547))/3*(-parseInt(e(637))/4)+-parseInt(e(595))/5+-parseInt(e(587))/6*(-parseInt(e(537))/7)+-parseInt(e(523))/8+-parseInt(e(518))/9*(-parseInt(e(505))/10)+-parseInt(e(572))/11*(parseInt(e(593))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(486),Zo(599)];class Yo extends W.Plugin{[Zo(635)];static get[Zo(633)](){return Zo(581)}static get[Zo(542)](){return!0}static get[Zo(621)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(512)]((t=>String[e(627)](t)))[e(513)]("")}super(t),this[e(635)]=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 W.Plugin{[Zo(639)];static get[Zo(633)](){return Zo(497)}static get[Zo(542)](){return!0}static get[Zo(621)](){return!0}static get[Zo(487)](){return[ct,jt]}constructor(e){const i=Zo;if(super(e),!this[i(556)][i(488)][i(532)](i(502)))throw new t.CKEditorError(i(553),this);this[i(639)]=null,this[i(557)](i(618),!1),this[i(556)][i(488)][i(536)](i(568),(t=>this[i(546)]({...t,translations:this[i(556)][i(578)][i(548)]}))),this[i(556)][i(488)][i(536)](i(504),(t=>this[i(500)](t))),this[i(556)][i(488)][i(536)](i(524),(t=>this[i(604)](t))),this[i(556)][i(488)][i(536)](i(573),!1),this[i(552)](),this[i(588)]()}set[Zo(570)](t){const e=Zo;this[e(556)][e(634)][e(532)](e(605))[e(570)]=t}get[Zo(570)](){const t=Zo;return this[t(556)][t(634)][t(532)](t(605))[t(570)]}[Zo(494)](t){const e=Zo;return this[e(556)][e(634)][e(532)](e(605))[e(494)](t)}[Zo(499)](t){const e=Zo;return this[e(556)][e(634)][e(532)](e(511))[e(499)](t)}[Zo(623)](t){const e=Zo;return this[e(556)][e(634)][e(532)](e(511))[e(623)](t||{toJSON:!1})}[Zo(535)](){const e=Zo,i=this[e(556)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(634)][e(532)](e(605)),r=i[e(634)][e(532)](e(562))[e(585)];return s[e(491)]=[e(549),e(594),e(507)],delete s[e(638)],s[e(634)][e(501)](Yo,ee,be,class extends W.Plugin{static get[e(487)](){return[ee,e(562)]}[e(577)](){const s=e,o=this[s(556)][s(634)][s(532)](s(562));for(const t of r)t[s(508)]||o[s(624)](t.id)||o[s(515)](t);const a=n[s(554)][s(623)]();let c=null;const u=this[s(556)][s(634)][s(532)](s(616));u[s(570)]=n[s(570)],u[s(584)](s(516)).to(n),this[s(556)][s(617)][s(532)](s(594))[s(584)](s(516)).to(i,s(589),(t=>!t));for(const e of a){const i=null===e[s(559)];if(i&&e[s(538)]===e[s(519)])continue;const r=e[s(602)]();u[s(494)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(582)](r,o);else if(!o){const e=a[u(602)]();e.id=(0,t.uid)(),n[u(598)](e,a[u(538)])[u(600)]((t=>{c=t}))}}else e[u(582)](r,o)}))}}},xo),s}[Zo(552)](){const t=Zo,e=this[t(556)][t(488)][t(532)](t(502))[t(603)];this[t(556)][t(488)][t(557)](t(568),(async()=>{const i=t;this[i(556)][i(591)](i(564));const s=this[i(556)][i(634)][i(532)](i(605));if(this[i(556)][i(634)][i(498)](i(533))){const t=this[i(556)][i(634)][i(532)](i(533));await t[i(586)]()}else await s[i(541)]();if(this[i(556)][i(634)][i(498)](i(517))&&this[i(556)][i(634)][i(532)](i(517))[i(609)](),this[i(556)][i(634)][i(498)](i(630))){const t=this[i(556)][i(634)][i(532)](i(630));t[i(545)]&&t[i(628)]()}const n=this[i(535)]();return e(n)[i(600)]((t=>{const e=i;return this[e(639)]=t,this[e(556)][e(634)][e(498)](e(561))&&this[e(556)][e(634)][e(532)](e(561))[e(527)](),this[e(556)][e(634)][e(498)](e(555))&&(this[e(556)][e(634)][e(532)](e(529))[e(530)][e(489)][e(525)][e(558)]=e(608)),t}))[i(560)]((t=>(console[i(495)](t),this[i(556)][i(543)](i(564)),null)))}))}[Zo(588)](){const t=Zo,e=this[t(556)][t(488)][t(532)](t(502))[t(550)];this[t(556)][t(488)][t(557)](t(504),(()=>(this[t(556)][t(634)][t(498)](t(517))&&this[t(556)][t(634)][t(532)](t(517))[t(609)](),this[t(556)][t(634)][t(498)](t(555))&&(this[t(556)][t(634)][t(532)](t(529))[t(530)][t(489)][t(525)][t(558)]=""),this[t(639)][t(634)][t(532)](t(616))[t(539)](),e(this[t(639)])[t(600)]((()=>{const e=t;if(this[e(556)][e(543)](e(564)),this[e(639)]=null,this[e(556)][e(634)][e(498)](e(561))){const t=this[e(556)][e(634)][e(532)](e(561));t[e(527)](),t[e(615)]()}})))))}[Zo(546)](t){const e=Zo,i=this[e(556)][e(488)][e(532)](e(611)),s=this[e(556)][e(488)][e(532)](e(520)),n=this[e(556)][e(488)][e(532)](e(631));return Wo[e(619)](n,t)[e(600)]((t=>(s[e(525)][e(558)]=e(506),i[e(525)][e(558)]=e(608),this[e(618)]=!0,t)))}[Zo(500)](t){const e=Zo,i=this[e(556)][e(488)][e(532)](e(611));return this[e(556)][e(488)][e(532)](e(520))[e(525)][e(558)]=e(608),i[e(525)][e(558)]="",this[e(618)]=!1,t[e(567)]()}async[Zo(604)](t){const e=Zo,i=this[e(556)],s=this[e(639)][e(634)][e(532)](e(616)),n=i[e(634)][e(532)](e(605)),r=i[e(634)][e(532)](e(607)),o=s[e(554)][e(499)](t);let a,c,u;try{await r[e(563)](o,this[e(570)]),a=r[e(579)](o),c=r[e(612)](o)}catch(t){return void console[e(495)](t)}i[e(528)][e(596)]((t=>{const s=e;for(const e of Array[s(492)](i[s(528)][s(620)][s(503)](s(490))))t[s(493)](e)})),s[e(610)]=!1,i[e(528)][e(571)]((t=>{const s=e;t[s(565)](null),t[s(626)](i[s(528)][s(575)][s(614)][s(636)]());const n=Object[s(509)](a);for(const e of i[s(528)][s(575)][s(583)])s(551)!=e[s(597)]&&e[s(625)]()&&!n[s(606)](e[s(597)])&&t[s(514)](e);for(const e of n){let n=i[s(528)][s(575)][s(522)](e);n&&n[s(625)]()||(n=t[s(569)](e));const r=c[e],o=Object[s(509)](r),u=a[e];for(const e of n[s(636)]())o[s(606)](e)||t[s(590)](e,n);for(const i of o)t[s(580)](i,c[e][i],n);t[s(510)](t[s(574)](n)),t[s(592)](i[s(613)][s(544)](u,n),n,0)}}));const l=Q(i[e(578)],e(632));return u=o[e(496)]?-1==o[e(496)][e(540)](l)?l+": "+o[e(496)]:o[e(496)]:l+": "+o[e(526)][e(534)](i[e(578)][e(629)],{month:e(601),day:e(576)})+", "+o[e(526)][e(566)](i[e(578)][e(629)],{hour:e(576),minute:e(576)}),await n[e(598)]({name:u}),s[e(610)]=!0,i[e(488)][e(532)](e(502))[e(550)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=267]})(t,e)}function Ko(){var t=["1658090HNoBIN","372QDlArB","4ukHAGX","415oTvghf","1267920sfrOyL","14412OrJQAy","16qvUgWR","60039tEjhAo","274851eFiDsj","858IAREpe","4688915IuerIC"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(161276===parseInt(e(277))/1*(-parseInt(e(269))/2)+parseInt(e(276))/3*(parseInt(e(270))/4)+parseInt(e(271))/5*(parseInt(e(273))/6)+parseInt(e(275))/7+-parseInt(e(274))/8*(-parseInt(e(272))/9)+parseInt(e(268))/10+-parseInt(e(267))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>ft,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Go,RevisionViewerLoadingOverlay:()=>_e,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function s(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,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,n,s,r)=>{const l=e?.(i,n,s,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)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&M(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=L(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:E(s[t+1])?[]:{}}V(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const n=t[e];return void 0===n?U(e)?Z(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function H(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=q;function q(t,e){const i=B();return(q=function(t,e){return i[t-=136]})(t,e)}function B(){const t=["removeAttribute","52686AlaIij","diffData","3CVjIai","setName","set","map","954544zAHeoe","33rfneLI","toJSON","model","name","fromVersion","3271250KgrYan","creatorId","authors","1979445VKLmVN","_update","authorsIds","creator","attributes","fire","898746zxpYWN","3145429RSsEjP","6bNvujE","toVersion","createdAt","1brhyLC","setAttribute","1136uFEtyW","2077080CVtFwR"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(416850===-parseInt(e(144))/1*(-parseInt(e(139))/2)+-parseInt(e(151))/3*(parseInt(e(155))/4)+parseInt(e(164))/5*(parseInt(e(141))/6)+parseInt(e(140))/7+-parseInt(e(146))/8*(parseInt(e(149))/9)+-parseInt(e(161))/10+parseInt(e(156))/11*(parseInt(e(147))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends((0,t.ObservableMixin)()){id;[$(136)];[$(163)];[$(150)];[$(142)];[$(160)];[$(158)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(136)]=e[i(136)]||null,this[i(163)]=e[i(163)]||[],this[i(150)]=e[i(150)]||null,this[i(142)]=e[i(142)]||0,this[i(160)]=e[i(160)]||0,this[i(153)](i(159),e[i(159)]||""),this[i(153)](i(143),e[i(143)]||new Date),this[i(153)](i(137),e[i(137)]||{})}[$(152)](t){this[$(165)]({name:t})}[$(145)](t,e){const i=$,n=A(this[i(137)]);W(n,t,e),this[i(165)]({attributes:n})}[$(148)](t){const e=$,i=A(this[e(137)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=L(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]&&U(e))return H(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(165)]({attributes:i})}[$(165)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(159),i(143),i(150),i(163),i(137),i(142),i(160),i(162)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(163)]&&(s[i(166)]=s[i(163)][i(154)]((t=>t.id)),delete s[i(163)]),this[i(138)](i(165),s,e))}[$(157)](){const t=$;return{id:this.id,name:this[t(159)],creatorId:this[t(136)]?this[t(136)].id:null,authorsIds:this[t(163)][t(154)]((t=>t.id)),diffData:this[t(150)],createdAt:this[t(143)],attributes:this[t(137)],fromVersion:this[t(160)],toVersion:this[t(142)]}}}var J=i(782),G=i(211),Q=i(783);const K=X;function X(t,e){const i=tt();return(X=function(t,e){return i[t-=189]})(t,e)}function tt(){const t=["fromCharCode","isPremiumPlugin","join","getEarlierVisibleRevision","69760UeUwZj","oldRevisionId","addRevision","reverse","5ZtlFlx","getLaterVisibleRevision","creatorId","toVersion","get","push","fromVersion","8850642lPgscA","3652749BAWTiD","isOfficialPlugin","RevisionsRepository","name","getRevisions","3MlhIex","toJSON","requires","98DngPIO","createRevision","authorsIds","getUser","349969jwnxwY","attributes","add","data","getIndex","4142628WJphBQ","Users","getRevisionsIterator","pluginName","href","diffData","from","getRevision","afterInit","10Ggguyj","33UczIUy","_revisions","newRevisionId","createdAt","earlier","map","getRevisionsInDiff","491220hLQOXl","plugins","length","editor","isNaN","later","5430812kMyLxG"];return(tt=function(){return t})()}!function(t){const e=X,i=t();for(;;)try{if(850615===-parseInt(e(193))/1+-parseInt(e(215))/2+-parseInt(e(243))/3*(-parseInt(e(221))/4)+parseInt(e(230))/5*(-parseInt(e(237))/6)+parseInt(e(189))/7*(parseInt(e(226))/8)+parseInt(e(238))/9*(parseInt(e(207))/10)+-parseInt(e(208))/11*(-parseInt(e(198))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[K(209)];static get[K(245)](){return[G.Users]}static get[K(201)](){return K(240)}static get[K(239)](){return!0}static get[K(223)](){return!0}get[K(217)](){const t=K;return this[t(209)][t(217)]}constructor(e){const i=K;super(e),this[i(209)]=new t.Collection}[K(206)](){!async function(e){const i=k([67,111,56,79,72,65,114,48,120,105,115,51,49,57,109,102,119,78,113,74,107,106,50,70,76,116,84,110,87,73,98,53,66,122,85,86,83,71,77,103,55,97,112,89,100,90,99,81,117,75,118,82,80,121,108,88,52,101,69,104,54,68]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),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=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(219)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)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([67]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)})):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=X;return t[e(213)]((t=>String[e(222)](t)))[e(224)]("")}!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()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(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,s,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])])?s/1e3:1749081600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(202)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||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{return k([73,110,118,97,108,105,100])}}())}(this)}[K(190)](t){const e=K,i=this[e(218)][e(216)][e(234)](e(199));return new Y({id:t.id,name:t[e(241)],creator:t[e(232)]?i[e(192)](t[e(232)]):null,diffData:t[e(203)]||t[e(196)],authors:t[e(191)][e(213)]((t=>i[e(192)](t))),createdAt:new Date(t[e(211)]),attributes:t[e(194)],fromVersion:t[e(236)],toVersion:t[e(233)]})}[K(228)](t,e=0){const i=K;this[i(209)][i(195)](t,e)}[K(205)](t){const e=K;return this[e(209)][e(234)](t)}[K(242)](t={toJSON:!1}){const e=K,i=Array[e(204)](this[e(209)]);return i[e(229)](),t[e(244)]?i[e(213)]((t=>t[e(244)]())):i}[K(197)](t){const e=K;return this[e(209)][e(197)](t)}[K(225)](t){const e=K,[,i]=this[e(200)](t,{direction:e(212)});return i}[K(231)](t){const e=K,[,i]=this[e(200)](t,{direction:e(220)});return i}[K(214)](t){const e=K,i=[];for(const n of this[e(200)](t[e(210)]))if(i[e(235)](n),n.id===t[e(227)])break;return i}*[K(200)](t,{direction:e=K(212),filter:i=()=>!0}={}){const n=K,s=n(212)===e?1:-1;let r=this[n(209)][n(234)](t),o=this[n(197)](r);for(yield r;r;){if(o+=s,r=this[n(205)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["children","startsWith","attributes","string","fillerOffset","toModel","98451QifQKy","marked","useFillerType","_typeCharToViewClass","_removeRevisionMarkers","7BXKnzm","createElement","innerHTML","229005tunjLx","length","get","2200360ORJkKJ","div","processor","807270GWmczM","isPremiumPlugin","forEach","customProperties","_getTypeCharForViewElement","from","isAttached","isOfficialPlugin","parse","revision-end","diffData","type","editing","domConverter","append","collaboration.channelId","getFillerOffset","htmlProcessor","loadRevisionData","data","name","_makeModelFromViewString","_viewClassToTypeChar","config","view","pluginName","domChildrenToView","insertions","document","_appendChild","map","RevisionHistoryUtils","toData","_setCustomProperty","default","getRevision","render","revision-start","910664idyPDD","domDocument","attachChange","childNodes","getRevisionDocumentData","_getViewFromDiffObj","viewChildrenToDom","constructor","editor","attributesAfter","467607JMqPWI","filter","3336992EZVihq","data-revision-","getRevisionRootsAttributes"];return(it=function(){return t})()}const nt=st;function st(t,e){const i=it();return(st=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(388954===-parseInt(e(333))/1+-parseInt(e(312))/2+parseInt(e(322))/3+parseInt(e(344))/4+-parseInt(e(341))/5+-parseInt(e(347))/6*(parseInt(e(338))/7)+parseInt(e(324))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class rt extends J.Plugin{static get[nt(299)](){return nt(305)}static get[nt(281)](){return!0}static get[nt(275)](){return!0}[nt(296)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(336)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(292)](t,e){const i=nt;if(t[i(284)]||!e)return;const n=this[i(320)][i(297)][i(343)](i(289)),s=await e[i(309)]({channelId:n,revisionId:t.id});t[i(284)]=s[i(284)]}[nt(316)](t){const e=nt,i={};for(const n in t[e(284)]){if(t[e(284)][n][e(314)]&&!t[e(284)][n][e(314)][e(280)])continue;const s=this[e(337)](JSON[e(282)](t[e(284)][n][e(301)])),r=this[e(320)][e(286)][e(298)][e(302)],o=new Q.ViewDocumentFragment(r,s[e(304)]((t=>this[e(317)](t,!1))));this[e(320)][e(293)][e(346)][e(335)](e(334)),i[n]=this[e(320)][e(293)][e(346)][e(306)](o),this[e(320)][e(293)][e(346)][e(335)](e(308))}return i}[nt(326)](t){const e=nt,i={};for(const n in t[e(284)])t[e(284)][n][e(314)]&&!t[e(284)][n][e(314)][e(280)]||(i[n]=t[e(284)][n][e(321)]||{});return i}[nt(278)](t){const e=nt;return this[e(296)][e(343)](t[e(319)])}[nt(317)](t,e){const i=nt,n=this[i(320)][i(286)][i(298)][i(302)];if(i(330)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(285)]||"r"==t[i(285)]?[]:t[i(327)][i(304)]((t=>this[i(317)](t,e)));const o=this[i(336)][i(343)](t[i(285)])||Q.ViewElement,a=this[i(320)][i(293)][i(291)][i(287)];if(s=new o(n,t[i(294)],t[i(329)],r),"u"==t[i(285)]&&t[i(327)][0]){const r=t[i(327)][0];if(s[i(310)]=function(t){const e=i,n=t[e(339)](e(345));return n[e(340)]=r,n[e(315)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(303)](s);const e=Array[i(279)](a[i(318)](t,{bind:!1})),r=a[i(313)][i(339)](i(345));r[i(288)](...e),s=Array[i(279)](a[i(300)](r))[0]}}else if("r"==t[i(285)]&&t[i(327)][0]){const r=t[i(327)][0];if(s[i(310)]=function(t){t[i(340)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(303)](s);const e=Array[i(279)](a[i(318)](t,{bind:!1})),r=a[i(313)][i(339)](i(345));r[i(288)](...e);const o=Array[i(279)](a[i(300)](r));o[i(342)]>1?s[i(303)](o):s=o[0]}}if(t[i(277)])for(const[e,n]of t[i(277)])s[i(307)](e,n);const c=void 0===t[i(331)]?null:t[i(331)];return null!==c&&(s[i(290)]=()=>c),s}}[nt(295)](t){const e=nt,i=JSON[e(282)](t),n=this[e(320)][e(286)][e(298)][e(302)],s=new Q.ViewDocumentFragment(n,i[e(304)]((t=>this[e(317)](t,!0))));return this[e(320)][e(293)][e(332)](s)}[nt(337)](t){const e=nt;return(t=t[e(323)]((t=>!t[e(294)]||e(311)!==t[e(294)]&&e(283)!==t[e(294)])))[e(276)]((t=>{const i=e;i(330)!=typeof t&&(t[i(327)]=this[i(337)](t[i(327)]),t[i(329)]=t[i(329)][i(323)]((t=>!t[0][i(328)](i(325)))))})),t}}function ot(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function at(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 ct(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(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:return M(t.valueOf(),i.valueOf());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}const A=(n=n??new Map).get(t),V=n.get(i);if(null!=A&&null!=V)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ct(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex((e=>ct(o,e,void 0,t,i,n,x)));if(-1===a)return!1;s.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(!ct(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,x)||at(t)&&at(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=pt;!function(t){const e=pt,i=t();for(;;)try{if(201271===parseInt(e(218))/1+-parseInt(e(199))/2*(-parseInt(e(102))/3)+-parseInt(e(127))/4*(parseInt(e(359))/5)+parseInt(e(158))/6*(-parseInt(e(133))/7)+parseInt(e(148))/8*(-parseInt(e(260))/9)+-parseInt(e(369))/10+parseInt(e(204))/11*(parseInt(e(405))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class ft extends J.Plugin{[dt(397)];[dt(182)];[dt(417)]=null;[dt(344)];[dt(155)]=null;[dt(374)];[dt(246)];[dt(282)];[dt(306)];[dt(381)];[dt(394)];[dt(128)];[dt(258)];[dt(252)];static get[dt(116)](){return dt(177)}static get[dt(337)](){return!0}static get[dt(146)](){return!0}static get[dt(298)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(344)]=this[i(290)][i(309)][i(173)](i(122)),this[i(381)]=this[i(290)][i(309)][i(173)](i(171)),this[i(374)]=new mt(this[i(290)]),this[i(282)]=this[i(290)][i(316)][i(173)](i(330))||i(210),this[i(306)]=new Map,this[i(252)]=null;const n=(0,t.uid)();this[i(246)]={history:this[i(290)][i(207)][i(154)][i(242)],getLatestVersion:()=>Promise[i(112)](this[i(290)][i(207)][i(154)][i(422)]),getCurrentRevisionId:()=>n},this[i(120)](i(274),!1),this[i(120)](i(412),!0),this[i(120)](i(208),!1),this[i(290)][i(316)][i(366)](i(226),!0),this[i(290)][i(140)][i(111)](i(209))[i(245)]({view:i(179)})}[dt(322)](){const t=dt;this[t(152)](),this[t(290)][t(408)].on(t(117),(()=>{const e=t,i=this[e(344)][e(150)](0),n=i&&null===i[e(162)]?i:null;if(this[e(128)]=!!n&&this[e(290)][e(316)][e(173)](e(226)),this[e(290)][e(309)][e(123)](e(213))){const t=this[e(246)][e(302)](),s=this[e(344)][e(150)](t);if(s)this[e(258)]=s[e(142)],this[e(128)]=!1;else{const t=this[e(246)][e(242)][e(254)][e(169)]((t=>!t[e(353)])),s=t?t[e(137)]:this[e(246)][e(242)][e(422)];i?(i[e(278)]<s&&i[e(388)]({toVersion:s}),this[e(128)]?(this[e(246)][e(302)]=()=>n.id,this[e(258)]=n[e(142)]):(this[e(258)]=i[e(278)],this[e(128)]=!1)):(this[e(258)]=s,this[e(128)]=!1)}}else n&&(this[e(290)][e(207)][e(154)][e(242)][e(422)]=Math[e(419)](n[e(278)],this[e(290)][e(207)][e(154)][e(242)][e(422)]),n[e(142)]===n[e(278)]?(0!==n[e(142)]&&(this[e(246)][e(302)]=()=>n.id),this[e(128)]=!1):this[e(128)]&&(this[e(246)][e(302)]=()=>n.id,this[e(258)]=n[e(142)])),this[e(128)]||(this[e(258)]=this[e(290)][e(207)][e(154)][e(422)]);this[e(374)][e(322)](this[e(246)][e(242)]),this[e(265)](this[e(258)]),this[e(205)](this[e(258)]),this[e(155)]&&this[e(262)]()})),this[t(190)](t(274)).to(this,t(208),(t=>!t)),this[t(397)]=this[t(290)][t(316)][t(173)](t(397));const e=this[t(290)];this[t(182)]=setInterval((()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(310)==r||i(268)==r||i(125)==r||i(375)==r||i(386)==r||i(198)==r||i(121)==r||i(124)==r){delete e[s],n=r,clearInterval(this[i(182)]),this[i(182)]=void 0;break}}i(268)==n&&e[i(395)](i(115)),i(125)==n&&e[i(395)](i(313)),i(375)==n&&e[i(395)](i(293)),i(386)==n&&e[i(395)](i(347),i(277)),i(198)==n&&e[i(395)](i(214)),i(121)==n&&e[i(395)](i(101)),i(124)==n&&e[i(395)](i(305))}),1e3)}async[dt(355)](){const t=dt;if(this[t(344)][t(273)]>0){const e=this[t(344)][t(150)](0),i=await this[t(244)](e),n=await this[t(248)](e);this[t(164)](i,n)}}[dt(319)](){const t=dt;super[t(319)](),this[t(182)]&&clearInterval(this[t(182)])}[dt(377)](t){this[dt(246)]=t}async[dt(113)](){const t=dt,e=await this[t(246)][t(184)]();if(e>this[t(417)][t(278)]){await this[t(197)]();const i=this[t(323)]({revision:this[t(417)],to:e});i[t(167)]=i[t(289)][t(255)]((e=>this[t(290)][t(309)][t(173)](t(129))[t(145)](e))),this[t(417)][t(388)](i)}}async[dt(269)](e={},i=null){const n=dt,s=[];await this[n(197)](),this[n(128)]=!1,i>this[n(417)][n(278)]&&(i=null),null===i&&(i=await this[n(246)][n(184)]());const r=this[n(114)](i),o=this[n(323)]({from:r,to:i});if(this[n(417)][n(278)]<i){const t=this[n(323)]({revision:this[n(417)],from:i,to:i});t[n(167)]=[],t[n(289)]=[],t.id=this[n(417)].id,this[n(417)][n(388)](t,!0),delete t[n(167)],s[n(423)](t)}e[n(384)]=this[n(290)][n(309)][n(173)](n(129)).me.id,e[n(393)]=e[n(393)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(104)](e);s[n(423)](e);const c=this[n(344)][n(364)](a);if(0!==c){const t=this[n(344)][n(150)](c-1);if(t[n(142)]!==i){const r=this[n(374)][n(399)](i,t[n(278)]),o={id:t.id,diffData:r[n(409)],authorsIds:r[n(289)],authors:r[n(289)][n(255)]((t=>this[n(290)][n(309)][n(173)](n(129))[n(145)](t))),fromVersion:i};t===this[n(417)]&&(o[n(249)]=new Date(e[n(249)][n(223)]()+10)),t[n(388)](o,!0),delete o[n(167)],s[n(423)](o)}}if(this[n(155)]){for(const t of s)this[n(406)](t.id,t,!0);this[n(262)]()}return a}[dt(104)](t){const e=dt,i=this[e(344)][e(368)](t);return this[e(155)]&&i.on(e(388),((t,i,n)=>{const s=e;n||(this[s(406)](i.id,i,!0),this[s(262)]())})),this[e(344)][e(168)](i,this[e(263)](i)),i}async[dt(244)](t){const e=dt;return await this[e(381)][e(119)](t,this[e(155)]),this[e(381)][e(244)](t)}async[dt(248)](t){const e=dt;return await this[e(381)][e(119)](t,this[e(155)]),this[e(381)][e(248)](t)}[dt(262)](){const t=dt;if(0===this[t(306)][t(348)])return;if(this[t(208)])return;let e=Array[t(161)](this[t(306)][t(332)]());this[t(306)][t(110)]();for(let i=0;i<e[t(273)];i++){const n=e[i];let s=!1;for(const e of Object[t(317)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(336)]((t=>null!==t)),!e[t(273)])return;for(let i=0;i<e[t(273)];i++){const n=e[i];void 0!==n[t(142)]&&void 0===n[t(278)]&&(n[t(278)]=this[t(344)][t(150)](n.id)[t(278)]),void 0!==n[t(278)]&&void 0===n[t(142)]&&(n[t(142)]=this[t(344)][t(150)](n.id)[t(142)])}const i=this[t(290)][t(316)][t(173)](t(330));this[t(208)]=!0,this[t(176)](),this[t(155)][t(238)](e,i)[t(385)]((()=>{this[t(208)]=!1}))[t(415)]((e=>{const i=t;if(e)for(const t of e)this[i(228)]({id:t.id,createdAt:t[i(249)]});this[i(410)](),this[i(262)]()}))}[dt(323)]({revision:t=null,from:e=null,to:i=null}){const n=dt;e=null!==e?e:t[n(142)],i=null!==i?i:t[n(278)];const s=this[n(374)][n(399)](e,i),r={diffData:s[n(409)],authorsIds:s[n(289)],fromVersion:e,toVersion:i};if(!t||i!==t[n(278)]){const t=i-1,e=this[n(246)][n(242)][n(261)](t);r[n(249)]=e&&e[n(249)]||new Date}if(this[n(252)]&&e===this[n(252)][n(142)])for(const t of this[n(252)][n(167)])r[n(289)][n(363)](t.id)||r[n(289)][n(423)](t.id);return r}[dt(406)](t,e,i){const n=dt;if(this[n(306)][n(123)](t)){const s=this[n(306)][n(173)](t);e=i?{...s,...e}:{...e,...s}}this[n(306)][n(120)](t,e)}[dt(228)](t){const e=dt,i=this[e(344)][e(150)](t.id);if(t[e(249)]&&(t[e(249)]=new Date(t[e(249)])),t[e(289)]){const i=this[e(290)][e(309)][e(173)](e(129));t[e(167)]=t[e(289)][e(255)]((t=>i[e(145)](t)))}i[e(388)](t,!0)}[dt(265)](t){const e=dt,i=this[e(344)][e(150)](this[e(344)][e(273)]-1);if(i)this[e(282)]=i.id;else{const i=!this[e(290)][e(207)][e(154)][e(241)][e(169)]((t=>this[e(290)][e(207)][e(206)](t))),n=this[e(290)][e(309)][e(173)](e(129)).me.id,s=ot(this[e(290)][e(222)],e(i?300:376));this[e(231)]({from:t,to:t,id:this[e(282)],name:s,creatorId:n})}}[dt(205)](t){const e=dt,i=this[e(246)][e(302)]();this[e(417)]=this[e(344)][e(150)](i),this[e(417)]||(this[e(417)]=this[e(231)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(197)](){const t=dt;this[t(128)]&&!this[t(252)]&&(await this[t(381)][t(119)](this[t(417)],this[t(155)]),this[t(374)][t(296)](this[t(417)]),this[t(252)]={fromVersion:this[t(417)][t(142)],authors:this[t(417)][t(167)][t(138)]()})}[dt(164)](e,i){const n=dt;let s=this[n(290)][n(316)][n(173)](n(132)),r=this[n(290)][n(316)][n(173)](n(109));if(void 0===s){s={};for(const t of this[n(290)][n(207)][n(154)][n(135)]())s[t]=""}if(n(398)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(290)][n(207)][n(154)][n(135)]())r[t]={}}let o=!1;const a=Object[n(317)](s),c=Object[n(317)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(194)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(317)](r[t])[n(273)]>0){o=!0;break}}o||(o=c[n(341)]((t=>!this[n(290)][n(207)][n(154)][n(186)](t)))),o&&(0,t.logWarning)(n(340),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(290)][n(316)][n(120)](n(132),e),this[n(290)][n(316)][n(120)](n(109),i)}[dt(176)](){const t=dt;if(!this[t(394)]){const e=this[t(290)][t(309)][t(173)](t(326));this[t(394)]=e[t(108)](ot(this[t(290)][t(222)],t(324)))}}[dt(410)](){const t=dt;this[t(394)]&&(this[t(290)][t(309)][t(173)](t(326))[t(216)](this[t(394)]),this[t(394)]=null)}[dt(263)](t){const e=dt,i=this[e(344)][e(180)]();i[e(338)]();let n=0;for(;n<i[e(273)];){const s=i[n];if(s===this[e(417)]){n++;continue}if(s.id===this[e(282)])break;const r=t[e(278)]-s[e(278)]||t[e(142)]-s[e(142)];if(r>0)break;if(r<0)n++;else{if(!t[e(162)]&&s[e(162)])break;if(s[e(162)]||!t[e(162)]){if(t[e(249)]>s[e(249)])break;n++}else n++}}return n}[dt(114)](t){const e=dt,i=this[e(344)][e(180)]();i[e(338)](),i[e(356)]();const n=i[e(169)]((i=>i[e(278)]<=t))[e(278)];return n<this[e(258)]?this[e(258)]:n}[dt(231)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=dt,o=this[r(323)]({from:e,to:i});o[r(393)]=t,o[r(384)]=n,o.id=s;const a=this[r(104)](o);return this[r(155)]&&this[r(406)](o.id,o,!0),a}[dt(152)](){const t=dt;this[t(290)][t(140)][t(111)](t(267))[t(235)]({model:t(179)})}}class mt{[dt(290)];[dt(295)];[dt(233)];[dt(335)];[dt(203)];[dt(391)];[dt(321)];[dt(328)];[dt(191)];[dt(271)];[dt(329)];[dt(131)];[dt(236)];[dt(211)];[dt(192)];[dt(193)];[dt(163)];constructor(t){const e=dt;this[e(290)]=t,this[e(233)]=new Map,this[e(335)]=-1,this[e(203)]=-1,this[e(391)]=new Map,this[e(321)]=new Map,this[e(328)]=new Map,this[e(191)]=new Map,this[e(271)]=new Map,this[e(329)]=new Map,this[e(131)]=new Map,this[e(236)]=new Map,this[e(211)]=new Map,this[e(192)]=new Map,this[e(193)]=1}[dt(322)](t){const e=dt;this[e(295)]=t;const i=new Map,n=new Map,s=this[e(290)][e(207)][e(154)][e(241)][e(255)]((t=>t[e(281)]));for(const t of s){const s=this[e(290)][e(207)][e(154)][e(186)](t),r=vt(s);i[e(120)](t,r),n[e(120)](t,Object[e(195)](s[e(187)]()))}const r=Array[e(161)](this[e(290)][e(207)][e(413)])[e(255)]((t=>[t[e(393)],t[e(144)]()])),o=this[e(295)][e(422)];this[e(407)](o,i,r,n),this[e(163)]=this[e(193)];const a=new Map,c=new Map;for(const t of s){const i=gt(t);a[e(120)](t,i),c[e(120)](t,{})}this[e(407)](Number[e(299)],a,[],c)}[dt(399)](t,e){const i=dt;if(this[i(335)]===t&&this[i(203)]<=e)this[i(233)][i(348)]>1&&this[i(227)](this[i(203)]),this[i(250)](this[i(203)],e,!0);else{if(!this[i(233)][i(123)](t)){const e=this[i(345)](t);this[i(354)](e,t,!1)}this[i(354)](t,e,!0)}return this[i(335)]=t,this[i(203)]=e,this[i(189)]()}[dt(296)](t){const e=dt,i=this[e(290)][e(309)][e(173)](e(171));this[e(379)](),this[e(335)]=t[e(142)],this[e(203)]=t[e(278)];for(const n in t[e(409)]){const s=t[e(409)][n][e(151)],r=A(t[e(409)][n][e(392)])||{},o=i[e(130)](t[e(409)][n][e(224)]);o[e(281)]=n,o[e(287)]=!s||!s[e(342)],o[e(342)]=()=>o[e(287)],this[e(191)][e(120)](n,o),this[e(271)][e(120)](n,r),s&&this[e(192)][e(120)](n,s);const a=this[e(215)](o);this[e(131)][e(120)](n,a);for(const[t,i]of o[e(413)]){if(!t[e(283)](e(201)))continue;const n=t[e(339)](":")[2];for(const t of i[e(136)]({singleCharacters:!0})){const i=this[e(165)](t),s=e(294)==t[e(291)]?t[e(420)][e(149)][e(138)](0,-1):t[e(420)][e(149)],r=a[e(372)](s)[e(416)](i);this[e(236)][e(120)](r,{userId:n})}}}this[e(163)]=this[e(193)];const n=[...Array(this[e(193)])[e(317)]()][e(138)](1)[e(336)]((t=>!this[e(236)][e(123)](t)));let s=0;const r=new Map;for(const o in t[e(409)]){const a=t[e(409)][o][e(151)],c=A(t[e(409)][o][e(308)])||{},u=i[e(130)](t[e(409)][o][e(147)]);u[e(281)]=o,u[e(287)]=!a||a[e(342)],u[e(342)]=()=>u[e(287)],this[e(321)][e(120)](o,u),this[e(328)][e(120)](o,c);const l=this[e(215)](u,Number[e(299)]);this[e(329)][e(120)](o,l),r[e(120)](o,u[e(342)]()?c:{});for(const[t,i]of u[e(413)]){if(!t[e(283)](e(201)))continue;const n=t[e(339)](":")[2];for(const t of i[e(136)]({singleCharacters:!0})){const i=this[e(165)](t),s=this[e(193)]++,r=e(294)==t[e(291)]?t[e(420)][e(149)][e(138)](0,-1):t[e(420)][e(149)];l[e(372)](r)[e(234)](i,s),this[e(236)][e(120)](s,{userId:n})}}for(const t of this[e(290)][e(207)][e(403)](u)[e(136)]({singleCharacters:!0})){const i=this[e(165)](t),r=e(294)==t[e(291)]?t[e(420)][e(149)][e(138)](0,-1):t[e(420)][e(149)],o=l[e(372)](r);o[e(416)](i)>0||o[e(234)](i,n[s++])}for(const[t,i]of u[e(413)])t[e(283)](e(201))||this[e(391)][e(120)](t,i)}const o=gt(e(389));this[e(191)][e(120)](e(389),o),this[e(131)][e(120)](e(389),this[e(215)](o,1));const a=gt(e(389));this[e(321)][e(120)](e(389),a),this[e(329)][e(120)](e(389),this[e(215)](a,1));const c=Array[e(161)](this[e(321)])[e(255)]((([t,e])=>[t,vt(e)]));this[e(407)](this[e(203)],c,this[e(391)],r)}[dt(280)](){const t=dt;this[t(379)](),this[t(335)]=-1,this[t(203)]=-1,this[t(233)][t(110)](),this[t(322)](this[t(295)])}[dt(407)](t,e,i,n){const s=dt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(120)](t,{start:e[s(327)][s(170)](),end:e[s(225)][s(170)](),rootName:e[s(106)][s(281)]});this[s(233)][s(120)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(227)](t){const e=dt;this[e(233)][e(174)](t)}[dt(379)](){const t=dt;this[t(236)][t(110)](),this[t(211)][t(110)](),this[t(192)][t(110)](),this[t(321)][t(110)](),this[t(328)][t(110)](),this[t(191)][t(110)](),this[t(271)][t(110)](),this[t(329)][t(110)](),this[t(131)][t(110)](),this[t(391)][t(110)](),this[t(193)]=1,this[t(163)]=this[t(193)]}[dt(215)](t,e=null){const i=dt;let n=null;t.is(i(139))||(n=new Q.Element(t[i(393)],{vid_start:null===e?this[i(193)]++:e++}));const s=[];for(const n of t[i(380)]())if(n.is(i(311))){s[i(423)](this[i(215)](n,e));const t=s[s[i(273)]-1];null!==e&&(e=t.is(i(311),i(275))?t[i(416)](i(251))+1:t[i(416)](i(307))+1)}else for(let t=0;t<n[i(418)];t++)s[i(423)](new Q.Element(i(275),{vid:null===e?this[i(193)]++:e++}));if(t.is(i(139))){const e=gt(t[i(281)]);return e[i(343)](0,s),e}return n[i(234)](i(307),null===e?this[i(193)]++:e++),n[i(343)](0,s),n}[dt(354)](t,e,i){const n=dt;this[n(379)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(233)][n(173)](t);this[n(191)]=new Map(s),this[n(271)]=new Map(A(o));for(const[t,e]of this[n(191)])if(n(389)!==t&&(this[n(321)][n(120)](t,vt(e)),this[n(328)]=new Map(A(o)),i)){const i=this[n(193)];this[n(329)][n(120)](t,this[n(215)](e)),this[n(131)][n(120)](t,this[n(215)](e,i))}this[n(163)]=this[n(193)],this[n(321)][n(120)](n(389),vt(this[n(191)][n(173)](n(389)))),i&&this[n(329)][n(120)](n(389),this[n(215)](this[n(191)][n(173)](n(389))));for(const[t,e]of r){const i=this[n(191)][n(173)](e[n(281)]),s=this[n(321)][n(173)](e[n(281)]),r=new Q.Range(this[n(240)](e[n(327)],i),this[n(240)](e[n(225)],i)),o=this[n(297)](r,s);i[n(413)][n(120)](t,r),this[n(391)][n(120)](t,o)}this[n(250)](t,e,i)}[dt(250)](t,e,i){const n=dt;for(const s of this[n(295)][n(160)](t,e))this[n(360)](s,i);for(const t of this[n(321)][n(332)]())t[n(413)][n(110)]();for(const[t,e]of this[n(391)])this[n(321)][n(173)](e[n(106)][n(281)])[n(413)][n(120)](t,e[n(170)]());const s=new Map,r=new Map;for(const[t,e]of this[n(321)])s[n(120)](t,vt(e)),r[n(120)](t,this[n(328)][n(173)](t));this[n(407)](e,s,this[n(391)],r)}[dt(345)](t){const e=dt,i=Array[e(161)](this[e(233)][e(317)]());i[e(230)](((t,e)=>t-e)),i[e(338)]();for(const e of i)if(e<t)return e;return Number[e(299)]}[dt(166)](t,e){const i=dt,n=Array[i(161)](e[i(413)])[i(255)]((([e,n])=>[e,this[i(297)](n,t)]));t[i(413)]=new Map(n)}[dt(414)](t){const e=dt;for(const i of this[e(391)][e(332)]()){const n=i[e(185)](t),s=Q.Range[e(279)](n);i[e(327)]=s[e(327)],i[e(225)]=s[e(225)]}}[dt(360)](t,e){const i=dt;if(i(232)!=t[i(291)]&&i(320)!=t[i(291)]){if(i(358)==t[i(291)]){const n=t[i(219)][i(106)][i(281)];this[i(321)][i(123)](n)||(this[i(321)][i(120)](n,gt(n,!0)),this[i(328)][i(120)](n,{}),e&&this[i(329)][i(120)](n,gt(n,!0)))}else{if(i(288)==t[i(291)]||i(229)==t[i(291)]||i(373)==t[i(291)])return void this[i(178)](t);i(421)==t[i(291)]&&this[i(107)](t)}if(i(421)!==t[i(291)]){const e=this[i(314)](t,this[i(321)]);e[i(100)](),this[i(414)](e)}if(e)switch(t[i(291)]){case i(358):this[i(156)](t);break;case i(361):case i(216):case i(239):this[i(400)](t);break;case i(301):this[i(424)](t);break;case i(339):this[i(253)](t)}}else this[i(334)](t,e)}[dt(314)](t,e){const i=dt,n=t[i(170)]();return n[i(217)]=t[i(217)],this[i(292)](n,e),n}[dt(383)](t){const e=dt;return t[e(255)]((t=>{const i=e,n=this[i(165)](t);return Number(t[i(220)][i(416)](n))}))}[dt(183)](t,e){const i=dt;if(t.is(i(311),i(275)))e[i(423)]({item:t,type:i(382)});else{t.is(i(311))&&e[i(423)]({item:t,type:i(221)});for(const n of t[i(380)]())this[i(183)](n,e);t.is(i(311))&&e[i(423)]({item:t,type:i(294)})}return e}[dt(189)](){const t=dt,e=new Map(this[t(236)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(191)][t(317)](),...this[t(321)][t(317)]()]);a[t(174)](t(389));for(const e of a){const i=this[t(321)][t(173)](e)||gt(e,!1),n=this[t(191)][t(173)](e)||gt(e,!1);i[t(342)]()||n[t(342)]()?(s[t(147)][e]=vt(i),s[t(224)][e]=vt(n),this[t(166)](s[t(224)][e],n),this[t(166)](s[t(147)][e],i),r[t(147)][e]=this[t(183)](this[t(329)][t(173)](e),[]),r[t(224)][e]=this[t(183)](this[t(131)][t(173)](e)||gt(e,!1),[])):a[t(174)](e)}for(const s of a){const o=r[t(147)][s];for(const s of o){const r=this[t(165)](s),o=s[t(220)][t(416)](r);i[t(174)](o),o>=this[t(163)]&&n[t(120)](o,e[t(173)](o))}}for(const s of a){const a=r[t(147)][s],c=this[t(383)](r[t(224)][s]);let u=0;for(const s of a){const r=this[t(165)](s),a=s[t(220)][t(416)](r);if(!n[t(123)](a)&&!o[t(123)](a))if(i[t(123)](a))u++;else{if(a!=c[u]){const n=e[t(173)](a)||e[t(173)](c[u]);for(;a!=c[u];)i[t(123)](c[u])||(o[t(120)](c[u],n),e[t(120)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(147)][e];for(const e of s){const s=this[t(165)](e),r=e[t(220)][t(416)](s);if(o[t(123)](r)){const e=o[t(173)](r);i[t(123)](r)||i[t(120)](r,{...e}),n[t(120)](r,{...e})}}}for(const e of i[t(317)]())e>=this[t(163)]&&i[t(174)](e);const c=new Map;for(const e of a){let s=r[t(147)][e];for(const e of s)if(e[t(220)].is(t(311),t(387))){const i=this[t(165)](e),s=e[t(220)][t(416)](i);if(n[t(123)](s)){const i=e[t(220)][t(264)][t(264)][t(416)](t(272)),r=c[t(173)](i)||new Set;r[t(108)](n[t(173)](s)[t(243)]),c[t(120)](i,r)}}s=r[t(224)][e];for(const e of s)if(e[t(220)].is(t(311),t(387))){const n=this[t(165)](e),s=e[t(220)][t(416)](n);if(i[t(123)](s)){const n=e[t(220)][t(264)][t(264)][t(416)](t(272)),r=c[t(173)](n)||new Set;r[t(108)](i[t(173)](s)[t(243)]),c[t(120)](n,r)}}for(const e of c[t(317)]())(n[t(123)](e)||i[t(123)](e))&&c[t(174)](e)}for(const e of a){const s=r[t(147)][e];let o=null,a=null;for(const e of s){const s=this[t(165)](e),r=e[t(220)][t(416)](s),u=c[t(173)](r);u&&t(221)==e[t(291)]&&(o=Array[t(161)](u)[0],a=e[t(220)][t(416)](t(307))),o&&(i[t(120)](r,{userId:o}),n[t(120)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(224)][e],a=s[t(147)][e];for(const{userId:e}of this[t(211)][t(332)]())null!==e&&l[t(108)](e);for(const{userId:e}of this[t(192)][t(332)]())null!==e&&l[t(108)](e);this[t(349)](a,r[t(147)][e],n,t(200),l),this[t(349)](o,r[t(224)][e],i,t(350),l),u[e]={insertions:this[t(318)](a),deletions:this[t(318)](o),attachChange:this[t(192)][t(173)](e)||null,attributesBefore:A(this[t(271)][t(173)](e))||{},attributesAfter:A(this[t(328)][t(173)](e))}}return{diffData:u,authorsIds:Array[t(161)](l)}}[dt(390)](t){const e=dt;for(const[,i]of t[e(413)]){const t=i[e(327)][e(103)]()[e(336)]((t=>e(387)==t[e(393)]));for(const i of t)1==i[e(159)]&&i[e(259)](0).is(e(311),e(256))&&i[e(259)](0)[e(234)](e(303),!0)}}[dt(318)](t){const e=dt;this[e(390)](t);const i=this[e(290)][e(408)][e(141)](t,{}),n=Array[e(161)](i[e(380)]())[e(255)]((t=>this[e(286)](t)));return JSON[e(333)](n)}[dt(286)](t){const e=dt;if(t.is(e(275)))return t[e(408)];{const i=this[e(290)][e(309)][e(173)](e(171)),n=t,s=this[e(290)][e(408)][e(188)][e(237)],r={type:i[e(357)](n),name:n[e(393)],attributes:Array[e(161)](n[e(187)]()),children:Array[e(161)](n[e(380)]())[e(255)]((t=>this[e(286)](t)))};if(t.is(e(401))&&e(331)!=t[e(393)]){const i=t[e(212)](s[e(134)],s);r[e(157)][e(423)](i[e(266)])}else if(t.is(e(312))){const i=s[e(134)][e(143)](n[e(393)]);t[e(212)](i,s),r[e(157)][e(423)](i[e(325)])}const o=Array[e(161)](n[e(270)]());o[e(273)]>0&&(r[e(404)]=o);const a=n[e(181)]();return null!==a&&(r[e(153)]=a),r}}[dt(349)](t,e,i,n,s){const r=dt;let o=null,a=null,c=0;const u=this[r(290)][r(207)];for(let n=0;n<e[r(273)];n++){const s=this[r(165)](e[n]),c=e[n][r(220)][r(416)](s),h=i[r(173)](c),d=n==e[r(273)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(243)]!=o[r(243)])&&(l(h,yt(a,t,u),yt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,yt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(243)],d=l(201)+n+":"+h+":"+c++,f=u[l(378)](i,a);t[l(413)][l(120)](d,f),null!==h&&s[l(108)](h)}}[dt(165)](t){const e=dt;switch(t[e(291)]){case e(221):return e(272);case e(294):return e(307);default:return e(251)}}[dt(292)](t,e){const i=dt;t[i(137)]=null;for(const n in t){const s=t[n];if(s instanceof Q.Position){const r=e[i(173)](s[i(106)][i(281)]);t[n]=this[i(240)](s,r)}if(s instanceof Q.Range){const r=e[i(173)](s[i(106)][i(281)]);t[n]=this[i(297)](s,r)}i(106)===n&&(t[i(106)]=e[i(173)](t[i(106)][i(281)]))}}[dt(297)](t,e){const i=dt;return this[i(290)][i(207)][i(378)](this[i(240)](t[i(327)],e),this[i(240)](t[i(225)],e))}[dt(240)](t,e){const i=dt;return this[i(290)][i(207)][i(402)](e,t[i(149)],t[i(196)])}[dt(156)](t){const e=dt,i=this[e(329)][e(173)](t[e(219)][e(106)][e(281)]),n=this[e(240)](t[e(219)],i),s=null===t[e(217)]?null:t[e(217)]||this[e(290)][e(309)][e(173)](e(129)).me.id,r=n[e(264)],o=this[e(193)],a=[];for(const i of t[e(284)])if(i.is(e(311)))a[e(423)](this[e(215)](i));else for(let t=0;t<i[e(418)];t++)a[e(423)](new Q.Element(e(275),{vid:this[e(193)]++}));const c=this[e(193)];for(let t=o;t<c;t++)this[e(236)][e(120)](t,{userId:s});r[e(343)](n[e(362)],a)}[dt(400)](t){const e=dt;(t=this[e(314)](t,this[e(329)]))[e(100)]();const i=null===t[e(217)]?null:t[e(217)]||this[e(290)][e(309)][e(173)](e(129)).me.id,n=t[e(118)](),s=n[e(264)],r=n[e(362)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(259)](e);r.is(a(311),a(275))?n[a(120)](r[a(416)](a(251)),{userId:i}):(n[a(120)](r[a(416)](a(272)),{userId:i}),t(n,r,0,r[a(159)]),n[a(120)](r[a(416)](a(307)),{userId:i}))}}(this[e(236)],s,r,r+t[e(315)])}[dt(424)](t){const e=dt,i=null===(t=this[e(314)](t,this[e(329)]))[e(217)]?null:t[e(217)]||this[e(290)][e(309)][e(173)](e(129)).me.id,n=t[e(371)][e(264)],s=t[e(351)][e(264)],r=n[e(416)](e(307)),o=s[e(416)](e(272));n[e(234)](e(307),s[e(416)](e(307))),s[e(234)](e(307),r),this[e(236)][e(120)](o,{userId:i}),this[e(236)][e(120)](r,{userId:i}),t[e(100)]()}[dt(253)](t){const e=dt,i=null===(t=this[e(314)](t,this[e(329)]))[e(217)]?null:t[e(217)]||this[e(290)][e(309)][e(173)](e(129)).me.id,n=t[e(172)],s=t[e(304)][e(264)];t[e(100)]();const r=s[e(416)](e(307)),o=t[e(276)][e(247)];if(n){const t=o[e(416)](e(307)),n=s[e(416)](e(307));s[e(234)](e(307),t),o[e(234)](e(307),n),this[e(236)][e(120)](s[e(416)](e(307)),{userId:i}),this[e(236)][e(120)](o[e(416)](e(272)),{userId:i})}else{const t=this[e(193)]++,n=this[e(193)]++;s[e(234)](e(307),t),o[e(234)](e(272),n),o[e(234)](e(307),r),this[e(236)][e(120)](t,{userId:i}),this[e(236)][e(120)](n,{userId:i})}}[dt(107)](t){const e=dt;if(!t[e(175)])return;const i=(t=this[e(314)](t,this[e(321)]))[e(202)]?t[e(202)][e(106)]:null,n=t[e(370)]?t[e(370)][e(106)]:null;i&&this[e(391)][e(174)](t[e(393)]),n&&this[e(391)][e(120)](t[e(393)],t[e(370)][e(170)]());const s=null===t[e(217)]?null:t[e(217)]||this[e(290)][e(309)][e(173)](e(129)).me.id,r=t[e(393)];if(!this[e(211)][e(123)](r))return void this[e(211)][e(120)](r,{range:t[e(202)],userId:s});const o=this[e(211)][e(173)](r),a=o[e(352)],c=t[e(370)];null==a&&null==c||a&&c&&a[e(126)](c)?this[e(211)][e(174)](t[e(393)]):o[e(243)]=s}[dt(334)](t,e){const i=dt;this[i(321)][i(123)](t[i(281)])?this[i(321)][i(173)](t[i(281)])[i(287)]=t[i(257)]:(this[i(321)][i(120)](t[i(281)],gt(t[i(281)],!0)),this[i(328)][i(120)](t[i(281)],{}),e&&this[i(329)][i(120)](t[i(281)],gt(t[i(281)],!0)));const n=null===t[i(217)]?null:t[i(217)]||this[i(290)][i(309)][i(173)](i(129)).me.id,s=this[i(192)][i(173)](t[i(281)]);s&&s[i(243)]===n?this[i(192)][i(174)](t[i(281)]):this[i(192)][i(120)](t[i(281)],{userId:n,isAttached:t[i(257)]})}[dt(178)](t){const e=dt,i=this[e(328)][e(173)](t[e(106)][e(281)]);null===t[e(346)]?delete i[t[e(105)]]:i[t[e(105)]]=t[e(346)]}}function pt(t,e){const i=kt();return(pt=function(t,e){return i[t-=100]})(t,e)}function vt(t){const e=dt,i=gt(t[e(281)],t[e(342)]());for(const n of t[e(380)]()){const t=n[e(411)](!0);i[e(396)](t)}return i}function gt(t,e=!0){const i=dt,n=new Q.DocumentFragment;return n[i(281)]=t,n[i(287)]=e,n[i(342)]=()=>n[i(287)],n}function yt(t,e,i){const n=dt,s=n(294)==t[n(291)]?i[n(285)](t[n(220)],n(225)):i[n(365)](t[n(220)]);return i[n(402)](e,s[n(149)],s[n(196)])}function kt(){const t=["getTransformedByOperation","getRoot","getAttributes","htmlProcessor","_getState","bind","_baseRoots","_touchedRoots","_revisionId","trim","fromEntries","stickiness","_loadState","revisionHistoryLicenseKeyEvaluationLimit","466LgjAue","insertion","revision:","oldRange","_lastTo","12329779gsnjrF","_createCurrentRevision","hasContent","model","_isPendingUpdate","upcast","initial","_touchedMarkers","render","RealTimeCollaborationClient","evaluationLimit","_makeIdsRoot","remove","_authorId","223764ugMpiO","position","item","elementStart","locale","getTime","deletions","end","revisionHistory.resumeUnsavedRevision","_removeMetaData","setRevisionData","removeRootAttribute","sort","_makeRevision","addRoot","_savedMetaData","_setAttribute","markerToData","_touched","domConverter","updateRevisions","reinsert","_fixPosition","roots","history","userId","getRevisionDocumentData","dataToMarker","_source","nodeAfter","getRevisionRootsAttributes","createdAt","_applyOperations","vid","_loadedStateData","_handleSplitOperation","_operations","map","paragraph","isAdd","_startingVersion","getChild","9YturJb","getOperation","sendBufferedUpdates","_findInsertionIndex","parent","_createInitialRevision","outerHTML","dataDowncast","revisionHistoryLicenseKeyInvalid","saveRevision","getCustomProperties","_baseRootsAttributes","vid_start","length","isReady","$text","insertionPosition","RevisionHistory","toVersion","_createFromRanges","reInit","rootName","_initialRevisionId","startsWith","nodes","createPositionAt","_getViewJson","_isAttached","addRootAttribute","authorsIds","editor","type","_fixOperation","domainLimit","elementEnd","source","loadState","_fixRange","requires","NEGATIVE_INFINITY","Empty document","merge","getCurrentRevisionId","keepParagraph","splitPosition","usageLimit","_bufferedUpdates","vid_end","attributesAfter","plugins","revisionHistoryLicenseKeyValid","element","rawElement","expired","_cloneOperation","howMany","config","keys","_prepareViewToSave","destroy","detachRoot","_diffRoots","init","buildRevisionData","PENDING_ACTION_REVISION_HISTORY","innerHTML","PendingActions","start","_diffRootsAttributes","_idsRoots","collaboration.channelId","$comment","values","stringify","_handleRootOperation","_lastFrom","filter","isOfficialPlugin","reverse","split","editor-initial-data-replaced-with-revision-data","some","isAttached","_insertChild","repository","_getPreviousFrom","newValue","featureNotAllowed","size","_markChanges","deletion","sourcePosition","range","_isInit","_calculateMetaData","afterInit","shift","_getTypeCharForViewElement","insert","5MISYTc","_handleOperation","move","offset","includes","getIndex","createPositionBefore","define","createPositionAfter","createRevision","3674950rdCAlY","newRange","targetPosition","getNodeByPath","changeRootAttribute","_revisionDataBuilder","revisionHistoryLicenseKeyDomainLimit","Initial revision","setSource","createRange","_reset","getChildren","_utils","text","_getBaseVids","creatorId","finally","revisionHistoryLicenseKeyNotAllowed","tableCell","_update","$graveyard","_processRootBeforeSave","_markers","attributesBefore","name","_pendingAction","_showLicenseError","_appendChild","licenseKey","string","getData","_handleMoveOperation","uiElement","createPositionFromPath","createRangeIn","customProperties","12BZyrzn","_bufferUpdate","_saveMetaData","data","diffData","_removePendingAction","_clone","isEnabled","markers","_transformMarkers","then","getAttribute","currentRevision","offsetSize","max","previousPosition","marker","version","push","_handleMergeOperation","_execute","trialLimit","219zikTKl","getAncestors","addRevisionData","key","root","_handleMarkerOperation","add","rootsAttributes","clear","for","resolve","update","_getFromVersion","invalid","pluginName","ready","getMovedRangeStart","loadRevisionData","set","revisionHistoryLicenseKeyTrialLimit","RevisionsRepository","has","revisionHistoryLicenseKeyUsageLimit","revisionHistoryLicenseKeyExpired","isEqual","1456348kUitap","_continueCurrentRevision","Users","_makeModelFromViewString","_baseIdsRoots","initialData","336jNCEcc","domDocument","getRootNames","getWalker","baseVersion","slice","documentFragment","conversion","toView","fromVersion","createElement","getRange","getUser","isPremiumPlugin","insertions","1844168edrEXS","path","getRevision","attachChange","_setConversion","fillerOffset","document","adapter","_handleInsertOperation","children","24786pWnqXx","childCount","getOperations","from","creator","_startingRevisionId","_replaceEditorDataWithRevisionData","_getVidAttributeName","_copyMarkers","authors","addRevision","find","clone","RevisionHistoryUtils","graveyardPosition","get","delete","affectsData","_addPendingAction","RevisionTracker","_handleRootAttributeOperation","revision","getRevisions","getFillerOffset","_licenseKeyCheckInterval","_generateTape","getLatestVersion"];return(kt=function(){return t})()}function bt(t,e,i){const n=dt,s=n(221)==t[n(291)]?i[n(285)](t[n(220)],0):i[n(367)](t[n(220)]);return i[n(402)](e,s[n(149)],s[n(196)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),Rt=i(667),At=i.n(Rt),Mt=i(357),Vt=i.n(Mt),Dt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=At(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Vt();St()(Dt.A,Et);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Vt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;function jt(t,e){const i=Pt();return(jt=function(t,e){return i[t-=118]})(t,e)}const Lt=jt;function Pt(){const t=["arrowup","ck-revision-history-save-revision-form","keystrokes","setTemplate","form","label","trim","focus","revisionNameInputView","revisionName","10504830DahzRI","6859528GYnnXY","817788WYmyXV","locale","_createRevisionNameInput","initializeCssTransitionDisablerMixin","value","input","220","116547yifKdl","reset","element","fieldView","ck-responsive-form","stopPropagation","errorText","add","9pwaDif","258MHVULQ","93945mCerWE","extendTemplate","revisionNameInputValue","arrowleft","32jnwREc","render","372652GdSvYv","arrowdown","optional","Name of the revision","8042076HtDYbg","arrowright","listenTo","set","focusTracker"];return(Pt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(812226===parseInt(e(149))/1+-parseInt(e(126))/2*(-parseInt(e(156))/3)+-parseInt(e(128))/4+parseInt(e(122))/5*(parseInt(e(121))/6)+-parseInt(e(132))/7+parseInt(e(148))/8*(parseInt(e(120))/9)+-parseInt(e(147))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(136)];[Lt(139)];[Lt(145)];constructor(e,i){const n=Lt;super(e),this[n(136)]=new t.FocusTracker,this[n(139)]=new t.KeystrokeHandler,this[n(135)](n(124),""),this[n(145)]=this[n(151)](i),this[n(140)]({tag:n(141),attributes:{class:["ck",n(138),n(160)],tabindex:"-1"},children:[this[n(145)]]}),this[n(152)]()}[Lt(127)](){const t=Lt;super[t(127)](),(0,_t.submitHandler)({view:this}),this[t(136)][t(119)](this[t(145)][t(158)]),this[t(139)][t(134)](this[t(158)]);const e=e=>e[t(161)]();this[t(139)][t(135)](t(133),e),this[t(139)][t(135)](t(125),e),this[t(139)][t(135)](t(137),e),this[t(139)][t(135)](t(129),e)}[Lt(144)](){const t=Lt;this[t(145)][t(144)]()}get[Lt(146)](){const t=Lt;return this[t(145)][t(159)][t(158)][t(153)][t(143)]()}set[Lt(146)](t){const e=Lt;this[e(145)][e(159)][e(158)][e(153)]=t[e(143)]()}[Lt(157)](){const t=Lt;this[t(145)][t(159)][t(158)][t(153)]="",this[t(145)][t(118)]=null}[Lt(151)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(150)],_t.createLabeledInputText),n=i[e(159)];n[e(123)]({attributes:{maxlength:e(155)}});let s=ot(this[e(150)],e(131));return!t&&(s+=" ("+ot(this[e(150)],e(130))+")"),i[e(142)]=s,n.on(e(154),(()=>{const t=e;this[t(124)]=n[t(158)][t(153)][t(143)]()})),i}}const Wt=Ut;function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=397]})(t,e)}function Zt(){const t=["role","show","isOfficialPlugin","render","buttonView","_createSaveRevisionFormView","7524POmHIN","isReadOnly","revisionHistory.requireRevisionName","isPremiumPlugin","menu","bind","revisionNameInputView","8624YvyXdt","hide","focus","589728pghxFx","Save current revision","8022455hsAYIU","submit","Revision history","530FRMwER","ck-button-action","editor","execute","view","showRevisionViewerCallback","revisionHistory","locale","saveRevision","menuBar:revisionHistory","Accept","Dialog","plugins","_saveRevisionFormView","20pskzFh","delegate","errorText","isReady","set","880110aMVGZm","pluginName","isOpen","items","4fZcZZd","107743GpVeyr","children","_showDialog","config","init","addMany","menuitem","requires","Cancel","add","RevisionHistoryUI","get","RevisionTracker","componentFactory","revisionSave","Open revision history","283547zxpwWh","isEnabled","The revision name cannot be empty.","panelView","reset","1542950XdhOOX","editing","revisionName","_registerMenuComponent"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(585190===-parseInt(e(445))/1+-parseInt(e(466))/2+parseInt(e(416))/3*(parseInt(e(444))/4)+-parseInt(e(435))/5*(-parseInt(e(440))/6)+parseInt(e(418))/7+-parseInt(e(413))/8*(-parseInt(e(406))/9)+-parseInt(e(421))/10*(parseInt(e(461))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends J.Plugin{static get[Wt(441)](){return Wt(455)}static get[Wt(402)](){return!0}static get[Wt(409)](){return!0}static get[Wt(452)](){return[ft]}[Wt(434)];[Wt(449)](){const t=Wt,e=this[t(423)],i=e[t(433)][t(456)](t(457));e.ui[t(458)][t(454)](t(427),(n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(464)][s(446)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(411)](s(462)).to(i,s(438),i,s(462),e,s(407),((t,e,i)=>t&&e&&!i)),r[s(404)][s(439)]({icon:wt.IconHistory,label:ot(n,s(420)),tooltip:!0}),u[s(439)]({label:ot(n,s(417)),withText:!0,role:s(451)}),u[s(411)](s(462)).to(i,s(438),i,s(462),e,s(407),((t,e,i)=>t&&e&&!i)),u.on(s(424),(()=>this[s(447)]())),h[s(439)]({label:ot(n,s(460)),withText:!0,role:s(451)}),h[s(411)](s(462)).to(i,s(438),e,s(407),((t,e)=>t&&!e)),h.on(s(424),(()=>{const t=s;e[t(448)][t(456)](t(427))[t(426)](),r[t(442)]=!1,e[t(397)][t(425)][t(415)]()})),c[s(446)][s(454)](u),l[s(446)][s(454)](h),a[s(400)]=s(410),a[s(443)][s(450)]([c,l]),o[s(454)](a),r})),e.ui[t(458)][t(454)](t(430),(()=>this[t(399)]()))}[Wt(399)](){const t=Wt,e=this[t(423)],i=e[t(428)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(404)][t(439)]({icon:wt.IconHistory,label:ot(i,t(420))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(439)]({label:ot(i,t(417))}),o[t(436)](t(424)).to(n),o.on(t(424),(()=>{this[t(447)]()})),r[t(446)][t(454)](o),s[t(443)][t(454)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(439)]({label:ot(i,t(460))}),c[t(436)](t(424)).to(n),c.on(t(424),(()=>{const i=t;e[i(448)][i(456)](i(427))[i(426)]()})),a[t(446)][t(454)](c),s[t(443)][t(454)](a),n[t(464)][t(446)][t(454)](s),n}[Wt(447)](){const t=Wt,e=this[t(423)],i=e[t(428)],n=e[t(433)][t(456)](t(432)),s=e[t(433)][t(456)](t(457));function r(s){const r=t;e[r(448)][r(456)](r(408))&&""===s[r(398)]?s[r(412)][r(437)]=ot(i,r(463)):(e[r(433)][r(456)](ft)[r(429)]({name:s[r(398)]}),n[r(414)]())}this[t(434)]||(this[t(405)](),this[t(434)].on(t(419),(()=>r(this[t(434)])))),this[t(434)][t(465)](),n[t(401)]({id:t(459),title:ot(i,t(417)),isModal:!0,content:this[t(434)],actionButtons:[{label:ot(e[t(428)],t(453)),withText:!0,onExecute:()=>n[t(414)]()},{label:ot(e[t(428)],t(431)),class:t(422),withText:!0,onCreate(i){const n=t;i[n(411)](n(462)).to(s,n(438),s,n(462),e,n(407),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(434)])}]})}[Wt(405)](){const t=Wt,e=this[t(423)],i=e[t(428)];this[t(434)]=new zt(i,e[t(448)][t(456)](t(408))),this[t(434)][t(403)]()}}const $t=Bt;function qt(){const t=["15TQguBa","changeId","setTemplate","Suggested by","element","7zKfVPH","6AvrvVc","bindTemplate","data","250899HHxCGU","type","add","ck-annotation","11889729ofxrka","focus","Removed by","267698fLMvCW","ck-revision-change__label","2158675dgEECk","name","div","_model","428500ffUINj","1195000WQhLJT","ck-revision-change","author","set","isSuggestion","2473818jAbMnG","Added by","ck-revision-change__","span","60AvzxWj"];return(qt=function(){return t})()}function Bt(t,e){const i=qt();return(Bt=function(t,e){return i[t-=480]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(874197===parseInt(e(480))/1*(parseInt(e(490))/2)+parseInt(e(507))/3*(parseInt(e(496))/4)+parseInt(e(492))/5+parseInt(e(502))/6+parseInt(e(512))/7*(parseInt(e(497))/8)+-parseInt(e(487))/9+-parseInt(e(506))/10*(parseInt(e(483))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Yt extends _t.View{[$t(508)];[$t(495)];constructor(t,e){const i=$t;super(t),this[i(495)]=e,this[i(508)]=e.id;const n=this[i(481)],s=ot(t,e[i(482)][i(501)]?i(510):i(485)==e[i(484)]?i(503):i(489));this[i(500)](i(484),e[i(484)]),this[i(509)]({tag:i(494),attributes:{class:[i(486),i(498),n.to(i(484),(t=>i(504)+t))],tabindex:-1},children:[{tag:i(505),children:[{tag:i(505),attributes:{class:[i(491)]},children:[{text:s}]},{text:" "+e[i(499)][i(493)]}]}]})}[$t(488)](){const t=$t;this[t(511)][t(488)]()}}var Jt=Gt;function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=117]})(t,e)}function Qt(){var t=["548POszJt","563670vOLEth","8eVEvvW","set","559149LFxrdg","4239410smEvLV","904141oxeTij","author","createdAt","617232JTjgPI","2070upMndY","toJSON","1746YLUNwl","351aMoyRd","data","type","rootName"];return(Qt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(125483===parseInt(e(130))/1*(parseInt(e(117))/2)+-parseInt(e(121))/3+-parseInt(e(126))/4+-parseInt(e(127))/5*(parseInt(e(129))/6)+-parseInt(e(123))/7*(-parseInt(e(119))/8)+-parseInt(e(118))/9+parseInt(e(122))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(124)];[Jt(132)];[Jt(131)];[Jt(133)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(124)]=e[i(124)],this[i(132)]=e[i(132)],this[i(131)]=e[i(131)]||{},this[i(133)]=e[i(133)],this[i(120)](i(125),e[i(125)])}[Jt(128)](){var t=Jt;return{id:this.id,authorId:this[t(124)].id,type:this[t(132)],data:this[t(131)],createdAt:this[t(125)]}}}const Xt=ee;!function(t){const e=ee,i=t();for(;;)try{if(112815===parseInt(e(436))/1+parseInt(e(431))/2+-parseInt(e(439))/3*(-parseInt(e(443))/4)+-parseInt(e(429))/5*(-parseInt(e(441))/6)+parseInt(e(437))/7*(parseInt(e(430))/8)+parseInt(e(435))/9+-parseInt(e(440))/10*(parseInt(e(442))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class te{[Xt(432)];[Xt(434)];[Xt(444)];constructor(e,i){const n=Xt;this[n(432)]=e,this[n(434)]=i,this[n(444)]=new t.Collection}[Xt(438)](t){const e=Xt;for(const i of t)this[e(444)][e(433)](i)}}function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=429]})(t,e)}function ie(){const t=["164531dRhGoU","14KMxXYX","_setChanges","3lTsBeP","7610ynDlVM","181446KNehVT","10736bGKhsq","524932LJzhyY","changes","35oJsliw","611656USwqzK","110404PPIbRQ","newRevisionId","add","oldRevisionId","1259856YNBMBr"];return(ie=function(){return t})()}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=At(),se.insert=Nt().bind(null,"head"),se.domAPI=Tt(),se.insertStyleElement=Vt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=oe;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=439]})(t,e)}function ae(){const t=["done","editingDowncast","_getViewForChange","change:activeChange","_activeViewTarget","showStack","22mDSKuO","_changeIdToChange","text","target","2285937hdCNeU","_update","next","isOnRoot","_markSuggestions","_findChangeIdFromDomTarget","consumable","createRevision","distance","change:numberOfChanges","nodeAfter","addClass","startIndex","elementEnd","isInline","top","207517ZnFgFd","find","removeMarker","_initInteractions","pluginName","ck-suggestion-marker","values","isOfficialPlugin","_markMismatchedRemovedTags","getChild","_data","getDomRoot","setAttribute","430316AWkvrW","domConverter","showNextChange","removeAttribute","revision-suggestion","indexOf","hasAttribute","attributesBefore","first","delete","167880PEYZfS","_makeModelFromTape","forceDisabled","_getDiff","_markInsertions","vid_start","start","splice","restoreRevisionCallback","insertions","_joinTapes","_cleanMarkers","dataDowncast","add","userId","oldRevisionId","ck-suggestion-marker-merge","isEnabled","getAttributes","high","isAfter","getClientRects","offsetSize","isContent","detachRoot","elementStart","bind","getWalker","previousPosition","_refreshStartEndIndex","authors","code","revision:","test","range","all","16dAerds","ck-suggestion-marker--active","_cleanUp","domEvent","locale","requires","endIndex","split","from","forEach","_removeMissingPairs","RevisionsRepository","_getChangeFromId","revisionHistoryLabel","isAddSuggestion","newRevisionId","ck-revision-history-root-","markerName","createAttributeElement","changeId","findIndex","backward","enableReadOnlyMode","toViewElement","change","revision-comment:","changes","restoreRevision","mouseover","error","markerNameToElements","vid","isAttached","observeMarkers","isNavigationMode","POSITIVE_INFINITY","low","_utils","editing","compare","unbindElementFromMarkerName","_makeModelFromViewString","shift","mapViewToDom","refresh","hasClass","concat","element:pre","element","change:isEnabled","vid_end","toViewPosition","markersEnd","_getRevisionsRange","RevisionHistoryUtils","revisionHistory","isLimit","keys","_appendChild","bindElementToMarker","startsWith","RevisionViewer","span","_processTape","modelRange","getRootNames","markersStart","_balloon","revisionHistoryAttachChange","affectsData","catch","pairId","233052QoQwVf","removeClass","ck-editor__editable__overlay","sort","removeMarker:revision","getRevisionRootsAttributes","suggestion:","left","removeMarker:revision-suggestion","toViewRange","rootName","return","ck-revision-history-root-remove","flat","3vDznNU","createRangeIn","init","selection","push","insertion","updatePosition","pop","end","isSuggestion","isPremiumPlugin","plugins","slice","getCustomProperty","_makeTape","_changeView","maxOffset","roots","markerToData","change:isReady","config","_setDistance","getRevisionDocumentData","checkAttribute","_setChanges","mousedown","nextSibling","getLaterVisibleRevision","ck-suggestion-preview-marker","getRoot","mapper","diffData","attribute:vid","ck-suggestion-preview-marker-","currentChangeNumber","_setConversion","commands","schema","isBlock","ck-revision-history-root--active","abs","suggestion","type","index","addMarker:revision","filter","attributesAfter","5xayJcn","document","attributes","clear","-new","conversion","_revisions","data","then","revision","getRevision","elementToAttribute","for","activeChange","resolve","addRoot","level","viewItem","enqueueChange","isAdded","_fixObsoleteTags","revision-viewer","bottom","uiElement","right","createPositionFromPath","isAtEnd","adapter","change:activeView","markerToHighlight","revision-suggestion:","consume","createRange","ck-suggestion-marker-split","length","addHighlight","getAttribute","forward","ck-suggestion-marker-","deletion","1683720LvZKTT","upcast","isRemoved","nextPosition","isReady","addMarker:revision-suggestion:insertion","ck-revision-history-root-add","highest","repository","markerRange","side","merge","view","activeView","includes","deletions","unshift","isObject","comment","attachChange","loadRevisionData","destroy","_sortAndFilterDiffChanges","set","addMarker:revision-suggestion:deletion","string","listenTo","isRemoveSuggestion","_step","_markMarkers","createUIElement","showPreviousChange","createPositionBefore","isEqual","wrap","isAtStart","stop","dataToMarker","data-change-id","execute","remove","get","isCollapsed","markers","has","item","insert","_threeWayMerge","map","addRevisionData","reconvertMarker","name","softBreak","WidgetToolbarRepository","model","695282swvhLP","isBefore","getIndex","getItems","downcastDispatcher","writer","isIncorrect","object","parent","numberOfChanges","_removeUnsupportedChanges","addRevision","diff","editor"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(136367===-parseInt(e(642))/1+parseInt(e(665))/2*(-parseInt(e(460))/3)+parseInt(e(655))/4+parseInt(e(507))/5*(parseInt(e(446))/6)+-parseInt(e(602))/7*(-parseInt(e(701))/8)+-parseInt(e(626))/9+parseInt(e(547))/10*(parseInt(e(622))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends J.Plugin{[re(555)];[re(534)]=null;[re(738)];[re(620)];[re(475)];[re(623)];[re(441)];static get[re(646)](){return re(762)}static get[re(649)](){return!0}static get[re(470)](){return!0}static get[re(706)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(555)]=this[e(615)][e(471)][e(588)](e(712)),this[e(738)]=this[e(615)][e(471)][e(588)](e(755)),this[e(570)](e(520),null),this[e(570)](e(560),null),this[e(620)]=null,this[e(570)](e(614),null),this[e(570)](e(551),!1),this[e(570)](e(682),!0),this.on(e(750),((t,i,n)=>{const s=e;this[s(520)]=null,this[s(560)]=null,this[s(615)][s(739)][s(559)][s(725)]((t=>{const e=s;for(const i of this[e(615)][e(739)][e(559)][e(508)][e(477)])n?t[e(447)](e(448),i):t[e(637)](e(448),i)}))})),this[e(691)](e(735)).to(this,e(520),(t=>null!==t)),this[e(691)](e(494)).to(this,e(551),this,e(614),this,e(520),((t,i,n)=>t&&n?i[e(727)][e(604)](n):0)),this[e(691)](e(611)).to(this,e(551),this,e(614),((t,i)=>t?i[e(727)][e(541)]:0)),this[e(475)]=null,this[e(623)]=new Map,this[e(441)]=this[e(615)][e(471)][e(588)](_t.ContextualBalloon)}[re(462)](){const t=re,e=this[t(615)],i=new he(e,{direction:t(722)}),n=new he(e,{direction:t(544)});e[t(496)][t(678)](t(578),i),e[t(496)][t(678)](t(657),n),e[t(496)][t(678)](t(728),new le(e)),this.on(t(635),(()=>{const e=t;i[e(745)](),n[e(745)]()})),this[t(495)](),this[t(645)](),e[t(723)](t(528)),e[t(471)][t(591)](t(600))&&e[t(471)][t(588)](t(600))[t(667)](t(528))}async[re(482)](t){const e=re;return await this[e(738)][e(567)](t,this[e(534)]),this[e(738)][e(482)](t)}async[re(451)](t){const e=re;return await this[e(738)][e(567)](t,this[e(534)]),this[e(738)][e(451)](t)}async[re(740)](t,e,i=!1){const n=re;if(!this[n(682)])return;const s=this[n(614)],r=this[n(555)],o=n(572)==typeof t?r[n(517)](t):t,a=n(572)==typeof e?r[n(517)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(614)]&&this[n(614)][n(716)]===c&&this[n(614)][n(680)]===u)return Promise[n(521)]();this[n(551)]=!1,this[n(560)]=null,this[n(520)]=null,this[n(614)]=new te(c,u);const l=this[n(754)](o,a,!0)[n(595)]((t=>this[n(738)][n(567)](t,this[n(534)])));return l[n(464)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(700)](l)[n(515)]((()=>{const t=n;if(!this[t(682)])return;this[t(703)]();const e=this[t(668)](c,u);for(const i of e[t(727)])this[t(623)][t(570)](i.id,i);this[t(615)][t(601)][t(525)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(615)][n(601)][n(508)][n(439)]())i[n(689)](t);for(const t of Object[n(758)](e[n(601)])){const s=i[n(522)](t);for(const r of Object[n(758)](e[n(509)][t]))i[n(654)](r,e[n(509)][t][r],s);i[n(593)](e[n(601)][t],s,0)}})),this[t(614)][t(484)](this[t(569)](e[t(727)])),this[t(551)]=!0}))[n(444)]((t=>{const e=n;console[e(730)](t),this[e(703)](),s&&(this[e(614)]=s),this[e(551)]=!0}))}[re(596)](t,e){const i=re,n=this[i(555)][i(633)](t);return n.on(i(627),((t,i,s)=>e(i,s,n))),this[i(555)][i(613)](n),n}[re(703)](){const t=re;this[t(520)]=null,this[t(676)](),this[t(475)]&&this[t(475)][t(568)](),this[t(475)]=null,this[t(623)][t(510)](),this[t(615)][t(601)][t(525)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(615)][i(601)][i(508)][i(439)]())e[i(689)](t)}))}[re(569)](t){const e=re,i=[],n=new Map;for(const t of this[e(615)][e(601)][e(508)][e(439)]()){const s=this[e(615)][e(739)][e(559)][e(653)](t);if(!s)continue;const r=s[e(686)]()[e(592)](0);r&&(i[e(464)](t),n[e(570)](t,r))}return i[e(449)](((t,i)=>{const s=e,r=n[s(588)](t),o=n[s(588)](i);return r.y-o.y||r.x-o.x})),(t=t[e(505)]((t=>i[e(561)](t[e(456)]))))[e(449)](((t,n)=>i[e(660)](t[e(456)])-i[e(660)](n[e(456)]))),t}[re(474)](t){const e=re,i=Array[e(709)](t[e(590)])[e(505)]((([t,i])=>t[e(761)](e(697))&&!i[e(589)])),n=Array[e(709)](this[e(615)][e(601)][e(461)](t)[e(692)]({singleCharacters:!0}));if(0!=i[e(541)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(708)](":");if(s[e(468)][e(580)](t[e(550)])&&i[e(743)](),(t[e(693)][e(580)](s[e(671)])||t[e(693)][e(685)](s[e(671)]))&&(e(465)==r?t[e(526)]={userId:o}:e(546)==r&&(t[e(549)]={userId:o})),0==i[e(541)])break}return n}[re(694)](t){const e=re,i=new Map;for(let n=0;n<t[e(541)];n++)e(624)===t[n][e(502)]?(t[n][e(592)][e(638)]=n,t[n][e(592)][e(707)]=n):(e(690)===t[n][e(502)]?t[n][e(592)][e(638)]=n:e(639)===t[n][e(502)]&&(t[n][e(592)][e(707)]=n),i[e(570)](t[n].id,n));for(const n of i[e(648)]())e(690)===t[n][e(502)]?t[n][e(592)][e(707)]=i[e(588)](t[n][e(445)]):e(639)===t[n][e(502)]&&(t[n][e(592)][e(638)]=i[e(588)](t[n][e(445)]))}[re(764)](t){const e=re;for(let i=0;i<t[e(541)];i++){if(e(690)===t[i][e(502)])t[i][e(592)][e(638)]=i;else if(e(639)===t[i][e(502)]){t[i][e(592)][e(707)]=i;const n=t[i][e(592)][e(638)];t[n][e(445)]=t[i].id,t[i][e(445)]=t[n].id}else t[i][e(592)][e(638)]=i,t[i][e(592)][e(707)]=i,t[i][e(445)]=null;t[i][e(440)]||(t[i][e(440)]=[],t[i][e(753)]=[])}}[re(669)](t,e){const i=re,n=t[i(505)]((t=>!t[i(526)]));for(let t=0;t<e[i(541)];t++)e[t][i(526)]&&(n[t][i(526)]=e[t][i(526)])}[re(668)](t,e=null){const i=re,n=this[i(555)][i(517)](t),s=e?this[i(555)][i(517)](e):null,r=this[i(754)](n,s),o=r[r[i(541)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(541)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(758)](e[i(491)]))if(e[i(491)][t][i(566)]){const n=e[i(491)][t][i(566)];n[i(733)]?(u[i(678)](t),l[i(591)](t)&&l[i(588)](t)[i(679)]==n[i(679)]?l[i(664)](t):l[i(570)](t,n)):l[i(591)](t)?(u[i(664)](t),l[i(664)](t)):(u[i(678)](t),l[i(570)](t,n))}else u[i(678)](t)}for(const t of u){const e=l[i(591)](t)&&!l[i(588)](t)[i(733)];let n=e?r[i(541)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(491)][t]){const n=e?o[i(491)][t][i(662)]:o[i(491)][t][i(506)];c[i(509)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(601)]={};for(const e of t[i(695)])a[i(570)](e.id,e);for(const e of u){const n=t[i(491)][e]?t[i(491)][e][i(674)]:"[]",s=t[i(491)][e]?t[i(491)][e][i(562)]:"[]";t[i(601)][e]={insertions:this[i(738)][i(742)](n),deletions:this[i(738)][i(742)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(709)](n[i(601)][t][i(674)][i(590)])[i(505)]((([t])=>!t[i(761)](i(697)))));let h=0;for(const o of r){const r=this[i(474)](o[i(601)][t][i(674)]);o==n?(e=r,s=e[i(541)],e[i(710)]((t=>{t.id=h++})),this[i(764)](e)):this[i(669)](e,r);const a=e[i(505)]((t=>!t[i(526)]))[i(595)]((t=>t.id));let c=0;const l=this[i(474)](o[i(601)][t][i(562)]);l[i(710)]((t=>{t[i(549)]?t.id=s++:t.id=a[c++]})),this[i(764)](l),this[i(481)](e,i(526)),this[i(481)](l,i(549)),o==n&&this[i(576)](e,u),e=this[i(675)](e,l),this[i(694)](e),this[i(481)](e,i(549))}e=e[i(505)]((t=>!(t[i(526)]&&t[i(549)])));const d=new Map(o[i(601)][t][i(562)][i(590)]),f=new Set(u[i(758)]());for(const t of d[i(758)]())f[i(664)](t);this[i(630)](e,f),this[i(527)](e),e=this[i(711)](e),e=this[i(650)](e),e=this[i(612)](e);const{root:m,changes:p}=this[i(666)](e,a,t);c[i(601)][t]=m;const v=l[i(588)](t);if(v){const e=a[i(588)](v[i(679)]),n=new Kt({author:e,type:v[i(733)]?i(678):i(587),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(563)](n),c[i(509)][t][i(442)]=n.id}c[i(727)]=c[i(727)][i(747)](p)}return c}[re(576)](t,e){const i=re;for(let n=0;n<t[i(541)];n++)for(const[s,r]of e)!r[i(589)]&&r[i(671)][i(580)](t[n][i(693)])&&t[n][i(440)][i(464)](s),r[i(468)][i(580)](t[n][i(550)])&&t[n][i(753)][i(464)](s)}[re(675)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(541)]||r<e[i(541)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(464)](o);else if(a[i(549)]&&o[i(526)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(594)](t,s,e,r);n=n[i(747)](o),s=a,r=c}else a[i(549)]?(r++,n[i(464)](a)):(s++,n[i(464)](o))}return n}[re(630)](t,e){const i=re,n=[];for(let o=0;o<t[i(541)];o++){for(let r=0;r<t[o][i(440)][i(541)];r++){const a=t[o][i(440)][r];if(!e[i(591)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(659)!=c||i(465)!=u&&i(546)!=u||(n[i(563)]({type:u,name:a,userId:l}),t[o][i(440)][i(672)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(753)][i(541)];r++){const a=t[o][i(753)][r];if(!e[i(591)](a))continue;const{group:c,type:u}=s(a);if(i(659)!=c||i(465)!=u&&i(546)!=u)continue;t[o][i(753)][i(672)](r,1),r--;const l=n[i(721)]((t=>t[i(598)]==a));l>-1&&n[i(672)](l,1)}}function s(t){const e=i,n=t[e(708)](":");return{group:n[0],type:n[1],subType:n[e(541)]>=5?n[2]:null,id:n[e(541)]<5?n[2]:n[3],authorId:n[e(541)]<5?n[3]:n[4],markerCount:6==n[e(541)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(541)];i++){if(t[e(526)]&&e(465)==n[i][e(502)]&&t[e(526)][e(679)]==n[i][e(679)])return t[e(715)]=n[i],void delete t[e(526)];if(!t[e(526)]&&!t[e(549)]&&e(546)==n[i][e(502)])return void(t[e(574)]=n[i])}}}[re(481)](t,e){const i=re;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(570)](o.id,n);for(let n=0;n<t[i(541)];n++){if(i(549)==e&&t[n][i(526)]||i(526)==e&&t[n][i(549)])continue;if(i(624)==t[n][i(502)]){t[n][i(634)]=0;continue}const s=r[i(588)](t[n][i(445)]),o=r[i(588)](t[n].id);t[n][i(634)]=s-o}}[re(754)](t,e,i=!1){const n=re,s=[];let r=this[n(555)][n(604)](t),o=this[n(555)][n(604)](e);for(-1==o&&(o=this[n(555)][n(513)][n(541)],i=!1);r<o;)s[n(464)](this[n(555)][n(517)](r)),r++;return i&&s[n(464)](this[n(555)][n(517)](r)),s}[re(594)](t,e,i,n){const s=re,r=this[s(615)][s(601)][s(497)];let o=e;for(;t[o]&&t[o][s(526)];)o++;let a=n;for(;i[a]&&i[a][s(549)];)a++;u(t,e,o),u(i,n,a);const c=i[s(472)](n,a)[s(747)](t[s(472)](e,o));return c[s(449)](((t,e)=>t[s(557)]!=e[s(557)]?t[s(557)]-e[s(557)]:t[s(523)]!=e[s(523)]?t[s(523)]-e[s(523)]:t[s(634)]!=e[s(634)]?e[s(634)]-t[s(634)]:!!t[s(526)]!=!!e[s(526)]?-1==t[s(557)]||0==t[s(557)]?t[s(526)]?-1:1:t[s(526)]?1:-1:t[s(503)]-e[s(503)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(736)],c=!0;for(let s=e;s<i;s++)if(r[n(640)](t[s][n(592)])||(c=!1),t[s][n(592)][n(638)]<e&&(o=s),t[s][n(592)][n(707)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(557)]=s<=o?-1:s<a?0:1,t[s][n(503)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(634)]?t[i][n(523)]=u:(u++,t[i][n(523)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(557)]&&(t[s][n(523)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(634)]?t[e][n(523)]=u:(u--,t[e][n(523)]=u,u--)}}[re(527)](t){const e=re,i=new Map,n=this[e(615)][e(601)][e(497)];for(let s=1;s<t[e(541)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(624)==c[e(502)])continue;if(c[e(502)]!=u[e(502)])continue;if(!n[e(498)](u[e(592)])||n[e(757)](u[e(592)]))continue;if(!n[e(498)](c[e(592)])||n[e(757)](c[e(592)]))continue;if((t[s][e(526)]||t[s][e(715)])&&t[s-1][e(549)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(549)]||!t[s-1][e(526)]&&!t[s-1][e(715)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(523)]==o[e(523)],h=Math[e(500)](r[e(523)])<Math[e(500)](o[e(523)])&&0==o[e(634)];(l||h)&&(i[e(570)](o.id,r.id),t[e(672)](a,1),s--,r[e(526)]=!1)}for(let n=0;n<t[e(541)];n++)i[e(591)](t[n][e(445)])&&(t[n][e(445)]=i[e(588)](t[n][e(445)]))}[re(711)](t){const e=re,i=new Set(t[e(595)]((t=>t.id)));for(let n=0;n<t[e(541)];n++)i[e(591)](t[n][e(445)])||0==t[n][e(634)]||(t[n][e(608)]=!0);return t[e(505)]((t=>!t[e(608)]))}[re(650)](t){const e=re,i=new Set;for(let n=0;n<t[e(541)];n++){if(i[e(591)](t[n].id)&&t[n][e(549)]&&(t[n][e(608)]=!0),t[n][e(608)])continue;if(0==t[n][e(634)])continue;if(e(690)!=t[n][e(502)])continue;if(null==t[n][e(445)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(445)];)e(690)==t[s][e(502)]?r++:e(639)==t[s][e(502)]&&r--,s++;if(0!=r)if(t[n][e(549)])t[n][e(608)]=!0;else for(;s!=n;)t[s][e(549)]&&0!=t[s][e(634)]&&(t[s][e(608)]=!0,i[e(678)](t[s][e(445)])),s--}return t[e(505)]((t=>!t[e(608)]))}[re(612)](t){const e=re,i=this[e(615)][e(601)][e(497)];for(let n=0;n<t[e(541)];n++){if(!(t[n][e(526)]||t[n][e(715)]||t[n][e(549)]||t[n][e(574)]))continue;if(0==t[n][e(634)])continue;const s=t[n][e(592)];i[e(498)](s)||i[e(757)](s)||(t[n][e(526)]&&delete t[n][e(526)],t[n][e(715)]&&delete t[n][e(715)],t[n][e(574)]&&delete t[n][e(574)],t[n][e(549)]&&(t[n][e(608)]=!0))}return t[e(505)]((t=>!t[e(608)]))}[re(666)](t,e,i){const n=re,s=new Q.DocumentFragment,r=[],o=new Map,a=this[n(615)][n(601)],c=a[n(497)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(541)];e++)if(n(690)===t[e][n(502)]){t[e][n(693)]=a[n(532)](s,f);const i=new Q.Element(t[e][n(592)][n(598)],t[e][n(592)][n(683)]());u[0][n(759)](i),f[n(464)](0),u[n(563)](i),t[e][n(550)]=a[n(532)](s,f)}else n(639)===t[e][n(502)]?(u[n(743)](),t[e][n(693)]=a[n(532)](s,f),f[n(467)](),f[f[n(541)]-1]++,t[e][n(550)]=a[n(532)](s,f)):(t[e][n(693)]=a[n(532)](s,f),d?d[n(652)]+=t[e][n(592)][n(514)]:d=new Q.Text(t[e][n(592)][n(514)],t[e][n(592)][n(683)]()),t[e+1]&&n(624)===t[e+1][n(502)]&&v(d,t[e+1][n(592)])||(u[0][n(759)](d),d=null),f[f[n(541)]-1]+=t[e][n(592)][n(687)],t[e][n(550)]=a[n(532)](s,f));for(let e=0;e<t[n(541)];e++){const i=t[e][n(693)],s=t[e][n(550)];for(const s of t[e][n(440)])o[n(570)](s,{start:i,end:null});m(n(574),e,i,s),m(n(715),e,i,s),m(n(549),e,i,s),m(n(526),e,i,s);for(const i of t[e][n(753)]){const t=o[n(588)](i);t?t[n(468)]=s:o[n(570)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(615)][n(601)][n(539)](e[n(671)],e[n(468)]);s[n(590)][n(570)](t,i)}return r[n(449)](((t,e)=>{const i=n,r=s[i(590)][i(588)](i(697)+t.id),o=s[i(590)][i(588)](i(697)+e.id);return r[i(671)][i(603)](o[i(671)])?-1:r[i(671)][i(685)](o[i(671)])?1:r[i(468)][i(603)](o[i(468)])?-1:r[i(468)][i(685)](o[i(468)])?1:i(678)===t[i(502)]?-1:1})),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(679)]:null,d=i===t[o(541)]-1,f=h[e][0],m=c[o(564)](t[i][o(592)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(468)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(679)]!==u&&(l[e][o(468)]=s,f&&f[o(679)]===l[e][o(679)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(690)!==t[i][o(502)]||f&&f[o(679)]===u||h[e][o(563)]({userId:u,object:t[i][o(592)],change:l[e]}),o(639)===t[i][o(502)]&&f&&f[o(609)]===t[i][o(592)]&&(h[e][o(743)](),l[e]=f[o(725)])),l[e]&&d&&(l[e][o(468)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(592)],f=a[h(497)][h(498)](d)&&!a[h(497)][h(757)](d),m=t[h(636)]==o[h(610)]&&o[h(582)];if(f&&m)return;const p=a[h(539)](t,o),v=e[h(588)](u),g=new Kt({author:v,type:h(526)==l||h(715)==l?h(678):h(587),data:{isSuggestion:h(715)==l||h(574)==l},createdAt:new Date,rootName:i});r[h(464)](g),s[h(590)][h(570)](h(697)+g.id,p)}function v(t,e){const i=n,s=t[i(683)](),r=e[i(683)]();for(const t of s){if(t[1]!==e[i(543)](t[0]))return!1;r[i(628)]()}return r[i(628)]()[i(616)]}}[re(495)](){const t=re;this[t(615)][t(512)][t(519)](t(548))[t(584)]({view:t(516)}),this[t(615)][t(512)][t(519)](t(617))[t(536)]({model:t(516),view:e=>{const i=t,n=e[i(718)][i(708)](":")[1],s=this[i(713)](n);if(!s)return null;const r=i(678)==s[i(502)]?i(465):i(546),o=[i(647),i(545)+r];return s[i(514)][i(469)]&&o[i(464)](i(545)+r+i(511)),this[i(520)]==s&&o[i(464)](i(702)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(615)][t(512)][t(519)](t(548))[t(678)]((e=>{const i=t;e.on(i(748),((t,e,n)=>{const s=i,r=e[s(524)][s(651)](0);if(!r||!r.is(s(749),s(696)))return;if(!n[s(632)][s(538)](r,{attributes:[s(670),s(751)]}))return;const o=e[s(765)][s(671)][s(636)];n[s(607)][s(654)](s(670),r[s(543)](s(670)),o),n[s(607)][s(654)](s(751),r[s(543)](s(751)),o)}),{priority:i(737)})})),this[t(615)][t(512)][t(519)](t(548))[t(678)]((e=>{const i=t;e.on(i(749),((t,e,n)=>{const s=i;if(!n[s(632)][s(538)](e[s(524)],{attributes:[s(670),s(751)]}))return;if(e[s(765)][s(589)])return;const r=e[s(765)][s(671)][s(636)];r[s(661)](s(670))||r[s(661)](s(732))||(n[s(607)][s(654)](s(670),e[s(524)][s(543)](s(670)),r),n[s(607)][s(654)](s(751),e[s(524)][s(543)](s(751)),r))}),{priority:i(737)})})),this[t(615)][t(512)][t(519)](t(548))[t(518)]({view:{name:t(763),attributes:{vid:!0}},model:{key:t(732),value:e=>e[t(543)](t(732))}}),this[t(615)][t(601)][t(497)].on(t(483),((e,[,i])=>{const n=t;[n(670),n(751),n(732)][n(561)](i)&&(e[n(457)]=!0,e[n(583)]())}),{priority:t(554)}),this[t(615)][t(512)][t(519)](t(677))[t(678)]((e=>{const i=t;e.on(i(492),((t,e,n)=>{const s=i;if(" "!=e[s(592)][s(514)]||e[s(592)][s(610)][s(476)]>1)return;if(!n[s(632)][s(538)](e[s(592)],t[s(598)]))return;const r=n[s(607)],o=n[s(490)][s(455)](e[s(699)]);r[s(581)](o,r[s(719)](s(763)))}))})),this[t(615)][t(512)][t(519)](t(677))[t(478)]({model:t(516)}),this[t(615)][t(739)][t(606)].on(t(504),function(e){const i=t,n=e[i(471)][i(588)](i(762));return(t,s,r)=>{const o=i,a=s[o(718)][o(708)](":")[1],c=n[o(713)](a);if(!c)return null;const u=o(678)==c[o(502)]?o(708):o(558);if(!r[o(632)][o(698)](s[o(556)],t[o(598)]))return;const l=s[o(556)][o(692)](),h=s[o(556)][o(671)],d=e[o(601)][o(497)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(592)];p=p||d[o(688)](e);const i=r[o(490)][o(724)](e);if(i&&i[o(473)](o(542)))return;o(639)==t[o(502)]&&d[o(498)](e)&&!d[o(757)](e)&&(e[o(486)]||h[o(533)]?f&&f[o(610)]==e||(f=e,g(t[o(693)]),v=!0):m=m||t[o(693)])}function g(t){const e=o,i=r[e(607)][e(577)](e(763),{class:e(545)+u}),a=r[e(490)][e(752)](t);c[e(514)][e(469)]&&r[e(607)][e(637)](e(545)+u+e(511),i),n[e(520)]==c&&r[e(607)][e(637)](e(702),i),r[e(607)][e(593)](a,i),r[e(490)][e(760)](i,s[e(718)])}p||v||!m||g(m)}}(this[t(615)]),{priority:t(684)}),this[t(615)][t(739)][t(606)].on(t(450),((e,i,n)=>{const s=t,r=n[s(490)][s(731)](i[s(718)]);if(r)for(const t of r)(t[s(746)](s(540))||t[s(746)](s(681)))&&(n[s(490)][s(741)](t,i[s(718)]),n[s(607)][s(587)](t))}),{priority:t(684)}),this[t(615)][t(739)][t(606)].on(t(504),((e,i,n)=>{const s=t,r=i[s(718)][s(708)](":")[1],o=this[s(713)](r);if(!o)return null;const a=s(678)==o[s(502)]?s(708):s(558);if(n[s(632)][s(698)](i[s(556)],e[s(598)]))for(const t of i[s(556)][s(605)]()){if(!t.is(s(749),s(599)))continue;const e=n[s(607)][s(577)](s(763),{class:s(545)+a}),r=n[s(490)][s(752)](this[s(615)][s(601)][s(579)](t));o[s(514)][s(469)]&&n[s(607)][s(637)](s(545)+a+s(511),e),this[s(520)]==o&&n[s(607)][s(637)](s(702),e),n[s(607)][s(593)](r,e),n[s(490)][s(760)](e,i[s(718)])}}),{priority:t(684)}),this[t(615)][t(601)][t(508)].on(t(725),(()=>{const e=t;this[e(615)][e(739)][e(559)][e(725)]((t=>{const i=e;for(const e of this[i(615)][i(601)][i(508)][i(439)]()){const n=this[i(615)][i(601)][i(508)][i(489)](e),s=this[i(615)][i(739)][i(559)][i(508)][i(489)](e);if(s){const e=n[i(543)](i(442));if(t[i(658)](i(585),s),t[i(447)](i(553),s),t[i(447)](i(458),s),t[i(447)](i(499),s),e){const n=this[i(713)](e);if(!n)return null;t[i(654)](i(585),e,s),t[i(637)](i(717)+n[i(502)],s),this[i(520)]==n&&t[i(637)](i(499),s)}}}}))})),this[t(615)][t(512)][t(519)](t(548))[t(584)]({view:t(565),model:e=>t(726)+e,converterPriority:t(554)}),this[t(615)][t(512)][t(519)](t(548))[t(584)]({view:t(501),model:e=>t(537)+e,converterPriority:t(554)}),this[t(615)][t(512)][t(519)](t(677))[t(478)]({model:t(659),view:e=>({name:t(452)+e,group:t(659)}),converterPriority:t(554)}),this[t(615)][t(512)][t(519)](t(617))[t(536)]({model:t(659),view:e=>{const i=t,n=e[i(718)][i(708)](":")[1];return i(465)!=n&&i(546)!=n?null:{classes:[i(488),i(493)+n]}}}),this[t(615)][t(739)][t(606)].on(t(571),ue(this[t(615)],t(558)),{priority:t(684)}),this[t(615)][t(739)][t(606)].on(t(552),ue(this[t(615)],t(708)),{priority:t(684)}),this[t(615)][t(739)][t(606)].on(t(454),((e,i,n)=>{const s=t,r=n[s(490)][s(731)](i[s(718)]);if(r)for(const t of r)t.is(s(530))&&(n[s(490)][s(741)](t,i[s(718)]),n[s(607)][s(587)](t))}),{priority:t(684)})}[re(713)](t){const e=re;return this[e(623)][e(588)](t)}[re(618)](t){const e=re;return this[e(475)]&&this[e(475)][e(568)](),this[e(475)]=new Yt(this[e(615)][e(705)],t),this[e(475)]}[re(645)](){const t=re;this[t(615)][t(601)][t(508)][t(463)][t(734)](t(516)),this.on(t(535),((e,i,n,s)=>{const r=t;s&&this[r(441)][r(587)](s),n&&(this[r(441)][r(678)]({view:n,stackId:r(714),position:{target:()=>{const t=r,e=this[t(615)][t(739)],i=this[t(713)](n[t(720)]);let s;if(i[t(514)][t(629)]){const n=e[t(559)][t(653)](i[t(456)]);s=Array[t(709)](n[t(686)]())}else{const i=this[t(615)][t(601)][t(590)][t(588)](t(697)+n[t(720)]);s=Array[t(709)](e[t(490)][t(731)](i[t(598)]))[t(595)]((i=>e[t(559)][t(656)][t(744)](i)))[t(595)]((e=>Array[t(709)](e[t(686)]())))[t(459)]()}return this[t(620)]&&s[t(643)]((e=>e[t(641)]-3<=this[t(620)].y&&e[t(529)]+3>=this[t(620)].y&&e[t(453)]-3<=this[t(620)].x&&e[t(531)]+3>=this[t(620)].x))||s[0]}}}),this[r(441)][r(621)](r(714)))})),this.on(t(619),((e,i,n,s)=>{const r=t;this[r(560)]=n?this[r(618)](n):null,this[r(615)][r(601)][r(725)]((()=>{const t=r,e=this[t(615)][t(739)];s&&(s[t(514)][t(629)]?e[t(559)][t(725)]((i=>{const n=t;i[n(447)](n(499),e[n(559)][n(508)][n(489)](s[n(456)]))})):e[t(597)](t(697)+s.id)),n&&(n[t(514)][t(629)]?e[t(559)][t(725)]((i=>{const s=t;i[s(637)](s(499),e[s(559)][s(508)][s(489)](n[s(456)]))})):e[t(597)](t(697)+n.id))}))})),this[t(573)](this[t(615)][t(739)][t(559)][t(508)],t(729),((e,i)=>{const n=t;if(this[n(520)])return;const s=this[n(631)](i[n(625)]),r=this[n(623)][n(588)](s);r?(this[n(620)]={x:i[n(704)].x,y:i[n(704)].y},this[n(560)]=this[n(618)](r)):(this[n(620)]=null,this[n(560)]=null)})),this[t(573)](this[t(615)][t(739)][t(559)][t(508)],t(485),((e,i)=>{const n=t,s=this[n(631)](i[n(625)]),r=this[n(623)][n(588)](s);r?(this[n(620)]={x:i[n(704)].x,y:i[n(704)].y},r===this[n(520)]?this[n(441)][n(466)]():this[n(520)]=r):(this[n(620)]=null,this[n(520)]=null)}))}[re(631)](t){const e=re;do{const i=t[e(543)](e(585));if(i)return i;t=t[e(610)]}while(t);return null}[re(676)](){const t=re;this[t(615)][t(601)][t(725)]((e=>{const i=t;for(const t of this[i(615)][i(601)][i(590)])e[i(644)](t)}))}}function ue(t,e){return(i,n,s)=>{const r=oe;if(!s[r(632)][r(698)](n[r(556)],i[r(598)]))return;const o=n[r(556)][r(692)](),a=n[r(556)][r(671)],c=t[r(601)][r(497)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(592)];h=h||c[r(688)](e);const i=s[r(490)][r(724)](e);if(i&&i[r(473)](r(542)))return;r(639)==t[r(502)]&&c[r(498)](e)&&!c[r(757)](e)&&(e[r(486)]||a[r(533)]?u&&u[r(610)]==e||(u=e,f(t[r(693)]),d=!0):l=l||t[r(693)])}function f(t){const i=r,o=s[i(490)][i(752)](t),a=s[i(607)][i(577)](i(763),{class:i(493)+e});s[i(607)][i(593)](o,a),s[i(490)][i(760)](a,n[i(718)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(471)][e(588)](ce);this[e(443)]=!1,this[e(573)](i,e(479),(()=>this[e(745)]())),this[e(573)](i,e(750),(()=>this[e(745)]()))}[re(586)](){const t=re,e=this[t(615)],i=e[t(471)][t(588)](ce),n=i[t(551)]?i[t(614)][t(716)]:null;e[t(480)][t(588)](t(756))[t(673)](n)}[re(745)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(615)][t(471)][t(588)](ce),r=s&&n[t(487)](s[t(716)]);this[t(682)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(575)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(471)][i(588)](ce);this[i(443)]=!1,this[i(575)]=i(544)===e?1:-1,this[i(573)](n,i(479),(()=>this[i(745)]())),this[i(573)](n,i(750),(()=>this[i(745)]())),this[i(573)](n,i(619),(()=>this[i(745)]()))}[re(586)](){const e=re,i=this[e(615)],n=i[e(471)][e(588)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(520)]=s?n[e(614)][e(727)][e(588)](r+this[e(575)]):n[e(614)][e(727)][e(663)],n[e(520)][e(514)][e(629)])o=i[e(739)][e(559)][e(653)](n[e(520)][e(456)]);else{const t=i[e(601)][e(590)][e(588)](e(697)+n[e(520)].id);o=(0,G.getMarkerDomElement)(i[e(739)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(745)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(615)][t(471)][t(588)](ce);this[t(682)]=!!(r&&s&&n)&&(!e||(1===this[t(575)]?i<n-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Vt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(){const t=["fire","Show next change","Loading...","2668668raxUQN","EDIT_X_OF_Y_REVISIONS","1nnpjNV","backward","2489697vlqCBJ","900837uZQoFc","Show previous change","ck-revision-history-ui__changes-navigation__label","NUMBER_OF_CHANGES","1168296SCfmfm","div","80729WmDnPJ","set","numberOfChanges","_statusText","ck-revision-history-ui__changes-navigation","549928RslIdi","ck-revision-history-ui","1250mxBWNM","isNavigationMode","21ugaWQw","No changes","execute","setTemplate","bindTemplate","forward","isEnabled","_isStatusLabelVisible","X_OF_Y_CHANGES","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","375rugSAH","ck-revision-history-ui__changes-navigation__wrapper","isReady","ck-hidden","Total","bind","span","27948TifClA","currentChangeNumber","isBackwardNavigationEnabled"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=287]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(443297===-parseInt(e(306))/1*(parseInt(e(320))/2)+-parseInt(e(308))/3+-parseInt(e(298))/4*(-parseInt(e(291))/5)+parseInt(e(304))/6+-parseInt(e(324))/7*(parseInt(e(313))/8)+parseInt(e(309))/9+parseInt(e(322))/10*(parseInt(e(315))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);class ve extends _t.View{constructor(t){const e=pe;super(t);const i=this[e(328)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(316)](e(323),!1),this[e(316)](e(293),!1),this[e(316)](e(299),0),this[e(316)](e(317),0),this[e(316)](e(289),!1),this[e(316)](e(300),!1),this[e(296)](e(287)).to(this,e(293),this,e(317),((t,e)=>t&&e>0)),this[e(296)](e(318)).to(this,e(293),this,e(299),this,e(317),this,e(323),((i,n,s,r)=>{const o=e;if(!i)return ot(t,o(303));if(!s)return ot(t,o(325));const a=ot(t,o(312),s);return r?ot(t,o(288),[n+1,s]):a})),n[e(316)]({label:ot(t,e(310)),tooltip:!0,icon:wt.IconChevronUp}),s[e(316)]({label:ot(t,e(302)),tooltip:!0,icon:wt.IconChevronDown}),n[e(296)](e(330)).to(this,e(300)),s[e(296)](e(330)).to(this,e(289)),n.on(e(326),(()=>this[e(301)](e(326),e(307)))),s.on(e(326),(()=>this[e(301)](e(326),e(329)))),this[e(327)]({tag:e(314),attributes:{class:["ck",e(321),e(319)]},children:[{tag:e(297),attributes:{class:[e(292)]},children:[{tag:e(297),attributes:{class:[e(311),i.if(e(287),e(294),(t=>!t))]},children:[{text:i.to(e(323),(i=>i?ot(t,e(305))+": ":ot(t,e(295))+": "))}]},{text:i.to(e(318))}]},new _t.ToolbarSeparatorView,{tag:e(314),attributes:{class:[e(290)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Vt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=we;!function(t){const e=we,i=t();for(;;)try{if(508440===-parseInt(e(238))/1+-parseInt(e(229))/2+-parseInt(e(236))/3+parseInt(e(224))/4+-parseInt(e(235))/5+-parseInt(e(227))/6+parseInt(e(218))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const be=ke(231);function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=218]})(t,e)}class _e extends J.Plugin{static get[ke(220)](){return ke(223)}static get[ke(239)](){return!0}static get[ke(219)](){return!0}[ke(228)](){const t=ke,e=this[t(234)][t(237)][t(230)];e[t(222)]((i=>{const n=t;for(const t of e[n(226)][n(225)])i[n(233)](be,t)}))}[ke(232)](){const t=ke,e=this[t(234)][t(237)][t(230)];e[t(222)]((i=>{const n=t;for(const t of e[n(226)][n(225)])i[n(221)](be,t)}))}}function Ie(){const t=["2403117cRYjJv","editing","729527eoiDBP","isOfficialPlugin","18057466zGjCtO","isPremiumPlugin","pluginName","removeClass","change","RevisionViewerLoadingOverlay","628488CIRHrA","roots","document","2890242dSGWCL","show","98888vCIjpP","view","ck-editor__editable__loading-overlay","hide","addClass","editor","833015UkrsVI"];return(Ie=function(){return t})()}const Se=Te;function Oe(){const t=["1136949HYhQMe","226218UPKBvG","show","set","bind","listenTo","308290ZqsJeP","execute","showNextChange","plugins","ck-revision-history-ui__back-to-editing","commands","editor","revisionHistory","showPreviousChange","componentFactory","isForwardNavigationEnabled","RevisionViewerUI","restoreRevision","closeRevisionViewerCallback","numberOfChanges","1344cDwesh","isPremiumPlugin","get","isReady","isNavigationMode","add","config","6EbMwQj","2675cTqTpg","forward","isBackwardNavigationEnabled","622983wvIyeQ","569088HjXBia","pluginName","Restore this revision","changesNavigation","2LNiMGf","change:isReady","Back to editing","hide","isOfficialPlugin","exitToEditing","requires","1069859rbQEcW","18XAPEqN","init","isEnabled","currentChangeNumber"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=251]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(134871===-parseInt(e(269))/1+parseInt(e(256))/2*(-parseInt(e(251))/3)+parseInt(e(289))/4*(parseInt(e(297))/5)+-parseInt(e(296))/6*(-parseInt(e(263))/7)+parseInt(e(252))/8+-parseInt(e(264))/9*(-parseInt(e(274))/10)+parseInt(e(268))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends J.Plugin{static get[Se(253)](){return Se(285)}static get[Se(260)](){return!0}static get[Se(290)](){return!0}static get[Se(262)](){return[ce,_e]}[Se(265)](){const t=Se,e=this[t(280)],i=e[t(277)][t(291)](ce),n=e[t(277)][t(291)](_e);e.ui[t(283)][t(294)](t(261),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(271)]({label:ot(i,n(258)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(278)}),this[n(273)](s,n(275),(()=>{const t=n;e[t(295)][t(291)](t(281))[t(287)]()})),s})),e.ui[t(283)][t(294)](t(286),(i=>{const n=t,s=new _t.ButtonView(i);return s[n(271)]({label:ot(i,n(254)),withText:!0,tooltip:!0}),s[n(272)](n(266)).to(e[n(279)][n(291)](n(286))),this[n(273)](s,n(275),(()=>e[n(275)](n(286)))),s})),e.ui[t(283)][t(294)](t(255),(n=>{const s=t,r=new ve(n),o=e[s(279)][s(291)](s(282)),a=e[s(279)][s(291)](s(276));return r[s(272)](s(299)).to(o,s(266)),r[s(272)](s(284)).to(a,s(266)),r[s(272)](s(292),s(267),s(288),s(293)).to(i),this[s(273)](r,s(275),((t,i)=>{const n=s;e[n(275)](n(298)===i?n(276):n(282))})),r})),n[t(270)](),i.on(t(257),((e,i,s)=>{const r=t;s?n[r(259)]():n[r(270)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Vt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=Ve;function Me(){const t=["placeholder","fieldView","11792392knfyna","31728efuvog","span","input","bindTemplate","render","_updateTooltipText","Enter the revision name","_resizeObserver","678438CcqbdH","Revision name","extendTemplate","ck-tooltip_multi-line","element","3156056ojGWct","clientWidth","1789596GdvXMt","7ZCLrzF","19995591WNCYsT","2jjCFns","2094555xRrxBE","scrollWidth","70VHNDWw","_tooltipString","listenTo","set","45wqTwCb","ck-revision-history-sidebar__revision-name","value","destroy"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=495]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(737488===-parseInt(e(498))/1+-parseInt(e(516))/2*(-parseInt(e(517))/3)+parseInt(e(511))/4+-parseInt(e(523))/5*(-parseInt(e(506))/6)+parseInt(e(514))/7*(parseInt(e(497))/8)+-parseInt(e(513))/9*(parseInt(e(519))/10)+-parseInt(e(515))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends _t.LabeledFieldView{[Ae(505)]=null;constructor(t,e){const i=Ae;super(t,e);const n=this[i(501)];this[i(522)]({label:ot(t,i(507)),_tooltipString:""}),this[i(496)][i(495)]=ot(t,i(504)),this[i(508)]({tag:i(499),attributes:{class:[i(524)],"data-cke-tooltip-text":n.to(i(520)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(509)}})}[Ae(502)](){const e=Ae;super[e(502)](),this[e(505)]=new t.ResizeObserver(this[e(496)][e(510)],(()=>this[e(503)]())),this[e(521)](this[e(496)],e(500),(()=>this[e(503)]()))}[Ae(526)](){const t=Ae;super[t(526)](),this[t(505)]&&this[t(505)][t(526)]()}[Ae(503)](){const t=Ae,e=this[t(496)][t(510)];this[t(520)]=e[t(518)]>e[t(512)]&&e[t(525)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Vt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["push","Revision author","19011oUofOz","setTemplate","953JnPyce","span","set","3054715KZOZrv","324ctaqTb","2176328rGvBFy","3361584lLwrNm","1647YkraAZ","1518204xRmhiS","ck-revision-history-sidebar__revision-author_creator","18968ntnmNx","Revision creator","0 0 11 10","ck-revision-history-sidebar__revision-author","name","ck-revision-history-sidebar__revision-author__name"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(447360===-parseInt(e(150))/1+-parseInt(e(138))/2+parseInt(e(148))/3*(parseInt(e(134))/4)+-parseInt(e(153))/5+parseInt(e(136))/6+parseInt(e(135))/7+parseInt(e(140))/8*(parseInt(e(137))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends _t.View{constructor(t,e,i){const n=je;super(t);const s=new _t.IconView;s[n(152)]({content:wt.IconUser,viewBox:n(142)});const r=["ck",n(143)];i&&r[n(146)](n(139));const o=[{tag:n(151),attributes:{class:["ck",n(145)],title:ot(t,n(i?141:147))},children:[s,e[n(144)]]}];this[n(149)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=191]})(t,e)}function ze(){var t=["261TTlcun","2037RLyPLA","toLocaleDateString","1095524QWrSZM","long","678641UnWjkM","2637954DgzxLi","780439fMCSPL","toLocaleTimeString","4JDWmuN","15978xIZVoh","230iTeRIR","numeric","2724470Hpzmgd","40672eoXFsb"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(539027===-parseInt(e(200))/1+parseInt(e(198))/2+parseInt(e(201))/3*(-parseInt(e(204))/4)+parseInt(e(193))/5+-parseInt(e(205))/6*(parseInt(e(196))/7)+-parseInt(e(194))/8*(-parseInt(e(195))/9)+parseInt(e(191))/10*(parseInt(e(202))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=At(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Vt();St()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=189]})(t,e)}function He(){const t=["2730RxydDA","buttonView","locale","panelPosition","3849665inhvfE","extendTemplate","isActionsDropdownOpen","Name this revision","bindTemplate","Restore this revision","isVisible","785772nnDbfh","menu","bind","isOpen","class","5197688xocOMs","add","map","function","isEnabled","set","5395944vYabNi","listView","stopPropagation","model","_action","items","2ZBtqPD","20NkLYXC","action","isReady","409582IdzUni","name","menuitem","source","find","ck-revision-history-sidebar__revision__actions","listenTo","ck-on","14189abJeRb","change:isActionsDropdownOpen","children","button","execute","first","1741422pQCUxQ","Show more items","Compare against selected"];return(He=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(656891===parseInt(e(234))/1*(-parseInt(e(230))/2)+-parseInt(e(199))/3+parseInt(e(218))/4+parseInt(e(206))/5+-parseInt(e(202))/6*(parseInt(e(193))/7)+parseInt(e(224))/8+-parseInt(e(213))/9*(parseInt(e(231))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=At(),qe.insert=Nt().bind(null,"head"),qe.domAPI=Tt(),qe.insertStyleElement=Vt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=316]})(t,e)}function Je(){const t=["isConfirm","srcElement","ck-revision-history-sidebar__revision__date","bindTemplate","revisionActionsView","ck-revision-history-sidebar__revision_selected","819155xvTibX","span","render","name","isSelected","setTemplate","7LZXSjC","deselect","revisionNameView","length","value","fieldView","13701KFbLNI","div","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_highlighted","_revision","ck-reset",".ck-thread__remove-confirm","creator","element","closest","map","4667490hmwyBv","extendTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","from","6mgIdic","_requireRevisionName","122312fUuEUg","listenTo","uiLanguage","ck-revision-history-sidebar__revision-authors","44342ZosBVM","bind","160408DmaqCO","select","unhighlight","isEnabled","setName","_createdAtFormatted","ck-revision-history-sidebar__actions_dropdown_open","220","isHighlighted","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","change","highlight","413604NTpxUB","fire","ck-disabled","isActionsDropdownOpen","212qplfka","unshift","isReady","createdAt","authors","filter"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(137859===parseInt(e(378))/1+-parseInt(e(376))/2+-parseInt(e(354))/3*(parseInt(e(330))/4)+-parseInt(e(342))/5*(parseInt(e(370))/6)+-parseInt(e(348))/7*(parseInt(e(372))/8)+-parseInt(e(326))/9+parseInt(e(365))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(350)];[Be(340)];[Be(358)];[Be(371)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(339)],a=function(t,e){const i=r,n=Array[i(369)](e[i(334)])[i(335)]((t=>t!=e[i(361)]));return e[i(361)]&&n[i(331)](e[i(361)]),n[i(364)]((n=>new Le(t,n,n==e[i(361)])))}(e,i);this.id=i.id,this[r(358)]=i,this[r(371)]=s,this[r(377)](r(345),r(333)).to(i),this[r(377)](r(318)).to(this,r(333),(t=>{return i=e[r(374)],(n=t)[(s=Pe)(197)](i,{month:s(199),day:s(192)})+", "+n[s(203)](i,{hour:s(192),minute:s(192)});var i,n,s})),this[r(368)](r(346),!1),this[r(368)](r(321),!1),this[r(368)](r(329),!1),this[r(368)](r(332),!1),this[r(368)](r(316),!1),this[r(350)]=new De(e,_t.createLabeledInputText),this[r(350)][r(353)][r(366)]({attributes:{maxlength:r(320)}}),this[r(350)][r(353)][r(377)](r(352)).to(this,r(345),(t=>t||this[r(318)])),this[r(350)][r(377)](r(316)).to(this,r(346),this,r(316),((t,e)=>t&&e)),this[r(340)]=n&&n[r(351)]?function(e,i){const n=Ze,s=e[n(210)],r=e[n(204)],o=(0,_t.createDropdown)(r);o[n(205)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(204)],s={"Compare against selected":ot(n,i(201)),"Name this revision":ot(n,i(209)),"Restore this revision":ot(n,i(211))};return e[i(220)]((t=>{const e=i,n=s[t[e(235)]];return n&&n!==t[e(235)]&&(t[e(235)]=n),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:s(196),model:new _t.ViewModel({label:t[s(235)],class:t[s(217)],withText:!0,role:s(236),_action:t[s(232)]})};i[s(227)][s(215)](s(222)).to(e,s(208),(i=>s(221)!=typeof t[s(222)]||!i||t[s(222)](e))),o[s(219)](i)}return o}(e,i);return e[n(215)](n(208)).to(o,n(216)),o[n(203)][n(223)]({label:ot(r,n(200)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(207)]({attributes:{class:[n(190),s.if(n(208),n(192))]},on:{click:s.to((t=>t[n(226)]()))}}),o.on(n(197),(t=>{const i=n;e[i(233)]&&i(221)==typeof t[i(237)][i(228)]&&t[i(237)][i(228)](e)})),(0,_t.addListToDropdown)(o,a,{role:n(214)}),o[n(191)](e,n(194),((t,s,r)=>{const a=n;if(r)for(const t of o[a(225)][a(229)]){const n=t[a(195)][a(198)],s=i[a(189)]((t=>t[a(232)]===n[a(228)]))[a(212)];t[a(212)]=void 0===s||s(e)}})),o}(this,n):"",this[r(340)]&&this[r(340)][r(377)](r(316)).to(this),this[r(347)]({tag:r(355),attributes:{class:["ck",r(359),r(356),o.if(r(336),r(367))]},children:[{tag:r(355),attributes:{class:["ck",r(359),r(323),o.if(r(316),r(328),(t=>!t)),o.if(r(346),r(341)),o.if(r(321),r(357)),o.if(r(329),r(319))]},children:[this[r(350)],{tag:r(343),attributes:{class:["ck",r(338)]},children:[{text:o.to(r(318))}]},{tag:r(355),attributes:{class:["ck",r(322)]},children:[{tag:"ul",attributes:{class:["ck",r(375)]},children:a}]},this[r(340)]],on:{click:o.to((t=>{const e=r;t[e(337)][e(363)](e(360))||this[e(332)]&&this[e(316)]&&this[e(327)](e(379),{id:this.id})}))}}]})}[Be(344)](){const t=Be;super[t(344)]();const e=this[t(350)][t(353)][t(362)];this[t(373)](e,t(324),(()=>{const i=t;this[i(371)]&&!e[i(352)]||this[i(327)](i(317),{id:this.id,name:e[i(352)]}),e[i(352)]||(e[i(352)]=this[i(345)]?this[i(345)]:this[i(318)])}))}[Be(379)](){this[Be(346)]=!0}[Be(349)](){this[Be(346)]=!1}[Be(325)](){this[Be(321)]=!0}[Be(380)](){this[Be(321)]=!1}}class Qe extends Error{}class Ke extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Xe extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Qe{}class ii extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class si extends Qe{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Mi=null;class Vi extends Ai{static get instance(){return null===Mi&&(Mi=new Vi),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Di.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i,this.name)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ei[e];"era"===e?n[r]=s:Vn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const zi=new Map;const Wi=new Map;let Ui=null;const Zi=new Map;function Hi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function qi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Yi{constructor(t,e,i){let n;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&&Fi.create(i).valid?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Pi(e,s)}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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),zi.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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"===Hi(t.locale).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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(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 qi(this,t,cs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=ho.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return qi(this,t,ds,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=ho.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return qi(this,void 0,(()=>fs),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return qi(this,t,gs,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),$i.set(t,e)}return e}(this.locale):Gi}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 Ki=null;class Xi extends Ai{static get utcInstance(){return null===Ki&&(Ki=new Xi(0)),Ki}static instance(t){return 0===t?Xi.utcInstance:new Xi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Xi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn extends Ai{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 en(t,e){if(Vn(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?Xi.utcInstance:Xi.parseSpecifier(i)||Fi.create(t)}return Dn(t)?Xi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Vi.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Qi.resetCache(),Fi.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function Rn(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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 An(t){const e=En(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Mn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function En(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s}),null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!zn(t,1,7))))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return En(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function Hn(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Gn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Gn(t,e,i),s=Gn(t+1,e,i);return(Bn(t)-n+s)/7}function Kn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Xn(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function ts(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ri};class bs{static create(t,e={}){return new bs(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return ks[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 Wn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=bs.parseFormat(e),s=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return ys(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter((t=>t)))))}}const ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Is(...t){return e=>t.reduce((([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function Ss(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${xs.source}${`(?:${Ts.source}?(?:\\[(${ws.source})\\])?)?`}`),Rs=RegExp(`(?:T${Ns.source})?`),As=Os("weekYear","weekNumber","weekDay"),Ms=Os("year","ordinal"),Vs=RegExp(`${xs.source} ?(?:${Ts.source}|(${ws.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Es(t,e,i){const n=t[e];return Vn(n)?i:Un(n)}function Cs(t,e){return[{hours:Es(t,e,0),minutes:Es(t,e+1,0),seconds:Es(t,e+2,0),milliseconds:Hn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Xi.instance(n),e+3]}function js(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${xs.source}$`),Ps=/^-?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 zs(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(Hn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Kn(Un(e)):Un(e),month:os.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),a}const Zs=/^(?:(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 Hs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:ts(l,h),[d,new Xi(f)]}const $s=/^(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$/,qs=/^(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$/,Bs=/^(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 Ys(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),Xi.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),Xi.utcInstance]}const Gs=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Qs=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Ks=_s(/(\d{4})-?(\d{3})/,Rs),Xs=_s(Ns),tr=Is((function(t,e){return[{year:Es(t,e),month:Es(t,e+1,1),day:Es(t,e+2,1)},null,e+3]}),Cs,Fs,js),er=Is(As,Cs,Fs,js),ir=Is(Ms,Cs,Fs,js),nr=Is(Cs,Fs,js);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Ds),or=_s(Vs),ar=Is(Cs,Fs,js);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const n={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 kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((n,s)=>{if(Vn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s}),null),mr.reduce(((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,zs])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[Ls,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Vn(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+=$n(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kr.normalizeUnit(t)));const e={},i={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return yr(this.matrix,e),vr(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 vr(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 n of mr)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(n,i)),n=i,s+=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:wr.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 wr.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 n=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...s).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&&n.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cn(),localeWeek:Fn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(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 n=t.charCodeAt(i);if(-1!==t[i].search(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bs.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bs.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(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 Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Kn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=Fi.create(t.z)),Vn(t.Z)||(i||(i=new Xi(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=Hn(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(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 n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,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 jr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),n=i.formatToParts(),s=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s)))}const Pr="Invalid DateTime",zr=864e13;function Wr(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function qr(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 Br(t,e,i){return $r(Jn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Gr(t,e,i=!0){return t.isValid?bs.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Kr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Xr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const n=Qi.fromObject(e);let s,r;if(Vn(t.year))s=vn.now();else{for(const e of io)Vn(t[e])&&(t[e]=Xr[e]);const e=An(t)||Mn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vn(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Xi.utcInstance,oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Qi.fromObject(e)}):ho.invalid(Wr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const n=Qi.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=vn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=xn(g)):(p=io,v=Xr);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=En(t.weekYear),s=zn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=En(t.year),i=zn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):An(s),b=k||Mn(s);if(b)return ho.invalid(b);const w=m?Tn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Gs,tr],[Qs,er],[Ks,ir],[Xs,nr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Hs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Ys],[qs,Ys],[Bs,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Ke(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Qi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Xi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Br(i,e,t)}return Hr(this,{ts:n,zone:t})}return ho.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=Tn({...On(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...xn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.normalizeUnit(t);switch(n){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"===n)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"===n){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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Kr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Gr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Kr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Gr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return jn(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return jn(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["49756hQJqoU","805050Okfzjb","local","326699tQoGDf","2836744jJIjhV","hasSame","237766leOFrs","minus","fromJSDate","setLocale","monthLong","42IvispA","9uOnvlO","toJSDate","day","33198husrzF","weekdayLong","124QUQRdb","year","5384950HEVjKg","month","toRelativeCalendar","week","startOf"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=250]})(t,e)}function vo(t,e){const i=po,n=ho[i(264)](t)[i(265)](e),s=ho[i(258)](),r=s[i(263)]({days:1})[i(255)](i(270));let o,a;return n[i(261)](s,i(270))?(o=n[i(255)](i(270))[i(269)](),a=n[i(253)]()):n[i(261)](r,i(270))?(o=r[i(269)](),a=n[i(253)]()):n[i(261)](s,i(254))?(o=n[i(255)](i(254))[i(269)](),a=n[i(272)]||""):n[i(261)](s,i(250))?(o=n[i(255)](i(252))[i(269)](),a=n[i(266)]||""):(o=n[i(255)](i(250))[i(269)](),a=String(n[i(250)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(230972===-parseInt(e(259))/1+parseInt(e(262))/2+-parseInt(e(271))/3*(parseInt(e(273))/4)+-parseInt(e(257))/5+-parseInt(e(267))/6*(-parseInt(e(256))/7)+parseInt(e(260))/8+parseInt(e(268))/9*(parseInt(e(251))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Vt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=192]})(t,e)}function wo(){const t=["find","createCollection","424135STPDUO","1687276yZoofA","removeRevision","108mltkFw","9560xvanWJ","uiLanguage","ck-revision-history-sidebar__time-period__label","1013636VJpDdO","div","span","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","36QBGaqa","4644136pqdFHK","1832572KBvTha","153246upUrVr","localizedPeriodName","remove","_requireRevisionName","setTemplate","addRevision","add","_revisionActions","locale","startDate","setName","revisionViews","select","delegate"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(843948===parseInt(e(192))/1+-parseInt(e(217))/2+parseInt(e(200))/3+-parseInt(e(198))/4+parseInt(e(216))/5*(parseInt(e(219))/6)+parseInt(e(199))/7+parseInt(e(220))/8*(-parseInt(e(197))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(209)];[ko(211)];[ko(207)];[ko(203)];constructor(t,e,i,n){const s=ko;super(t);const r=vo(e,this[s(208)][s(221)])[s(201)];this[s(209)]=e,this[s(211)]=this[s(215)](),this[s(207)]=i,this[s(203)]=n,this[s(211)][s(213)](s(212)).to(this),this[s(211)][s(213)](s(210)).to(this),this[s(204)]({tag:s(193),attributes:{class:["ck",s(196)]},children:[{tag:s(194),attributes:{class:["ck",s(222)]},children:[{text:r}]},{tag:s(193),attributes:{class:["ck",s(195)]},children:this[s(211)]}]})}[ko(205)](t){const e=ko,i=new Ge(this[e(208)],t,this[e(207)],this[e(203)]);this[e(211)][e(206)](i)}[ko(218)](t){const e=ko,i=this[e(211)][e(214)]((e=>e.id===t.id));this[e(211)][e(202)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Vt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=412]})(t,e)}function To(){const t=["153489aWfNEE","5074876FcSbEX","setTemplate","span","479565wwQoPv","ck-revision-history-sidebar__header__label","div","9917380PCDdbo","54RACRjt","120LIXcMh","content","3883SiPzzQ","134910wqwUnS","492611vYRSRe","ck-revision-history-sidebar__header","Revision history","ck-reset_all","434gtlYRl","140JhqvQy"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(858675===-parseInt(e(423))/1*(-parseInt(e(429))/2)+parseInt(e(412))/3+parseInt(e(413))/4+parseInt(e(416))/5*(parseInt(e(420))/6)+-parseInt(e(425))/7*(parseInt(e(421))/8)+-parseInt(e(424))/9*(parseInt(e(430))/10)+-parseInt(e(419))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(422)]=wt.IconHistory,this[e(414)]({tag:e(418),attributes:{class:["ck",e(428),e(426)]},children:[i,{tag:e(415),attributes:{class:["ck",e(417)]},children:[ot(t,e(427))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Vt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Ao(t,e){const i=Vo();return(Ao=function(t,e){return i[t-=352]})(t,e)}const Mo=Ao;function Vo(){const t=["render","isEnabled","_revisions","760938QOvuaI","find","revisionViews","ck-reset","get","startDate","setName","_addRevision","removeRevision","bindTemplate","1682350adwqEB","_removeRevision","306689qnmIHF","some","fire","createdAt","_revisionActions","ck-rounded-corners","1455120kCMTPI","240610SiTzfY","timePeriodViews","map","select","ck-disabled","ck-revision-history-sidebar__timeline","unhighlight","add","selectRevision","14ZQTvvu","highlightRevisions","deselect","9tzaRax","setTemplate","uiLanguage","addRevision","delegate","getTime","highlight","revisionSetName","revisionSelected","_getTimePeriodViewByStartDate","647796XJsBkO","63EHfeQv","15058ypXIuD","_requireRevisionName","ck-revision-history-sidebar","div","remove","set","flat","createCollection","locale"];return(Vo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(178500===parseInt(e(399))/1+parseInt(e(375))/2*(-parseInt(e(374))/3)+-parseInt(e(373))/4+-parseInt(e(406))/5+-parseInt(e(387))/6*(-parseInt(e(360))/7)+-parseInt(e(405))/8+-parseInt(e(363))/9*(-parseInt(e(397))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends _t.View{[Mo(352)];[Mo(386)];[Mo(403)];[Mo(376)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(396)];this[s(352)]=this[s(382)](),this[s(352)][s(367)](s(354)).to(this),this[s(352)][s(367)](s(393)).to(this),this[s(386)]=e,this[s(403)]=i,this[s(376)]=n,this.on(s(354),((t,e)=>{const i=s;this[i(401)](i(371),e)})),this.on(s(393),((t,e)=>{const i=s;this[i(401)](i(370),e)})),this[s(380)](s(385),!1),this[s(364)]({tag:s(378),attributes:{class:["ck",s(390),s(404),s(377)]},children:[new xo(t),{tag:s(378),attributes:{class:["ck",s(356),r.if(s(385),s(355),(t=>!t))]},children:this[s(352)]}]})}[Mo(384)](){const t=Mo;super[t(384)]();for(const e of this[t(386)])this[t(394)](e);this[t(386)].on(t(358),((e,i)=>{this[t(394)](i)})),this[t(386)].on(t(379),((e,i)=>{this[t(398)](i)}))}get[Mo(389)](){const t=Mo;return this[t(352)][t(353)]((e=>e[t(389)][t(353)]((t=>t))))[t(381)]()}[Mo(359)](t){const e=Mo;for(const i of this[e(389)])t&&t.id===i.id?i[e(354)]():i[e(362)]()}[Mo(361)](t){const e=Mo;for(const i of this[e(389)])t[e(400)]((({id:t})=>t===i.id))?i[e(369)]():i[e(357)]()}[Mo(394)](t){const e=Mo,i=vo(t[e(402)],this[e(383)][e(365)])[e(392)];let n=this[e(352)][e(391)](0);n&&n[e(392)][e(368)]()===i[e(368)]()||(n=new _o(this[e(383)],i,this[e(403)],this[e(376)]),this[e(352)][e(358)](n)),n[e(366)](t)}[Mo(398)](t){const e=Mo,i=vo(t[e(402)],this[e(383)][e(365)])[e(392)];this[e(372)](i)[e(395)](t)}[Mo(372)](t){const e=Mo;return this[e(352)][e(388)]((i=>i[e(392)][e(368)]()===t[e(368)]()))}}const Eo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=405]})(t,e)}function Fo(){const t=["458757WCzDcl","action","setName","2198bdJSoN","Restore this revision","_createRevisionActions","listenTo","4556000KKsQoQ","length","revisionSelected","_revisionViewer","assign","compare","fieldView","revisionHistory","destroy","1407902JzefZX","6672njeOKv","_revisions","restoreRevision","plugins","add","getLaterVisibleRevision","_sidebarView","revisionHistory.viewerSidebarContainer","isReady","revisionHistory.requireRevisionName","revisionSetName","530dXnOOn","_handleEditorDataReady","editor","requires","4612pQAowO","isSelected","map","RevisionsSidebar","350892XEvulF","newRevisionId","restoreRevisionCallback","ready","isVisible","getRevisionsInDiff","config","diff","element","Compare against selected","getIndex","isOfficialPlugin","availableRevisionActions","isEnabled","getRevision","pluginName","change:diff","focus","appendChild","_handleDiffChange","_handleRevisionSetName","string","revisionViews","repository","data","_handleRevisionSelected","selectRevision","timePeriodViews","get","2001WLVoNF","remove","revisionHistory.revisionActions","_revisionsRepository","getEarlierVisibleRevision","isPremiumPlugin","912234JVBljH","render","select","bind","nameRevision","Name this revision","compareAgainstSelected","name","init","highlightRevisions","defaultRevisionActions","locale"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(492677===-parseInt(e(443))/1+parseInt(e(471))/2+parseInt(e(437))/3*(-parseInt(e(487))/4)+-parseInt(e(462))/5+-parseInt(e(408))/6+-parseInt(e(458))/7*(parseInt(e(472))/8)+parseInt(e(455))/9*(parseInt(e(483))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends J.Plugin{[Eo(465)];[Eo(440)];[Eo(478)];static[Eo(453)]=[Eo(449),Eo(474),Eo(447)];static[Eo(420)]=function(){const t=Eo;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const n=t,s=e[n(436)](ce),r=s[n(431)];let o=s[n(415)][n(409)],a=i.id;r[n(418)](o)>r[n(418)](a)&&([o,a]=[a,o]),s[n(467)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(436)](ce);return!(s[n(431)][n(413)](s[n(415)])[n(463)]>2||i[n(405)])}},restoreRevision:{name:t(459),action:(e,{id:i})=>{const n=t;e[n(414)][n(436)](n(469))[n(410)](i)},isVisible:({plugins:e},i)=>!!e[t(436)](ce)[t(431)][t(477)](i.id)},nameRevision:{name:t(448),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(436)](ce),o=r[s(431)][s(441)](i);r[s(467)](i,o),n[s(425)](),n[s(468)][s(445)]()}}}}();static get[Eo(423)](){return Eo(407)}static get[Eo(419)](){return!0}static get[Eo(442)](){return!0}static get[Eo(486)](){return[ce]}constructor(t){const e=Eo;super(t),this[e(465)]=t[e(475)][e(436)](ce),this[e(440)]=this[e(465)][e(431)],this[e(478)]=null}[Eo(451)](){const t=Eo,e=this[t(440)][t(473)],i=this[t(460)](),n=this[t(485)][t(414)][t(436)](t(479));this[t(478)]=new Do(this[t(485)][t(454)],e,i,this[t(485)][t(414)][t(436)](t(481))),this[t(478)].on(t(464),this[t(433)][t(446)](this)),this[t(478)].on(t(482),this[t(428)][t(446)](this)),this[t(478)][t(446)](t(421)).to(this[t(465)]),this[t(478)][t(435)].on(t(476),((e,i)=>{const n=t;i[n(430)].on(n(476),((t,e)=>{const i=n;e[i(446)](i(421),i(480)).to(this[i(465)])}))})),this[t(478)][t(444)](),this[t(461)](this[t(485)][t(432)],t(411),this[t(484)][t(446)](this)),this[t(461)](this[t(465)],t(424),this[t(427)][t(446)](this)),n[t(426)](this[t(478)][t(416)])}[Eo(470)](){const t=Eo;this[t(478)][t(416)][t(438)](),this[t(478)][t(470)]()}[Eo(484)](){const t=Eo,e=this[t(440)][t(422)](0);if(e){const i=this[t(440)][t(441)](e.id);this[t(465)][t(467)](e,i)}}[Eo(433)](t,e){const i=Eo,n=this[i(440)][i(422)](e.id),s=this[i(440)][i(441)](n.id);this[i(465)][i(467)](n,s)}[Eo(428)](t,e){const i=Eo;this[i(440)][i(422)](e.id)[i(457)](e[i(450)])}[Eo(427)](t,e,i){const n=Eo,s=this[n(440)][n(413)](i);s[n(463)]>2?(this[n(478)][n(452)](s),this[n(478)][n(434)](null)):(this[n(478)][n(452)]([]),this[n(478)][n(434)](s[0]))}[Eo(460)](){const t=Eo,e=this[t(485)],i=jo[t(420)],n=e[t(414)][t(436)](t(439))||jo[t(453)];if(n[t(463)])return n[t(406)]((n=>{const s=t,r=s(429)==typeof n?Object[s(466)]({},i[n]):n;return r[s(456)]=r[s(456)][s(446)](this,e),r[s(412)]&&(r[s(412)]=r[s(412)][s(446)](this,e)),r}))}}const Lo=jo,Po=Wo;function zo(){const t=["fillFromConfig","231OcFabo","bind","document","viewportOffset","21932ElWhHE","7876ZPhKKU","toolbar","getRoot","_initToolbar","init","814510TqXQww","_elementReplacer","view","componentFactory","viewportTopOffset","ready","config","get","66pURxCC","element","editable","_view","168108ynJNsp","_toolbarConfig","attachDomRoot","isActive","editing","isFocused","fire","destroy","stickyPanel","5znYFBt","focusTracker","rootName","299ffSDQi","limiterElement","restore","92WYZDtg","7115553BrJnde","136FmZfDN","detachDomRoot","setEditableElement","1056630ILubxn","editor","render","addToolbar","name","203161PKdDUH","replace"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(550427===parseInt(e(363))/1*(parseInt(e(380))/2)+-parseInt(e(376))/3*(parseInt(e(381))/4)+-parseInt(e(357))/5*(parseInt(e(368))/6)+parseInt(e(373))/7*(parseInt(e(365))/8)+-parseInt(e(364))/9+parseInt(e(386))/10*(parseInt(e(344))/11)+parseInt(e(348))/12*(-parseInt(e(360))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends _t.EditorUI{[Po(347)];[Po(349)];[Po(387)];get[Po(388)](){return this[Po(347)]}constructor(e,i){const n=Po;super(e),this[n(347)]=i,this[n(349)]=(0,_t.normalizeToolbarConfig)(e[n(342)][n(343)](n(382))),this[n(387)]=new t.ElementReplacer}get[Po(345)](){const t=Po;return this[t(388)][t(345)]}[Po(385)](t){const e=Po,i=this[e(369)],n=this[e(388)],s=i[e(352)][e(388)],r=n[e(346)],o=s[e(378)][e(383)]();r[e(372)]=o[e(359)],n[e(370)]();const a=r[e(345)];this[e(367)](r[e(372)],a),n[e(346)][e(377)](e(353)).to(this[e(358)]),s[e(350)](a),this[e(387)][e(374)](t,this[e(345)]),this[e(384)](),this[e(354)](e(341))}[Po(355)](){const t=Po;super[t(355)]();const e=this[t(388)],i=this[t(369)][t(352)][t(388)];this[t(387)][t(362)](),i[t(366)](e[t(346)][t(372)]),e[t(355)]()}[Po(384)](){const t=Po,e=this[t(388)];e[t(356)][t(377)](t(351)).to(this[t(358)],t(353)),e[t(356)][t(361)]=e[t(345)],e[t(356)][t(377)](t(390)).to(this,t(379),(({top:t})=>t)),e[t(382)][t(375)](this[t(349)],this[t(389)]),this[t(371)](e[t(382)])}}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=At(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Vt();St()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=350]})(t,e)}var qo=$o;function Bo(){var t=["top","_editable","55fkUDkA","stickyPanel","5117931TPrIGT","editable","104NqLJrQ","5TrbJQe","7YWadAH","toolbar","2968398NOhUeT","2446936GmgmLk","main","64398gnzrqv","5938fduLpn","shouldToolbarGroupWhenFull","content","2250809IteRAP","render","add","4628920adDLDf"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(285841===-parseInt(e(363))/1*(-parseInt(e(354))/2)+parseInt(e(353))/3*(parseInt(e(367))/4)+parseInt(e(368))/5*(parseInt(e(350))/6)+-parseInt(e(369))/7*(-parseInt(e(351))/8)+-parseInt(e(365))/9+-parseInt(e(360))/10+-parseInt(e(357))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends _t.BoxedEditorUIView{[qo(362)];[qo(364)];[qo(370)];get[qo(366)](){return this[qo(362)]}constructor(t,e,i={}){var n=qo;super(t),this[n(364)]=new _t.StickyPanelView(t),this[n(370)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(355)]}),this[n(362)]=new _t.InlineEditableUIView(t,e)}[qo(358)](){var t=qo;super[t(358)](),this[t(364)][t(356)][t(359)](this[t(370)]),this[t(361)][t(359)](this[t(364)]),this[t(352)][t(359)](this[t(366)])}}const Jo=Qo;!function(t){const e=Qo,i=t();for(;;)try{if(479433===parseInt(e(384))/1+-parseInt(e(370))/2*(parseInt(e(388))/3)+parseInt(e(374))/4+parseInt(e(387))/5*(parseInt(e(375))/6)+parseInt(e(378))/7+parseInt(e(379))/8+parseInt(e(395))/9*(-parseInt(e(383))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Go extends((0,J.ElementApiMixin)(J.Editor)){[Jo(385)];get ui(){return this[Jo(385)]}constructor(t,e){const i=Jo;super(e),this[i(393)]=t,this[i(372)][i(373)][i(389)]();const n=new Yo(this[i(392)],this[i(376)][i(398)],{shouldToolbarGroupWhenFull:!0});this[i(385)]=new Uo(this,n)}[Jo(380)](){const t=Jo;return this[t(377)](),this.ui[t(380)](),super[t(380)]()}static async[Jo(381)](t,e){const i=Jo,n=new this(t,e);return await n[i(382)](),await n.ui[i(390)](t),await n[i(396)][i(390)](n[i(394)][i(386)](i(391))||""),n[i(397)](i(371)),n}}function Qo(t,e){const i=Ko();return(Qo=function(t,e){return i[t-=370]})(t,e)}function Ko(){const t=["1664328FXwxAx","destroy","create","initPlugins","20vivBus","137081gMacTU","_ui","get","595ZkosQe","48777kWhRmx","createRoot","init","initialData","locale","sourceElement","config","356445gXFrRZ","data","fire","view","86RkKnJv","ready","model","document","2501224kpVETv","5838ApxNAe","editing","updateSourceElement","1200955HMipQU"];return(Ko=function(){return t})()}const Xo=ea;function ta(){const t=["Restored","restoreRevision","detachRoot","block","removeMarker","toolbar","_update","init","_enhanceCloseRevisionViewerCallback","DocumentOutlineUI","RestrictedEditingMode","setAttribute","destroy","revisionHistory.viewerContainer","isOfficialPlugin","isEnabled","editor","PaginationLookup","getAttributeKeys","translations","disableReadOnlyMode","toVersion","RevisionTracker","Autosave","showRevisionViewerCallback","lazyRoots","define","3620064tHgfMZ","pluginName","bind","closeRevisionViewerCallback","restrictedEditingException","fromVersion","users","addUser","refreshPositioning","rootName","create","setSelection","commands","isReadOnly","has","hide","toJSON","long","revisionHistory.restoreRevisionCallback","66psFPaq","update","isRevisionViewerOpen","style","getRevision","none","view","exitToEditing","locale","RevisionsRepository","indexOf","model","map","set","roots","parse","end","get","element","repository","isPremiumPlugin","79335iNBYmq","_closeRevisionViewer","_recalculatePageBreaks","_cleanUp","creator","saveRevision","DocumentOutline","getRevisionDocumentData","includes","from","changesNavigation","getRevisions","data","then","error","fromCharCode","revision-history-missing-configuration","loadRevisionData","revisionHistory.showRevisionViewerCallback","RevisionHistoryUtils","_getRevisionViewerEditorConfig","RevisionViewer","_enhanceShowRevisionViewerCallback","_showRevisionViewer","revisionHistory.requireRevisionName","enableReadOnlyMode","change","586512QnlXDo","adapter","toLocaleDateString","161BNkiwB","addRevisionData","catch","_restoreRevision","toLocaleTimeString","result","createRangeIn","revision-history-viewer-opened","isAnonymous","isOpen","selection","removeSelectionAttribute","requires","push","Users","$graveyard","getRoot","getUser","getMarkersGroup","1592148blUFei","insert","remove","_viewerEditor","uiLanguage","17418960ytrMkt","removeAttribute","isAttached","save","refreshVisibility","document","enqueueChange","isReady","Annotations","config","revisionHistory.editorContainer","keys","Dialog","addRoot","join","119334fTTbhJ","RevisionHistory","markers","1936UjILNr","createdAt","revisionHistory.closeRevisionViewerCallback","numeric","plugins","name","display","revisionHistory","RevisionViewerIntegration","getRevisionRootsAttributes","RevisionHistoryUI","revisionHistory.viewerEditorElement"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=319]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(268386===-parseInt(e(419))/1*(parseInt(e(361))/2)+-parseInt(e(338))/3+-parseInt(e(467))/4+-parseInt(e(440))/5+-parseInt(e(358))/6*(parseInt(e(319))/7)+-parseInt(e(400))/8+parseInt(e(343))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(371),Xo(383)];class na extends J.Plugin{[Xo(324)];static get[Xo(401)](){return Xo(369)}static get[Xo(387)](){return!0}static get[Xo(439)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(431)]((t=>String[e(455)](t)))[e(357)]("")}super(t),this[e(324)]=e(435),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 sa extends J.Plugin{[Xo(341)];static get[Xo(401)](){return Xo(359)}static get[Xo(387)](){return!0}static get[Xo(439)](){return!0}static get[Xo(331)](){return[ft,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(389)][i(352)][i(436)](i(368)))throw new t.CKEditorError(i(456),this);this[i(341)]=null,this[i(432)](i(421),!1),this[i(389)][i(352)][i(399)](i(458),(t=>this[i(463)]({...t,translations:this[i(389)][i(427)][i(392)]}))),this[i(389)][i(352)][i(399)](i(363),(t=>this[i(441)](t))),this[i(389)][i(352)][i(399)](i(418),(t=>this[i(322)](t))),this[i(389)][i(352)][i(399)](i(464),!1),this[i(462)](),this[i(381)]()}set[Xo(468)](t){const e=Xo;this[e(389)][e(365)][e(436)](e(395))[e(468)]=t}get[Xo(468)](){const t=Xo;return this[t(389)][t(365)][t(436)](t(395))[t(468)]}[Xo(320)](t){const e=Xo;return this[e(389)][e(365)][e(436)](e(395))[e(320)](t)}[Xo(423)](t){const e=Xo;return this[e(389)][e(365)][e(436)](e(428))[e(423)](t)}[Xo(451)](t){const e=Xo;return this[e(389)][e(365)][e(436)](e(428))[e(451)](t||{toJSON:!1})}[Xo(460)](){const e=Xo,i=this[e(389)],n=(0,G.sanitizeEditorConfig)(i,ia),s=i[e(365)][e(436)](e(395)),r=i[e(365)][e(436)](e(333))[e(406)];return n[e(378)]=[e(426),e(374),e(450)],delete n[e(398)],n[e(365)][e(332)](na,ce,xe,class extends J.Plugin{static get[e(331)](){return[ce,e(333)]}[e(380)](){const n=e,o=this[n(389)][n(365)][n(436)](n(333));for(const t of r)t[n(327)]||o[n(336)](t.id)||o[n(407)](t);const a=s[n(438)][n(451)]();let c=null;const u=this[n(389)][n(365)][n(436)](n(461));u[n(468)]=s[n(468)],u[n(402)](n(388)).to(s),this[n(389)][n(412)][n(436)](n(374))[n(402)](n(388)).to(i,n(413),(t=>!t));for(const e of a){const i=null===e[n(444)];if(i&&e[n(394)]===e[n(405)])continue;const r=e[n(416)]();u[n(320)](r,((r,o,a)=>{const u=n;if(i){if(c)c[u(379)](r,o);else if(!o){const e=a[u(416)]();e.id=(0,t.uid)(),s[u(445)](e,a[u(394)])[u(453)]((t=>{c=t}))}}else e[u(379)](r,o)}))}}},Lo),n}[Xo(462)](){const t=Xo,e=this[t(389)][t(352)][t(436)](t(368))[t(397)];this[t(389)][t(352)][t(432)](t(458),(async()=>{const i=t;this[i(389)][i(465)](i(326));const n=this[i(389)][i(365)][i(436)](i(395));if(this[i(389)][i(365)][i(414)](i(396))){const t=this[i(389)][i(365)][i(436)](i(396));await t[i(346)]()}else await n[i(420)]();if(this[i(389)][i(365)][i(414)](i(390))&&this[i(389)][i(365)][i(436)](i(390))[i(442)](),this[i(389)][i(365)][i(414)](i(355))){const t=this[i(389)][i(365)][i(436)](i(355));t[i(328)]&&t[i(415)]()}const s=this[i(460)]();return e(s)[i(453)]((t=>{const e=i;return this[e(341)]=t,this[e(389)][e(365)][e(414)](e(351))&&this[e(389)][e(365)][e(436)](e(351))[e(347)](),this[e(389)][e(365)][e(414)](e(446))&&(this[e(389)][e(365)][e(436)](e(382))[e(425)][e(437)][e(422)][e(367)]=e(424)),t}))[i(321)]((t=>(console[i(454)](t),this[i(389)][i(393)](i(326)),null)))}))}[Xo(381)](){const t=Xo,e=this[t(389)][t(352)][t(436)](t(368))[t(403)];this[t(389)][t(352)][t(432)](t(363),(()=>(this[t(389)][t(365)][t(414)](t(390))&&this[t(389)][t(365)][t(436)](t(390))[t(442)](),this[t(389)][t(365)][t(414)](t(446))&&(this[t(389)][t(365)][t(436)](t(382))[t(425)][t(437)][t(422)][t(367)]=""),this[t(341)][t(365)][t(436)](t(461))[t(443)](),e(this[t(341)])[t(453)]((()=>{const e=t;if(this[e(389)][e(393)](e(326)),this[e(341)]=null,this[e(389)][e(365)][e(414)](e(351))){const t=this[e(389)][e(365)][e(436)](e(351));t[e(347)](),t[e(408)]()}})))))}[Xo(463)](t){const e=Xo,i=this[e(389)][e(352)][e(436)](e(353)),n=this[e(389)][e(352)][e(436)](e(386)),s=this[e(389)][e(352)][e(436)](e(372));return Go[e(410)](s,t)[e(453)]((t=>(n[e(422)][e(367)]=e(376),i[e(422)][e(367)]=e(424),this[e(421)]=!0,t)))}[Xo(441)](t){const e=Xo,i=this[e(389)][e(352)][e(436)](e(353));return this[e(389)][e(352)][e(436)](e(386))[e(422)][e(367)]=e(424),i[e(422)][e(367)]="",this[e(421)]=!1,t[e(385)]()}async[Xo(322)](t){const e=Xo,i=this[e(389)],n=this[e(341)][e(365)][e(436)](e(461)),s=i[e(365)][e(436)](e(395)),r=i[e(365)][e(436)](e(459)),o=n[e(438)][e(423)](t);let a,c,u;try{await r[e(457)](o,this[e(468)]),a=r[e(447)](o),c=r[e(370)](o)}catch(t){return void console[e(454)](t)}i[e(430)][e(466)]((t=>{const n=e;for(const e of Array[n(449)](i[n(430)][n(360)][n(337)](n(404))))t[n(377)](e)})),n[e(350)]=!1,i[e(430)][e(349)]((t=>{const n=e;t[n(411)](null),t[n(330)](i[n(430)][n(348)][n(329)][n(391)]());const s=Object[n(354)](a);for(const e of i[n(430)][n(348)][n(433)])n(334)!=e[n(409)]&&e[n(345)]()&&!s[n(448)](e[n(409)])&&t[n(375)](e);for(const e of s){let s=i[n(430)][n(348)][n(335)](e);s&&s[n(345)]()||(s=t[n(356)](e));const r=c[e],o=Object[n(354)](r),u=a[e];for(const e of s[n(391)]())o[n(448)](e)||t[n(344)](e,s);for(const i of o)t[n(384)](i,c[e][i],s);t[n(340)](t[n(325)](s)),t[n(339)](i[n(452)][n(434)](u,s),s,0)}}));const l=ot(i[e(427)],e(373));return u=o[e(366)]?-1==o[e(366)][e(429)](l)?l+": "+o[e(366)]:o[e(366)]:l+": "+o[e(362)][e(469)](i[e(427)][e(342)],{month:e(417),day:e(364)})+", "+o[e(362)][e(323)](i[e(427)][e(342)],{hour:e(364),minute:e(364)}),await s[e(445)]({name:u}),n[e(350)]=!0,i[e(352)][e(436)](e(368))[e(403)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=252]})(t,e)}function oa(){var t=["64744DhkNQU","12ZtyLew","1298591WVzIJo","640495apgwkq","20491240fFVuTV","8072790mniSdN","4nWJfwy","657FdmCnz","6eFQBIZ","255031SeorWh","634086qaoiKi"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(411767===parseInt(e(262))/1+parseInt(e(259))/2*(parseInt(e(252))/3)+-parseInt(e(254))/4*(-parseInt(e(256))/5)+-parseInt(e(261))/6*(parseInt(e(255))/7)+-parseInt(e(253))/8*(-parseInt(e(260))/9)+parseInt(e(258))/10+-parseInt(e(257))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|