@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250305.0 → 0.0.0-nightly-20250306.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/LICENSE.md +1 -1
- package/build/revision-history.js +1 -1
- package/ckeditor5-metadata.json +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/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 +12 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/icons/arrow-down.svg +0 -1
- package/theme/icons/arrow-up.svg +0 -1
- package/theme/icons/revision-history.svg +0 -1
- package/theme/icons/user.svg +0 -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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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},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),r=i.n(n),s=i(433),o=i.n(s)()(r());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,r,s){"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!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.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),r=i.n(n),s=i(433),o=i.n(s)()(r());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 s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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 r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.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:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>Qn,RevisionTracker:()=>xn,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const x=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var O=Object.prototype.toString;const T=function(t){return O.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?x(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const E=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const V=k["__core-js_shared__"];var M,D=(M=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(E(t)?Z:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const J=q(Object,"create");const Y=function(){this.__data__=J?J(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(J){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return J?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=J&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=Y,it.prototype.delete=G,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var xt=Object.prototype,Ot=xt.hasOwnProperty,Tt=xt.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&Ot.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Et="object"==typeof exports&&exports&&!exports.nodeType&&exports,Vt=Et&&"object"==typeof module&&module&&!module.nodeType&&module,Mt=Vt&&Vt.exports===Et?k.Buffer:void 0;const Dt=(Mt?Mt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Jt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Yt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Yt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!E(t)};const ie=function(t){return ee(t)?Jt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Jt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const xe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const Oe=function(t){return xe(t,ie,ke)};const Te=function(t){return xe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Ee=q(k,"WeakMap");var Ve="[object Map]",Me="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Ee),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Me||Re&&Ue(new Re)!=De||Ee&&Ue(new Ee)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ve;case Pe:return Me;case ze:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Je=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ye=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Ye.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Je(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:Oe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,xi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const Oi=xi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Ei=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:Oi(Ei(t))};const Mi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Mi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Mi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Pi(t,e))||delete t[Mi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Hi;function Zi(){const t=["1278332oFDzlJ","creator","8icRcSA","toJSON","toVersion","14333ucKSuB","123536XUfJsK","authorsIds","removeAttribute","12163657LYoMbs","fromVersion","4304870CjHPVR","map","creatorId","6vhLQoQ","fire","3221750WbsnMH","10WoGELV","_update","set","authors","setName","setAttribute","diffData","27bPtEBI","attributes","8410962jfDxul","createdAt","name"];return(Zi=function(){return t})()}function Hi(t,e){const i=Zi();return(Hi=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Hi,i=t();for(;;)try{if(732844===parseInt(e(157))/1*(-parseInt(e(154))/2)+parseInt(e(137))/3*(parseInt(e(152))/4)+parseInt(e(134))/5+-parseInt(e(149))/6+-parseInt(e(139))/7+-parseInt(e(158))/8*(-parseInt(e(147))/9)+-parseInt(e(140))/10*(-parseInt(e(161))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Hi;super(),this.id=e.id||(0,t.uid)(),this[i(153)]=e[i(153)]||null,this[i(143)]=e[i(143)]||[],this[i(146)]=e[i(146)]||null,this[i(156)]=e[i(156)]||0,this[i(162)]=e[i(162)]||0,this[i(142)](i(151),e[i(151)]||""),this[i(142)](i(150),e[i(150)]||new Date),this[i(142)](i(148),e[i(148)]||{})}[Ui(144)](t){this[Ui(141)]({name:t})}[Ui(145)](t,e){const i=Ui,n=vi(this[i(148)]);Ci(n,t,e),this[i(141)]({attributes:n})}[Ui(160)](t){const e=Ui,i=vi(this[e(148)]);Wi(i,t),this[e(141)]({attributes:i})}[Ui(141)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(151),i(150),i(146),i(143),i(148),i(156),i(162),i(136)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(143)]&&(r[i(159)]=r[i(143)][i(135)]((t=>t.id)),delete r[i(143)]),this[i(138)](i(141),r,e))}[Ui(155)](){const t=Ui;return{id:this.id,name:this[t(151)],creatorId:this[t(153)]?this[t(153)].id:null,authorsIds:this[t(143)][t(135)]((t=>t.id)),diffData:this[t(146)],createdAt:this[t(150)],attributes:this[t(148)],fromVersion:this[t(162)],toVersion:this[t(156)]}}}var qi=i(782),Bi=i(211),Ji=i(783);const Yi=Ki;function Gi(){const t=["createdAt","plugins","from","6928416mTqASf","getIndex","authorsIds","toVersion","fromVersion","name","getLaterVisibleRevision","afterInit","getEarlierVisibleRevision","length","getRevisions","26145qQgxjc","7720YTihBC","later","Users","8234628bRTtPX","4380580ZJXseg","5IyFUIi","isPremiumPlugin","get","1552OEvBgk","map","reverse","earlier","requires","oldRevisionId","newRevisionId","RevisionsRepository","pluginName","isOfficialPlugin","_revisions","diffData","toJSON","href","editor","909DAdSBV","getUser","getRevisionsInDiff","getRevisionsIterator","isNaN","add","attributes","push","11182276serGBL","createRevision","creatorId","getRevision","addRevision","561254VqdctW","data","join","fromCharCode"];return(Gi=function(){return t})()}function Ki(t,e){const i=Gi();return(Ki=function(t,e){return i[t-=234]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(936927===-parseInt(e(288))/1*(parseInt(e(264))/2)+-parseInt(e(251))/3*(parseInt(e(236))/4)+-parseInt(e(287))/5+-parseInt(e(286))/6+parseInt(e(259))/7+parseInt(e(271))/8+-parseInt(e(282))/9*(-parseInt(e(283))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Xi extends qi.Plugin{static get[Yi(240)](){return[Bi.Users]}static get[Yi(244)](){return Yi(243)}static get[Yi(245)](){return!0}static get[Yi(234)](){return!0}get[Yi(280)](){const t=Yi;return this[t(246)][t(280)]}constructor(e){const i=Yi;super(e),this[i(246)]=new t.Collection}[Yi(278)](){!async function(e){const i=k([110,53,79,112,80,65,121,87,81,72,107,51,122,104,86,97,98,67,103,84,74,83,88,113,56,69,111,48,77,49,50,100,101,118,89,102,119,116,120,66,73,85,82,99,71,54,109,75,76,117,108,114,115,105,106,70,90,52,57,55,78,68]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[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=s[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=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(255)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[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([110]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}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 s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ki;return t[e(237)]((t=>String[e(267)](t)))[e(266)]("")}!function(t){const i=l();s[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=y(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])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(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])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[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(),s[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=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-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 s(){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])](r/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)}))}}s[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])}),s[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 s[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(){s[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])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=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))),s=(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,r,s)||(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]))&&y(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])])?r/1e3:1741132800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,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(249)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=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=>r[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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Yi(260)](t){const e=Yi,i=this[e(250)][e(269)][e(235)](e(285));return new $i({id:t.id,name:t[e(276)],creator:t[e(261)]?i[e(252)](t[e(261)]):null,diffData:t[e(247)]||t[e(265)],authors:t[e(273)][e(237)]((t=>i[e(252)](t))),createdAt:new Date(t[e(268)]),attributes:t[e(257)],fromVersion:t[e(275)],toVersion:t[e(274)]})}[Yi(263)](t,e=0){const i=Yi;this[i(246)][i(256)](t,e)}[Yi(262)](t){const e=Yi;return this[e(246)][e(235)](t)}[Yi(281)](t={toJSON:!1}){const e=Yi,i=Array[e(270)](this[e(246)]);return i[e(238)](),t[e(248)]?i[e(237)]((t=>t[e(248)]())):i}[Yi(272)](t){const e=Yi;return this[e(246)][e(272)](t)}[Yi(279)](t){const e=Yi,[,i]=this[e(254)](t,{direction:e(239)});return i}[Yi(277)](t){const e=Yi,[,i]=this[e(254)](t,{direction:e(284)});return i}[Yi(253)](t){const e=Yi,i=[];for(const n of this[e(254)](t[e(242)]))if(i[e(258)](n),n.id===t[e(241)])break;return i}*[Yi(254)](t,{direction:e=Yi(239),filter:i=()=>!0}={}){const n=Yi,r=n(239)===e?1:-1;let s=this[n(246)][n(235)](t),o=this[n(272)](s);for(yield s;s;){if(o+=r,s=this[n(262)](o),!s)return;i(s)&&(yield s)}}}function Qi(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""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=Oe(t),c=a.length;if(c!=Oe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=En();return(In=function(t,e){return i[t-=472]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(445179===parseInt(e(700))/1*(parseInt(e(560))/2)+-parseInt(e(588))/3*(-parseInt(e(576))/4)+parseInt(e(617))/5+-parseInt(e(475))/6*(parseInt(e(748))/7)+-parseInt(e(490))/8*(-parseInt(e(756))/9)+parseInt(e(707))/10*(parseInt(e(686))/11)+-parseInt(e(768))/12*(parseInt(e(650))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(En);const Sn={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class xn extends qi.Plugin{static get[_n(674)](){return _n(631)}static get[_n(571)](){return!0}static get[_n(750)](){return!0}static get[_n(787)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(711)]=null,this[i(715)]=null,this[i(512)]=new Tn(this[i(629)]),this[i(564)]=this[i(629)][i(779)][i(612)](i(478))||i(792),this[i(662)]=new Map,this[i(717)]=null;const n=(0,t.uid)();this[i(785)]={history:this[i(629)][i(638)][i(654)][i(652)],getLatestVersion:()=>Promise[i(526)](this[i(629)][i(638)][i(654)][i(507)]),getCurrentRevisionId:()=>n},this[i(597)](i(727),!1),this[i(597)](i(480),!0),this[i(597)](i(601),!1),this[i(629)][i(779)][i(522)](i(791),!0),this[i(629)][i(608)][i(661)](i(769))[i(514)]({view:i(487)})}[_n(647)](){const t=_n;this[t(733)]=this[t(629)][t(500)][t(612)](t(562)),this[t(744)](),this[t(629)][t(544)].on(t(725),(()=>{const e=t,i=this[e(733)][e(684)](0),n=i&&null===i[e(696)]?i:null;if(this[e(578)]=!!n&&this[e(629)][e(779)][e(612)](e(791)),this[e(629)][e(500)][e(581)](e(761))){const t=this[e(785)][e(493)](),r=this[e(733)][e(684)](t);if(r)this[e(482)]=r[e(603)],this[e(578)]=!1;else{const t=this[e(785)][e(652)][e(677)][e(592)]((t=>!t[e(609)])),r=t?t[e(731)]:this[e(785)][e(652)][e(507)];i?(i[e(510)]<r&&i[e(736)]({toVersion:r}),this[e(578)]?(this[e(785)][e(493)]=()=>n.id,this[e(482)]=n[e(603)]):(this[e(482)]=i[e(510)],this[e(578)]=!1)):(this[e(482)]=r,this[e(578)]=!1)}}else n&&(this[e(629)][e(638)][e(654)][e(652)][e(507)]=Math[e(623)](n[e(510)],this[e(629)][e(638)][e(654)][e(652)][e(507)]),n[e(603)]===n[e(510)]?(0!==n[e(603)]&&(this[e(785)][e(493)]=()=>n.id),this[e(578)]=!1):this[e(578)]&&(this[e(785)][e(493)]=()=>n.id,this[e(482)]=n[e(603)])),this[e(578)]||(this[e(482)]=this[e(629)][e(638)][e(654)][e(507)]);this[e(512)][e(647)](this[e(785)][e(652)]),this[e(525)](this[e(482)]),this[e(606)](this[e(482)]),this[e(711)]&&this[e(555)]()})),this[t(723)](t(727)).to(this,t(601),(t=>!t)),this[t(543)]=this[t(629)][t(779)][t(612)](t(543));const e=this[t(629)];this[t(771)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(615)==s||i(762)==s||i(585)==s||i(621)==s||i(649)==s||i(473)==s||i(742)==s||i(589)==s){delete e[r],n=s,clearInterval(this[i(771)]),this[i(771)]=void 0;break}}i(762)==n&&e[i(752)](i(572)),i(585)==n&&e[i(752)](i(502)),i(621)==n&&e[i(752)](i(691)),i(649)==n&&e[i(752)](i(659),i(520)),i(473)==n&&e[i(752)](i(702)),i(742)==n&&e[i(752)](i(584)),i(589)==n&&e[i(752)](i(788))}),1e3)}async[_n(538)](){const t=_n;if(this[t(733)][t(753)]>0){const e=this[t(733)][t(684)](0),i=await this[t(622)](e),n=await this[t(660)](e);this[t(783)](i,n)}}[_n(587)](){const t=_n;super[t(587)](),this[t(771)]&&clearInterval(this[t(771)])}[_n(714)](t){this[_n(785)]=t}async[_n(795)](){const t=_n,e=await this[t(785)][t(743)]();if(e>this[t(715)][t(510)]){await this[t(780)]();const i=this[t(595)]({revision:this[t(715)],to:e});i[t(643)]=i[t(580)][t(539)]((e=>this[t(629)][t(500)][t(612)](t(518))[t(729)](e))),this[t(715)][t(736)](i)}}async[_n(780)](){const t=_n;this[t(578)]&&!this[t(717)]&&(await this[t(767)](this[t(715)]),this[t(512)][t(627)](this[t(715)]),this[t(717)]={fromVersion:this[t(715)][t(603)],authors:this[t(715)][t(643)][t(670)]()})}async[_n(693)](e={},i=null){const n=_n,r=[];await this[n(780)](),this[n(578)]=!1,i>this[n(715)][n(510)]&&(i=null),null===i&&(i=await this[n(785)][n(743)]());const s=this[n(600)](i),o=this[n(595)]({from:s,to:i});if(this[n(715)][n(510)]<i){const t=this[n(595)]({revision:this[n(715)],from:i,to:i});t[n(643)]=[],t[n(580)]=[],t.id=this[n(715)].id,this[n(715)][n(736)](t,!0),delete t[n(643)],r[n(628)](t)}e[n(517)]=this[n(629)][n(500)][n(612)](n(518)).me.id,e[n(699)]=e[n(699)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(680)](e);r[n(628)](e);const c=this[n(733)][n(774)](a);if(0!==c){const t=this[n(733)][n(684)](c-1);if(t[n(603)]!==i){const s=this[n(512)][n(582)](i,t[n(510)]),o={id:t.id,diffData:s[n(516)],authorsIds:s[n(580)],authors:s[n(580)][n(539)]((t=>this[n(629)][n(500)][n(612)](n(518))[n(729)](t))),fromVersion:i};t===this[n(715)]&&(o[n(541)]=new Date(e[n(541)][n(697)]()+10)),t[n(736)](o,!0),delete o[n(643)],r[n(628)](o)}}if(this[n(711)]){for(const t of r)this[n(495)](t.id,t,!0);this[n(555)]()}return a}[_n(680)](t){const e=_n,i=this[e(733)][e(683)](t);return this[e(711)]&&i.on(e(736),((t,i,n)=>{const r=e;n||(this[r(495)](i.id,i,!0),this[r(555)]())})),this[e(733)][e(644)](i,this[e(794)](i)),i}async[_n(622)](t){const e=_n;await this[e(767)](t);const i={};for(const n in t[e(516)]){if(t[e(516)][n][e(488)]&&!t[e(516)][n][e(488)][e(786)])continue;const r=this[e(772)](JSON[e(724)](t[e(516)][n][e(766)])),s=this[e(629)][e(626)][e(782)][e(654)],o=new Ji.ViewDocumentFragment(s,r[e(539)]((t=>On(t,this[e(629)]))));this[e(629)][e(544)][e(732)][e(722)](e(692)),i[n]=this[e(629)][e(544)][e(732)][e(730)](o),this[e(629)][e(544)][e(732)][e(722)](e(658))}return i}async[_n(660)](t){const e=_n;await this[e(767)](t);const i={};for(const n in t[e(516)])t[e(516)][n][e(488)]&&!t[e(516)][n][e(488)][e(786)]||(i[n]=t[e(516)][n][e(781)]||{});return i}[_n(555)](){const t=_n;if(0===this[t(662)][t(765)])return;if(this[t(601)])return;let e=Array[t(505)](this[t(662)][t(735)]());this[t(662)][t(567)]();for(let i=0;i<e[t(753)];i++){const n=e[i];let r=!1;for(const e of Object[t(681)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(708)]((t=>null!==t)),!e[t(753)])return;for(let i=0;i<e[t(753)];i++){const n=e[i];void 0!==n[t(603)]&&void 0===n[t(510)]&&(n[t(510)]=this[t(733)][t(684)](n.id)[t(510)]),void 0!==n[t(510)]&&void 0===n[t(603)]&&(n[t(603)]=this[t(733)][t(684)](n.id)[t(603)])}const i=this[t(629)][t(779)][t(612)](t(478));this[t(601)]=!0,this[t(530)](),this[t(711)][t(639)](e,i)[t(646)]((()=>{this[t(601)]=!1}))[t(641)]((e=>{const i=t;if(e)for(const t of e)this[i(721)]({id:t.id,createdAt:t[i(541)]});this[i(563)](),this[i(555)]()}))}[_n(783)](e,i){const n=_n;let r=this[n(629)][n(779)][n(612)](n(594)),s=this[n(629)][n(779)][n(612)](n(596));if(void 0===r){r={};for(const t of this[n(629)][n(638)][n(654)][n(701)]())r[t]=""}if(n(618)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(629)][n(638)][n(654)][n(701)]())s[t]={}}let o=!1;const a=Object[n(681)](r),c=Object[n(681)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(716)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(681)](s[t])[n(753)]>0){o=!0;break}}o||(o=c[n(503)]((t=>!this[n(629)][n(638)][n(654)][n(637)](t)))),o&&(0,t.logWarning)(n(519),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(629)][n(779)][n(597)](n(594),e),this[n(629)][n(779)][n(597)](n(596),i)}[_n(530)](){const t=_n;if(!this[t(657)]){const e=this[t(629)][t(500)][t(612)](t(491));this[t(657)]=e[t(655)](Qi(this[t(629)][t(642)],t(630)))}}[_n(563)](){const t=_n;this[t(657)]&&(this[t(629)][t(500)][t(612)](t(491))[t(740)](this[t(657)]),this[t(657)]=null)}[_n(794)](t){const e=_n,i=this[e(733)][e(551)]();i[e(499)]();let n=0;for(;n<i[e(753)];){const r=i[n];if(r===this[e(715)]){n++;continue}if(r.id===this[e(564)])break;const s=t[e(510)]-r[e(510)]||t[e(603)]-r[e(603)];if(s>0)break;if(s<0)n++;else{if(!t[e(696)]&&r[e(696)])break;if(r[e(696)]||!t[e(696)]){if(t[e(541)]>r[e(541)])break;n++}else n++}}return n}[_n(721)](t){const e=_n,i=this[e(733)][e(684)](t.id);if(t[e(541)]&&(t[e(541)]=new Date(t[e(541)])),t[e(580)]){const i=this[e(629)][e(500)][e(612)](e(518));t[e(643)]=t[e(580)][e(539)]((t=>i[e(729)](t)))}i[e(736)](t,!0)}[_n(595)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(603)],i=null!==i?i:t[n(510)];const r=this[n(512)][n(582)](e,i),s={diffData:r[n(516)],authorsIds:r[n(580)],fromVersion:e,toVersion:i};if(!t||i!==t[n(510)]){const t=i-1,e=this[n(785)][n(652)][n(616)](t);s[n(541)]=e&&e[n(541)]||new Date}if(this[n(717)]&&e===this[n(717)][n(603)])for(const t of this[n(717)][n(643)])s[n(580)][n(472)](t.id)||s[n(580)][n(628)](t.id);return s}[_n(767)](t){const e=_n;if(!t||t[e(516)])return Promise[e(526)]();{const i=this[e(629)][e(779)][e(612)](e(478));return this[e(711)][e(684)]({channelId:i,revisionId:t.id})[e(641)]((i=>{const n=e;t[n(516)]=i[n(516)]}))}}[_n(495)](t,e,i){const n=_n;if(this[n(662)][n(581)](t)){const r=this[n(662)][n(612)](t);e=i?{...r,...e}:{...e,...r}}this[n(662)][n(597)](t,e)}[_n(600)](t){const e=_n,i=this[e(733)][e(551)]();i[e(499)](),i[e(509)]();const n=i[e(592)]((i=>i[e(510)]<=t))[e(510)];return n<this[e(482)]?this[e(482)]:n}[_n(525)](t){const e=_n,i=this[e(733)][e(684)](this[e(733)][e(753)]-1);if(i)this[e(564)]=i.id;else{const i=!this[e(629)][e(638)][e(654)][e(746)][e(592)]((t=>this[e(629)][e(638)][e(545)](t))),n=this[e(629)][e(500)][e(612)](e(518)).me.id,r=Qi(this[e(629)][e(642)],e(i?737:734));this[e(552)]({from:t,to:t,id:this[e(564)],name:r,creatorId:n})}}[_n(606)](t){const e=_n,i=this[e(785)][e(493)]();this[e(715)]=this[e(733)][e(684)](i),this[e(715)]||(this[e(715)]=this[e(552)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(552)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(595)]({from:e,to:i});o[s(699)]=t,o[s(517)]=n,o.id=r;const a=this[s(680)](o);return this[s(711)]&&this[s(495)](o.id,o,!0),a}[_n(744)](){const t=_n;this[t(629)][t(608)][t(661)](t(632))[t(620)]({model:t(487)})}[_n(772)](t){const e=_n;return(t=t[e(708)]((t=>!t[e(699)]||e(474)!==t[e(699)]&&e(656)!==t[e(699)])))[e(678)]((t=>{const i=e;i(618)!=typeof t&&(t[i(757)]=this[i(772)](t[i(757)]),t[i(497)]=t[i(497)][i(708)]((t=>!t[0][i(759)](i(706)))))})),t}}function On(t,e){const i=_n,n=e[i(626)][i(782)][i(654)];if(i(618)==typeof t)return new Ji.ViewText(n,t);{const r=t[i(757)][i(539)]((t=>On(t,e)));return new(Sn[t[i(542)]]||Ji.ViewElement)(n,t[i(699)],t[i(497)],r)}}class Tn{constructor(t){const e=_n;this[e(629)]=t,this[e(760)]=new Map,this[e(738)]=-1,this[e(619)]=-1,this[e(726)]=new Map,this[e(479)]=new Map,this[e(675)]=new Map,this[e(773)]=new Map,this[e(570)]=new Map,this[e(494)]=new Map,this[e(635)]=new Map,this[e(586)]=new Map,this[e(745)]=new Map,this[e(528)]=new Map,this[e(504)]=1}[_n(647)](t){const e=_n;this[e(550)]=t;const i=new Map,n=new Map,r=this[e(629)][e(638)][e(654)][e(746)][e(539)]((t=>t[e(611)]));for(const t of r){const r=this[e(629)][e(638)][e(654)][e(637)](t),s=Nn(r);i[e(597)](t,s),n[e(597)](t,Object[e(673)](r[e(720)]()))}const s=Array[e(505)](this[e(629)][e(638)][e(549)])[e(539)]((t=>[t[e(699)],t[e(515)]()])),o=this[e(550)][e(507)];this[e(667)](o,i,s,n),this[e(506)]=this[e(504)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(597)](t,i),c[e(597)](t,{})}this[e(667)](Number[e(687)],a,[],c)}[_n(582)](t,e){const i=_n;if(this[i(738)]===t&&this[i(619)]<=e)this[i(760)][i(765)]>1&&this[i(671)](this[i(619)]),this[i(718)](this[i(619)],e,!0);else{if(!this[i(760)][i(581)](t)){const e=this[i(527)](t);this[i(633)](e,t,!1)}this[i(633)](t,e,!0)}return this[i(738)]=t,this[i(619)]=e,this[i(665)]()}[_n(627)](t){const e=_n;this[e(565)](),this[e(738)]=t[e(603)],this[e(619)]=t[e(510)];for(const i in t[e(516)]){const n=t[e(516)][i][e(488)],r=vi(t[e(516)][i][e(533)])||{},s=this[e(664)](t[e(516)][i][e(793)]);s[e(611)]=i,s[e(524)]=!n||!n[e(786)],s[e(786)]=()=>s[e(524)],this[e(773)][e(597)](i,s),this[e(570)][e(597)](i,r),n&&this[e(528)][e(597)](i,n);const o=this[e(561)](s);this[e(635)][e(597)](i,o);for(const[t,i]of s[e(549)]){if(!t[e(759)](e(776)))continue;const n=t[e(682)](":")[2];for(const t of i[e(645)]({singleCharacters:!0})){const i=this[e(648)](t),r=e(763)==t[e(542)]?t[e(705)][e(653)][e(670)](0,-1):t[e(705)][e(653)],s=o[e(534)](r)[e(583)](i);this[e(586)][e(597)](s,{userId:n})}}}this[e(506)]=this[e(504)];const i=[...Array(this[e(504)])[e(681)]()][e(670)](1)[e(708)]((t=>!this[e(586)][e(581)](t)));let n=0;const r=new Map;for(const s in t[e(516)]){const o=t[e(516)][s][e(488)],a=vi(t[e(516)][s][e(781)])||{},c=this[e(664)](t[e(516)][s][e(766)]);c[e(611)]=s,c[e(524)]=!o||o[e(786)],c[e(786)]=()=>c[e(524)],this[e(479)][e(597)](s,c),this[e(675)][e(597)](s,a);const u=this[e(561)](c,Number[e(687)]);this[e(494)][e(597)](s,u),r[e(597)](s,c[e(786)]()?a:{});for(const[t,i]of c[e(549)]){if(!t[e(759)](e(776)))continue;const n=t[e(682)](":")[2];for(const t of i[e(645)]({singleCharacters:!0})){const i=this[e(648)](t),r=this[e(504)]++,s=e(763)==t[e(542)]?t[e(705)][e(653)][e(670)](0,-1):t[e(705)][e(653)];u[e(534)](s)[e(558)](i,r),this[e(586)][e(597)](r,{userId:n})}}for(const t of this[e(629)][e(638)][e(529)](c)[e(645)]({singleCharacters:!0})){const r=this[e(648)](t),s=e(763)==t[e(542)]?t[e(705)][e(653)][e(670)](0,-1):t[e(705)][e(653)],o=u[e(534)](s);o[e(583)](r)>0||o[e(558)](r,i[n++])}for(const[t,i]of c[e(549)])t[e(759)](e(776))||this[e(726)][e(597)](t,i)}const s=An(e(695));this[e(773)][e(597)](e(695),s),this[e(635)][e(597)](e(695),this[e(561)](s,1));const o=An(e(695));this[e(479)][e(597)](e(695),o),this[e(494)][e(597)](e(695),this[e(561)](o,1));const a=Array[e(505)](this[e(479)])[e(539)]((([t,e])=>[t,Nn(e)]));this[e(667)](this[e(619)],a,this[e(726)],r)}[_n(664)](t){const e=_n,i=JSON[e(724)](t),n=this[e(629)][e(626)][e(782)][e(654)],r=new Ji.ViewDocumentFragment(n,i[e(539)]((t=>On(t,this[e(629)]))));return this[e(629)][e(544)][e(579)](r)}[_n(667)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(597)](t,{start:e[r(569)][r(651)](),end:e[r(640)][r(651)](),rootName:e[r(599)][r(611)]});this[r(760)][r(597)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(671)](t){const e=_n;this[e(760)][e(712)](t)}[_n(663)](){const t=_n;this[t(565)](),this[t(738)]=-1,this[t(619)]=-1,this[t(760)][t(567)](),this[t(647)](this[t(550)])}[_n(565)](){const t=_n;this[t(586)][t(567)](),this[t(745)][t(567)](),this[t(528)][t(567)](),this[t(479)][t(567)](),this[t(675)][t(567)](),this[t(773)][t(567)](),this[t(570)][t(567)](),this[t(494)][t(567)](),this[t(635)][t(567)](),this[t(726)][t(567)](),this[t(504)]=1,this[t(506)]=this[t(504)]}[_n(561)](t,e=null){const i=_n;let n=null;t.is(i(513))||(n=new Ji.Element(t[i(699)],{vid_start:null===e?this[i(504)]++:e++}));const r=[];for(const n of t[i(694)]())if(n.is(i(764))){r[i(628)](this[i(561)](n,e));const t=r[r[i(753)]-1];null!==e&&(e=t.is(i(764),i(501))?t[i(583)](i(775))+1:t[i(583)](i(666))+1)}else for(let t=0;t<n[i(521)];t++)r[i(628)](new Ji.Element(i(501),{vid:null===e?this[i(504)]++:e++}));if(t.is(i(513))){const e=An(t[i(611)]);return e[i(546)](0,r),e}return n[i(558)](i(666),null===e?this[i(504)]++:e++),n[i(546)](0,r),n}[_n(633)](t,e,i){const n=_n;this[n(565)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(760)][n(612)](t);this[n(773)]=new Map(r),this[n(570)]=new Map(vi(o));for(const[t,e]of this[n(773)])if(n(695)!==t&&(this[n(479)][n(597)](t,Nn(e)),this[n(675)]=new Map(vi(o)),i)){const i=this[n(504)];this[n(494)][n(597)](t,this[n(561)](e)),this[n(635)][n(597)](t,this[n(561)](e,i))}this[n(506)]=this[n(504)],this[n(479)][n(597)](n(695),Nn(this[n(773)][n(612)](n(695)))),i&&this[n(494)][n(597)](n(695),this[n(561)](this[n(773)][n(612)](n(695))));for(const[t,e]of s){const i=this[n(773)][n(612)](e[n(611)]),r=this[n(479)][n(612)](e[n(611)]),s=new Ji.Range(this[n(749)](e[n(569)],i),this[n(749)](e[n(640)],i)),o=this[n(532)](s,r);i[n(549)][n(597)](t,s),this[n(726)][n(597)](t,o)}this[n(718)](t,e,i)}[_n(718)](t,e,i){const n=_n;for(const r of this[n(550)][n(568)](t,e))this[n(481)](r,i);for(const t of this[n(479)][n(735)]())t[n(549)][n(567)]();for(const[t,e]of this[n(726)])this[n(479)][n(612)](e[n(599)][n(611)])[n(549)][n(597)](t,e[n(651)]());const r=new Map,s=new Map;for(const[t,e]of this[n(479)])r[n(597)](t,Nn(e)),s[n(597)](t,this[n(675)][n(612)](t));this[n(667)](e,r,this[n(726)],s)}[_n(527)](t){const e=_n,i=Array[e(505)](this[e(760)][e(681)]());i[e(789)](((t,e)=>t-e)),i[e(499)]();for(const e of i)if(e<t)return e;return Number[e(687)]}[_n(679)](t,e){const i=_n,n=Array[i(505)](e[i(549)])[i(539)]((([e,n])=>[e,this[i(532)](n,t)]));t[i(549)]=new Map(n)}[_n(676)](t){const e=_n;for(const i of this[e(726)][e(735)]()){const n=i[e(613)](t),r=Ji.Range[e(486)](n);i[e(569)]=r[e(569)],i[e(640)]=r[e(640)]}}[_n(481)](t,e){const i=_n;if(i(741)!=t[i(542)]&&i(492)!=t[i(542)]){if(i(575)==t[i(542)]){const n=t[i(537)][i(599)][i(611)];this[i(479)][i(581)](n)||(this[i(479)][i(597)](n,An(n,!0)),this[i(675)][i(597)](n,{}),e&&this[i(494)][i(597)](n,An(n,!0)))}else{if(i(605)==t[i(542)]||i(484)==t[i(542)]||i(747)==t[i(542)])return void this[i(770)](t);i(489)==t[i(542)]&&this[i(672)](t)}if(i(489)!==t[i(542)]){const e=this[i(540)](t,this[i(479)]);e[i(535)](),this[i(676)](e)}if(e)switch(t[i(542)]){case i(575):this[i(573)](t);break;case i(754):case i(740):case i(598):this[i(784)](t);break;case i(614):this[i(557)](t);break;case i(682):this[i(566)](t)}}else this[i(709)](t,e)}[_n(540)](t,e){const i=_n,n=t[i(651)]();return n[i(777)]=t[i(777)],this[i(704)](n,e),n}[_n(553)](t){const e=_n;return t[e(539)]((t=>{const i=e,n=this[i(648)](t);return Number(t[i(698)][i(583)](n))}))}[_n(591)](t,e){const i=_n;if(t.is(i(764),i(501)))e[i(628)]({item:t,type:i(755)});else{t.is(i(764))&&e[i(628)]({item:t,type:i(508)});for(const n of t[i(694)]())this[i(591)](n,e);t.is(i(764))&&e[i(628)]({item:t,type:i(763)})}return e}[_n(665)](){const t=_n,e=new Map(this[t(586)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(773)][t(681)](),...this[t(479)][t(681)]()]);a[t(712)](t(695));for(const e of a){const i=this[t(479)][t(612)](e)||An(e,!1),n=this[t(773)][t(612)](e)||An(e,!1);i[t(786)]()||n[t(786)]()?(r[t(766)][e]=Nn(i),r[t(793)][e]=Nn(n),this[t(679)](r[t(793)][e],n),this[t(679)](r[t(766)][e],i),s[t(766)][e]=this[t(591)](this[t(494)][t(612)](e),[]),s[t(793)][e]=this[t(591)](this[t(635)][t(612)](e)||An(e,!1),[])):a[t(712)](e)}for(const r of a){const o=s[t(766)][r];for(const r of o){const s=this[t(648)](r),o=r[t(698)][t(583)](s);i[t(712)](o),o>=this[t(506)]&&n[t(597)](o,e[t(612)](o))}}for(const r of a){const a=s[t(766)][r],c=this[t(553)](s[t(793)][r]);let u=0;for(const r of a){const s=this[t(648)](r),a=r[t(698)][t(583)](s);if(!n[t(581)](a)&&!o[t(581)](a))if(i[t(581)](a))u++;else{if(a!=c[u]){const n=e[t(612)](a)||e[t(612)](c[u]);for(;a!=c[u];)i[t(581)](c[u])||(o[t(597)](c[u],n),e[t(597)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(766)][e];for(const e of r){const r=this[t(648)](e),s=e[t(698)][t(583)](r);if(o[t(581)](s)){const e=o[t(612)](s);i[t(581)](s)||i[t(597)](s,{...e}),n[t(597)](s,{...e})}}}for(const e of i[t(681)]())e>=this[t(506)]&&i[t(712)](e);const c=new Map;for(const e of a){let r=s[t(766)][e];for(const e of r)if(e[t(698)].is(t(764),t(703))){const i=this[t(648)](e),r=e[t(698)][t(583)](i);if(n[t(581)](r)){const i=e[t(698)][t(559)][t(559)][t(583)](t(498)),s=c[t(612)](i)||new Set;s[t(655)](n[t(612)](r)[t(690)]),c[t(597)](i,s)}}r=s[t(793)][e];for(const e of r)if(e[t(698)].is(t(764),t(703))){const n=this[t(648)](e),r=e[t(698)][t(583)](n);if(i[t(581)](r)){const n=e[t(698)][t(559)][t(559)][t(583)](t(498)),s=c[t(612)](n)||new Set;s[t(655)](i[t(612)](r)[t(690)]),c[t(597)](n,s)}}for(const e of c[t(681)]())(n[t(581)](e)||i[t(581)](e))&&c[t(712)](e)}for(const e of a){const r=s[t(766)][e];let o=null,a=null;for(const e of r){const r=this[t(648)](e),s=e[t(698)][t(583)](r),u=c[t(612)](s);u&&t(508)==e[t(542)]&&(o=Array[t(505)](u)[0],a=e[t(698)][t(583)](t(666))),o&&(i[t(597)](s,{userId:o}),n[t(597)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(793)][e],a=r[t(766)][e];for(const{userId:e}of this[t(745)][t(735)]())null!==e&&l[t(655)](e);for(const{userId:e}of this[t(528)][t(735)]())null!==e&&l[t(655)](e);this[t(778)](a,s[t(766)][e],n,t(739),l),this[t(778)](o,s[t(793)][e],i,t(574),l),u[e]={insertions:this[t(728)](a),deletions:this[t(728)](o),attachChange:this[t(528)][t(612)](e)||null,attributesBefore:vi(this[t(570)][t(612)](e))||{},attributesAfter:vi(this[t(675)][t(612)](e))}}return{diffData:u,authorsIds:Array[t(505)](l)}}[_n(604)](t){const e=_n;for(const[,i]of t[e(549)]){const t=i[e(569)][e(511)]()[e(708)]((t=>e(703)==t[e(699)]));for(const i of t)1==i[e(496)]&&i[e(547)](0).is(e(764),e(607))&&i[e(547)](0)[e(558)](e(758),!0)}}[_n(728)](t){const e=_n;this[e(604)](t);const i=this[e(629)][e(544)][e(689)](t,{}),n=Array[e(505)](i[e(694)]())[e(539)]((t=>this[e(556)](t)));return JSON[e(710)](n)}[_n(556)](t){const e=_n;if(t.is(e(501)))return t[e(544)];{const i=t;return{type:Object[e(681)](Sn)[e(592)]((e=>t instanceof Sn[e])),name:i[e(699)],attributes:Array[e(505)](i[e(720)]()),children:Array[e(505)](i[e(694)]())[e(539)]((t=>this[e(556)](t)))}}}[_n(778)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(629)][s(638)];for(let n=0;n<e[s(753)];n++){const r=this[s(648)](e[n]),c=e[n][s(698)][s(583)](r),h=i[s(612)](c),d=n==e[s(753)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(690)]!=o[s(690)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(690)],d=l(776)+n+":"+h+":"+c++,f=u[l(485)](i,a);t[l(549)][l(597)](d,f),null!==h&&r[l(655)](h)}}[_n(648)](t){const e=_n;switch(t[e(542)]){case e(508):return e(498);case e(763):return e(666);default:return e(775)}}[_n(704)](t,e){const i=_n;t[i(731)]=null;for(const n in t){const r=t[n];if(r instanceof Ji.Position){const s=e[i(612)](r[i(599)][i(611)]);t[n]=this[i(749)](r,s)}if(r instanceof Ji.Range){const s=e[i(612)](r[i(599)][i(611)]);t[n]=this[i(532)](r,s)}i(599)===n&&(t[i(599)]=e[i(612)](t[i(599)][i(611)]))}}[_n(532)](t,e){const i=_n;return this[i(629)][i(638)][i(485)](this[i(749)](t[i(569)],e),this[i(749)](t[i(640)],e))}[_n(749)](t,e){const i=_n;return this[i(629)][i(638)][i(634)](e,t[i(653)],t[i(602)])}[_n(573)](t){const e=_n,i=this[e(494)][e(612)](t[e(537)][e(599)][e(611)]),n=this[e(749)](t[e(537)],i),r=null===t[e(777)]?null:t[e(777)]||this[e(629)][e(500)][e(612)](e(518)).me.id,s=n[e(559)],o=this[e(504)],a=[];for(const i of t[e(476)])if(i.is(e(764)))a[e(628)](this[e(561)](i));else for(let t=0;t<i[e(521)];t++)a[e(628)](new Ji.Element(e(501),{vid:this[e(504)]++}));const c=this[e(504)];for(let t=o;t<c;t++)this[e(586)][e(597)](t,{userId:r});s[e(546)](n[e(669)],a)}[_n(784)](t){const e=_n;(t=this[e(540)](t,this[e(494)]))[e(535)]();const i=null===t[e(777)]?null:t[e(777)]||this[e(629)][e(500)][e(612)](e(518)).me.id,n=t[e(536)](),r=n[e(559)],s=n[e(669)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(547)](e);s.is(a(764),a(501))?n[a(597)](s[a(583)](a(775)),{userId:i}):(n[a(597)](s[a(583)](a(498)),{userId:i}),t(n,s,0,s[a(496)]),n[a(597)](s[a(583)](a(666)),{userId:i}))}}(this[e(586)],r,s,s+t[e(668)])}[_n(557)](t){const e=_n,i=null===(t=this[e(540)](t,this[e(494)]))[e(777)]?null:t[e(777)]||this[e(629)][e(500)][e(612)](e(518)).me.id,n=t[e(477)][e(559)],r=t[e(590)][e(559)],s=n[e(583)](e(666)),o=r[e(583)](e(498));n[e(558)](e(666),r[e(583)](e(666))),r[e(558)](e(666),s),this[e(586)][e(597)](o,{userId:i}),this[e(586)][e(597)](s,{userId:i}),t[e(535)]()}[_n(566)](t){const e=_n,i=null===(t=this[e(540)](t,this[e(494)]))[e(777)]?null:t[e(777)]||this[e(629)][e(500)][e(612)](e(518)).me.id,n=t[e(610)],r=t[e(790)][e(559)];t[e(535)]();const s=r[e(583)](e(666)),o=t[e(593)][e(554)];if(n){const t=o[e(583)](e(666)),n=r[e(583)](e(666));r[e(558)](e(666),t),o[e(558)](e(666),n),this[e(586)][e(597)](r[e(583)](e(666)),{userId:i}),this[e(586)][e(597)](o[e(583)](e(498)),{userId:i})}else{const t=this[e(504)]++,n=this[e(504)]++;r[e(558)](e(666),t),o[e(558)](e(498),n),o[e(558)](e(666),s),this[e(586)][e(597)](t,{userId:i}),this[e(586)][e(597)](n,{userId:i})}}[_n(672)](t){const e=_n;if(!t[e(751)])return;const i=(t=this[e(540)](t,this[e(479)]))[e(548)]?t[e(548)][e(599)]:null,n=t[e(688)]?t[e(688)][e(599)]:null;i&&this[e(726)][e(712)](t[e(699)]),n&&this[e(726)][e(597)](t[e(699)],t[e(688)][e(651)]());const r=null===t[e(777)]?null:t[e(777)]||this[e(629)][e(500)][e(612)](e(518)).me.id,s=t[e(699)];if(!this[e(745)][e(581)](s))return void this[e(745)][e(597)](s,{range:t[e(548)],userId:r});const o=this[e(745)][e(612)](s),a=o[e(483)],c=t[e(688)];null==a&&null==c||a&&c&&a[e(719)](c)?this[e(745)][e(712)](t[e(699)]):o[e(690)]=r}[_n(709)](t,e){const i=_n;this[i(479)][i(581)](t[i(611)])?this[i(479)][i(612)](t[i(611)])[i(524)]=t[i(713)]:(this[i(479)][i(597)](t[i(611)],An(t[i(611)],!0)),this[i(675)][i(597)](t[i(611)],{}),e&&this[i(494)][i(597)](t[i(611)],An(t[i(611)],!0)));const n=null===t[i(777)]?null:t[i(777)]||this[i(629)][i(500)][i(612)](i(518)).me.id,r=this[i(528)][i(612)](t[i(611)]);r&&r[i(690)]===n?this[i(528)][i(712)](t[i(611)]):this[i(528)][i(597)](t[i(611)],{userId:n,isAttached:t[i(713)]})}[_n(770)](t){const e=_n,i=this[e(675)][e(612)](t[e(599)][e(611)]);null===t[e(624)]?delete i[t[e(531)]]:i[t[e(531)]]=t[e(624)]}}function Nn(t){const e=_n,i=An(t[e(611)],t[e(786)]());for(const n of t[e(694)]()){const t=n[e(685)](!0);i[e(577)](t)}return i}function An(t,e=!0){const i=_n,n=new Ji.DocumentFragment;return n[i(611)]=t,n[i(524)]=e,n[i(786)]=()=>n[i(524)],n}function Rn(t,e,i){const n=_n,r=n(763)==t[n(542)]?i[n(636)](t[n(698)],n(640)):i[n(523)](t[n(698)]);return i[n(634)](e,r[n(653)],r[n(602)])}function En(){const t=["_diffRoots","isEnabled","_handleOperation","_startingVersion","range","removeRootAttribute","createRange","_createFromRanges","revision","attachChange","marker","392808IbsyVS","PendingActions","detachRoot","getCurrentRevisionId","_idsRoots","_bufferUpdate","childCount","attributes","vid_start","reverse","plugins","$text","expired","some","_revisionId","from","_startingRevisionId","version","elementStart","shift","toVersion","getAncestors","_revisionDataBuilder","documentFragment","dataToMarker","getRange","diffData","creatorId","Users","editor-initial-data-replaced-with-revision-data","RevisionHistory","offsetSize","define","createPositionBefore","_isAttached","_createInitialRevision","resolve","_getPreviousFrom","_touchedRoots","createRangeIn","_addPendingAction","key","_fixRange","attributesBefore","getNodeByPath","_execute","getMovedRangeStart","position","afterInit","map","_cloneOperation","createdAt","type","licenseKey","data","hasContent","_insertChild","getChild","oldRange","markers","source","getRevisions","_makeRevision","_getBaseVids","nodeAfter","sendBufferedUpdates","_getViewJson","_handleMergeOperation","_setAttribute","parent","2tMJZQV","_makeIdsRoot","RevisionsRepository","_removePendingAction","_initialRevisionId","_reset","_handleSplitOperation","clear","getOperations","start","_baseRootsAttributes","isOfficialPlugin","invalid","_handleInsertOperation","deletion","insert","204aCZXld","_appendChild","_continueCurrentRevision","toModel","authorsIds","has","getData","getAttribute","trialLimit","revisionHistoryLicenseKeyExpired","_touched","destroy","23109CGHwzk","revisionHistoryLicenseKeyUsageLimit","sourcePosition","_generateTape","find","insertionPosition","initialData","buildRevisionData","rootsAttributes","set","reinsert","root","_getFromVersion","_isPendingUpdate","stickiness","fromVersion","_processRootBeforeSave","addRootAttribute","_createCurrentRevision","paragraph","conversion","_isInit","graveyardPosition","rootName","get","getTransformedByOperation","merge","revisionHistoryLicenseKeyValid","getOperation","1134440FprgJh","string","_lastTo","markerToData","revisionHistoryLicenseKeyDomainLimit","getRevisionDocumentData","max","newValue","createPositionAfter","editing","loadState","push","editor","PENDING_ACTION_REVISION_HISTORY","RevisionTracker","dataDowncast","_calculateMetaData","createPositionFromPath","_baseIdsRoots","createPositionAt","getRoot","model","updateRevisions","end","then","locale","authors","addRevision","getWalker","finally","init","_getVidAttributeName","revisionHistoryLicenseKeyNotAllowed","9790664MpiKhC","clone","history","path","document","add","revision-end","_pendingAction","default","featureNotAllowed","getRevisionRootsAttributes","for","_bufferedUpdates","reInit","_makeModelFromViewString","_getState","vid_end","_saveMetaData","howMany","offset","slice","_removeMetaData","_handleMarkerOperation","fromEntries","pluginName","_diffRootsAttributes","_transformMarkers","_operations","forEach","_copyMarkers","addRevisionData","keys","split","createRevision","getRevision","_clone","1949827oBHlEQ","NEGATIVE_INFINITY","newRange","toView","userId","domainLimit","marked","saveRevision","getChildren","$graveyard","creator","getTime","item","name","337451KSKRwE","getRootNames","evaluationLimit","tableCell","_fixOperation","previousPosition","data-revision-","40TttyJO","filter","_handleRootOperation","stringify","adapter","delete","isAdd","setSource","currentRevision","trim","_loadedStateData","_applyOperations","isEqual","getAttributes","setRevisionData","useFillerType","bind","parse","ready","_markers","isReady","_prepareViewToSave","getUser","toData","baseVersion","processor","repository","Initial revision","values","_update","Empty document","_lastFrom","insertion","remove","addRoot","revisionHistoryLicenseKeyTrialLimit","getLatestVersion","_setConversion","_touchedMarkers","roots","changeRootAttribute","126fkUtKQ","_fixPosition","isPremiumPlugin","affectsData","_showLicenseError","length","move","text","9zgxqZb","children","keepParagraph","startsWith","_savedMetaData","RealTimeCollaborationClient","revisionHistoryLicenseKeyInvalid","elementEnd","element","size","insertions","_loadRevisionData","12DeePNx","upcast","_handleRootAttributeOperation","_licenseKeyCheckInterval","_removeRevisionMarkers","_baseRoots","getIndex","vid","revision:","_authorId","_markChanges","config","_loadState","attributesAfter","view","_replaceEditorDataWithRevisionData","_handleMoveOperation","_source","isAttached","requires","usageLimit","sort","splitPosition","revisionHistory.resumeUnsavedRevision","initial","deletions","_findInsertionIndex","update","includes","revisionHistoryLicenseKeyEvaluationLimit","revision-start","172338vpxbPQ","nodes","targetPosition","collaboration.channelId"];return(En=function(){return t})()}function Vn(t,e,i){const n=_n,r=n(508)==t[n(542)]?i[n(636)](t[n(698)],0):i[n(625)](t[n(698)]);return i[n(634)](e,r[n(653)],r[n(602)])}var Mn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Jn=Gn;function Yn(){const t=["arrowright","2512IeOsBG","set","trim","revisionName","666816xeVRgK","element","ck-responsive-form","1506lWfdEx","optional","listenTo","fieldView","errorText","value","add","_createRevisionNameInput","arrowleft","revisionNameInputValue","keystrokes","3205AHNDZN","stopPropagation","extendTemplate","arrowdown","4067rEHXhH","render","4516335gAhezq","setTemplate","revisionNameInputView","189927DKbAhH","form","focus","800156eCykTz","Name of the revision","focusTracker","reset","ck-revision-history-save-revision-form","arrowup","127921FAJPLk","locale","label","220","input"];return(Yn=function(){return t})()}function Gn(t,e){const i=Yn();return(Gn=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(244405===parseInt(e(465))/1+parseInt(e(475))/2+parseInt(e(456))/3+parseInt(e(459))/4+-parseInt(e(489))/5*(parseInt(e(478))/6)+parseInt(e(493))/7*(parseInt(e(471))/8)+-parseInt(e(495))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yn);class Kn extends Mn.View{constructor(e,i){const n=Gn;super(e),this[n(461)]=new t.FocusTracker,this[n(488)]=new t.KeystrokeHandler,this[n(472)](n(487),""),this[n(455)]=this[n(485)](i),this[n(454)]({tag:n(457),attributes:{class:["ck",n(463),n(477)],tabindex:"-1"},children:[this[n(455)]]}),(0,Mn.injectCssTransitionDisabler)(this)}[Jn(494)](){const t=Jn;super[t(494)](),(0,Mn.submitHandler)({view:this}),this[t(461)][t(484)](this[t(455)][t(476)]),this[t(488)][t(480)](this[t(476)]);const e=e=>e[t(490)]();this[t(488)][t(472)](t(470),e),this[t(488)][t(472)](t(486),e),this[t(488)][t(472)](t(464),e),this[t(488)][t(472)](t(492),e)}[Jn(458)](){const t=Jn;this[t(455)][t(458)]()}get[Jn(474)](){const t=Jn;return this[t(455)][t(481)][t(476)][t(483)][t(473)]()}set[Jn(474)](t){const e=Jn;this[e(455)][e(481)][e(476)][e(483)]=t[e(473)]()}[Jn(462)](){const t=Jn;this[t(455)][t(481)][t(476)][t(483)]="",this[t(455)][t(482)]=null}[Jn(485)](t){const e=Jn,i=new Mn.LabeledFieldView(this[e(466)],Mn.createLabeledInputText),n=i[e(481)];n[e(491)]({attributes:{maxlength:e(468)}});let r=Qi(this[e(466)],e(460));return!t&&(r+=" ("+Qi(this[e(466)],e(479))+")"),i[e(467)]=r,n.on(e(469),(()=>{const t=e;this[t(487)]=n[t(476)][t(483)][t(473)]()})),i}}const Xn=tr;!function(t){const e=tr,i=t();for(;;)try{if(290832===-parseInt(e(185))/1+parseInt(e(229))/2*(parseInt(e(210))/3)+-parseInt(e(232))/4+-parseInt(e(194))/5*(parseInt(e(231))/6)+-parseInt(e(182))/7+-parseInt(e(243))/8+parseInt(e(216))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(er);class Qn extends qi.Plugin{static get[Xn(220)](){return Xn(219)}static get[Xn(207)](){return!0}static get[Xn(201)](){return!0}static get[Xn(211)](){return[xn]}[Xn(242)](){const t=Xn,e=this[t(241)],i=e[t(199)][t(233)](t(189));e.ui[t(203)][t(184)](t(239),(n=>{const r=t,s=(0,Mn.createDropdown)(n),o=s[r(230)][r(222)],a=new Mn.ListView(n),c=new Mn.ListItemView(n),u=new Mn.ButtonView(n),l=new Mn.ListItemView(n),h=new Mn.ButtonView(n);return s[r(196)](r(223)).to(i,r(200),i,r(223),e,r(186),((t,e,i)=>t&&e&&!i)),s[r(245)][r(221)]({icon:qi.icons[r(183)],label:Qi(n,r(209)),tooltip:!0}),u[r(221)]({label:Qi(n,r(213)),withText:!0,role:r(247)}),u[r(196)](r(223)).to(i,r(200),i,r(223),e,r(186),((t,e,i)=>t&&e&&!i)),u.on(r(198),(()=>this[r(179)]())),h[r(221)]({label:Qi(n,r(240)),withText:!0,role:r(247)}),h[r(196)](r(223)).to(i,r(200),e,r(186),((t,e)=>t&&!e)),h.on(r(198),(()=>{const t=r;e[t(227)][t(233)](t(239))[t(208)](),s[t(214)]=!1,e[t(190)][t(202)][t(180)]()})),c[r(222)][r(184)](u),l[r(222)][r(184)](h),a[r(187)]=r(244),a[r(246)][r(236)]([c,l]),o[r(184)](a),s})),e.ui[t(203)][t(184)](t(234),(()=>this[t(217)]()))}[Xn(217)](){const t=Xn,e=this[t(241)],i=e[t(224)],n=new Mn.MenuBarMenuView(i),r=new Mn.MenuBarMenuListView(i);n[t(245)][t(221)]({icon:qi.icons[t(183)],label:Qi(i,t(209))});const s=new Mn.MenuBarMenuListItemView(i,n),o=new Mn.MenuBarMenuListItemButtonView(i);o[t(221)]({label:Qi(i,t(213))}),o[t(212)](t(198)).to(n),o.on(t(198),(()=>{this[t(179)]()})),s[t(222)][t(184)](o),r[t(246)][t(184)](s);const a=new Mn.MenuBarMenuListItemView(i,n),c=new Mn.MenuBarMenuListItemButtonView(i);return c[t(221)]({label:Qi(i,t(240))}),c[t(212)](t(198)).to(n),c.on(t(198),(()=>{const i=t;e[i(227)][i(233)](i(239))[i(208)]()})),a[t(222)][t(184)](c),r[t(246)][t(184)](a),n[t(230)][t(222)][t(184)](r),n}[Xn(179)](){const t=Xn,e=this[t(241)],i=e[t(224)],n=e[t(199)][t(233)](t(205)),r=e[t(199)][t(233)](t(189));function s(r){const s=t;e[s(227)][s(233)](s(237))&&""===r[s(228)]?r[s(193)][s(238)]=Qi(i,s(206)):(e[s(199)][s(233)](xn)[s(215)]({name:r[s(228)]}),n[s(197)]())}this[t(195)]||(this[t(218)](),this[t(195)].on(t(225),(()=>s(this[t(195)])))),this[t(195)][t(226)](),n[t(191)]({id:t(181),title:Qi(i,t(213)),isModal:!0,content:this[t(195)],actionButtons:[{label:Qi(e[t(224)],t(188)),withText:!0,onExecute:()=>n[t(197)]()},{label:Qi(e[t(224)],t(235)),class:t(204),withText:!0,onCreate(i){const n=t;i[n(196)](n(223)).to(r,n(200),r,n(223),e,n(186),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(195)])}]})}[Xn(218)](){const t=Xn,e=this[t(241)],i=e[t(224)];this[t(195)]=new Kn(i,e[t(227)][t(233)](t(237))),this[t(195)][t(192)]()}}function tr(t,e){const i=er();return(tr=function(t,e){return i[t-=179]})(t,e)}function er(){const t=["revisionHistory.requireRevisionName","errorText","revisionHistory","Open revision history","editor","init","328280ftIOWC","menu","buttonView","items","menuitem","_showDialog","focus","revisionSave","113302IuxVnV","history","add","409905rAHbSI","isReadOnly","role","Cancel","RevisionTracker","editing","show","render","revisionNameInputView","10TruqCs","_saveRevisionFormView","bind","hide","execute","plugins","isReady","isPremiumPlugin","view","componentFactory","ck-button-action","Dialog","The revision name cannot be empty.","isOfficialPlugin","showRevisionViewerCallback","Revision history","217473zcyMSr","requires","delegate","Save current revision","isOpen","saveRevision","7520229OwzEsu","_registerMenuComponent","_createSaveRevisionFormView","RevisionHistoryUI","pluginName","set","children","isEnabled","locale","submit","reset","config","revisionName","12BLNqpb","panelView","1275972sBuYoJ","348980GIWeaJ","get","menuBar:revisionHistory","Accept","addMany"];return(er=function(){return t})()}const ir=nr;function nr(t,e){const i=sr();return(nr=function(t,e){return i[t-=349]})(t,e)}!function(t){const e=nr,i=t();for(;;)try{if(302166===-parseInt(e(362))/1*(-parseInt(e(367))/2)+-parseInt(e(381))/3*(-parseInt(e(352))/4)+-parseInt(e(371))/5*(-parseInt(e(365))/6)+-parseInt(e(364))/7+-parseInt(e(379))/8+parseInt(e(378))/9*(-parseInt(e(354))/10)+parseInt(e(360))/11*(parseInt(e(372))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sr);class rr extends Mn.View{constructor(t,e){const i=nr;super(t),this[i(361)]=e,this[i(369)]=e.id;const n=this[i(359)],r=Qi(t,e[i(351)][i(368)]?i(366):i(373)==e[i(358)]?i(356):i(374));this[i(370)](i(358),e[i(358)]),this[i(353)]({tag:i(350),attributes:{class:[i(349),i(375),n.to(i(358),(t=>i(380)+t))],tabindex:-1},children:[{tag:i(376),children:[{tag:i(376),attributes:{class:[i(357)]},children:[{text:r}]},{text:" "+e[i(382)][i(377)]}]}]})}[ir(355)](){const t=ir;this[t(363)][t(355)]()}}function sr(){const t=["20wXzknT","isSuggestion","changeId","set","83790Ylslwx","47148FlbPBs","add","Removed by","ck-revision-change","span","name","1647oBswhx","4303520hFyfCj","ck-revision-change__","9xpNcTe","author","ck-annotation","div","data","433996OUXdIK","setTemplate","6660LYJOpu","focus","Added by","ck-revision-change__label","type","bindTemplate","319sdlwcj","_model","2473Vqycjq","element","620998UKmyBM","210cuXiLW","Suggested by"];return(sr=function(){return t})()}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=257]})(t,e)}function cr(){var t=["author","rootName","4005tnfITK","4imZLLg","56207ZheHUr","121ZrlJsJ","toJSON","796qPcxmN","2742KFqIGe","createdAt","3570PexvQJ","type","220764YYJrIH","790776jLlgGx","2933HDOsvc","108HoZGKX","set","842367JnUBpw","data"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(160639===parseInt(e(271))/1*(parseInt(e(270))/2)+-parseInt(e(265))/3+parseInt(e(274))/4*(-parseInt(e(269))/5)+parseInt(e(275))/6*(parseInt(e(262))/7)+parseInt(e(261))/8+-parseInt(e(263))/9*(parseInt(e(258))/10)+-parseInt(e(272))/11*(-parseInt(e(260))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(267)]=e[i(267)],this[i(259)]=e[i(259)],this[i(266)]=e[i(266)]||{},this[i(268)]=e[i(268)],this[i(264)](i(257),e[i(257)])}[or(273)](){var t=or;return{id:this.id,authorId:this[t(267)].id,type:this[t(259)],data:this[t(266)],createdAt:this[t(257)]}}}const lr=dr;function hr(){const t=["7116zYxJlf","newRevisionId","add","changes","oldRevisionId","110oEiNOj","1pfucgj","_setChanges","11222856TguuVh","4345VtETZo","2197336khRZEM","2703058CBCnDr","9470314NFamUM","3218534tihHoe","3pLcHKS","4584456wEjJHM"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(860670===parseInt(e(497))/1*(parseInt(e(486))/2)+parseInt(e(489))/3*(-parseInt(e(485))/4)+parseInt(e(484))/5*(parseInt(e(491))/6)+parseInt(e(487))/7+parseInt(e(499))/8+-parseInt(e(490))/9+-parseInt(e(496))/10*(parseInt(e(488))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(492)]=e,this[n(495)]=i,this[n(494)]=new t.Collection}[lr(498)](t){const e=lr;for(const i of t)this[e(494)][e(493)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=wr();return(yr=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(351479===-parseInt(e(693))/1*(-parseInt(e(400))/2)+-parseInt(e(548))/3+-parseInt(e(469))/4+parseInt(e(603))/5*(-parseInt(e(638))/6)+-parseInt(e(620))/7*(parseInt(e(593))/8)+parseInt(e(421))/9+parseInt(e(685))/10*(parseInt(e(504))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const gr={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class kr extends qi.Plugin{static get[vr(618)](){return vr(588)}static get[vr(712)](){return!0}static get[vr(696)](){return!0}static get[vr(621)](){return[Bi.Users,Mn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(655)]=this[e(601)][e(680)][e(560)](e(423)),this[e(587)](e(512),null),this[e(587)](e(672),null),this[e(536)]=null,this[e(587)](e(595),null),this[e(587)](e(626),!1),this[e(587)](e(409),!0),this.on(e(660),((t,i,n)=>{const r=e;this[r(512)]=null,this[r(672)]=null,this[r(601)][r(635)][r(429)][r(718)]((t=>{const e=r;for(const i of this[e(601)][e(635)][e(429)][e(418)][e(641)])n?t[e(534)](e(624),i):t[e(576)](e(624),i)}))})),this[e(463)](e(407)).to(this,e(512),(t=>null!==t)),this[e(463)](e(468)).to(this,e(626),this,e(595),this,e(512),((t,i,n)=>t&&n?i[e(530)][e(688)](n):0)),this[e(463)](e(667)).to(this,e(626),this,e(595),((t,i)=>t?i[e(530)][e(659)]:0)),this[e(404)]=null,this[e(616)]=new Map,this[e(503)]=null,this[e(459)]=this[e(601)][e(680)][e(560)](Mn.ContextualBalloon)}[vr(592)](){const t=vr,e=this[t(601)],i=new Ir(e,{direction:t(674)}),n=new Ir(e,{direction:t(658)});e[t(460)][t(633)](t(637),i),e[t(460)][t(633)](t(427),n),e[t(460)][t(633)](t(533),new _r(e)),this.on(t(708),(()=>{const e=t;i[e(632)](),n[e(632)]()})),this[t(475)](),this[t(678)](),e[t(698)](t(499)),e[t(680)][t(470)](t(661))&&e[t(680)][t(560)](t(661))[t(563)](t(499))}async[vr(529)](t){const e=vr;await this[e(583)](t);const i={};for(const n in t[e(619)]){if(t[e(619)][n][e(484)]&&!t[e(619)][n][e(484)][e(679)])continue;const r=this[e(546)](JSON[e(491)](t[e(619)][n][e(434)])),s=this[e(601)][e(635)][e(429)][e(418)],o=new Ji.ViewDocumentFragment(s,r[e(480)]((t=>this[e(552)](t))));this[e(601)][e(605)][e(394)][e(453)](e(644)),i[n]=this[e(601)][e(605)][e(394)][e(700)](o),this[e(601)][e(605)][e(394)][e(453)](e(662))}return i}async[vr(550)](t){const e=vr;await this[e(583)](t);const i={};for(const n in t[e(619)])t[e(619)][n][e(484)]&&!t[e(619)][n][e(484)][e(679)]||(i[n]=t[e(619)][n][e(413)]||{});return i}[vr(546)](t){const e=vr;return(t=t[e(473)]((t=>!t[e(569)]||e(513)!==t[e(569)]&&e(420)!==t[e(569)])))[e(723)]((t=>{const i=e;i(440)!=typeof t&&(t[i(447)]=this[i(546)](t[i(447)]),t[i(665)]=t[i(665)][i(473)]((t=>!t[0][i(455)](i(722)))))})),t}async[vr(564)](t,e,i=!1){const n=vr;if(!this[n(409)])return;const r=this[n(595)],s=this[n(655)],o=n(440)==typeof t?s[n(467)](t):t,a=n(440)==typeof e?s[n(467)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(595)]&&this[n(595)][n(531)]===c&&this[n(595)][n(525)]===u)return Promise[n(591)]();this[n(626)]=!1,this[n(672)]=null,this[n(512)]=null,this[n(595)]=new fr(c,u);const l=this[n(643)](o,a,!0)[n(480)]((t=>this[n(583)](t)));return l[n(653)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(677)](l)[n(478)]((()=>{const t=n;if(!this[t(409)])return;this[t(417)]();const e=this[t(445)](c,u);for(const i of e[t(530)])this[t(616)][t(587)](i.id,i);this[t(601)][t(627)][t(494)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(601)][n(627)][n(418)][n(568)]())i[n(466)](t);for(const t of Object[n(506)](e[n(627)])){const r=i[n(472)](t);for(const s of Object[n(506)](e[n(665)][t]))i[n(426)](s,e[n(665)][t][s],r);i[n(598)](e[n(627)][t],r,0)}})),this[t(595)][t(399)](this[t(581)](e[t(530)])),this[t(626)]=!0}))[n(541)]((t=>{const e=n;console[e(489)](t),this[e(417)](),r&&(this[e(595)]=r),this[e(626)]=!0}))}[vr(408)](t,e){const i=vr,n=this[i(655)][i(483)](t);return n.on(i(648),((t,i,r)=>e(i,r,n))),this[i(655)][i(501)](n),n}[vr(583)](t){const e=vr;if(!t||t[e(619)])return Promise[e(591)]();{const i=this[e(601)][e(684)][e(560)](e(717));return this[e(503)][e(467)]({channelId:i,revisionId:t.id})[e(478)]((i=>{const n=e;t[n(648)]({diffData:i[n(619)]},!0)}))}}[vr(417)](){const t=vr;this[t(512)]=null,this[t(612)](),this[t(404)]&&this[t(404)][t(485)](),this[t(404)]=null,this[t(616)][t(401)](),this[t(601)][t(627)][t(494)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(601)][i(627)][i(418)][i(568)]())e[i(466)](t)}))}[vr(581)](t){const e=vr,i=[],n=new Map;for(const t of this[e(601)][e(627)][e(418)][e(568)]()){const r=this[e(601)][e(635)][e(429)][e(551)](t);if(!r)continue;const s=r[e(597)]()[e(493)](0);s&&(i[e(653)](t),n[e(587)](t,s))}return i[e(697)](((t,i)=>{const r=e,s=n[r(560)](t),o=n[r(560)](i);return s.y-o.y||s.x-o.x})),(t=t[e(473)]((t=>i[e(456)](t[e(518)]))))[e(697)](((t,n)=>i[e(443)](t[e(518)])-i[e(443)](n[e(518)]))),t}[vr(711)](t){const e=vr,i=Array[e(562)](t[e(387)])[e(473)]((([t,i])=>t[e(455)](e(492))&&!i[e(558)])),n=Array[e(562)](this[e(601)][e(627)][e(654)](t)[e(574)]({singleCharacters:!0}));if(0!=i[e(659)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(707)](":");if(r[e(721)][e(656)](t[e(623)])&&i[e(584)](),(t[e(599)][e(656)](r[e(580)])||t[e(599)][e(425)](r[e(580)]))&&(e(628)==s?t[e(451)]={userId:o}:e(398)==s&&(t[e(457)]={userId:o})),0==i[e(659)])break}return n}[vr(670)](t){const e=vr,i=new Map;for(let n=0;n<t[e(659)];n++)e(561)===t[n][e(702)]?(t[n][e(493)][e(596)]=n,t[n][e(493)][e(435)]=n):(e(388)===t[n][e(702)]?t[n][e(493)][e(596)]=n:e(705)===t[n][e(702)]&&(t[n][e(493)][e(435)]=n),i[e(587)](t[n].id,n));for(const n of i[e(642)]())e(388)===t[n][e(702)]?t[n][e(493)][e(435)]=i[e(560)](t[n][e(590)]):e(705)===t[n][e(702)]&&(t[n][e(493)][e(596)]=i[e(560)](t[n][e(590)]))}[vr(449)](t){const e=vr;for(let i=0;i<t[e(659)];i++){if(e(388)===t[i][e(702)])t[i][e(493)][e(596)]=i;else if(e(705)===t[i][e(702)]){t[i][e(493)][e(435)]=i;const n=t[i][e(493)][e(596)];t[n][e(590)]=t[i].id,t[i][e(590)]=t[n].id}else t[i][e(493)][e(596)]=i,t[i][e(493)][e(435)]=i,t[i][e(590)]=null;t[i][e(645)]||(t[i][e(645)]=[],t[i][e(464)]=[])}}[vr(566)](t,e){const i=vr,n=t[i(473)]((t=>!t[i(451)]));for(let t=0;t<e[i(659)];t++)e[t][i(451)]&&(n[t][i(451)]=e[t][i(451)])}[vr(582)](t){const e=vr,i=JSON[e(491)](t),n=this[e(601)][e(635)][e(429)][e(418)],r=new Ji.ViewDocumentFragment(n,i[e(480)]((t=>this[e(552)](t))));return this[e(601)][e(605)][e(617)](r)}[vr(552)](t){const e=vr,i=this[e(601)][e(635)][e(429)][e(418)];if(e(440)==typeof t)return new Ji.ViewText(i,t);{const n=t[e(447)][e(480)]((t=>this[e(552)](t)));return new(gr[t[e(702)]]||Ji.ViewElement)(i,t[e(569)],t[e(665)],n)}}[vr(445)](t,e=null){const i=vr,n=this[i(655)][i(467)](t),r=e?this[i(655)][i(467)](e):null,s=this[i(643)](n,r),o=s[s[i(659)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(659)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(506)](e[i(619)]))if(e[i(619)][t][i(484)]){const n=e[i(619)][t][i(484)];n[i(679)]?(u[i(633)](t),l[i(470)](t)&&l[i(560)](t)[i(573)]==n[i(573)]?l[i(532)](t):l[i(587)](t,n)):l[i(470)](t)?(u[i(532)](t),l[i(532)](t)):(u[i(633)](t),l[i(587)](t,n))}else u[i(633)](t)}for(const t of u){const e=l[i(470)](t)&&!l[i(560)](t)[i(679)];let n=e?s[i(659)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(619)][t]){const n=e?o[i(619)][t][i(557)]:o[i(619)][t][i(413)];c[i(665)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(627)]={};for(const e of t[i(419)])a[i(587)](e.id,e);for(const e of u){const n=t[i(619)][e]?t[i(619)][e][i(434)]:"[]",r=t[i(619)][e]?t[i(619)][e][i(555)]:"[]";t[i(627)][e]={insertions:this[i(582)](n),deletions:this[i(582)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(562)](n[i(627)][t][i(434)][i(387)])[i(473)]((([t])=>!t[i(455)](i(492)))));let h=0;for(const o of s){const s=this[i(711)](o[i(627)][t][i(434)]);o==n?(e=s,r=e[i(659)],e[i(723)]((t=>{t.id=h++})),this[i(449)](e)):this[i(566)](e,s);const a=e[i(473)]((t=>!t[i(451)]))[i(480)]((t=>t.id));let c=0;const l=this[i(711)](o[i(627)][t][i(555)]);l[i(723)]((t=>{t[i(457)]?t.id=r++:t.id=a[c++]})),this[i(449)](l),this[i(553)](e,i(451)),this[i(553)](l,i(457)),o==n&&this[i(611)](e,u),e=this[i(540)](e,l),this[i(670)](e),this[i(553)](e,i(457))}e=e[i(473)]((t=>!(t[i(451)]&&t[i(457)])));const d=new Map(o[i(627)][t][i(555)][i(387)]),f=new Set(u[i(506)]());for(const t of d[i(506)]())f[i(532)](t);this[i(554)](e,f),this[i(701)](e),e=this[i(502)](e),e=this[i(669)](e),e=this[i(671)](e);const{root:m,changes:p}=this[i(490)](e,a,t);c[i(627)][t]=m;const v=l[i(560)](t);if(v){const e=a[i(560)](v[i(573)]),n=new ur({author:e,type:v[i(679)]?i(633):i(664),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(575)](n),c[i(665)][t][i(431)]=n.id}c[i(530)]=c[i(530)][i(438)](p)}return c}[vr(611)](t,e){const i=vr;for(let n=0;n<t[i(659)];n++)for(const[r,s]of e)s[i(580)][i(656)](t[n][i(599)])&&t[n][i(645)][i(653)](r),s[i(721)][i(656)](t[n][i(623)])&&t[n][i(464)][i(653)](r)}[vr(540)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(659)]||s<e[i(659)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(653)](o);else if(a[i(457)]&&o[i(451)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(614)](t,r,e,s);n=n[i(438)](o),r=a,s=c}else a[i(457)]?(s++,n[i(653)](a)):(r++,n[i(653)](o))}return n}[vr(554)](t,e){const i=vr,n=[];for(let o=0;o<t[i(659)];o++){for(let s=0;s<t[o][i(645)][i(659)];s++){const a=t[o][i(645)][s];if(!e[i(470)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(556)!=c||i(628)!=u&&i(398)!=u||(n[i(575)]({type:u,name:a,userId:l}),t[o][i(645)][i(392)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(464)][i(659)];s++){const a=t[o][i(464)][s];if(!e[i(470)](a))continue;const{group:c,type:u}=r(a);if(i(556)!=c||i(628)!=u&&i(398)!=u)continue;t[o][i(464)][i(392)](s,1),s--;const l=n[i(572)]((t=>t[i(569)]==a));l>-1&&n[i(392)](l,1)}}function r(t){const e=i,n=t[e(707)](":");return{group:n[0],type:n[1],subType:n[e(659)]>=5?n[2]:null,id:n[e(659)]<5?n[2]:n[3],authorId:n[e(659)]<5?n[3]:n[4],markerCount:6==n[e(659)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(659)];i++){if(t[e(451)]&&e(628)==n[i][e(702)])return t[e(454)]=n[i],void delete t[e(451)];if(!t[e(451)]&&!t[e(457)]&&e(398)==n[i][e(702)])return void(t[e(422)]=n[i])}}}[vr(553)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(587)](o.id,n);for(let n=0;n<t[i(659)];n++){if(i(457)==e&&t[n][i(451)]||i(451)==e&&t[n][i(457)])continue;if(i(561)==t[n][i(702)]){t[n][i(471)]=0;continue}const r=s[i(560)](t[n][i(590)]),o=s[i(560)](t[n].id);t[n][i(471)]=r-o}}[vr(643)](t,e,i=!1){const n=vr,r=[];let s=this[n(655)][n(688)](t),o=this[n(655)][n(688)](e);for(-1==o&&(o=this[n(655)][n(565)][n(659)],i=!1);s<o;)r[n(653)](this[n(655)][n(467)](s)),s++;return i&&r[n(653)](this[n(655)][n(467)](s)),r}[vr(614)](t,e,i,n){const r=vr,s=this[r(601)][r(627)][r(586)];let o=e;for(;t[o]&&t[o][r(451)];)o++;let a=n;for(;i[a]&&i[a][r(457)];)a++;u(t,e,o),u(i,n,a);const c=i[r(687)](n,a)[r(438)](t[r(687)](e,o));return c[r(697)](((t,e)=>t[r(402)]!=e[r(402)]?t[r(402)]-e[r(402)]:t[r(579)]!=e[r(579)]?t[r(579)]-e[r(579)]:t[r(471)]!=e[r(471)]?e[r(471)]-t[r(471)]:!!t[r(451)]!=!!e[r(451)]?-1==t[r(402)]||0==t[r(402)]?t[r(451)]?-1:1:t[r(451)]?1:-1:t[r(640)]-e[r(640)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(542)],c=!0;for(let r=e;r<i;r++)if(s[n(690)](t[r][n(493)])||(c=!1),t[r][n(493)][n(596)]<e&&(o=r),t[r][n(493)][n(435)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(402)]=r<=o?-1:r<a?0:1,t[r][n(640)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(471)]?t[i][n(579)]=u:(u++,t[i][n(579)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(402)]&&(t[r][n(579)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(471)]?t[e][n(579)]=u:(u--,t[e][n(579)]=u,u--)}}[vr(701)](t){const e=vr,i=new Map,n=this[e(601)][e(627)][e(586)];for(let r=1;r<t[e(659)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(561)==c[e(702)])continue;if(c[e(702)]!=u[e(702)])continue;if(!n[e(511)](u[e(493)])||n[e(428)](u[e(493)]))continue;if(!n[e(511)](c[e(493)])||n[e(428)](c[e(493)]))continue;if((t[r][e(451)]||t[r][e(454)])&&t[r-1][e(457)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(457)]||!t[r-1][e(451)]&&!t[r-1][e(454)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(579)]==o[e(579)],h=Math[e(406)](s[e(579)])<Math[e(406)](o[e(579)])&&0==o[e(471)];(l||h)&&(i[e(587)](o.id,s.id),t[e(392)](a,1),r--,s[e(451)]=!1)}for(let n=0;n<t[e(659)];n++)i[e(470)](t[n][e(590)])&&(t[n][e(590)]=i[e(560)](t[n][e(590)]))}[vr(502)](t){const e=vr,i=new Set(t[e(480)]((t=>t.id)));for(let n=0;n<t[e(659)];n++)i[e(470)](t[n][e(590)])||0==t[n][e(471)]||(t[n][e(391)]=!0);return t[e(473)]((t=>!t[e(391)]))}[vr(669)](t){const e=vr,i=new Set;for(let n=0;n<t[e(659)];n++){if(i[e(470)](t[n].id)&&t[n][e(457)]&&(t[n][e(391)]=!0),t[n][e(391)])continue;if(0==t[n][e(471)])continue;if(e(388)!=t[n][e(702)])continue;if(null==t[n][e(590)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(590)];)e(388)==t[r][e(702)]?s++:e(705)==t[r][e(702)]&&s--,r++;if(0!=s)if(t[n][e(457)])t[n][e(391)]=!0;else for(;r!=n;)t[r][e(457)]&&0!=t[r][e(471)]&&(t[r][e(391)]=!0,i[e(633)](t[r][e(590)])),r--}return t[e(473)]((t=>!t[e(391)]))}[vr(671)](t){const e=vr,i=this[e(601)][e(627)][e(586)];for(let n=0;n<t[e(659)];n++){if(!(t[n][e(451)]||t[n][e(454)]||t[n][e(457)]||t[n][e(422)]))continue;if(0==t[n][e(471)])continue;const r=t[n][e(493)];i[e(511)](r)||i[e(428)](r)||(t[n][e(451)]&&delete t[n][e(451)],t[n][e(454)]&&delete t[n][e(454)],t[n][e(422)]&&delete t[n][e(422)],t[n][e(457)]&&(t[n][e(391)]=!0))}return t[e(473)]((t=>!t[e(391)]))}[vr(490)](t,e,i){const n=vr,r=new Ji.DocumentFragment,s=[],o=new Map,a=this[n(601)][n(627)],c=a[n(586)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(659)];e++)if(n(388)===t[e][n(702)]){t[e][n(599)]=a[n(673)](r,f);const i=new Ji.Element(t[e][n(493)][n(569)],t[e][n(493)][n(521)]());u[0][n(444)](i),f[n(653)](0),u[n(575)](i),t[e][n(623)]=a[n(673)](r,f)}else n(705)===t[e][n(702)]?(u[n(584)](),t[e][n(599)]=a[n(673)](r,f),f[n(682)](),f[f[n(659)]-1]++,t[e][n(623)]=a[n(673)](r,f)):(t[e][n(599)]=a[n(673)](r,f),d?d[n(389)]+=t[e][n(493)][n(605)]:d=new Ji.Text(t[e][n(493)][n(605)],t[e][n(493)][n(521)]()),t[e+1]&&n(561)===t[e+1][n(702)]&&v(d,t[e+1][n(493)])||(u[0][n(444)](d),d=null),f[f[n(659)]-1]+=t[e][n(493)][n(396)],t[e][n(623)]=a[n(673)](r,f));for(let e=0;e<t[n(659)];e++){const i=t[e][n(599)],r=t[e][n(623)];for(const r of t[e][n(645)])o[n(587)](r,{start:i,end:null});m(n(422),e,i,r),m(n(454),e,i,r),m(n(457),e,i,r),m(n(451),e,i,r);for(const i of t[e][n(464)])o[n(560)](i)[n(721)]=r}for(const[t,e]of o){const i=this[n(601)][n(627)][n(488)](e[n(580)],e[n(721)]);r[n(387)][n(587)](t,i)}return s[n(697)](((t,e)=>{const i=n,s=r[i(387)][i(560)](i(492)+t.id),o=r[i(387)][i(560)](i(492)+e.id);return s[i(580)][i(719)](o[i(580)])?-1:s[i(580)][i(425)](o[i(580)])?1:s[i(721)][i(719)](o[i(721)])?-1:s[i(721)][i(425)](o[i(721)])?1:i(633)===t[i(702)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(573)]:null,d=i===t[o(659)]-1,f=h[e][0],m=c[o(509)](t[i][o(493)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(721)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(573)]!==u&&(l[e][o(721)]=r,f&&f[o(573)]===l[e][o(573)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(388)!==t[i][o(702)]||f&&f[o(573)]===u||h[e][o(575)]({userId:u,object:t[i][o(493)],change:l[e]}),o(705)===t[i][o(702)]&&f&&f[o(691)]===t[i][o(493)]&&(h[e][o(584)](),l[e]=f[o(718)])),l[e]&&d&&(l[e][o(721)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(493)],f=a[h(586)][h(511)](d)&&!a[h(586)][h(428)](d),m=t[h(411)]==o[h(412)]&&o[h(519)];if(f&&m)return;const p=a[h(488)](t,o),v=e[h(560)](u),y=new ur({author:v,type:h(451)==l||h(454)==l?h(633):h(664),data:{isSuggestion:h(454)==l||h(422)==l},createdAt:new Date,rootName:i});s[h(653)](y),r[h(387)][h(587)](h(492)+y.id,p)}function v(t,e){const i=n,r=t[i(521)](),s=e[i(521)]();for(const t of r){if(t[1]!==e[i(397)](t[0]))return!1;s[i(432)]()}return s[i(432)]()[i(607)]}}[vr(475)](){const t=vr;this[t(601)][t(615)][t(681)](t(441))[t(508)]({view:t(395)}),this[t(601)][t(615)][t(681)](t(414))[t(442)]({model:t(395),view:e=>{const i=t,n=e[i(720)][i(707)](":")[1],r=this[i(507)](n);if(!r)return null;const s=i(633)==r[i(702)]?i(628):i(398),o=[i(716),i(535)+s];return r[i(605)][i(610)]&&o[i(653)](i(535)+s+i(430)),this[i(512)]==r&&o[i(653)](i(461)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(601)][t(615)][t(681)](t(441))[t(633)]((e=>{const i=t;e.on(i(403),((t,e,n)=>{const r=i,s=e[r(474)][r(715)](0);if(!s||!s.is(r(694),r(510)))return;if(!n[r(477)][r(676)](s,{attributes:[r(609),r(651)]}))return;const o=e[r(458)][r(580)][r(411)];n[r(559)][r(426)](r(609),s[r(397)](r(609)),o),n[r(559)][r(426)](r(651),s[r(397)](r(651)),o)}),{priority:i(462)})})),this[t(601)][t(615)][t(681)](t(441))[t(633)]((e=>{const i=t;e.on(i(694),((t,e,n)=>{const r=i;if(!n[r(477)][r(676)](e[r(474)],{attributes:[r(609),r(651)]}))return;if(e[r(458)][r(558)])return;const s=e[r(458)][r(580)][r(411)];s[r(600)](r(609))||s[r(600)](r(652))||(n[r(559)][r(426)](r(609),e[r(474)][r(397)](r(609)),s),n[r(559)][r(426)](r(651),e[r(474)][r(397)](r(651)),s))}),{priority:i(462)})})),this[t(601)][t(615)][t(681)](t(441))[t(571)]({view:{name:t(567),attributes:{vid:!0}},model:{key:t(652),value:e=>e[t(397)](t(652))}}),this[t(601)][t(627)][t(586)].on(t(450),((e,[,i])=>{const n=t;[n(609),n(651),n(652)][n(456)](i)&&(e[n(393)]=!0,e[n(675)]())}),{priority:t(446)}),this[t(601)][t(615)][t(681)](t(570))[t(633)]((e=>{const i=t;e.on(i(703),((t,e,n)=>{const r=i;if(" "!=e[r(493)][r(605)]||e[r(493)][r(412)][r(631)]>1)return;if(!n[r(477)][r(676)](e[r(493)],t[r(569)]))return;const s=n[r(559)],o=n[r(545)][r(689)](e[r(436)]);s[r(577)](o,s[r(523)](r(567)))}))})),this[t(601)][t(615)][t(681)](t(570))[t(544)]({model:t(395)}),this[t(601)][t(635)][t(666)].on(t(650),function(e){const i=t,n=e[i(680)][i(560)](i(588));return(t,r,s)=>{const o=i,a=r[o(720)][o(707)](":")[1],c=n[o(507)](a);if(!c)return null;const u=o(633)==c[o(702)]?o(707):o(539);if(!s[o(477)][o(543)](r[o(516)],t[o(569)]))return;const l=r[o(516)][o(574)](),h=r[o(516)][o(580)],d=e[o(627)][o(586)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(493)];p=p||d[o(710)](e);const i=s[o(545)][o(606)](e);if(i&&i[o(497)](o(522)))return;o(705)==t[o(702)]&&d[o(511)](e)&&!d[o(428)](e)&&(e[o(500)]||h[o(390)]?f&&f[o(412)]==e||(f=e,y(t[o(599)]),v=!0):m=m||t[o(599)])}function y(t){const e=o,i=s[e(559)][e(415)](e(567),{class:e(535)+u}),a=s[e(545)][e(479)](t);c[e(605)][e(610)]&&s[e(559)][e(576)](e(535)+u+e(430),i),n[e(512)]==c&&s[e(559)][e(576)](e(461),i),s[e(559)][e(598)](a,i),s[e(545)][e(405)](i,r[e(720)])}p||v||!m||y(m)}}(this[t(601)]),{priority:t(725)}),this[t(601)][t(635)][t(666)].on(t(486),((e,i,n)=>{const r=t,s=n[r(545)][r(589)](i[r(720)]);if(s)for(const t of s)(t[r(704)](r(549))||t[r(704)](r(634)))&&(n[r(545)][r(630)](t,i[r(720)]),n[r(559)][r(664)](t))}),{priority:t(725)}),this[t(601)][t(635)][t(666)].on(t(650),((e,i,n)=>{const r=t,s=i[r(720)][r(707)](":")[1],o=this[r(507)](s);if(!o)return null;const a=r(633)==o[r(702)]?r(707):r(539);if(n[r(477)][r(543)](i[r(516)],e[r(569)]))for(const t of i[r(516)][r(514)]()){if(!t.is(r(694),r(433)))continue;const e=n[r(559)][r(415)](r(567),{class:r(535)+a}),s=n[r(545)][r(479)](this[r(601)][r(627)][r(639)](t));o[r(605)][r(610)]&&n[r(559)][r(576)](r(535)+a+r(430),e),this[r(512)]==o&&n[r(559)][r(576)](r(461),e),n[r(559)][r(598)](s,e),n[r(545)][r(405)](e,i[r(720)])}}),{priority:t(725)}),this[t(601)][t(627)][t(418)].on(t(718),(()=>{const e=t;this[e(601)][e(635)][e(429)][e(718)]((t=>{const i=e;for(const e of this[i(601)][i(627)][i(418)][i(568)]()){const n=this[i(601)][i(627)][i(418)][i(487)](e),r=this[i(601)][i(635)][i(429)][i(418)][i(487)](e);if(r){const e=n[i(397)](i(431));if(t[i(517)](i(448),r),t[i(534)](i(481),r),t[i(534)](i(538),r),t[i(534)](i(625),r),e){const n=this[i(507)](e);if(!n)return null;t[i(426)](i(448),e,r),t[i(576)](i(649)+n[i(702)],r),this[i(512)]==n&&t[i(576)](i(625),r)}}}}))})),this[t(601)][t(615)][t(681)](t(441))[t(508)]({view:t(594),model:e=>t(636)+e,converterPriority:t(446)}),this[t(601)][t(615)][t(681)](t(441))[t(508)]({view:t(668),model:e=>t(547)+e,converterPriority:t(446)}),this[t(601)][t(615)][t(681)](t(570))[t(544)]({model:t(556),view:e=>({name:t(505)+e,group:t(556)}),converterPriority:t(446)}),this[t(601)][t(615)][t(681)](t(414))[t(442)]({model:t(556),view:e=>{const i=t,n=e[i(720)][i(707)](":")[1];return i(628)!=n&&i(398)!=n?null:{classes:[i(495),i(613)+n]}}}),this[t(601)][t(635)][t(666)].on(t(524),br(this[t(601)],t(539)),{priority:t(725)}),this[t(601)][t(635)][t(666)].on(t(608),br(this[t(601)],t(707)),{priority:t(725)}),this[t(601)][t(635)][t(666)].on(t(482),((e,i,n)=>{const r=t,s=n[r(545)][r(589)](i[r(720)]);if(s)for(const t of s)t.is(r(452))&&(n[r(545)][r(630)](t,i[r(720)]),n[r(559)][r(664)](t))}),{priority:t(725)})}[vr(507)](t){const e=vr;return this[e(616)][e(560)](t)}[vr(713)](t){const e=vr;return this[e(404)]&&this[e(404)][e(485)](),this[e(404)]=new rr(this[e(601)][e(695)],t),this[e(404)]}[vr(678)](){const t=vr;this[t(601)][t(627)][t(418)][t(496)][t(683)](t(395)),this.on(t(706),((e,i,n,r)=>{const s=t;r&&this[s(459)][s(664)](r),n&&(this[s(459)][s(633)]({view:n,stackId:s(527),position:{target:()=>{const t=s,e=this[t(601)][t(635)],i=this[t(507)](n[t(526)]);let r;if(i[t(605)][t(709)]){const n=e[t(429)][t(551)](i[t(518)]);r=Array[t(562)](n[t(597)]())}else{const i=this[t(601)][t(627)][t(387)][t(560)](t(492)+n[t(526)]);r=Array[t(562)](e[t(545)][t(589)](i[t(569)]))[t(480)]((i=>e[t(429)][t(437)][t(416)](i)))[t(480)]((e=>Array[t(562)](e[t(597)]())))[t(647)]()}return this[t(536)]&&r[t(602)]((e=>e[t(498)]-3<=this[t(536)].y&&e[t(686)]+3>=this[t(536)].y&&e[t(622)]-3<=this[t(536)].x&&e[t(657)]+3>=this[t(536)].x))||r[0]}}}),this[s(459)][s(585)](s(527)))})),this.on(t(724),((e,i,n,r)=>{const s=t;this[s(672)]=n?this[s(713)](n):null,this[s(601)][s(627)][s(718)]((()=>{const t=s,e=this[t(601)][t(635)];r&&(r[t(605)][t(709)]?e[t(429)][t(718)]((i=>{const n=t;i[n(534)](n(625),e[n(429)][n(418)][n(487)](r[n(518)]))})):e[t(465)](t(492)+r.id)),n&&(n[t(605)][t(709)]?e[t(429)][t(718)]((i=>{const r=t;i[r(576)](r(625),e[r(429)][r(418)][r(487)](n[r(518)]))})):e[t(465)](t(492)+n.id))}))})),this[t(439)](this[t(601)][t(635)][t(429)][t(418)],t(424),((e,i)=>{const n=t;if(this[n(512)])return;const r=this[n(604)](i[n(663)]),s=this[n(616)][n(560)](r);s?(this[n(536)]={x:i[n(578)].x,y:i[n(578)].y},this[n(672)]=this[n(713)](s)):(this[n(536)]=null,this[n(672)]=null)})),this[t(439)](this[t(601)][t(635)][t(429)][t(418)],t(714),((e,i)=>{const n=t,r=this[n(604)](i[n(663)]),s=this[n(616)][n(560)](r);s?(this[n(536)]={x:i[n(578)].x,y:i[n(578)].y},s===this[n(512)]?this[n(459)][n(476)]():this[n(512)]=s):(this[n(536)]=null,this[n(512)]=null)}))}[vr(604)](t){const e=vr;do{const i=t[e(397)](e(448));if(i)return i;t=t[e(412)]}while(t);return null}[vr(612)](){const t=vr;this[t(601)][t(627)][t(718)]((e=>{const i=t;for(const t of this[i(601)][i(627)][i(387)])e[i(410)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(477)][s(543)](n[s(516)],i[s(569)]))return;const o=n[s(516)][s(574)](),a=n[s(516)][s(580)],c=t[s(627)][s(586)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(493)];h=h||c[s(710)](e);const i=r[s(545)][s(606)](e);if(i&&i[s(497)](s(522)))return;s(705)==t[s(702)]&&c[s(511)](e)&&!c[s(428)](e)&&(e[s(500)]||a[s(390)]?u&&u[s(412)]==e||(u=e,f(t[s(599)]),d=!0):l=l||t[s(599)])}function f(t){const i=s,o=r[i(545)][i(479)](t),a=r[i(559)][i(415)](i(567),{class:i(613)+e});r[i(559)][i(598)](o,a),r[i(545)][i(405)](a,n[i(720)])}h||d||!l||f(l)}}function wr(){const t=["text","from","forceDisabled","compare","_revisions","_markInsertions","span","getRootNames","name","dataDowncast","elementToAttribute","findIndex","userId","getWalker","unshift","addClass","wrap","domEvent","level","start","_sortAndFilterDiffChanges","_makeModelFromViewString","loadRevisionData","shift","showStack","schema","set","RevisionViewer","markerNameToElements","pairId","resolve","init","26512XCuYzg","comment","diff","startIndex","getClientRects","insert","previousPosition","hasAttribute","editor","find","566725atsksg","_findChangeIdFromDomTarget","data","toViewElement","done","addMarker:revision-suggestion:insertion","vid_start","isSuggestion","_markMarkers","_cleanMarkers","ck-suggestion-preview-marker-","_threeWayMerge","conversion","_changeIdToChange","toModel","pluginName","diffData","1449UtgLHA","requires","left","nextPosition","ck-editor__editable__overlay","ck-revision-history-root--active","isReady","model","insertion","revisionHistory","unbindElementFromMarkerName","maxOffset","refresh","add","ck-suggestion-marker-merge","editing","revision-comment:","showPreviousChange","30GjIfJA","createPositionBefore","index","roots","values","_getRevisionsRange","marked","markersStart","first","flat","_update","ck-revision-history-root-","addMarker:revision","vid_end","vid","push","createRangeIn","repository","isEqual","right","forward","length","change:isEnabled","WidgetToolbarRepository","default","target","remove","attributes","downcastDispatcher","numberOfChanges","suggestion","_markMismatchedRemovedTags","_refreshStartEndIndex","_removeUnsupportedChanges","activeView","createPositionFromPath","backward","stop","consume","all","_initInteractions","isAttached","plugins","for","pop","observeMarkers","config","640vExivs","bottom","slice","getIndex","toViewRange","isInline","object","affectsData","17109NYKHho","element","locale","isPremiumPlugin","sort","enableReadOnlyMode","restoreRevisionCallback","toData","_fixObsoleteTags","type","attribute:vid","hasClass","elementEnd","change:activeView","split","change:numberOfChanges","isOnRoot","isContent","_makeTape","isOfficialPlugin","_getViewForChange","mousedown","getChild","ck-suggestion-marker","collaboration.channelId","change","isBefore","markerName","end","data-revision-","forEach","change:activeChange","high","markers","elementStart","_data","isAtEnd","isIncorrect","splice","return","processor","revision","offsetSize","getAttribute","deletion","_setChanges","26vwtprN","clear","side","element:pre","_changeView","bindElementToMarker","abs","isNavigationMode","addRevisionData","isEnabled","removeMarker","nodeAfter","parent","attributesAfter","editingDowncast","createUIElement","mapViewToDom","_cleanUp","document","authors","revision-end","2660040MAqDng","isRemoveSuggestion","RevisionsRepository","mouseover","isAfter","setAttribute","showNextChange","isLimit","view","-new","revisionHistoryAttachChange","next","softBreak","insertions","endIndex","range","domConverter","concat","listenTo","string","upcast","markerToHighlight","indexOf","_appendChild","_getDiff","highest","children","data-change-id","_processTape","checkAttribute","isAdded","uiElement","useFillerType","isAddSuggestion","startsWith","includes","isRemoved","modelRange","_balloon","commands","ck-suggestion-marker--active","low","bind","markersEnd","reconvertMarker","detachRoot","getRevision","currentChangeNumber","63852jwWuQn","has","distance","addRoot","filter","viewItem","_setConversion","updatePosition","consumable","then","toViewPosition","map","ck-revision-history-root-add","removeMarker:revision-suggestion","createRevision","attachChange","destroy","removeMarker:revision","getRoot","createRange","error","_makeModelFromTape","parse","revision:","item","enqueueChange","ck-suggestion-preview-marker","selection","getCustomProperty","top","revision-viewer","nextSibling","addRevision","_removeMissingPairs","adapter","272096rIkjpu","suggestion:","keys","_getChangeFromId","dataToMarker","isObject","code","isBlock","activeChange","revision-start","getItems","execute","markerRange","removeAttribute","rootName","isAtStart","getLaterVisibleRevision","getAttributes","addHighlight","createAttributeElement","addMarker:revision-suggestion:deletion","oldRevisionId","changeId","revisionHistoryLabel","_step","getRevisionData","changes","newRevisionId","delete","restoreRevision","removeClass","ck-suggestion-marker-","_activeViewTarget","change:isReady","ck-revision-history-root-remove","merge","_joinTapes","catch","POSITIVE_INFINITY","test","markerToData","mapper","_removeRevisionMarkers","revision-suggestion:","1442748tthGAw","ck-suggestion-marker-split","getRevisionRootsAttributes","getDomRoot","_getViewObj","_setDistance","_markSuggestions","deletions","revision-suggestion","attributesBefore","isCollapsed","writer","get"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(680)][e(560)](kr);this[e(692)]=!1,this[e(439)](i,e(537),(()=>this[e(632)]())),this[e(439)](i,e(660),(()=>this[e(632)]()))}[vr(515)](){const t=vr,e=this[t(601)],i=e[t(680)][t(560)](kr),n=i[t(626)]?i[t(595)][t(531)]:null;e[t(684)][t(560)](t(629))[t(699)](n)}[vr(632)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(601)][t(680)][t(560)](kr),s=r&&n[t(520)](r[t(531)]);this[t(409)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(680)][i(560)](kr);this[i(692)]=!1,this[i(528)]=i(658)===e?1:-1,this[i(439)](n,i(537),(()=>this[i(632)]())),this[i(439)](n,i(660),(()=>this[i(632)]())),this[i(439)](n,i(724),(()=>this[i(632)]()))}[vr(515)](){const e=vr,i=this[e(601)],n=i[e(680)][e(560)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(512)]=r?n[e(595)][e(530)][e(560)](s+this[e(528)]):n[e(595)][e(530)][e(646)],n[e(512)][e(605)][e(709)])o=i[e(635)][e(429)][e(551)](n[e(512)][e(518)]);else{const t=i[e(627)][e(387)][e(560)](e(492)+n[e(512)].id);o=(0,Bi.getMarkerDomElement)(i[e(635)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(632)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(601)][t(680)][t(560)](kr);this[t(409)]=!!(s&&r&&n)&&(!e||(1===this[t(528)]?i<n-1:i>0))}}var Sr=i(528),xr={attributes:{"data-cke":!0}};xr.setAttributes=Wn(),xr.insert=Pn().bind(null,"head"),xr.domAPI=Fn(),xr.insertStyleElement=Zn();Cn()(Sr.A,xr);Sr.A&&Sr.A.locals&&Sr.A.locals;function Or(t,e){const i=Tr();return(Or=function(t,e){return i[t-=254]})(t,e)}function Tr(){const t=["5463NhqWLy","ck-revision-history-ui__changes-navigation","676855DJuHXC","ck-hidden","backward","2265210UIIUsm","numberOfChanges","isEnabled","X_OF_Y_CHANGES","650QDCekx","execute","ck-revision-history-ui__changes-navigation__navigation","22808pjIEUC","bindTemplate","_statusText","Total","Show previous change","div","isReady","span","7053qggaJJ","forward","_isStatusLabelVisible","setTemplate","set","3364460oPVFBg","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","isNavigationMode","Show next change","No changes","bind","ck-revision-history-ui__changes-navigation__label","currentChangeNumber","5922224JioGvB","ck-revision-history-ui","Loading...","2582200EnxCjt","isBackwardNavigationEnabled","fire","EDIT_X_OF_Y_REVISIONS"];return(Tr=function(){return t})()}!function(t){const e=Or,i=t();for(;;)try{if(447112===parseInt(e(281))/1+parseInt(e(288))/2*(-parseInt(e(257))/3)+-parseInt(e(275))/4+parseInt(e(262))/5+-parseInt(e(284))/6+-parseInt(e(272))/7+-parseInt(e(291))/8*(-parseInt(e(279))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends Mn.View{constructor(t){const e=Or;super(t);const i=this[e(292)],n=new Mn.ButtonView(t),r=new Mn.ButtonView(t);this[e(261)](e(266),!1),this[e(261)](e(255),!1),this[e(261)](e(271),0),this[e(261)](e(285),0),this[e(261)](e(265),!1),this[e(261)](e(276),!1),this[e(269)](e(259)).to(this,e(255),this,e(285),((t,e)=>t&&e>0)),this[e(269)](e(293)).to(this,e(255),this,e(271),this,e(285),this,e(266),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(274));if(!r)return Qi(t,o(268));const a=Qi(t,o(263),r);return s?Qi(t,o(287),[n+1,r]):a})),n[e(261)]({label:Qi(t,e(295)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(261)]({label:Qi(t,e(267)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(269)](e(286)).to(this,e(276)),r[e(269)](e(286)).to(this,e(265)),n.on(e(289),(()=>this[e(277)](e(289),e(283)))),r.on(e(289),(()=>this[e(277)](e(289),e(258)))),this[e(260)]({tag:e(254),attributes:{class:["ck",e(273),e(280)]},children:[{tag:e(256),attributes:{class:[e(264)]},children:[{tag:e(256),attributes:{class:[e(270),i.if(e(259),e(282),(t=>!t))]},children:[{text:i.to(e(266),(i=>i?Qi(t,e(278))+": ":Qi(t,e(294))+": "))}]},{text:i.to(e(293))}]},new Mn.ToolbarSeparatorView,{tag:e(254),attributes:{class:[e(290)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Er=Dr;function Vr(){const t=["pluginName","2635944sCRxFs","ck-editor__editable__loading-overlay","removeClass","isOfficialPlugin","RevisionViewerLoadingOverlay","148035YSjmEs","show","87776sbYKDt","document","246837gsNNNj","hide","637tpdXfK","editing","2765214tpdNsI","addClass","105TRfsLy","isPremiumPlugin","9896420oksxig","14160qcgSXd","2NGDwrX","roots","editor","view","change"];return(Vr=function(){return t})()}!function(t){const e=Dr,i=t();for(;;)try{if(304331===parseInt(e(215))/1+-parseInt(e(225))/2*(parseInt(e(211))/3)+-parseInt(e(213))/4*(parseInt(e(221))/5)+-parseInt(e(224))/6*(-parseInt(e(217))/7)+-parseInt(e(206))/8+-parseInt(e(219))/9+parseInt(e(223))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Mr=Er(207);function Dr(t,e){const i=Vr();return(Dr=function(t,e){return i[t-=204]})(t,e)}class Cr extends qi.Plugin{static get[Er(205)](){return Er(210)}static get[Er(209)](){return!0}static get[Er(222)](){return!0}[Er(212)](){const t=Er,e=this[t(227)][t(218)][t(228)];e[t(204)]((i=>{const n=t;for(const t of e[n(214)][n(226)])i[n(220)](Mr,t)}))}[Er(216)](){const t=Er,e=this[t(227)][t(218)][t(228)];e[t(204)]((i=>{const n=t;for(const t of e[n(214)][n(226)])i[n(208)](Mr,t)}))}}const jr=Lr;function Fr(){const t=["Back to editing","closeRevisionViewerCallback","revisionHistory","1398620gidZgt","6JNVtTT","set","RevisionViewerUI","isNavigationMode","changesNavigation","execute","commands","forward","showNextChange","isBackwardNavigationEnabled","componentFactory","get","198VNpcZJ","isEnabled","exitToEditing","numberOfChanges","isOfficialPlugin","93352ORVeoI","plugins","editor","currentChangeNumber","10aHyzqY","Restore this revision","hide","bind","44BjKPxi","2056284kWFfci","change:isReady","show","add","40371XJyajL","isForwardNavigationEnabled","146311anwVzl","init","listenTo","restoreRevision","pluginName","showPreviousChange","config","isReady","requires","undo","ck-revision-history-ui__back-to-editing","2316448LhmDPk","isPremiumPlugin","2335Otyryw"];return(Fr=function(){return t})()}function Lr(t,e){const i=Fr();return(Lr=function(t,e){return i[t-=345]})(t,e)}!function(t){const e=Lr,i=t();for(;;)try{if(160513===-parseInt(e(348))/1*(-parseInt(e(365))/2)+-parseInt(e(383))/3*(-parseInt(e(378))/4)+parseInt(e(352))/5*(-parseInt(e(353))/6)+-parseInt(e(370))/7+parseInt(e(346))/8+-parseInt(e(379))/9*(parseInt(e(374))/10)+parseInt(e(385))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fr);class Pr extends qi.Plugin{static get[jr(389)](){return jr(355)}static get[jr(369)](){return!0}static get[jr(347)](){return!0}static get[jr(393)](){return[kr,Cr]}[jr(386)](){const t=jr,e=this[t(372)],i=e[t(371)][t(364)](kr),n=e[t(371)][t(364)](Cr);e.ui[t(363)][t(382)](t(367),(i=>{const n=t,r=new Mn.ButtonView(i);return r[n(354)]({label:Qi(i,n(349)),icon:qi.icons[n(394)],withText:!0,tooltip:!0,class:n(345)}),this[n(387)](r,n(358),(()=>{const t=n;e[t(391)][t(364)](t(351))[t(350)]()})),r})),e.ui[t(363)][t(382)](t(388),(i=>{const n=t,r=new Mn.ButtonView(i);return r[n(354)]({label:Qi(i,n(375)),withText:!0,tooltip:!0}),r[n(377)](n(366)).to(e[n(359)][n(364)](n(388))),this[n(387)](r,n(358),(()=>e[n(358)](n(388)))),r})),e.ui[t(363)][t(382)](t(357),(n=>{const r=t,s=new Nr(n),o=e[r(359)][r(364)](r(390)),a=e[r(359)][r(364)](r(361));return s[r(377)](r(362)).to(o,r(366)),s[r(377)](r(384)).to(a,r(366)),s[r(377)](r(392),r(373),r(368),r(356)).to(i),this[r(387)](s,r(358),((t,i)=>{const n=r;e[n(358)](n(360)===i?n(361):n(390))})),s})),n[t(381)](),i.on(t(380),((e,i,r)=>{const s=t;r?n[s(376)]():n[s(381)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=$r();return(Zr=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(137919===-parseInt(e(148))/1+parseInt(e(151))/2+parseInt(e(139))/3+parseInt(e(152))/4+parseInt(e(150))/5+-parseInt(e(162))/6+parseInt(e(158))/7*(parseInt(e(137))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($r);class Hr extends Mn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(159)]=null;const n=this[i(135)];this[i(153)]({label:Qi(t,i(154)),_tooltipString:""}),this[i(155)][i(147)]=Qi(t,i(144)),this[i(141)]({tag:i(149),attributes:{class:[i(145)],"data-cke-tooltip-text":n.to(i(156)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(161)}})}[Ur(143)](){const e=Ur;super[e(143)](),this[e(159)]=new t.ResizeObserver(this[e(155)][e(142)],(()=>this[e(136)]())),this[e(163)](this[e(155)],e(160),(()=>this[e(136)]()))}[Ur(138)](){const t=Ur;super[t(138)](),this[t(159)]&&this[t(159)][t(138)]()}[Ur(136)](){const t=Ur,e=this[t(155)][t(142)];this[t(156)]=e[t(146)]>e[t(157)]&&e[t(140)]||""}}function $r(){const t=["extendTemplate","element","render","Enter the revision name","ck-revision-history-sidebar__revision-name","scrollWidth","placeholder","219291mcxpKl","span","312235gXPsuA","67422mJAbHw","47020vxTRpJ","set","Revision name","fieldView","_tooltipString","clientWidth","56KEmDXq","_resizeObserver","input","ck-tooltip_multi-line","1384428ZeWdRd","listenTo","bindTemplate","_updateTooltipText","302024UcpEWh","destroy","534033qSHSSP","value"];return($r=function(){return t})()}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Jr(){const t=["2504719bsXLzM","3DQrHcd","175402luWtNW","2117910ZgdFcg","6JhWwRq","24GgRGxU","ck-revision-history-sidebar__revision-author__name","194128EXjGEJ","set","Revision creator","push","48663Dtgkbz","14610snxOwB","name","2120980MUhdLj","span","12914LUUNNE","Revision author","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","setTemplate","ck-revision-history-sidebar__revision-author"];return(Jr=function(){return t})()}function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=171]})(t,e)}!function(t){const e=Yr,i=t();for(;;)try{if(280922===-parseInt(e(188))/1+-parseInt(e(183))/2*(-parseInt(e(182))/3)+-parseInt(e(173))/4+-parseInt(e(184))/5+parseInt(e(185))/6*(-parseInt(e(181))/7)+-parseInt(e(186))/8*(parseInt(e(192))/9)+-parseInt(e(171))/10*(-parseInt(e(175))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Mn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Mn.IconView;r[n(189)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(178)});const s=["ck",n(180)];i&&s[n(191)](n(177));const o=[{tag:n(174),attributes:{class:["ck",n(187)],title:Qi(t,n(i?190:176))},children:[r,e[n(172)]]}];this[n(179)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["toLocaleTimeString","1370FWbUjx","27744qtOdTG","2443884zSNuxZ","numeric","23241TRCkpg","toLocaleDateString","6467589QzSuTm","8rCIuFg","2519319KgOqSk","1521422RkbTiw","9vaylLP","360804wmyIdu","long","10jQZFbG","8FpeVjK"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=478]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(669204===-parseInt(e(493))/1*(-parseInt(e(487))/2)+parseInt(e(483))/3*(parseInt(e(484))/4)+parseInt(e(489))/5*(parseInt(e(490))/6)+-parseInt(e(482))/7+-parseInt(e(480))/8*(parseInt(e(479))/9)+parseInt(e(486))/10*(-parseInt(e(481))/11)+parseInt(e(491))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=347]})(t,e)}function is(){const t=["menuitem","72DBHlVU","threeVerticalDots","add","Compare against selected","ck-revision-history-sidebar__revision__actions","children","isOpen","1172876zHTuJu","isEnabled","isReady","items","Restore this revision","map","locale","Name this revision","first","ck-on","isActionsDropdownOpen","bind","name","set","1497213fGvbDj","6vFZntI","715346Borrsr","execute","9705829NZQXle","button","listenTo","15tVRlUL","function","392402LsODQh","panelPosition","extendTemplate","menu","12xgsDco","Show more items","change:isActionsDropdownOpen","bindTemplate","stopPropagation","class","17337067ZLkvls","isVisible","find","action","model","listView","source","16170110qtXRUO","_action","6AibxRd","buttonView"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(937269===-parseInt(e(369))/1+-parseInt(e(376))/2*(parseInt(e(368))/3)+parseInt(e(353))/4*(-parseInt(e(374))/5)+-parseInt(e(395))/6*(-parseInt(e(371))/7)+-parseInt(e(398))/8*(-parseInt(e(367))/9)+parseInt(e(393))/10+-parseInt(e(386))/11*(parseInt(e(380))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["fieldView","3447798FCKKBS","13077GcVxTB","ck-revision-history-sidebar__revision__date","div","220","4192UuWBIs","revisionActionsView","isHighlighted","createdAt","setName","setTemplate","select","unshift","ck-revision-history-sidebar__revision_selected","listenTo","extendTemplate","creator","unhighlight","render","span","deselect","isReady","from","highlight","change","filter","isActionsDropdownOpen","ck-disabled","isSelected","srcElement","element","_createdAtFormatted",".ck-thread__remove-confirm","_requireRevisionName","ck-revision-history-sidebar__revision","ck-reset","set","map","revisionNameView","ck-revision-history-sidebar__revision-authors","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","33VarhIp","29625OAwHUj","ck-revision-history-sidebar__revision__controls-wrapper","value","132813kGYqQW","2tuZGZQ","name","3634834cXFmyw","ck-revision-history-sidebar__actions_dropdown_open","4AQwqjb","bindTemplate","1426445whBWiM","fire","authors","_revision","isEnabled","3421930GflRVF","length","closest","bind","ck-revision-history-sidebar__revision-wrapper","isConfirm","ck-revision-history-sidebar__revision_highlighted"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=329]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(423413===-parseInt(e(348))/1+parseInt(e(352))/2*(parseInt(e(351))/3)+parseInt(e(356))/4*(-parseInt(e(358))/5)+-parseInt(e(371))/6+-parseInt(e(354))/7+-parseInt(e(376))/8*(-parseInt(e(372))/9)+parseInt(e(363))/10*(parseInt(e(347))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Mn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(357)],a=function(t,e){const i=s,n=Array[i(393)](e[i(360)])[i(330)]((t=>t!=e[i(387)]));return e[i(387)]&&n[i(383)](e[i(387)]),n[i(342)]((n=>new Gr(t,n,n==e[i(387)])))}(e,i);this.id=i.id,this[s(361)]=i,this[s(338)]=r,this[s(366)](s(353),s(379)).to(i),this[s(366)](s(336)).to(this,s(379),(t=>{return i=e[s(345)],(n=t)[(r=Xr)(478)](i,{month:r(485),day:r(492)})+", "+n[r(488)](i,{hour:r(492),minute:r(492)});var i,n,r})),this[s(341)](s(333),!1),this[s(341)](s(378),!1),this[s(341)](s(331),!1),this[s(341)](s(392),!1),this[s(341)](s(362),!1),this[s(343)]=new Hr(e,Mn.createLabeledInputText),this[s(343)][s(370)][s(386)]({attributes:{maxlength:s(375)}}),this[s(343)][s(370)][s(366)](s(350)).to(this,s(353),(t=>t||this[s(336)])),this[s(343)][s(366)](s(362)).to(this,s(333),this,s(362),((t,e)=>t&&e)),this[s(377)]=n&&n[s(364)]?function(e,i){const n=es,r=e[n(383)],s=e[n(359)],o=(0,Mn.createDropdown)(s);o[n(377)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(359)],r={"Compare against selected":Qi(n,i(349)),"Name this revision":Qi(n,i(360)),"Restore this revision":Qi(n,i(357))};return e[i(358)]((t=>{const e=i,n=r[t[e(365)]];return n&&n!==t[e(365)]&&(t[e(365)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(372),model:new Mn.ViewModel({label:t[r(365)],class:t[r(385)],withText:!0,role:r(397),_action:t[r(389)]})};i[r(390)][r(364)](r(354)).to(e,r(363),(i=>r(375)!=typeof t[r(354)]||!i||t[r(354)](e))),o[r(348)](i)}return o}(e,i);return e[n(364)](n(363)).to(o,n(352)),o[n(396)][n(366)]({label:Qi(s,n(381)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(347)]}),o[n(378)]({attributes:{class:[n(350),r.if(n(363),n(362))]},on:{click:r.to((t=>t[n(384)]()))}}),o.on(n(370),(t=>{const i=n;e[i(355)]&&i(375)==typeof t[i(392)][i(394)]&&t[i(392)][i(394)](e)})),(0,Mn.addListToDropdown)(o,a,{role:n(379)}),o[n(373)](e,n(382),((t,r,s)=>{const a=n;if(s)for(const t of o[a(391)][a(356)]){const n=t[a(351)][a(361)],r=i[a(388)]((t=>t[a(389)]===n[a(394)]))[a(387)];t[a(387)]=void 0===r||r(e)}})),o}(this,n):"",this[s(377)]&&this[s(377)][s(366)](s(362)).to(this),this[s(381)]({tag:s(374),attributes:{class:["ck",s(340),s(367),o.if(s(368),s(346))]},children:[{tag:s(374),attributes:{class:["ck",s(340),s(339),o.if(s(362),s(332),(t=>!t)),o.if(s(333),s(384)),o.if(s(378),s(369)),o.if(s(331),s(355))]},children:[this[s(343)],{tag:s(390),attributes:{class:["ck",s(373)]},children:[{text:o.to(s(336))}]},{tag:s(374),attributes:{class:["ck",s(349)]},children:[{tag:"ul",attributes:{class:["ck",s(344)]},children:a}]},this[s(377)]],on:{click:o.to((t=>{const e=s;t[e(334)][e(365)](e(337))||this[e(392)]&&this[e(362)]&&this[e(359)](e(382),{id:this.id})}))}}]})}[ss(389)](){const t=ss;super[t(389)]();const e=this[t(343)][t(370)][t(335)];this[t(385)](e,t(329),(()=>{const i=t;this[i(338)]&&!e[i(350)]||this[i(359)](i(380),{id:this.id,name:e[i(350)]}),e[i(350)]||(e[i(350)]=this[i(353)]?this[i(353)]:this[i(336)])}))}[ss(382)](){this[ss(333)]=!0}[ss(391)](){this[ss(333)]=!1}[ss(394)](){this[ss(378)]=!0}[ss(388)](){this[ss(378)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},xs={hour:ys,minute:ys},Os={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Ms={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Js extends Us{static create(t){return Bs[t]||(Bs[t]=new Js(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Js.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,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),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,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 Ys={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).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=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{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&&Js.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 r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||Oo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||Oo.defaultNumberingSystem,c=i||Oo.defaultOutputCalendar,u=Yo(n)||Oo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,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=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,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=r,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?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Yo(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 io(this,t,ga,(()=>{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=wu.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 io(this,t,_a,(()=>{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=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.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 no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Ys[i];return n||(n=new Intl.ListFormat(t,e),Ys[i]=n),n}(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:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Js.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,xo=null;class Oo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return xo}static set defaultWeekSettings(t){xo=Yo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Js.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Eo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Mo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Vo(n,r,s),a=Do(Eo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Eo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Mo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Vo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Mo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Jo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Yo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Eo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>Oo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(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 ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Jo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],xa=["BC","AD"],Oa=["B","A"];function Ta(t){switch(t){case"narrow":return[...Oa];case"short":return[...xa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:xs,tt:Os,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Es,TTTT:Vs,f:Ms,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[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 Ko(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,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({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?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({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?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({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?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({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?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({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=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ea=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ma(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(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 Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ea.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ea.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Js.create(t[e]):null,e+1]}const Ja=RegExp(`^T?${Fa.source}$`),Ya=/^-?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 Ga(t){const[e,i,n,r,s,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(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Va(/(\d{4})-?(\d{3})/,Pa),uc=Va(La),lc=Ma((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ma(za,$a,qa,Ba),dc=Ma(Wa,$a,qa,Ba),fc=Ma($a,qa,Ba);const mc=Ma($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ma($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],xc=Sc.slice(0).reverse();function Oc(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 Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of xc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ya,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ja,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ds(i);return new Ac({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Jo(e.values,t)||Jo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return Oc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.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]=ha(t(this.values[i],i));return Oc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return Oc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return Oc(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 Nc(this.matrix,t),Oc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return Oc(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=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),Oc(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 Oc(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 Sc)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 Rc="Invalid Interval";class Ec{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new hs(i);return new Ec({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Ec.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:Ec.invalid("missing or invalid end"):Ec.invalid("missing or invalid start")}(i,n);return null==r?new Ec({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Ec.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Ec.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Ec.before(s,t)}}return Ec.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 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?Ec.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Ec.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Ec.fromDateTimes(n,i)),n=i,r+=1}return s}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:Ec.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 Ec.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=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Ec.fromDateTimes(e,t.time)),e=null);return Ec.merge(n)}difference(...t){return Ec.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Ec.fromDateTimes(t(this.s),t(this.e))}}class Vc{static hasDST(t=Oo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Js.isValidZone(t)}static normalizeZone(t){return ho(t,Oo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Mc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,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=Mc(t,e);return(i-i%7)/7}],["days",Mc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(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(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={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 Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Jc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\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 r in i)if(Jo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Js.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(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(Jo(i,"a")&&Jo(i,"H"))throw new fs("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:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Jc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=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=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Yc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=Oo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=Oo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=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 r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||Oo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?Oo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,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 wu.invalid("invalid input");const r=ho(e.zone,Oo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=Oo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Jc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(Oo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,Oo.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]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Yc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Yc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(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")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Yc}[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 Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Ec.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return xs}static get TIME_WITH_SECONDS(){return Os}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Es}static get TIME_24_WITH_LONG_OFFSET(){return Vs}static get DATETIME_SHORT(){return Ms}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(){const t=["1499176ErxoDO","month","211212PUBPsp","3563920wPTqLL","hasSame","monthLong","minus","599440oriAIp","2fcbkla","year","weekdayLong","day","319113FIVexG","setLocale","fromJSDate","week","toJSDate","local","128372sXQrBd","1131805SpBVmT","toRelativeCalendar","startOf"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=440]})(t,e)}function xu(t,e){const i=Su,n=wu[i(442)](t)[i(441)](e),r=wu[i(445)](),s=r[i(456)]({days:1})[i(449)](i(461));let o,a;return n[i(454)](r,i(461))?(o=n[i(449)](i(461))[i(444)](),a=n[i(448)]()):n[i(454)](s,i(461))?(o=s[i(444)](),a=n[i(448)]()):n[i(454)](r,i(443))?(o=n[i(449)](i(443))[i(444)](),a=n[i(460)]||""):n[i(454)](r,i(459))?(o=n[i(449)](i(451))[i(444)](),a=n[i(455)]||""):(o=n[i(449)](i(459))[i(444)](),a=String(n[i(459)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(115124===parseInt(e(446))/1*(parseInt(e(458))/2)+parseInt(e(440))/3+-parseInt(e(457))/4+parseInt(e(447))/5+parseInt(e(452))/6+parseInt(e(450))/7+-parseInt(e(453))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var Ou=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(Ou.A,Tu);Ou.A&&Ou.A.locals&&Ou.A.locals;const Nu=Au;function Au(t,e){const i=Ru();return(Au=function(t,e){return i[t-=389]})(t,e)}function Ru(){const t=["1892849iirhsj","localizedPeriodName","removeRevision","span","1903jKUcny","delegate","setTemplate","createCollection","uiLanguage","find","ck-revision-history-sidebar__time-period__label","revisionViews","ck-revision-history-sidebar__time-period__revisions","84712KRyfHh","124031shbqCA","78966gFBoSc","ck-revision-history-sidebar__time-period","472ioeNDG","2ARlxEF","remove","select","1393461tBIvQf","_revisionActions","setName","startDate","div","57820rBQKyf","addRevision","_requireRevisionName","774505kXYhYS","18siXOGC","locale","add"];return(Ru=function(){return t})()}!function(t){const e=Au,i=t();for(;;)try{if(279016===-parseInt(e(390))/1*(-parseInt(e(394))/2)+parseInt(e(397))/3+-parseInt(e(389))/4+-parseInt(e(405))/5*(-parseInt(e(406))/6)+-parseInt(e(409))/7+parseInt(e(393))/8*(parseInt(e(391))/9)+parseInt(e(402))/10*(-parseInt(e(413))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Eu extends Mn.View{constructor(t,e,i,n){const r=Au;super(t);const s=xu(e,this[r(407)][r(417)])[r(410)];this[r(400)]=e,this[r(420)]=this[r(416)](),this[r(398)]=i,this[r(404)]=n,this[r(420)][r(414)](r(396)).to(this),this[r(420)][r(414)](r(399)).to(this),this[r(415)]({tag:r(401),attributes:{class:["ck",r(392)]},children:[{tag:r(412),attributes:{class:["ck",r(419)]},children:[{text:s}]},{tag:r(401),attributes:{class:["ck",r(421)]},children:this[r(420)]}]})}[Nu(403)](t){const e=Nu,i=new cs(this[e(407)],t,this[e(398)],this[e(404)]);this[e(420)][e(408)](i)}[Nu(411)](t){const e=Nu,i=this[e(420)][e(418)]((e=>e.id===t.id));this[e(420)][e(395)](i)}}var Vu=i(173),Mu={attributes:{"data-cke":!0}};Mu.setAttributes=Wn(),Mu.insert=Pn().bind(null,"head"),Mu.domAPI=Fn(),Mu.insertStyleElement=Zn();Cn()(Vu.A,Mu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(){const t=["history","content","div","ck-reset_all","23389794TlHVrj","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","3096645MmwkZE","25IljoiO","2369718fGELEj","8662FbEJGP","8089968jovcto","setTemplate","3905356Xkoofd","Revision history","651476IfVLLF","76EJRWKI","span"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(877639===-parseInt(e(101))/1*(parseInt(e(107))/2)+-parseInt(e(116))/3+-parseInt(e(106))/4*(-parseInt(e(117))/5)+parseInt(e(118))/6+-parseInt(e(104))/7+-parseInt(e(102))/8+parseInt(e(113))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Mn.View{constructor(t){const e=Cu;super(t);const i=new Mn.IconView;i[e(110)]=qi.icons[e(109)],this[e(103)]({tag:e(111),attributes:{class:["ck",e(112),e(114)]},children:[i,{tag:e(108),attributes:{class:["ck",e(115)]},children:[Qi(t,e(105))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=232]})(t,e)}function Wu(){const t=["isEnabled","unhighlight","some","highlightRevisions","createdAt","_revisionActions","45dwiYUl","timePeriodViews","1028270NJqJre","_requireRevisionName","ck-disabled","find","get","5187392UIaFaz","div","set","_addRevision","696274KllxtL","highlight","removeRevision","bindTemplate","1205244jWIvts","select","184ujfsDt","selectRevision","deselect","flat","_removeRevision","setName","uiLanguage","createCollection","delegate","setTemplate","121zJaGUH","109251JsmWxF","ck-revision-history-sidebar","153156ZXvpgC","3sPZIRW","addRevision","startDate","locale","ck-revision-history-sidebar__timeline","map","revisionSelected","revisionSetName","add","ck-reset","revisionViews","ck-rounded-corners","59188jrUYxc","getTime","render","remove","fire","_getTimePeriodViewByStartDate","_revisions"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(414721===parseInt(e(276))/1+parseInt(e(280))/2+parseInt(e(240))/3*(parseInt(e(252))/4)+-parseInt(e(265))/5*(parseInt(e(239))/6)+parseInt(e(272))/7+-parseInt(e(282))/8*(parseInt(e(237))/9)+-parseInt(e(267))/10*(parseInt(e(236))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Mn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(279)];this[r(266)]=this[r(233)](),this[r(266)][r(234)](r(281)).to(this),this[r(266)][r(234)](r(287)).to(this),this[r(258)]=e,this[r(264)]=i,this[r(268)]=n,this.on(r(281),((t,e)=>{const i=r;this[i(256)](i(246),e)})),this.on(r(287),((t,e)=>{const i=r;this[i(256)](i(247),e)})),this[r(274)](r(259),!1),this[r(235)]({tag:r(273),attributes:{class:["ck",r(249),r(251),r(238)]},children:[new ju(t),{tag:r(273),attributes:{class:["ck",r(244),s.if(r(259),r(269),(t=>!t))]},children:this[r(266)]}]})}[Pu(254)](){const t=Pu;super[t(254)]();for(const e of this[t(258)])this[t(275)](e);this[t(258)].on(t(248),((e,i)=>{this[t(275)](i)})),this[t(258)].on(t(255),((e,i)=>{this[t(286)](i)}))}get[Pu(250)](){const t=Pu;return this[t(266)][t(245)]((e=>e[t(250)][t(245)]((t=>t))))[t(285)]()}[Pu(283)](t){const e=Pu;for(const i of this[e(250)])t&&t.id===i.id?i[e(281)]():i[e(284)]()}[Pu(262)](t){const e=Pu;for(const i of this[e(250)])t[e(261)]((({id:t})=>t===i.id))?i[e(277)]():i[e(260)]()}[Pu(275)](t){const e=Pu,i=xu(t[e(263)],this[e(243)][e(232)])[e(242)];let n=this[e(266)][e(271)](0);n&&n[e(242)][e(253)]()===i[e(253)]()||(n=new Eu(this[e(243)],i,this[e(264)],this[e(268)]),this[e(266)][e(248)](n)),n[e(241)](t)}[Pu(286)](t){const e=Pu,i=xu(t[e(263)],this[e(243)][e(232)])[e(242)];this[e(257)](i)[e(278)](t)}[Pu(257)](t){const e=Pu;return this[e(266)][e(270)]((i=>i[e(242)][e(253)]()===t[e(253)]()))}}const Zu=$u;function Hu(){const t=["name","pluginName","isPremiumPlugin","action","string","2257947JVXJwS","revisionSelected","repository","1EKvvwP","remove","getRevision","revisionViews","_revisions","_sidebarView","highlightRevisions","init","_handleDiffChange","render","_handleRevisionSetName","availableRevisionActions","9582wrSeRb","getRevisionsInDiff","restoreRevisionCallback","get","restoreRevision","editor","revisionHistory.viewerSidebarContainer","data","33718yLjApe","compare","Restore this revision","focus","getLaterVisibleRevision","newRevisionId","isEnabled","ready","isVisible","bind","element","3140038hYunMl","isOfficialPlugin","setName","selectRevision","config","defaultRevisionActions","isReady","change:diff","1552NCXTzr","isSelected","30aLSlhw","appendChild","getIndex","compareAgainstSelected","Compare against selected","map","_revisionsRepository","add","destroy","fieldView","Name this revision","348lgMVFt","2744ANWvBX","_handleEditorDataReady","select","855396DElzLc","assign","timePeriodViews","requires","601035eGTALk","revisionHistory.requireRevisionName","diff","length","plugins","RevisionsSidebar","revisionSetName","_revisionViewer","revisionHistory","locale","getEarlierVisibleRevision","listenTo","_createRevisionActions","nameRevision","revisionHistory.revisionActions","_handleRevisionSelected"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=465]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(157747===-parseInt(e(527))/1*(-parseInt(e(547))/2)+parseInt(e(539))/3*(-parseInt(e(495))/4)+-parseInt(e(503))/5+-parseInt(e(499))/6+-parseInt(e(496))/7*(-parseInt(e(482))/8)+-parseInt(e(524))/9+-parseInt(e(484))/10*(-parseInt(e(474))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(520)](){return Zu(508)}static get[Zu(475)](){return!0}static get[Zu(521)](){return!0}static get[Zu(502)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(510)]=t[e(507)][e(542)](kr),this[e(490)]=this[e(510)][e(526)],this[e(532)]=null}[Zu(534)](){const t=Zu,e=this[t(490)][t(531)],i=this[t(515)](),n=this[t(544)][t(478)][t(542)](t(545));this[t(532)]=new Uu(this[t(544)][t(512)],e,i,this[t(544)][t(478)][t(542)](t(504))),this[t(532)].on(t(525),this[t(518)][t(472)](this)),this[t(532)].on(t(509),this[t(537)][t(472)](this)),this[t(532)][t(472)](t(469)).to(this[t(510)]),this[t(532)][t(501)].on(t(491),((e,i)=>{const n=t;i[n(530)].on(n(491),((t,e)=>{const i=n;e[i(472)](i(469),i(480)).to(this[i(510)])}))})),this[t(532)][t(536)](),this[t(514)](this[t(544)][t(546)],t(470),this[t(497)][t(472)](this)),this[t(514)](this[t(510)],t(481),this[t(535)][t(472)](this)),n[t(485)](this[t(532)][t(473)])}[Zu(492)](){const t=Zu;this[t(532)][t(473)][t(528)](),this[t(532)][t(492)]()}[Zu(497)](){const t=Zu,e=this[t(490)][t(529)](0);if(e){const i=this[t(490)][t(513)](e.id);this[t(510)][t(548)](e,i)}}[Zu(518)](t,e){const i=Zu,n=this[i(490)][i(529)](e.id),r=this[i(490)][i(513)](n.id);this[i(510)][i(548)](n,r)}[Zu(537)](t,e){const i=Zu;this[i(490)][i(529)](e.id)[i(476)](e[i(519)])}[Zu(535)](t,e,i){const n=Zu,r=this[n(490)][n(540)](i);r[n(506)]>2?(this[n(532)][n(533)](r),this[n(532)][n(477)](null)):(this[n(532)][n(533)]([]),this[n(532)][n(477)](r[0]))}[Zu(515)](){const t=Zu,e=this[t(544)],i=qu[t(538)],n=e[t(478)][t(542)](t(517))||qu[t(479)];if(n[t(506)])return n[t(489)]((n=>{const r=t,s=r(523)==typeof n?Object[r(500)]({},i[n]):n;return s[r(522)]=s[r(522)][r(472)](this,e),s[r(471)]&&(s[r(471)]=s[r(471)][r(472)](this,e)),s}))}}qu[Zu(479)]=[Zu(487),Zu(543),Zu(516)],qu[Zu(538)]={compareAgainstSelected:{name:Zu(488),action:({plugins:t},e)=>{const i=Zu,n=t[i(542)](kr),r=n[i(526)];let s=n[i(505)][i(468)],o=e.id;r[i(486)](s)>r[i(486)](o)&&([s,o]=[o,s]),n[i(548)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(542)](kr);return!(n[i(526)][i(540)](n[i(505)])[i(506)]>2||e[i(483)])}},restoreRevision:{name:Zu(465),action:(t,{id:e})=>{const i=Zu;t[i(478)][i(542)](i(511))[i(541)](e)},isVisible:({plugins:t},e)=>!!t[Zu(542)](kr)[Zu(526)][Zu(467)](e.id)},nameRevision:{name:Zu(494),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(542)](kr),s=r[n(526)][n(513)](e);r[n(548)](e,s),i[n(466)](),i[n(493)][n(498)]()}}};const Bu=qu,Ju=Gu;function Yu(){const t=["ready","config","viewportTopOffset","attachDomRoot","12VCcevt","addToolbar","478UVcvsU","bind","stickyPanel","replace","50632lauvYT","editing","destroy","viewportOffset","8ytyGbC","isActive","rootName","1106586wxIxjO","fillFromConfig","editor","element","setEditableElement","editable","name","_initToolbar","_view","document","10jHrJXK","get","getRoot","6756efAUXJ","restore","detachDomRoot","fire","view","focusTracker","render","toolbar","_elementReplacer","init","isFocused","1195719QKWFOK","limiterElement","5756069IGTauw","4415DUqSdt","244VkLztf","componentFactory","_toolbarConfig"];return(Yu=function(){return t})()}function Gu(t,e){const i=Yu();return(Gu=function(t,e){return i[t-=239]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(102143===-parseInt(e(252))/1*(-parseInt(e(244))/2)+parseInt(e(268))/3*(-parseInt(e(283))/4)+parseInt(e(282))/5*(parseInt(e(242))/6)+-parseInt(e(279))/7+parseInt(e(248))/8+-parseInt(e(255))/9+parseInt(e(265))/10*(parseInt(e(281))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yu);class Ku extends Mn.EditorUI{get[Ju(272)](){return this[Ju(263)]}constructor(e,i){const n=Ju;super(e),this[n(263)]=i,this[n(285)]=(0,Mn.normalizeToolbarConfig)(e[n(239)][n(266)](n(275))),this[n(276)]=new t.ElementReplacer}get[Ju(258)](){const t=Ju;return this[t(272)][t(258)]}[Ju(277)](t){const e=Ju,i=this[e(257)],n=this[e(272)],r=i[e(249)][e(272)],s=n[e(260)],o=r[e(264)][e(267)]();s[e(261)]=o[e(254)],n[e(274)]();const a=s[e(258)];this[e(259)](s[e(261)],a),n[e(260)][e(245)](e(278)).to(this[e(273)]),r[e(241)](a),this[e(276)][e(247)](t,this[e(258)]),this[e(262)](),this[e(271)](e(286))}[Ju(250)](){const t=Ju;super[t(250)]();const e=this[t(272)],i=this[t(257)][t(249)][t(272)];this[t(276)][t(269)](),i[t(270)](e[t(260)][t(261)]),e[t(250)]()}[Ju(262)](){const t=Ju,e=this[t(272)];e[t(246)][t(245)](t(253)).to(this[t(273)],t(278)),e[t(246)][t(280)]=e[t(258)],e[t(246)][t(245)](t(240)).to(this,t(251),(({top:t})=>t)),e[t(275)][t(256)](this[t(285)],this[t(284)]),this[t(243)](e[t(275)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=il;function el(){var t=["main","4952640WtRScu","top","render","add","stickyPanel","957130pzzlhQ","36GirQKX","editable","590421xkaWea","6097914myZrvR","shouldToolbarGroupWhenFull","5629904XMhfSL","33lvrfph","toolbar","880264WqJaXm","307372gEUHuT","content","_editable"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=153]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(580718===parseInt(e(153))/1+-parseInt(e(159))/2+parseInt(e(157))/3*(parseInt(e(160))/4)+parseInt(e(169))/5*(-parseInt(e(170))/6)+parseInt(e(164))/7+parseInt(e(156))/8+-parseInt(e(154))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Mn.BoxedEditorUIView{get[tl(171)](){return this[tl(162)]}constructor(t,e,i={}){var n=tl;super(t),this[n(168)]=new Mn.StickyPanelView(t),this[n(158)]=new Mn.ToolbarView(t,{shouldGroupWhenFull:i[n(155)]}),this[n(162)]=new Mn.InlineEditableUIView(t,e)}[tl(166)](){var t=tl;super[t(166)](),this[t(168)][t(161)][t(167)](this[t(158)]),this[t(165)][t(167)](this[t(168)]),this[t(163)][t(167)](this[t(171)])}}function rl(t,e){const i=sl();return(rl=function(t,e){return i[t-=334]})(t,e)}function sl(){const t=["create","sourceElement","updateSourceElement","280hzwRZj","16446YpTIfm","init","_ui","destroy","ready","2517342xtDlWk","3748392rMepnz","6945BbzcdW","model","createRoot","initPlugins","locale","view","get","126GFAUlt","document","1884590zrGRxI","3698668hfsxku","editing","fire","config","data","10230619GkMovq","initialData","334ZSTgKm"];return(sl=function(){return t})()}const ol=rl;!function(t){const e=rl,i=t();for(;;)try{if(861294===-parseInt(e(346))/1*(parseInt(e(334))/2)+-parseInt(e(344))/3+-parseInt(e(356))/4+parseInt(e(338))/5*(parseInt(e(339))/6)+parseInt(e(361))/7+-parseInt(e(345))/8+-parseInt(e(353))/9*(-parseInt(e(355))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[rl(341)]}constructor(t,e){const i=rl;super(e),this[i(336)]=t,this[i(347)][i(354)][i(348)]();const n=new nl(this[i(350)],this[i(357)][i(351)],{shouldToolbarGroupWhenFull:!0});this[i(341)]=new Ku(this,n)}[ol(342)](){const t=ol;return this[t(337)](),this.ui[t(342)](),super[t(342)]()}static async[ol(335)](t,e){const i=ol,n=new this(t,e);return await n[i(349)](),await n.ui[i(340)](t),await n[i(360)][i(340)](n[i(359)][i(352)](i(362))||""),n[i(358)](i(343)),n}}const cl=ul;function ul(t,e){const i=dl();return(ul=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(843393===-parseInt(e(299))/1*(-parseInt(e(211))/2)+-parseInt(e(282))/3*(parseInt(e(241))/4)+parseInt(e(240))/5+-parseInt(e(198))/6*(-parseInt(e(259))/7)+parseInt(e(202))/8+parseInt(e(250))/9*(parseInt(e(226))/10)+-parseInt(e(276))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dl);const ll=[cl(294),cl(236)];class hl extends qi.Plugin{static get[cl(219)](){return cl(327)}static get[cl(287)](){return!0}static get[cl(217)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(309)]((t=>String[e(197)](t)))[e(329)]("")}super(t),this[e(296)]=e(271),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])})}}function dl(){const t=["create","isOpen","addUser","_cleanUp","revisionHistory","users","32AtQDUt","$graveyard","error","getUser","revisionHistory.viewerContainer","getRoot","isPremiumPlugin","adapter","pluginName","document","commands","push","update","editor","block","564360aCgCNE","revisionHistory.editorContainer","_restoreRevision","style","Autosave","keys","remove","removeSelectionAttribute","toLocaleTimeString","refreshPositioning","RestrictedEditingMode","toVersion","isReadOnly","revisionHistory.closeRevisionViewerCallback","6947520LXTrTG","41204RQBggr","_showRevisionViewer","define","revision-history-missing-configuration","creator","restoreRevision","Users","from","revision-history-viewer-opened","162Tblyny","getAttributeKeys","model","locale","RevisionHistory","requires","none","removeAttribute","getMarkersGroup","875pgsVoE","revisionHistory.requireRevisionName","addRevisionData","toolbar","revisionHistory.restoreRevisionCallback","disableReadOnlyMode","get","Annotations","changesNavigation","init","refreshVisibility","catch","end","enqueueChange","config","bind","removeMarker","33193083lSUVFv","Restored","name","markers","fromVersion","setAttribute","162QoKCWi","toJSON","lazyRoots","RevisionTracker","getRevisionRootsAttributes","isOfficialPlugin","PaginationLookup","toLocaleDateString","_viewerEditor","data","indexOf","_closeRevisionViewer","RevisionHistoryUI","has","result","uiLanguage","RevisionsRepository","92141RfDRtR","hide","display","Dialog","rootName","getRevisionData","isAttached","_recalculatePageBreaks","insert","parse","map","long","revisionHistory.showRevisionViewerCallback","saveRevision","roots","setSelection","exitToEditing","createRangeIn","detachRoot","set","numeric","isEnabled","_enhanceCloseRevisionViewerCallback","_update","revisionHistory.viewerEditorElement","getRevision","closeRevisionViewerCallback","enableReadOnlyMode","RevisionViewerIntegration","selection","join","isAnonymous","getRevisions","includes","then","repository","isReady","createdAt","plugins","_getRevisionViewerEditorConfig","restrictedEditingException","showRevisionViewerCallback","_enhanceShowRevisionViewerCallback","save","fromCharCode","12786dxikty","destroy","translations","addRoot","2169736JZCIDB","RevisionViewer","change"];return(dl=function(){return t})()}class fl extends qi.Plugin{static get[cl(219)](){return cl(254)}static get[cl(287)](){return!0}static get[cl(217)](){return!0}static get[cl(255)](){return[xn,Qn]}constructor(e){const i=cl;if(super(e),!this[i(224)][i(273)][i(265)](i(209)))throw new t.CKEditorError(i(244),this);this[i(290)]=null,this[i(224)][i(273)][i(243)](i(311),(t=>this[i(242)]({...t,translations:this[i(224)][i(253)][i(200)]}))),this[i(224)][i(273)][i(243)](i(239),(t=>this[i(293)](t))),this[i(224)][i(273)][i(243)](i(263),(t=>this[i(228)](t))),this[i(224)][i(273)][i(243)](i(260),!1),this[i(195)](),this[i(321)]()}set[cl(218)](t){const e=cl;this[e(224)][e(191)][e(265)](e(285))[e(218)]=t}get[cl(218)](){const t=cl;return this[t(224)][t(191)][t(265)](t(285))[t(218)]}[cl(261)](t){const e=cl;return this[e(224)][e(191)][e(265)](e(285))[e(261)](t)}[cl(324)](t){const e=cl;return this[e(224)][e(191)][e(265)](e(298))[e(324)](t)}[cl(185)](t){const e=cl;return this[e(224)][e(191)][e(265)](e(298))[e(185)](t||{toJSON:!1})}[cl(192)](){const e=cl,i=this[e(224)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(191)][e(265)](e(285)),s=i[e(191)][e(265)](e(247))[e(210)];return n[e(262)]=[e(315),e(246),e(267)],delete n[e(284)],n[e(191)][e(222)](hl,kr,Pr,class extends qi.Plugin{static get[e(255)](){return[kr,e(247)]}[e(268)](){const n=e,o=this[n(224)][n(191)][n(265)](n(247));for(const t of s)t[n(184)]||o[n(214)](t.id)||o[n(207)](t);const a=r[n(188)][n(185)]();let c=null;const u=this[n(224)][n(191)][n(265)](n(203));u[n(218)]=r[n(218)],u[n(274)](n(320)).to(r),this[n(224)][n(221)][n(265)](n(246))[n(274)](n(320)).to(i,n(238),(t=>!t));for(const e of a){const i=null===e[n(245)];if(i&&e[n(237)]===e[n(280)])continue;const s=e[n(283)]();u[n(261)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(322)](s,o);else if(!o){const e=a[u(283)]();e.id=(0,t.uid)(),r[u(312)](e,a[u(237)])[u(187)]((t=>{c=t}))}}else e[u(322)](s,o)}))}}},Bu),n}[cl(195)](){const t=cl,e=this[t(224)][t(273)][t(265)](t(209))[t(194)];this[t(224)][t(273)][t(318)](t(311),(async()=>{const i=t;this[i(224)][i(326)](i(249));const n=this[i(224)][i(191)][i(265)](i(285));if(this[i(224)][i(191)][i(295)](i(230))){const t=this[i(224)][i(191)][i(265)](i(230));await t[i(196)]()}else await n[i(223)]();if(this[i(224)][i(191)][i(295)](i(288))&&this[i(224)][i(191)][i(265)](i(288))[i(306)](),this[i(224)][i(191)][i(295)](i(302))){const t=this[i(224)][i(191)][i(265)](i(302));t[i(206)]&&t[i(300)]()}const r=this[i(192)]();return e(r)[i(187)]((t=>{const e=i;return this[e(290)]=t,this[e(224)][e(191)][e(295)](e(266))&&this[e(224)][e(191)][e(265)](e(266))[e(269)](),t}))[i(270)]((t=>(console[i(213)](t),this[i(224)][i(264)](i(249)),null)))}))}[cl(321)](){const t=cl,e=this[t(224)][t(273)][t(265)](t(209))[t(325)];this[t(224)][t(273)][t(318)](t(239),(()=>(this[t(224)][t(191)][t(295)](t(288))&&this[t(224)][t(191)][t(265)](t(288))[t(306)](),this[t(290)][t(191)][t(265)](t(203))[t(208)](),e(this[t(290)])[t(187)]((()=>{const e=t;if(this[e(224)][e(264)](e(249)),this[e(290)]=null,this[e(224)][e(191)][e(295)](e(266))){const t=this[e(224)][e(191)][e(265)](e(266));t[e(269)](),t[e(235)]()}})))))}[cl(242)](t){const e=cl,i=this[e(224)][e(273)][e(265)](e(227)),n=this[e(224)][e(273)][e(265)](e(215)),r=this[e(224)][e(273)][e(265)](e(323));return al[e(205)](r,t)[e(187)]((t=>(n[e(229)][e(301)]=e(225),i[e(229)][e(301)]=e(256),t)))}[cl(293)](t){const e=cl,i=this[e(224)][e(273)][e(265)](e(227));return this[e(224)][e(273)][e(265)](e(215))[e(229)][e(301)]=e(256),i[e(229)][e(301)]="",t[e(199)]()}async[cl(228)](t){const e=cl,i=this[e(224)],n=this[e(290)][e(191)][e(265)](e(203)),r=i[e(191)][e(265)](e(285)),s=n[e(188)][e(324)](t);let o,a,c;try{o=await n[e(304)](s),a=await n[e(286)](s)}catch(t){return void console[e(213)](t)}i[e(252)][e(204)]((t=>{const n=e;for(const e of Array[n(248)](i[n(252)][n(279)][n(258)](n(193))))t[n(275)](e)})),n[e(189)]=!1,i[e(252)][e(272)]((t=>{const n=e;t[n(314)](null),t[n(233)](i[n(252)][n(220)][n(328)][n(251)]());const r=Object[n(231)](o);for(const e of i[n(252)][n(220)][n(313)])n(212)!=e[n(303)]&&e[n(305)]()&&!r[n(186)](e[n(303)])&&t[n(317)](e);for(const e of r){let r=i[n(252)][n(220)][n(216)](e);r&&r[n(305)]()||(r=t[n(201)](e));const s=a[e],c=Object[n(231)](s),u=o[e];for(const e of r[n(251)]())c[n(186)](e)||t[n(257)](e,r);for(const i of c)t[n(281)](i,a[e][i],r);t[n(232)](t[n(316)](r)),t[n(307)](i[n(291)][n(308)](u,r),r,0)}}));const u=Qi(i[e(253)],e(277));return c=s[e(278)]?-1==s[e(278)][e(292)](u)?u+": "+s[e(278)]:s[e(278)]:u+": "+s[e(190)][e(289)](i[e(253)][e(297)],{month:e(310),day:e(319)})+", "+s[e(190)][e(234)](i[e(253)][e(297)],{hour:e(319),minute:e(319)}),await r[e(312)]({name:c}),n[e(189)]=!0,i[e(273)][e(265)](e(209))[e(325)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=470]})(t,e)}function pl(){var t=["572017ZerZEn","13792isUkwq","8684935Thlzuq","10957970JxSbix","2YtbYYu","15hRAuHE","3187575Ecjblg","1169756zsFZzV","4023WcbKqV","5896866DNRYPT"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(756494===-parseInt(e(471))/1*(-parseInt(e(475))/2)+-parseInt(e(477))/3+-parseInt(e(478))/4*(parseInt(e(476))/5)+-parseInt(e(470))/6+parseInt(e(473))/7+parseInt(e(472))/8*(parseInt(e(479))/9)+parseInt(e(474))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function L(){const t=["31404PJPSzm","892nzPwsz","removeAttribute","setName","111460gsNmVu","map","547025NjIsRY","162AFyXPN","toVersion","1410022ICaPtd","1twqxia","fromVersion","fire","name","5442jUlPzh","creator","setAttribute","createdAt","attributes","1337Lxbceg","authorsIds","authors","10416096LYDRmK","toJSON","9237liDtoq","creatorId","diffData","_update","4169YpwxpL","set","model"];return(L=function(){return t})()}const P=z;function z(t,e){const i=L();return(z=function(t,e){return i[t-=150]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(944663===-parseInt(e(163))/1*(-parseInt(e(162))/2)+parseInt(e(177))/3*(parseInt(e(154))/4)+-parseInt(e(159))/5+parseInt(e(167))/6*(parseInt(e(172))/7)+-parseInt(e(175))/8+parseInt(e(160))/9*(-parseInt(e(157))/10)+parseInt(e(150))/11*(parseInt(e(153))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(L);class W extends((0,t.ObservableMixin)()){id;[P(168)];[P(174)];[P(179)];[P(161)];[P(164)];[P(152)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(168)]=e[i(168)]||null,this[i(174)]=e[i(174)]||[],this[i(179)]=e[i(179)]||null,this[i(161)]=e[i(161)]||0,this[i(164)]=e[i(164)]||0,this[i(151)](i(166),e[i(166)]||""),this[i(151)](i(170),e[i(170)]||new Date),this[i(151)](i(171),e[i(171)]||{})}[P(156)](t){this[P(180)]({name:t})}[P(169)](t,e){const i=P,s=A(this[i(171)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(180)]({attributes:s})}[P(155)](t){const e=P,i=A(this[e(171)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(180)]({attributes:i})}[P(180)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(166),i(170),i(179),i(174),i(171),i(161),i(164),i(178)];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(174)]&&(n[i(173)]=n[i(174)][i(158)]((t=>t.id)),delete n[i(174)]),this[i(165)](i(180),n,e))}[P(176)](){const t=P;return{id:this.id,name:this[t(166)],creatorId:this[t(168)]?this[t(168)].id:null,authorsIds:this[t(174)][t(158)]((t=>t.id)),diffData:this[t(179)],createdAt:this[t(170)],attributes:this[t(171)],fromVersion:this[t(164)],toVersion:this[t(161)]}}}var Z=i(782),U=i(211),H=i(783);const $=B;function q(){const t=["data","map","toVersion","12BYEYQX","newRevisionId","4247859SWmrRF","href","5826YgUnlh","getRevisionsIterator","getRevisionsInDiff","20MgLlED","pluginName","requires","createRevision","fromCharCode","plugins","getEarlierVisibleRevision","from","getRevision","afterInit","authorsIds","Users","fromVersion","9091745nZTVjH","attributes","reverse","getIndex","1EaRZiA","join","_revisions","getRevisions","add","creatorId","createdAt","2815UhsxxV","getUser","RevisionsRepository","isOfficialPlugin","getLaterVisibleRevision","later","8HlTRzR","diffData","isPremiumPlugin","263103qoejrb","737Qisbvt","3663414BuqYMZ","length","editor","earlier","89630IFErHZ","push","toJSON","get","oldRevisionId","addRevision","name","562430XlMKeM","isNaN"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(351354===parseInt(e(369))/1*(parseInt(e(398))/2)+-parseInt(e(385))/3*(-parseInt(e(410))/4)+parseInt(e(376))/5*(parseInt(e(407))/6)+-parseInt(e(405))/7+-parseInt(e(382))/8*(parseInt(e(387))/9)+-parseInt(e(391))/10*(parseInt(e(386))/11)+parseInt(e(403))/12*(parseInt(e(423))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends Z.Plugin{[$(371)];static get[$(412)](){return[U.Users]}static get[$(411)](){return $(378)}static get[$(379)](){return!0}static get[$(384)](){return!0}get[$(388)](){const t=$;return this[t(371)][t(388)]}constructor(e){const i=$;super(e),this[i(371)]=new t.Collection}[$(419)](){!async function(e){const i=k([111,88,57,90,72,89,107,86,78,77,51,117,84,48,67,110,100,54,115,70,69,80,56,113,98,106,120,74,55,50,105,97,71,49,52,81,82,53,79,108,121,73,118,99,116,85,76,87,103,119,66,109,102,101,112,68,83,104,75,65,122,114]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(399)](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([111]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(401)]((t=>String[e(414)](t)))[e(370)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1741219200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(406)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[$(413)](t){const e=$,i=this[e(389)][e(415)][e(394)](e(421));return new W({id:t.id,name:t[e(397)],creator:t[e(374)]?i[e(377)](t[e(374)]):null,diffData:t[e(383)]||t[e(400)],authors:t[e(420)][e(401)]((t=>i[e(377)](t))),createdAt:new Date(t[e(375)]),attributes:t[e(424)],fromVersion:t[e(422)],toVersion:t[e(402)]})}[$(396)](t,e=0){const i=$;this[i(371)][i(373)](t,e)}[$(418)](t){const e=$;return this[e(371)][e(394)](t)}[$(372)](t={toJSON:!1}){const e=$,i=Array[e(417)](this[e(371)]);return i[e(425)](),t[e(393)]?i[e(401)]((t=>t[e(393)]())):i}[$(368)](t){const e=$;return this[e(371)][e(368)](t)}[$(416)](t){const e=$,[,i]=this[e(408)](t,{direction:e(390)});return i}[$(380)](t){const e=$,[,i]=this[e(408)](t,{direction:e(381)});return i}[$(409)](t){const e=$,i=[];for(const s of this[e(408)](t[e(404)]))if(i[e(392)](s),s.id===t[e(395)])break;return i}*[$(408)](t,{direction:e=$(390),filter:i=()=>!0}={}){const s=$,n=s(390)===e?1:-1;let r=this[s(371)][s(394)](t),o=this[s(368)](r);for(yield r;r;){if(o+=n,r=this[s(418)](o),!r)return;i(r)&&(yield r)}}}function J(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 G(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 K(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 X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(E=s)||Number.isNaN(A)&&Number.isNaN(E)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,E;const V=(s=s??new Map).get(t),M=s.get(i);if(null!=V&&null!=M)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(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=>K(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,T)||G(t)&&G(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(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=st;function it(){const t=["RevisionTracker","find","upcast","_handleRootAttributeOperation","addRevisionData","slice","buildRevisionData","RealTimeCollaborationClient","newValue","revisionHistory.resumeUnsavedRevision","setRevisionData","diffData","_update","oldRange","processor","vid_start","isAdd","18lLVlVP","setSource","paragraph","getRootNames","getChildren","getRoot","_createCurrentRevision","clear","_getBaseVids","remove","_prepareViewToSave","toView","vid","createPositionAfter","splitPosition","merge","revision-end","initial","updateRevisions","_operations","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyNotAllowed","getRevisionDocumentData","insert","parse","roots","then","_handleOperation","define","_isInit","_setAttribute","path","element","end","children","affectsData","trialLimit","getRevision","rootName","createPositionFromPath","data","_getViewJson","attachChange","createRangeIn","attributesBefore","evaluationLimit","includes","changeRootAttribute","getOperations","_isAttached","_calculateMetaData","move","fromVersion","$graveyard","initialData","_insertChild","baseVersion","saveRevision","_getState","data-revision-","string","insertion","_loadState","some","dataDowncast","revisionHistoryLicenseKeyUsageLimit","getAttributes","_revisionId","revisionHistoryLicenseKeyEvaluationLimit","getOperation","targetPosition","1952352rYssyb","stringify","bind","trim","invalid","_startingVersion","name","_loadedStateData","createRevision","5060148ATkYXx","_handleSplitOperation","locale","document","3299973FokHcn","_getPreviousFrom","getIndex","_removeMetaData","size","_licenseKeyCheckInterval","_startingRevisionId","NEGATIVE_INFINITY","_diffRoots","getData","values","getRevisionRootsAttributes","sourcePosition","add","authors","offsetSize","_handleInsertOperation","detachRoot","_makeModelFromViewString","_makeRevision","revisionHistoryLicenseKeyTrialLimit","requires","type","_markers","useFillerType","getChild","insertionPosition","_appendChild","getAncestors","_getVidAttributeName","elementEnd","previousPosition","_handleRootOperation","_transformMarkers","licenseKey","isOfficialPlugin","editor-initial-data-replaced-with-revision-data","source","newRange","view","revisionHistoryLicenseKeyValid","featureNotAllowed","toData","_clone","getAttribute","_createFromRanges","loadState","conversion","markerToData","fromEntries","removeRootAttribute","_makeIdsRoot","revision:","stickiness","Empty document","_touchedRoots","158242gunfuS","_getFromVersion","PendingActions","offset","getRange","dataToMarker","isEnabled","addRevision","_createInitialRevision","_pendingAction","plugins","revision-start","root","insertions","userId","_touchedMarkers","map","creator","RevisionHistory","sort","_saveMetaData","clone","reinsert","getCurrentRevisionId","_loadRevisionData","key","createPositionAt","editor","Initial revision","revisionHistoryLicenseKeyExpired","_fixRange","_generateTape","$text","nodes","getUser","_cloneOperation","collaboration.channelId","deletion","_revisionDataBuilder","_bufferedUpdates","_findInsertionIndex","_baseIdsRoots","graveyardPosition","resolve","forEach","_idsRoots","_touched","childCount","toVersion","editing","getNodeByPath","_initialRevisionId","marked","model","getWalker","expired","_replaceEditorDataWithRevisionData","isAttached","from","_fixPosition","marker","version","PENDING_ACTION_REVISION_HISTORY","_setConversion","getRevisions","_source","revisionHistoryLicenseKeyDomainLimit","_continueCurrentRevision","elementStart","attributesAfter","afterInit","_processRootBeforeSave","_showLicenseError","keys","keepParagraph","5343976vXBHAP","tableCell","start","_savedMetaData","domainLimit","getMovedRangeStart","_handleMergeOperation","revision","_addPendingAction","_diffRootsAttributes","3791890bCMUpg","isEqual","_authorId","createdAt","_handleMoveOperation","createRange","finally","documentFragment","usageLimit","_reset","length","parent","split","max","_markChanges","_bufferUpdate","_baseRootsAttributes","hasContent","history","repository","getTransformedByOperation","3304735baNurr","has","delete","reInit","for","shift","_removeRevisionMarkers","howMany","sendBufferedUpdates","vid_end","toModel","range","2BCLZjL","deletions","item","nodeAfter","config","position","isReady","text","_handleMarkerOperation","update","pluginName","authorsIds","_lastTo","_copyMarkers","_fixOperation","getTime","_applyOperations","reverse","addRoot","attributes","default","_removePendingAction","destroy","startsWith","currentRevision","Users","RevisionsRepository","creatorId","markers","push","get","_isPendingUpdate","adapter","createPositionBefore","getLatestVersion","set","isPremiumPlugin","_baseRoots","addRootAttribute","ready","filter","rootsAttributes","_lastFrom","_execute","init"];return(it=function(){return t})()}function st(t,e){const i=it();return(st=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(563782===parseInt(e(629))/1+parseInt(e(747))/2*(parseInt(e(573))/3)+-parseInt(e(560))/4+parseInt(e(714))/5+parseInt(e(569))/6+-parseInt(e(735))/7+-parseInt(e(704))/8*(parseInt(e(489))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);const nt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class rt extends Z.Plugin{[et(607)];[et(578)];[et(779)];[et(771)];[et(733)];[et(667)];[et(694)];[et(680)];[et(668)];[et(638)];[et(696)];[et(565)];[et(567)];static get[et(757)](){return et(472)}static get[et(608)](){return!0}static get[et(783)](){return!0}static get[et(594)](){return[U.Users,Y,Z.PendingActions]}constructor(e){const i=et;super(e),this[i(779)]=null,this[i(771)]=null,this[i(667)]=new at(this[i(656)]),this[i(680)]=this[i(656)][i(751)][i(777)](i(665))||i(506),this[i(668)]=new Map,this[i(567)]=null;const s=(0,t.uid)();this[i(694)]={history:this[i(656)][i(682)][i(572)][i(732)],getLatestVersion:()=>Promise[i(672)](this[i(656)][i(682)][i(572)][i(690)]),getCurrentRevisionId:()=>s},this[i(782)](i(753),!1),this[i(782)](i(635),!0),this[i(782)](i(778),!1),this[i(656)][i(751)][i(517)](i(481),!0),this[i(656)][i(620)][i(739)](i(474))[i(634)]({view:i(711)})}[et(471)](){const t=et;this[t(733)]=this[t(656)][t(639)][t(777)](t(773)),this[t(692)](),this[t(656)][t(529)].on(t(786),(()=>{const e=t,i=this[e(733)][e(526)](0),s=i&&null===i[e(646)]?i:null;if(this[e(696)]=!!s&&this[e(656)][e(751)][e(777)](e(481)),this[e(656)][e(639)][e(736)](e(479))){const t=this[e(694)][e(652)](),n=this[e(733)][e(526)](t);if(n)this[e(565)]=n[e(541)],this[e(696)]=!1;else{const t=this[e(694)][e(732)][e(508)][e(473)]((t=>!t[e(518)])),n=t?t[e(545)]:this[e(694)][e(732)][e(690)];i?(i[e(677)]<n&&i[e(484)]({toVersion:n}),this[e(696)]?(this[e(694)][e(652)]=()=>s.id,this[e(565)]=s[e(541)]):(this[e(565)]=i[e(677)],this[e(696)]=!1)):(this[e(565)]=n,this[e(696)]=!1)}}else s&&(this[e(656)][e(682)][e(572)][e(732)][e(690)]=Math[e(727)](s[e(677)],this[e(656)][e(682)][e(572)][e(732)][e(690)]),s[e(541)]===s[e(677)]?(0!==s[e(541)]&&(this[e(694)][e(652)]=()=>s.id),this[e(696)]=!1):this[e(696)]&&(this[e(694)][e(652)]=()=>s.id,this[e(565)]=s[e(541)])),this[e(696)]||(this[e(565)]=this[e(656)][e(682)][e(572)][e(690)]);this[e(667)][e(471)](this[e(694)][e(732)]),this[e(637)](this[e(565)]),this[e(495)](this[e(565)]),this[e(779)]&&this[e(743)]()})),this[t(562)](t(753)).to(this,t(778),(t=>!t)),this[t(607)]=this[t(656)][t(751)][t(777)](t(607));const e=this[t(656)];this[t(578)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(613)==r||i(509)==r||i(658)==r||i(695)==r||i(510)==r||i(557)==r||i(593)==r||i(554)==r){delete e[n],s=r,clearInterval(this[i(578)]),this[i(578)]=void 0;break}}i(509)==s&&e[i(701)](i(564)),i(658)==s&&e[i(701)](i(684)),i(695)==s&&e[i(701)](i(708)),i(510)==s&&e[i(701)](i(614),i(647)),i(557)==s&&e[i(701)](i(534)),i(593)==s&&e[i(701)](i(525)),i(554)==s&&e[i(701)](i(722))}),1e3)}async[et(699)](){const t=et;if(this[t(733)][t(724)]>0){const e=this[t(733)][t(526)](0),i=await this[t(511)](e),s=await this[t(584)](e);this[t(685)](i,s)}}[et(769)](){const t=et;super[t(769)](),this[t(578)]&&clearInterval(this[t(578)])}[et(490)](t){this[et(694)]=t}async[et(756)](){const t=et,e=await this[t(694)][t(781)]();if(e>this[t(771)][t(677)]){await this[t(551)]();const i=this[t(478)]({revision:this[t(771)],to:e});i[t(587)]=i[t(758)][t(645)]((e=>this[t(656)][t(639)][t(777)](t(772))[t(663)](e))),this[t(771)][t(484)](i)}}async[et(551)](){const t=et;this[t(696)]&&!this[t(567)]&&(await this[t(653)](this[t(771)]),this[t(667)][t(619)](this[t(771)]),this[t(567)]={fromVersion:this[t(771)][t(541)],authors:this[t(771)][t(587)][t(477)]()})}async[et(546)](e={},i=null){const s=et,n=[];await this[s(551)](),this[s(696)]=!1,i>this[s(771)][s(677)]&&(i=null),null===i&&(i=await this[s(694)][s(781)]());const r=this[s(630)](i),o=this[s(478)]({from:r,to:i});if(this[s(771)][s(677)]<i){const t=this[s(478)]({revision:this[s(771)],from:i,to:i});t[s(587)]=[],t[s(758)]=[],t.id=this[s(771)].id,this[s(771)][s(484)](t,!0),delete t[s(587)],n[s(776)](t)}e[s(774)]=this[s(656)][s(639)][s(777)](s(772)).me.id,e[s(566)]=e[s(566)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(476)](e);n[s(776)](e);const c=this[s(733)][s(575)](a);if(0!==c){const t=this[s(733)][s(526)](c-1);if(t[s(541)]!==i){const r=this[s(667)][s(582)](i,t[s(677)]),o={id:t.id,diffData:r[s(483)],authorsIds:r[s(758)],authors:r[s(758)][s(645)]((t=>this[s(656)][s(639)][s(777)](s(772))[s(663)](t))),fromVersion:i};t===this[s(771)]&&(o[s(717)]=new Date(e[s(717)][s(762)]()+10)),t[s(484)](o,!0),delete o[s(587)],n[s(776)](o)}}if(this[s(779)]){for(const t of n)this[s(729)](t.id,t,!0);this[s(743)]()}return a}[et(476)](t){const e=et,i=this[e(733)][e(568)](t);return this[e(779)]&&i.on(e(484),((t,i,s)=>{const n=e;s||(this[n(729)](i.id,i,!0),this[n(743)]())})),this[e(733)][e(636)](i,this[e(669)](i)),i}async[et(511)](t){const e=et;await this[e(653)](t);const i={};for(const s in t[e(483)]){if(t[e(483)][s][e(531)]&&!t[e(483)][s][e(531)][e(686)])continue;const n=this[e(741)](JSON[e(513)](t[e(483)][s][e(642)])),r=this[e(656)][e(678)][e(612)][e(572)],o=new H.ViewDocumentFragment(r,n[e(645)]((t=>ot(t,this[e(656)]))));this[e(656)][e(529)][e(486)][e(597)](e(681)),i[s]=this[e(656)][e(529)][e(486)][e(615)](o),this[e(656)][e(529)][e(486)][e(597)](e(767))}return i}async[et(584)](t){const e=et;await this[e(653)](t);const i={};for(const s in t[e(483)])t[e(483)][s][e(531)]&&!t[e(483)][s][e(531)][e(686)]||(i[s]=t[e(483)][s][e(698)]||{});return i}[et(743)](){const t=et;if(0===this[t(668)][t(577)])return;if(this[t(778)])return;let e=Array[t(687)](this[t(668)][t(583)]());this[t(668)][t(496)]();for(let i=0;i<e[t(724)];i++){const s=e[i];let n=!1;for(const e of Object[t(702)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(787)]((t=>null!==t)),!e[t(724)])return;for(let i=0;i<e[t(724)];i++){const s=e[i];void 0!==s[t(541)]&&void 0===s[t(677)]&&(s[t(677)]=this[t(733)][t(526)](s.id)[t(677)]),void 0!==s[t(677)]&&void 0===s[t(541)]&&(s[t(541)]=this[t(733)][t(526)](s.id)[t(541)])}const i=this[t(656)][t(751)][t(777)](t(665));this[t(778)]=!0,this[t(712)](),this[t(779)][t(507)](e,i)[t(720)]((()=>{this[t(778)]=!1}))[t(515)]((e=>{const i=t;if(e)for(const t of e)this[i(482)]({id:t.id,createdAt:t[i(717)]});this[i(768)](),this[i(743)]()}))}[et(685)](e,i){const s=et;let n=this[s(656)][s(751)][s(777)](s(543)),r=this[s(656)][s(751)][s(777)](s(468));if(void 0===n){n={};for(const t of this[s(656)][s(682)][s(572)][s(492)]())n[t]=""}if(s(549)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(656)][s(682)][s(572)][s(492)]())r[t]={}}let o=!1;const a=Object[s(702)](n),c=Object[s(702)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(563)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(702)](r[t])[s(724)]>0){o=!0;break}}o||(o=c[s(552)]((t=>!this[s(656)][s(682)][s(572)][s(494)](t)))),o&&(0,t.logWarning)(s(609),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(656)][s(751)][s(782)](s(543),e),this[s(656)][s(751)][s(782)](s(468),i)}[et(712)](){const t=et;if(!this[t(638)]){const e=this[t(656)][t(639)][t(777)](t(631));this[t(638)]=e[t(586)](J(this[t(656)][t(571)],t(691)))}}[et(768)](){const t=et;this[t(638)]&&(this[t(656)][t(639)][t(777)](t(631))[t(498)](this[t(638)]),this[t(638)]=null)}[et(669)](t){const e=et,i=this[e(733)][e(693)]();i[e(764)]();let s=0;for(;s<i[e(724)];){const n=i[s];if(n===this[e(771)]){s++;continue}if(n.id===this[e(680)])break;const r=t[e(677)]-n[e(677)]||t[e(541)]-n[e(541)];if(r>0)break;if(r<0)s++;else{if(!t[e(646)]&&n[e(646)])break;if(n[e(646)]||!t[e(646)]){if(t[e(717)]>n[e(717)])break;s++}else s++}}return s}[et(482)](t){const e=et,i=this[e(733)][e(526)](t.id);if(t[e(717)]&&(t[e(717)]=new Date(t[e(717)])),t[e(758)]){const i=this[e(656)][e(639)][e(777)](e(772));t[e(587)]=t[e(758)][e(645)]((t=>i[e(663)](t)))}i[e(484)](t,!0)}[et(478)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(541)],i=null!==i?i:t[s(677)];const n=this[s(667)][s(582)](e,i),r={diffData:n[s(483)],authorsIds:n[s(758)],fromVersion:e,toVersion:i};if(!t||i!==t[s(677)]){const t=i-1,e=this[s(694)][s(732)][s(558)](t);r[s(717)]=e&&e[s(717)]||new Date}if(this[s(567)]&&e===this[s(567)][s(541)])for(const t of this[s(567)][s(587)])r[s(758)][s(535)](t.id)||r[s(758)][s(776)](t.id);return r}[et(653)](t){const e=et;if(!t||t[e(483)])return Promise[e(672)]();{const i=this[e(656)][e(751)][e(777)](e(665));return this[e(779)][e(526)]({channelId:i,revisionId:t.id})[e(515)]((i=>{const s=e;t[s(483)]=i[s(483)]}))}}[et(729)](t,e,i){const s=et;if(this[s(668)][s(736)](t)){const n=this[s(668)][s(777)](t);e=i?{...n,...e}:{...e,...n}}this[s(668)][s(782)](t,e)}[et(630)](t){const e=et,i=this[e(733)][e(693)]();i[e(764)](),i[e(740)]();const s=i[e(473)]((i=>i[e(677)]<=t))[e(677)];return s<this[e(565)]?this[e(565)]:s}[et(637)](t){const e=et,i=this[e(733)][e(526)](this[e(733)][e(724)]-1);if(i)this[e(680)]=i.id;else{const i=!this[e(656)][e(682)][e(572)][e(514)][e(473)]((t=>this[e(656)][e(682)][e(731)](t))),s=this[e(656)][e(639)][e(777)](e(772)).me.id,n=J(this[e(656)][e(571)],e(i?627:657));this[e(592)]({from:t,to:t,id:this[e(680)],name:n,creatorId:s})}}[et(495)](t){const e=et,i=this[e(694)][e(652)]();this[e(771)]=this[e(733)][e(526)](i),this[e(771)]||(this[e(771)]=this[e(592)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(592)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(478)]({from:e,to:i});o[r(566)]=t,o[r(774)]=s,o.id=n;const a=this[r(476)](o);return this[r(779)]&&this[r(729)](o.id,o,!0),a}[et(692)](){const t=et;this[t(656)][t(620)][t(739)](t(553))[t(621)]({model:t(711)})}[et(741)](t){const e=et;return(t=t[e(787)]((t=>!t[e(566)]||e(640)!==t[e(566)]&&e(505)!==t[e(566)])))[e(673)]((t=>{const i=e;i(549)!=typeof t&&(t[i(523)]=this[i(741)](t[i(523)]),t[i(766)]=t[i(766)][i(787)]((t=>!t[0][i(770)](i(548)))))})),t}}function ot(t,e){const i=et,s=e[i(678)][i(612)][i(572)];if(i(549)==typeof t)return new H.ViewText(s,t);{const n=t[i(523)][i(645)]((t=>ot(t,e)));return new(nt[t[i(595)]]||H.ViewElement)(s,t[i(566)],t[i(766)],n)}}class at{[et(656)];[et(610)];[et(707)];[et(469)];[et(759)];[et(596)];[et(581)];[et(713)];[et(784)];[et(730)];[et(674)];[et(670)];[et(675)];[et(644)];[et(628)];[et(556)];[et(579)];constructor(t){const e=et;this[e(656)]=t,this[e(707)]=new Map,this[e(469)]=-1,this[e(759)]=-1,this[e(596)]=new Map,this[e(581)]=new Map,this[e(713)]=new Map,this[e(784)]=new Map,this[e(730)]=new Map,this[e(674)]=new Map,this[e(670)]=new Map,this[e(675)]=new Map,this[e(644)]=new Map,this[e(628)]=new Map,this[e(556)]=1}[et(471)](t){const e=et;this[e(610)]=t;const i=new Map,s=new Map,n=this[e(656)][e(682)][e(572)][e(514)][e(645)]((t=>t[e(527)]));for(const t of n){const n=this[e(656)][e(682)][e(572)][e(494)](t),r=ct(n);i[e(782)](t,r),s[e(782)](t,Object[e(622)](n[e(555)]()))}const r=Array[e(687)](this[e(656)][e(682)][e(775)])[e(645)]((t=>[t[e(566)],t[e(633)]()])),o=this[e(610)][e(690)];this[e(649)](o,i,r,s),this[e(579)]=this[e(556)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(782)](t,i),c[e(782)](t,{})}this[e(649)](Number[e(580)],a,[],c)}[et(582)](t,e){const i=et;if(this[i(469)]===t&&this[i(759)]<=e)this[i(707)][i(577)]>1&&this[i(576)](this[i(759)]),this[i(763)](this[i(759)],e,!0);else{if(!this[i(707)][i(736)](t)){const e=this[i(574)](t);this[i(539)](e,t,!1)}this[i(539)](t,e,!0)}return this[i(469)]=t,this[i(759)]=e,this[i(547)]()}[et(619)](t){const e=et;this[e(723)](),this[e(469)]=t[e(541)],this[e(759)]=t[e(677)];for(const i in t[e(483)]){const s=t[e(483)][i][e(531)],n=A(t[e(483)][i][e(533)])||{},r=this[e(591)](t[e(483)][i][e(748)]);r[e(527)]=i,r[e(538)]=!s||!s[e(686)],r[e(686)]=()=>r[e(538)],this[e(784)][e(782)](i,r),this[e(730)][e(782)](i,n),s&&this[e(628)][e(782)](i,s);const o=this[e(624)](r);this[e(670)][e(782)](i,o);for(const[t,i]of r[e(775)]){if(!t[e(770)](e(625)))continue;const s=t[e(726)](":")[2];for(const t of i[e(683)]({singleCharacters:!0})){const i=this[e(602)](t),n=e(603)==t[e(595)]?t[e(604)][e(520)][e(477)](0,-1):t[e(604)][e(520)],r=o[e(679)](n)[e(617)](i);this[e(675)][e(782)](r,{userId:s})}}}this[e(579)]=this[e(556)];const i=[...Array(this[e(556)])[e(702)]()][e(477)](1)[e(787)]((t=>!this[e(675)][e(736)](t)));let s=0;const n=new Map;for(const r in t[e(483)]){const o=t[e(483)][r][e(531)],a=A(t[e(483)][r][e(698)])||{},c=this[e(591)](t[e(483)][r][e(642)]);c[e(527)]=r,c[e(538)]=!o||o[e(686)],c[e(686)]=()=>c[e(538)],this[e(581)][e(782)](r,c),this[e(713)][e(782)](r,a);const u=this[e(624)](c,Number[e(580)]);this[e(674)][e(782)](r,u),n[e(782)](r,c[e(686)]()?a:{});for(const[t,i]of c[e(775)]){if(!t[e(770)](e(625)))continue;const s=t[e(726)](":")[2];for(const t of i[e(683)]({singleCharacters:!0})){const i=this[e(602)](t),n=this[e(556)]++,r=e(603)==t[e(595)]?t[e(604)][e(520)][e(477)](0,-1):t[e(604)][e(520)];u[e(679)](r)[e(519)](i,n),this[e(675)][e(782)](n,{userId:s})}}for(const t of this[e(656)][e(682)][e(532)](c)[e(683)]({singleCharacters:!0})){const n=this[e(602)](t),r=e(603)==t[e(595)]?t[e(604)][e(520)][e(477)](0,-1):t[e(604)][e(520)],o=u[e(679)](r);o[e(617)](n)>0||o[e(519)](n,i[s++])}for(const[t,i]of c[e(775)])t[e(770)](e(625))||this[e(596)][e(782)](t,i)}const r=ut(e(542));this[e(784)][e(782)](e(542),r),this[e(670)][e(782)](e(542),this[e(624)](r,1));const o=ut(e(542));this[e(581)][e(782)](e(542),o),this[e(674)][e(782)](e(542),this[e(624)](o,1));const a=Array[e(687)](this[e(581)])[e(645)]((([t,e])=>[t,ct(e)]));this[e(649)](this[e(759)],a,this[e(596)],n)}[et(591)](t){const e=et,i=JSON[e(513)](t),s=this[e(656)][e(678)][e(612)][e(572)],n=new H.ViewDocumentFragment(s,i[e(645)]((t=>ot(t,this[e(656)]))));return this[e(656)][e(529)][e(745)](n)}[et(649)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(782)](t,{start:e[n(706)][n(650)](),end:e[n(522)][n(650)](),rootName:e[n(641)][n(527)]});this[n(707)][n(782)](t,{roots:r,markers:a,rootsAttributes:o})}[et(576)](t){const e=et;this[e(707)][e(737)](t)}[et(738)](){const t=et;this[t(723)](),this[t(469)]=-1,this[t(759)]=-1,this[t(707)][t(496)](),this[t(471)](this[t(610)])}[et(723)](){const t=et;this[t(675)][t(496)](),this[t(644)][t(496)](),this[t(628)][t(496)](),this[t(581)][t(496)](),this[t(713)][t(496)](),this[t(784)][t(496)](),this[t(730)][t(496)](),this[t(674)][t(496)](),this[t(670)][t(496)](),this[t(596)][t(496)](),this[t(556)]=1,this[t(579)]=this[t(556)]}[et(624)](t,e=null){const i=et;let s=null;t.is(i(721))||(s=new H.Element(t[i(566)],{vid_start:null===e?this[i(556)]++:e++}));const n=[];for(const s of t[i(493)]())if(s.is(i(521))){n[i(776)](this[i(624)](s,e));const t=n[n[i(724)]-1];null!==e&&(e=t.is(i(521),i(661))?t[i(617)](i(501))+1:t[i(617)](i(744))+1)}else for(let t=0;t<s[i(588)];t++)n[i(776)](new H.Element(i(661),{vid:null===e?this[i(556)]++:e++}));if(t.is(i(721))){const e=ut(t[i(527)]);return e[i(544)](0,n),e}return s[i(519)](i(744),null===e?this[i(556)]++:e++),s[i(544)](0,n),s}[et(539)](t,e,i){const s=et;this[s(723)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(707)][s(777)](t);this[s(784)]=new Map(n),this[s(730)]=new Map(A(o));for(const[t,e]of this[s(784)])if(s(542)!==t&&(this[s(581)][s(782)](t,ct(e)),this[s(713)]=new Map(A(o)),i)){const i=this[s(556)];this[s(674)][s(782)](t,this[s(624)](e)),this[s(670)][s(782)](t,this[s(624)](e,i))}this[s(579)]=this[s(556)],this[s(581)][s(782)](s(542),ct(this[s(784)][s(777)](s(542)))),i&&this[s(674)][s(782)](s(542),this[s(624)](this[s(784)][s(777)](s(542))));for(const[t,e]of r){const i=this[s(784)][s(777)](e[s(527)]),n=this[s(581)][s(777)](e[s(527)]),r=new H.Range(this[s(688)](e[s(706)],i),this[s(688)](e[s(522)],i)),o=this[s(659)](r,n);i[s(775)][s(782)](t,r),this[s(596)][s(782)](t,o)}this[s(763)](t,e,i)}[et(763)](t,e,i){const s=et;for(const n of this[s(610)][s(537)](t,e))this[s(516)](n,i);for(const t of this[s(581)][s(583)]())t[s(775)][s(496)]();for(const[t,e]of this[s(596)])this[s(581)][s(777)](e[s(641)][s(527)])[s(775)][s(782)](t,e[s(650)]());const n=new Map,r=new Map;for(const[t,e]of this[s(581)])n[s(782)](t,ct(e)),r[s(782)](t,this[s(713)][s(777)](t));this[s(649)](e,n,this[s(596)],r)}[et(574)](t){const e=et,i=Array[e(687)](this[e(707)][e(702)]());i[e(648)](((t,e)=>t-e)),i[e(764)]();for(const e of i)if(e<t)return e;return Number[e(580)]}[et(760)](t,e){const i=et,s=Array[i(687)](e[i(775)])[i(645)]((([e,s])=>[e,this[i(659)](s,t)]));t[i(775)]=new Map(s)}[et(606)](t){const e=et;for(const i of this[e(596)][e(583)]()){const s=i[e(734)](t),n=H.Range[e(618)](s);i[e(706)]=n[e(706)],i[e(522)]=n[e(522)]}}[et(516)](t,e){const i=et;if(i(765)!=t[i(595)]&&i(590)!=t[i(595)]){if(i(512)==t[i(595)]){const s=t[i(752)][i(641)][i(527)];this[i(581)][i(736)](s)||(this[i(581)][i(782)](s,ut(s,!0)),this[i(713)][i(782)](s,{}),e&&this[i(674)][i(782)](s,ut(s,!0)))}else{if(i(785)==t[i(595)]||i(623)==t[i(595)]||i(536)==t[i(595)])return void this[i(475)](t);i(689)==t[i(595)]&&this[i(755)](t)}if(i(689)!==t[i(595)]){const e=this[i(664)](t,this[i(581)]);e[i(470)](),this[i(606)](e)}if(e)switch(t[i(595)]){case i(512):this[i(589)](t);break;case i(540):case i(498):case i(651):this[i(718)](t);break;case i(504):this[i(710)](t);break;case i(726):this[i(570)](t)}}else this[i(605)](t,e)}[et(664)](t,e){const i=et,s=t[i(650)]();return s[i(716)]=t[i(716)],this[i(761)](s,e),s}[et(497)](t){const e=et;return t[e(645)]((t=>{const i=e,s=this[i(602)](t);return Number(t[i(749)][i(617)](s))}))}[et(660)](t,e){const i=et;if(t.is(i(521),i(661)))e[i(776)]({item:t,type:i(754)});else{t.is(i(521))&&e[i(776)]({item:t,type:i(697)});for(const s of t[i(493)]())this[i(660)](s,e);t.is(i(521))&&e[i(776)]({item:t,type:i(603)})}return e}[et(547)](){const t=et,e=new Map(this[t(675)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(784)][t(702)](),...this[t(581)][t(702)]()]);a[t(737)](t(542));for(const e of a){const i=this[t(581)][t(777)](e)||ut(e,!1),s=this[t(784)][t(777)](e)||ut(e,!1);i[t(686)]()||s[t(686)]()?(n[t(642)][e]=ct(i),n[t(748)][e]=ct(s),this[t(760)](n[t(748)][e],s),this[t(760)](n[t(642)][e],i),r[t(642)][e]=this[t(660)](this[t(674)][t(777)](e),[]),r[t(748)][e]=this[t(660)](this[t(670)][t(777)](e)||ut(e,!1),[])):a[t(737)](e)}for(const n of a){const o=r[t(642)][n];for(const n of o){const r=this[t(602)](n),o=n[t(749)][t(617)](r);i[t(737)](o),o>=this[t(579)]&&s[t(782)](o,e[t(777)](o))}}for(const n of a){const a=r[t(642)][n],c=this[t(497)](r[t(748)][n]);let u=0;for(const n of a){const r=this[t(602)](n),a=n[t(749)][t(617)](r);if(!s[t(736)](a)&&!o[t(736)](a))if(i[t(736)](a))u++;else{if(a!=c[u]){const s=e[t(777)](a)||e[t(777)](c[u]);for(;a!=c[u];)i[t(736)](c[u])||(o[t(782)](c[u],s),e[t(782)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(642)][e];for(const e of n){const n=this[t(602)](e),r=e[t(749)][t(617)](n);if(o[t(736)](r)){const e=o[t(777)](r);i[t(736)](r)||i[t(782)](r,{...e}),s[t(782)](r,{...e})}}}for(const e of i[t(702)]())e>=this[t(579)]&&i[t(737)](e);const c=new Map;for(const e of a){let n=r[t(642)][e];for(const e of n)if(e[t(749)].is(t(521),t(705))){const i=this[t(602)](e),n=e[t(749)][t(617)](i);if(s[t(736)](n)){const i=e[t(749)][t(725)][t(725)][t(617)](t(487)),r=c[t(777)](i)||new Set;r[t(586)](s[t(777)](n)[t(643)]),c[t(782)](i,r)}}n=r[t(748)][e];for(const e of n)if(e[t(749)].is(t(521),t(705))){const s=this[t(602)](e),n=e[t(749)][t(617)](s);if(i[t(736)](n)){const s=e[t(749)][t(725)][t(725)][t(617)](t(487)),r=c[t(777)](s)||new Set;r[t(586)](i[t(777)](n)[t(643)]),c[t(782)](s,r)}}for(const e of c[t(702)]())(s[t(736)](e)||i[t(736)](e))&&c[t(737)](e)}for(const e of a){const n=r[t(642)][e];let o=null,a=null;for(const e of n){const n=this[t(602)](e),r=e[t(749)][t(617)](n),u=c[t(777)](r);u&&t(697)==e[t(595)]&&(o=Array[t(687)](u)[0],a=e[t(749)][t(617)](t(744))),o&&(i[t(782)](r,{userId:o}),s[t(782)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(748)][e],a=n[t(642)][e];for(const{userId:e}of this[t(644)][t(583)]())null!==e&&l[t(586)](e);for(const{userId:e}of this[t(628)][t(583)]())null!==e&&l[t(586)](e);this[t(728)](a,r[t(642)][e],s,t(550),l),this[t(728)](o,r[t(748)][e],i,t(666),l),u[e]={insertions:this[t(499)](a),deletions:this[t(499)](o),attachChange:this[t(628)][t(777)](e)||null,attributesBefore:A(this[t(730)][t(777)](e))||{},attributesAfter:A(this[t(713)][t(777)](e))}}return{diffData:u,authorsIds:Array[t(687)](l)}}[et(700)](t){const e=et;for(const[,i]of t[e(775)]){const t=i[e(706)][e(601)]()[e(787)]((t=>e(705)==t[e(566)]));for(const i of t)1==i[e(676)]&&i[e(598)](0).is(e(521),e(491))&&i[e(598)](0)[e(519)](e(703),!0)}}[et(499)](t){const e=et;this[e(700)](t);const i=this[e(656)][e(529)][e(500)](t,{}),s=Array[e(687)](i[e(493)]())[e(645)]((t=>this[e(530)](t)));return JSON[e(561)](s)}[et(530)](t){const e=et;if(t.is(e(661)))return t[e(529)];{const i=t;return{type:Object[e(702)](nt)[e(473)]((e=>t instanceof nt[e])),name:i[e(566)],attributes:Array[e(687)](i[e(555)]()),children:Array[e(687)](i[e(493)]())[e(645)]((t=>this[e(530)](t)))}}}[et(728)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(656)][r(682)];for(let s=0;s<e[r(724)];s++){const n=this[r(602)](e[s]),c=e[s][r(749)][r(617)](n),h=i[r(777)](c),d=s==e[r(724)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(643)]!=o[r(643)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(643)],d=l(625)+s+":"+h+":"+c++,f=u[l(719)](i,a);t[l(775)][l(782)](d,f),null!==h&&n[l(586)](h)}}[et(602)](t){const e=et;switch(t[e(595)]){case e(697):return e(487);case e(603):return e(744);default:return e(501)}}[et(761)](t,e){const i=et;t[i(545)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(777)](n[i(641)][i(527)]);t[s]=this[i(688)](n,r)}if(n instanceof H.Range){const r=e[i(777)](n[i(641)][i(527)]);t[s]=this[i(659)](n,r)}i(641)===s&&(t[i(641)]=e[i(777)](t[i(641)][i(527)]))}}[et(659)](t,e){const i=et;return this[i(656)][i(682)][i(719)](this[i(688)](t[i(706)],e),this[i(688)](t[i(522)],e))}[et(688)](t,e){const i=et;return this[i(656)][i(682)][i(528)](e,t[i(520)],t[i(626)])}[et(589)](t){const e=et,i=this[e(674)][e(777)](t[e(752)][e(641)][e(527)]),s=this[e(688)](t[e(752)],i),n=null===t[e(716)]?null:t[e(716)]||this[e(656)][e(639)][e(777)](e(772)).me.id,r=s[e(725)],o=this[e(556)],a=[];for(const i of t[e(662)])if(i.is(e(521)))a[e(776)](this[e(624)](i));else for(let t=0;t<i[e(588)];t++)a[e(776)](new H.Element(e(661),{vid:this[e(556)]++}));const c=this[e(556)];for(let t=o;t<c;t++)this[e(675)][e(782)](t,{userId:n});r[e(544)](s[e(632)],a)}[et(718)](t){const e=et;(t=this[e(664)](t,this[e(674)]))[e(470)]();const i=null===t[e(716)]?null:t[e(716)]||this[e(656)][e(639)][e(777)](e(772)).me.id,s=t[e(709)](),n=s[e(725)],r=s[e(632)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(598)](e);r.is(a(521),a(661))?s[a(782)](r[a(617)](a(501)),{userId:i}):(s[a(782)](r[a(617)](a(487)),{userId:i}),t(s,r,0,r[a(676)]),s[a(782)](r[a(617)](a(744)),{userId:i}))}}(this[e(675)],n,r,r+t[e(742)])}[et(710)](t){const e=et,i=null===(t=this[e(664)](t,this[e(674)]))[e(716)]?null:t[e(716)]||this[e(656)][e(639)][e(777)](e(772)).me.id,s=t[e(559)][e(725)],n=t[e(585)][e(725)],r=s[e(617)](e(744)),o=n[e(617)](e(487));s[e(519)](e(744),n[e(617)](e(744))),n[e(519)](e(744),r),this[e(675)][e(782)](o,{userId:i}),this[e(675)][e(782)](r,{userId:i}),t[e(470)]()}[et(570)](t){const e=et,i=null===(t=this[e(664)](t,this[e(674)]))[e(716)]?null:t[e(716)]||this[e(656)][e(639)][e(777)](e(772)).me.id,s=t[e(671)],n=t[e(503)][e(725)];t[e(470)]();const r=n[e(617)](e(744)),o=t[e(599)][e(750)];if(s){const t=o[e(617)](e(744)),s=n[e(617)](e(744));n[e(519)](e(744),t),o[e(519)](e(744),s),this[e(675)][e(782)](n[e(617)](e(744)),{userId:i}),this[e(675)][e(782)](o[e(617)](e(487)),{userId:i})}else{const t=this[e(556)]++,s=this[e(556)]++;n[e(519)](e(744),t),o[e(519)](e(487),s),o[e(519)](e(744),r),this[e(675)][e(782)](t,{userId:i}),this[e(675)][e(782)](s,{userId:i})}}[et(755)](t){const e=et;if(!t[e(524)])return;const i=(t=this[e(664)](t,this[e(581)]))[e(485)]?t[e(485)][e(641)]:null,s=t[e(611)]?t[e(611)][e(641)]:null;i&&this[e(596)][e(737)](t[e(566)]),s&&this[e(596)][e(782)](t[e(566)],t[e(611)][e(650)]());const n=null===t[e(716)]?null:t[e(716)]||this[e(656)][e(639)][e(777)](e(772)).me.id,r=t[e(566)];if(!this[e(644)][e(736)](r))return void this[e(644)][e(782)](r,{range:t[e(485)],userId:n});const o=this[e(644)][e(777)](r),a=o[e(746)],c=t[e(611)];null==a&&null==c||a&&c&&a[e(715)](c)?this[e(644)][e(737)](t[e(566)]):o[e(643)]=n}[et(605)](t,e){const i=et;this[i(581)][i(736)](t[i(527)])?this[i(581)][i(777)](t[i(527)])[i(538)]=t[i(488)]:(this[i(581)][i(782)](t[i(527)],ut(t[i(527)],!0)),this[i(713)][i(782)](t[i(527)],{}),e&&this[i(674)][i(782)](t[i(527)],ut(t[i(527)],!0)));const s=null===t[i(716)]?null:t[i(716)]||this[i(656)][i(639)][i(777)](i(772)).me.id,n=this[i(628)][i(777)](t[i(527)]);n&&n[i(643)]===s?this[i(628)][i(737)](t[i(527)]):this[i(628)][i(782)](t[i(527)],{userId:s,isAttached:t[i(488)]})}[et(475)](t){const e=et,i=this[e(713)][e(777)](t[e(641)][e(527)]);null===t[e(480)]?delete i[t[e(654)]]:i[t[e(654)]]=t[e(480)]}}function ct(t){const e=et,i=ut(t[e(527)],t[e(686)]());for(const s of t[e(493)]()){const t=s[e(616)](!0);i[e(600)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(527)]=t,s[i(538)]=e,s[i(686)]=()=>s[i(538)],s}function lt(t,e,i){const s=et,n=s(603)==t[s(595)]?i[s(655)](t[s(749)],s(522)):i[s(780)](t[s(749)]);return i[s(528)](e,n[s(520)],n[s(626)])}function ht(t,e,i){const s=et,n=s(697)==t[s(595)]?i[s(655)](t[s(749)],0):i[s(502)](t[s(749)]);return i[s(528)](e,n[s(520)],n[s(626)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;function Nt(){const t=["4013325rDKKyM","39564OkpqvU","optional","arrowup","525118VWAnfc","arrowright","focusTracker","6580gxpIhb","label","listenTo","ck-responsive-form","arrowleft","revisionName","28vAACFp","94043gsddgb","keystrokes","form","errorText","arrowdown","4zCzqqP","set","revisionNameInputValue","input","focus","extendTemplate","revisionNameInputView","220","1445022yrBlhj","locale","Name of the revision","element","reset","add","stopPropagation","setTemplate","render","_createRevisionNameInput","9092328ATgPnW","fieldView","trim","ck-revision-history-save-revision-form","value","3262136vJXhIL"];return(Nt=function(){return t})()}const Rt=At;function At(t,e){const i=Nt();return(At=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(931481===parseInt(e(226))/1+parseInt(e(216))/2+-parseInt(e(239))/3*(parseInt(e(231))/4)+parseInt(e(212))/5+parseInt(e(206))/6+parseInt(e(225))/7*(parseInt(e(211))/8)+parseInt(e(213))/9*(-parseInt(e(219))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nt);class Et extends ft.View{[Rt(218)];[Rt(227)];[Rt(237)];constructor(e,i){const s=Rt;super(e),this[s(218)]=new t.FocusTracker,this[s(227)]=new t.KeystrokeHandler,this[s(232)](s(233),""),this[s(237)]=this[s(205)](i),this[s(203)]({tag:s(228),attributes:{class:["ck",s(209),s(222)],tabindex:"-1"},children:[this[s(237)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Rt(204)](){const t=Rt;super[t(204)](),(0,ft.submitHandler)({view:this}),this[t(218)][t(244)](this[t(237)][t(242)]),this[t(227)][t(221)](this[t(242)]);const e=e=>e[t(245)]();this[t(227)][t(232)](t(217),e),this[t(227)][t(232)](t(223),e),this[t(227)][t(232)](t(215),e),this[t(227)][t(232)](t(230),e)}[Rt(235)](){const t=Rt;this[t(237)][t(235)]()}get[Rt(224)](){const t=Rt;return this[t(237)][t(207)][t(242)][t(210)][t(208)]()}set[Rt(224)](t){const e=Rt;this[e(237)][e(207)][e(242)][e(210)]=t[e(208)]()}[Rt(243)](){const t=Rt;this[t(237)][t(207)][t(242)][t(210)]="",this[t(237)][t(229)]=null}[Rt(205)](t){const e=Rt,i=new ft.LabeledFieldView(this[e(240)],ft.createLabeledInputText),s=i[e(207)];s[e(236)]({attributes:{maxlength:e(238)}});let n=J(this[e(240)],e(241));return!t&&(n+=" ("+J(this[e(240)],e(214))+")"),i[e(220)]=n,s.on(e(234),(()=>{const t=e;this[t(233)]=s[t(242)][t(210)][t(208)]()})),i}}const Vt=Mt;function Mt(t,e){const i=Dt();return(Mt=function(t,e){return i[t-=134]})(t,e)}function Dt(){const t=["17446728CzELBC","pluginName","11XpAara","locale","addMany","render","menuBar:revisionHistory","hide","Open revision history","buttonView","focus","1602oPPFGN","isOpen","saveRevision","4zwUYwU","editing","908769YWQdbP","1956220VDbAom","revisionName","reset","set","menu","view","_saveRevisionFormView","isReady","RevisionHistoryUI","isOfficialPlugin","menuitem","submit","16qxBiuZ","editor","revisionSave","get","_registerMenuComponent","Dialog","componentFactory","bind","_showDialog","isPremiumPlugin","errorText","_createSaveRevisionFormView","plugins","ck-button-action","revisionNameInputView","execute","20447iQvJid","add","1530468tKAOis","Revision history","requires","show","The revision name cannot be empty.","revisionHistory.requireRevisionName","Save current revision","role","isReadOnly","revisionHistory","RevisionTracker","children","items","delegate","5993210ZUduzS","init","panelView","Cancel","102XuKSSP","config","58934GuDWsG","isEnabled","Accept","showRevisionViewerCallback"];return(Dt=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(563573===parseInt(e(155))/1+parseInt(e(135))/2*(-parseInt(e(204))/3)+parseInt(e(153))/4*(parseInt(e(156))/5)+parseInt(e(150))/6*(parseInt(e(184))/7)+parseInt(e(168))/8*(parseInt(e(186))/9)+parseInt(e(200))/10*(parseInt(e(141))/11)+-parseInt(e(139))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends Z.Plugin{static get[Vt(140)](){return Vt(164)}static get[Vt(165)](){return!0}static get[Vt(177)](){return!0}static get[Vt(188)](){return[rt]}[Vt(162)];[Vt(201)](){const t=Vt,e=this[t(169)],i=e[t(180)][t(171)](t(196));e.ui[t(174)][t(185)](t(195),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(202)][n(197)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(175)](n(136)).to(i,n(163),i,n(136),e,n(194),((t,e,i)=>t&&e&&!i)),r[n(148)][n(159)]({icon:dt.IconHistory,label:J(s,n(187)),tooltip:!0}),u[n(159)]({label:J(s,n(192)),withText:!0,role:n(166)}),u[n(175)](n(136)).to(i,n(163),i,n(136),e,n(194),((t,e,i)=>t&&e&&!i)),u.on(n(183),(()=>this[n(176)]())),h[n(159)]({label:J(s,n(147)),withText:!0,role:n(166)}),h[n(175)](n(136)).to(i,n(163),e,n(194),((t,e)=>t&&!e)),h.on(n(183),(()=>{const t=n;e[t(134)][t(171)](t(195))[t(138)](),r[t(151)]=!1,e[t(154)][t(161)][t(149)]()})),c[n(197)][n(185)](u),l[n(197)][n(185)](h),a[n(193)]=n(160),a[n(198)][n(143)]([c,l]),o[n(185)](a),r})),e.ui[t(174)][t(185)](t(145),(()=>this[t(172)]()))}[Vt(172)](){const t=Vt,e=this[t(169)],i=e[t(142)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(148)][t(159)]({icon:dt.IconHistory,label:J(i,t(187))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(159)]({label:J(i,t(192))}),o[t(199)](t(183)).to(s),o.on(t(183),(()=>{this[t(176)]()})),r[t(197)][t(185)](o),n[t(198)][t(185)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(159)]({label:J(i,t(147))}),c[t(199)](t(183)).to(s),c.on(t(183),(()=>{const i=t;e[i(134)][i(171)](i(195))[i(138)]()})),a[t(197)][t(185)](c),n[t(198)][t(185)](a),s[t(202)][t(197)][t(185)](n),s}[Vt(176)](){const t=Vt,e=this[t(169)],i=e[t(142)],s=e[t(180)][t(171)](t(173)),n=e[t(180)][t(171)](t(196));function r(n){const r=t;e[r(134)][r(171)](r(191))&&""===n[r(157)]?n[r(182)][r(178)]=J(i,r(190)):(e[r(180)][r(171)](rt)[r(152)]({name:n[r(157)]}),s[r(146)]())}this[t(162)]||(this[t(179)](),this[t(162)].on(t(167),(()=>r(this[t(162)])))),this[t(162)][t(158)](),s[t(189)]({id:t(170),title:J(i,t(192)),isModal:!0,content:this[t(162)],actionButtons:[{label:J(e[t(142)],t(203)),withText:!0,onExecute:()=>s[t(146)]()},{label:J(e[t(142)],t(137)),class:t(181),withText:!0,onCreate(i){const s=t;i[s(175)](s(136)).to(n,s(163),n,s(136),e,s(194),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(162)])}]})}[Vt(179)](){const t=Vt,e=this[t(169)],i=e[t(142)];this[t(162)]=new Et(i,e[t(134)][t(171)](t(191))),this[t(162)][t(144)]()}}const Ft=jt;function jt(t,e){const i=Lt();return(jt=function(t,e){return i[t-=265]})(t,e)}function Lt(){const t=["7021182BiYSWf","Suggested by","focus","type","169434zgitTl","Removed by","isSuggestion","span","500604cFjBtz","4396voWZIw","element","bindTemplate","author","_model","add","set","2137994RroxUT","ck-revision-change__","ck-annotation","ck-revision-change","865OPkafn","changeId","ck-revision-change__label","div","Added by","data","621731LtLRwL","776nwLXXH","name","setTemplate","6661470nQJZHF"];return(Lt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(914642===parseInt(e(276))/1+-parseInt(e(266))/2+-parseInt(e(289))/3+-parseInt(e(290))/4*(parseInt(e(270))/5)+-parseInt(e(280))/6+parseInt(e(281))/7+parseInt(e(277))/8*(parseInt(e(285))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[Ft(271)];[Ft(294)];constructor(t,e){const i=Ft;super(t),this[i(294)]=e,this[i(271)]=e.id;const s=this[i(292)],n=J(t,e[i(275)][i(287)]?i(282):i(295)==e[i(284)]?i(274):i(286));this[i(265)](i(284),e[i(284)]),this[i(279)]({tag:i(273),attributes:{class:[i(268),i(269),s.to(i(284),(t=>i(267)+t))],tabindex:-1},children:[{tag:i(288),children:[{tag:i(288),attributes:{class:[i(272)]},children:[{text:n}]},{text:" "+e[i(293)][i(278)]}]}]})}[Ft(283)](){const t=Ft;this[t(291)][t(283)]()}}var zt=Wt;function Wt(t,e){var i=Ut();return(Wt=function(t,e){return i[t-=368]})(t,e)}!function(t){for(var e=Wt,i=t();;)try{if(402575===parseInt(e(373))/1+parseInt(e(380))/2+parseInt(e(385))/3*(parseInt(e(375))/4)+-parseInt(e(377))/5*(-parseInt(e(371))/6)+-parseInt(e(370))/7*(parseInt(e(376))/8)+-parseInt(e(368))/9+-parseInt(e(372))/10*(parseInt(e(383))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[zt(381)];[zt(374)];[zt(382)];[zt(384)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(381)]=e[i(381)],this[i(374)]=e[i(374)],this[i(382)]=e[i(382)]||{},this[i(384)]=e[i(384)],this[i(379)](i(369),e[i(369)])}[zt(378)](){var t=zt;return{id:this.id,authorId:this[t(381)].id,type:this[t(374)],data:this[t(382)],createdAt:this[t(369)]}}}function Ut(){var t=["348130Wwkyti","250148SYNniE","type","8XPzqrJ","4589960MXYHDm","3810VJIEhw","toJSON","set","1322518eGJAPF","author","data","143ixPNQo","rootName","432597jaxVWh","359118MaCPFG","createdAt","7rUeIvu","2118FBgrwP"];return(Ut=function(){return t})()}const Ht=$t;function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=472]})(t,e)}function qt(){const t=["_setChanges","9440523VtOJuO","8993320tVEqWC","add","923031LcfXyN","4uwJNBh","changes","2746122avlYNu","559660QjozjH","2552616sFpyty","oldRevisionId","1882864yNEgQn","newRevisionId","5DIfftz"];return(qt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(680364===-parseInt(e(479))/1+parseInt(e(476))/2*(parseInt(e(475))/3)+parseInt(e(480))/4+-parseInt(e(484))/5*(-parseInt(e(478))/6)+-parseInt(e(473))/7+-parseInt(e(482))/8+parseInt(e(472))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(483)];[Ht(481)];[Ht(477)];constructor(e,i){const s=Ht;this[s(483)]=e,this[s(481)]=i,this[s(477)]=new t.Collection}[Ht(485)](t){const e=Ht;for(const i of t)this[e(477)][e(474)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=242]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(512776===parseInt(e(382))/1*(parseInt(e(280))/2)+-parseInt(e(472))/3*(parseInt(e(544))/4)+-parseInt(e(438))/5*(parseInt(e(548))/6)+parseInt(e(539))/7+parseInt(e(431))/8+parseInt(e(457))/9*(parseInt(e(301))/10)+-parseInt(e(494))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Qt extends Z.Plugin{[Gt(379)];[Gt(297)];[Gt(481)];[Gt(487)];[Gt(289)];[Gt(484)];static get[Gt(287)](){return Gt(321)}static get[Gt(270)](){return!0}static get[Gt(463)](){return!0}static get[Gt(564)](){return[U.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(379)]=this[e(394)][e(522)][e(375)](e(387)),this[e(420)](e(471),null),this[e(420)](e(536),null),this[e(481)]=null,this[e(420)](e(444),null),this[e(420)](e(400),!1),this[e(420)](e(478),!0),this.on(e(336),((t,i,s)=>{const n=e;this[n(471)]=null,this[n(536)]=null,this[n(394)][n(395)][n(374)][n(341)]((t=>{const e=n;for(const i of this[e(394)][e(395)][e(374)][e(337)][e(265)])s?t[e(352)](e(578),i):t[e(391)](e(578),i)}))})),this[e(528)](e(329)).to(this,e(471),(t=>null!==t)),this[e(528)](e(461)).to(this,e(400),this,e(444),this,e(471),((t,i,s)=>t&&s?i[e(258)][e(430)](s):0)),this[e(528)](e(418)).to(this,e(400),this,e(444),((t,i)=>t?i[e(258)][e(396)]:0)),this[e(487)]=null,this[e(289)]=new Map,this[e(297)]=null,this[e(484)]=this[e(394)][e(522)][e(375)](ft.ContextualBalloon)}[Gt(410)](){const t=Gt,e=this[t(394)],i=new se(e,{direction:t(524)}),s=new se(e,{direction:t(292)});e[t(551)][t(360)](t(433),i),e[t(551)][t(360)](t(555),s),e[t(551)][t(360)](t(271),new ie(e)),this.on(t(362),(()=>{const e=t;i[e(381)](),s[e(381)]()})),this[t(283)](),this[t(485)](),e[t(518)](t(332)),e[t(522)][t(503)](t(574))&&e[t(522)][t(375)](t(574))[t(291)](t(332))}async[Gt(359)](t){const e=Gt;await this[e(535)](t);const i={};for(const s in t[e(401)]){if(t[e(401)][s][e(562)]&&!t[e(401)][s][e(562)][e(276)])continue;const n=this[e(549)](JSON[e(507)](t[e(401)][s][e(383)])),r=this[e(394)][e(395)][e(374)][e(337)],o=new H.ViewDocumentFragment(r,n[e(312)]((t=>this[e(545)](t))));this[e(394)][e(511)][e(435)][e(508)](e(454)),i[s]=this[e(394)][e(511)][e(435)][e(495)](o),this[e(394)][e(511)][e(435)][e(508)](e(380))}return i}async[Gt(470)](t){const e=Gt;await this[e(535)](t);const i={};for(const s in t[e(401)])t[e(401)][s][e(562)]&&!t[e(401)][s][e(562)][e(276)]||(i[s]=t[e(401)][s][e(242)]||{});return i}[Gt(549)](t){const e=Gt;return(t=t[e(340)]((t=>!t[e(263)]||e(295)!==t[e(263)]&&e(452)!==t[e(263)])))[e(266)]((t=>{const i=e;i(473)!=typeof t&&(t[i(483)]=this[i(549)](t[i(483)]),t[i(346)]=t[i(346)][i(340)]((t=>!t[0][i(437)](i(540)))))})),t}async[Gt(491)](t,e,i=!1){const s=Gt;if(!this[s(478)])return;const n=this[s(444)],r=this[s(379)],o=s(473)==typeof t?r[s(281)](t):t,a=s(473)==typeof e?r[s(281)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(444)]&&this[s(444)][s(486)]===c&&this[s(444)][s(248)]===u)return Promise[s(531)]();this[s(400)]=!1,this[s(536)]=null,this[s(471)]=null,this[s(444)]=new Bt(c,u);const l=this[s(571)](o,a,!0)[s(312)]((t=>this[s(535)](t)));return l[s(475)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(259)](l)[s(316)]((()=>{const t=s;if(!this[t(478)])return;this[t(392)]();const e=this[t(520)](c,u);for(const i of e[t(258)])this[t(289)][t(420)](i.id,i);this[t(394)][t(327)][t(460)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(394)][s(327)][s(337)][s(533)]())i[s(302)](t);for(const t of Object[s(428)](e[s(327)])){const n=i[s(561)](t);for(const r of Object[s(428)](e[s(346)][t]))i[s(325)](r,e[s(346)][t][r],n);i[s(404)](e[s(327)][t],n,0)}})),this[t(444)][t(496)](this[t(264)](e[t(258)])),this[t(400)]=!0}))[s(345)]((t=>{const e=s;console[e(290)](t),this[e(392)](),n&&(this[e(444)]=n),this[e(400)]=!0}))}[Gt(354)](t,e){const i=Gt,s=this[i(379)][i(358)](t);return s.on(i(348),((t,i,n)=>e(i,n,s))),this[i(379)][i(492)](s),s}[Gt(535)](t){const e=Gt;if(!t||t[e(401)])return Promise[e(531)]();{const i=this[e(394)][e(447)][e(375)](e(254));return this[e(297)][e(281)]({channelId:i,revisionId:t.id})[e(316)]((i=>{const s=e;t[s(348)]({diffData:i[s(401)]},!0)}))}}[Gt(392)](){const t=Gt;this[t(471)]=null,this[t(315)](),this[t(487)]&&this[t(487)][t(570)](),this[t(487)]=null,this[t(289)][t(498)](),this[t(394)][t(327)][t(460)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(394)][i(327)][i(337)][i(533)]())e[i(302)](t)}))}[Gt(264)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(394)][e(327)][e(337)][e(533)]()){const n=this[e(394)][e(395)][e(374)][e(542)](t);if(!n)continue;const r=n[e(448)]()[e(514)](0);r&&(i[e(475)](t),s[e(420)](t,r))}return i[e(243)](((t,i)=>{const n=e,r=s[n(375)](t),o=s[n(375)](i);return r.y-o.y||r.x-o.x})),(t=t[e(340)]((t=>i[e(299)](t[e(419)]))))[e(243)](((t,s)=>i[e(349)](t[e(419)])-i[e(349)](s[e(419)]))),t}[Gt(269)](t){const e=Gt,i=Array[e(434)](t[e(393)])[e(340)]((([t,i])=>t[e(437)](e(275))&&!i[e(376)])),s=Array[e(434)](this[e(394)][e(327)][e(357)](t)[e(274)]({singleCharacters:!0}));if(0!=i[e(396)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(468)](":");if(n[e(378)][e(497)](t[e(373)])&&i[e(467)](),(t[e(314)][e(497)](n[e(506)])||t[e(314)][e(479)](n[e(506)]))&&(e(488)==r?t[e(423)]={userId:o}:e(277)==r&&(t[e(363)]={userId:o})),0==i[e(396)])break}return s}[Gt(502)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(396)];s++)e(247)===t[s][e(563)]?(t[s][e(514)][e(552)]=s,t[s][e(514)][e(350)]=s):(e(519)===t[s][e(563)]?t[s][e(514)][e(552)]=s:e(443)===t[s][e(563)]&&(t[s][e(514)][e(350)]=s),i[e(420)](t[s].id,s));for(const s of i[e(330)]())e(519)===t[s][e(563)]?t[s][e(514)][e(350)]=i[e(375)](t[s][e(353)]):e(443)===t[s][e(563)]&&(t[s][e(514)][e(552)]=i[e(375)](t[s][e(353)]))}[Gt(558)](t){const e=Gt;for(let i=0;i<t[e(396)];i++){if(e(519)===t[i][e(563)])t[i][e(514)][e(552)]=i;else if(e(443)===t[i][e(563)]){t[i][e(514)][e(350)]=i;const s=t[i][e(514)][e(552)];t[s][e(353)]=t[i].id,t[i][e(353)]=t[s].id}else t[i][e(514)][e(552)]=i,t[i][e(514)][e(350)]=i,t[i][e(353)]=null;t[i][e(541)]||(t[i][e(541)]=[],t[i][e(260)]=[])}}[Gt(399)](t,e){const i=Gt,s=t[i(340)]((t=>!t[i(423)]));for(let t=0;t<e[i(396)];t++)e[t][i(423)]&&(s[t][i(423)]=e[t][i(423)])}[Gt(440)](t){const e=Gt,i=JSON[e(507)](t),s=this[e(394)][e(395)][e(374)][e(337)],n=new H.ViewDocumentFragment(s,i[e(312)]((t=>this[e(545)](t))));return this[e(394)][e(511)][e(326)](n)}[Gt(545)](t){const e=Gt,i=this[e(394)][e(395)][e(374)][e(337)];if(e(473)==typeof t)return new H.ViewText(i,t);{const s=t[e(483)][e(312)]((t=>this[e(545)](t)));return new(Xt[t[e(563)]]||H.ViewElement)(i,t[e(263)],t[e(346)],s)}}[Gt(520)](t,e=null){const i=Gt,s=this[i(379)][i(281)](t),n=e?this[i(379)][i(281)](e):null,r=this[i(571)](s,n),o=r[r[i(396)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(396)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(428)](e[i(401)]))if(e[i(401)][t][i(562)]){const s=e[i(401)][t][i(562)];s[i(276)]?(u[i(360)](t),l[i(503)](t)&&l[i(375)](t)[i(547)]==s[i(547)]?l[i(300)](t):l[i(420)](t,s)):l[i(503)](t)?(u[i(300)](t),l[i(300)](t)):(u[i(360)](t),l[i(420)](t,s))}else u[i(360)](t)}for(const t of u){const e=l[i(503)](t)&&!l[i(375)](t)[i(276)];let s=e?r[i(396)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(401)][t]){const s=e?o[i(401)][t][i(250)]:o[i(401)][t][i(242)];c[i(346)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(327)]={};for(const e of t[i(405)])a[i(420)](e.id,e);for(const e of u){const s=t[i(401)][e]?t[i(401)][e][i(383)]:"[]",n=t[i(401)][e]?t[i(401)][e][i(342)]:"[]";t[i(327)][e]={insertions:this[i(440)](s),deletions:this[i(440)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(434)](s[i(327)][t][i(383)][i(393)])[i(340)]((([t])=>!t[i(437)](i(275)))));let h=0;for(const o of r){const r=this[i(269)](o[i(327)][t][i(383)]);o==s?(e=r,n=e[i(396)],e[i(266)]((t=>{t.id=h++})),this[i(558)](e)):this[i(399)](e,r);const a=e[i(340)]((t=>!t[i(423)]))[i(312)]((t=>t.id));let c=0;const l=this[i(269)](o[i(327)][t][i(342)]);l[i(266)]((t=>{t[i(363)]?t.id=n++:t.id=a[c++]})),this[i(558)](l),this[i(480)](e,i(423)),this[i(480)](l,i(363)),o==s&&this[i(575)](e,u),e=this[i(501)](e,l),this[i(502)](e),this[i(480)](e,i(363))}e=e[i(340)]((t=>!(t[i(423)]&&t[i(363)])));const d=new Map(o[i(327)][t][i(342)][i(393)]),f=new Set(u[i(428)]());for(const t of d[i(428)]())f[i(300)](t);this[i(261)](e,f),this[i(255)](e),e=this[i(436)](e),e=this[i(408)](e),e=this[i(407)](e);const{root:m,changes:p}=this[i(510)](e,a,t);c[i(327)][t]=m;const v=l[i(375)](t);if(v){const e=a[i(375)](v[i(547)]),s=new Zt({author:e,type:v[i(276)]?i(360):i(426),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(512)](s),c[i(346)][t][i(318)]=s.id}c[i(258)]=c[i(258)][i(573)](p)}return c}[Gt(575)](t,e){const i=Gt;for(let s=0;s<t[i(396)];s++)for(const[n,r]of e)r[i(506)][i(497)](t[s][i(314)])&&t[s][i(541)][i(475)](n),r[i(378)][i(497)](t[s][i(373)])&&t[s][i(260)][i(475)](n)}[Gt(501)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(396)]||r<e[i(396)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(475)](o);else if(a[i(363)]&&o[i(423)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(286)](t,n,e,r);s=s[i(573)](o),n=a,r=c}else a[i(363)]?(r++,s[i(475)](a)):(n++,s[i(475)](o))}return s}[Gt(261)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(396)];o++){for(let r=0;r<t[o][i(541)][i(396)];r++){const a=t[o][i(541)][r];if(!e[i(503)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(372)!=c||i(488)!=u&&i(277)!=u||(s[i(512)]({type:u,name:a,userId:l}),t[o][i(541)][i(466)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(260)][i(396)];r++){const a=t[o][i(260)][r];if(!e[i(503)](a))continue;const{group:c,type:u}=n(a);if(i(372)!=c||i(488)!=u&&i(277)!=u)continue;t[o][i(260)][i(466)](r,1),r--;const l=s[i(403)]((t=>t[i(263)]==a));l>-1&&s[i(466)](l,1)}}function n(t){const e=i,s=t[e(468)](":");return{group:s[0],type:s[1],subType:s[e(396)]>=5?s[2]:null,id:s[e(396)]<5?s[2]:s[3],authorId:s[e(396)]<5?s[3]:s[4],markerCount:6==s[e(396)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(396)];i++){if(t[e(423)]&&e(488)==s[i][e(563)])return t[e(324)]=s[i],void delete t[e(423)];if(!t[e(423)]&&!t[e(363)]&&e(277)==s[i][e(563)])return void(t[e(516)]=s[i])}}}[Gt(480)](t,e){const i=Gt;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(420)](o.id,s);for(let s=0;s<t[i(396)];s++){if(i(363)==e&&t[s][i(423)]||i(423)==e&&t[s][i(363)])continue;if(i(247)==t[s][i(563)]){t[s][i(414)]=0;continue}const n=r[i(375)](t[s][i(353)]),o=r[i(375)](t[s].id);t[s][i(414)]=n-o}}[Gt(571)](t,e,i=!1){const s=Gt,n=[];let r=this[s(379)][s(430)](t),o=this[s(379)][s(430)](e);for(-1==o&&(o=this[s(379)][s(367)][s(396)],i=!1);r<o;)n[s(475)](this[s(379)][s(281)](r)),r++;return i&&n[s(475)](this[s(379)][s(281)](r)),n}[Gt(286)](t,e,i,s){const n=Gt,r=this[n(394)][n(327)][n(252)];let o=e;for(;t[o]&&t[o][n(423)];)o++;let a=s;for(;i[a]&&i[a][n(363)];)a++;u(t,e,o),u(i,s,a);const c=i[n(413)](s,a)[n(573)](t[n(413)](e,o));return c[n(243)](((t,e)=>t[n(450)]!=e[n(450)]?t[n(450)]-e[n(450)]:t[n(256)]!=e[n(256)]?t[n(256)]-e[n(256)]:t[n(414)]!=e[n(414)]?e[n(414)]-t[n(414)]:!!t[n(423)]!=!!e[n(423)]?-1==t[n(450)]||0==t[n(450)]?t[n(423)]?-1:1:t[n(423)]?1:-1:t[n(309)]-e[n(309)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(527)],c=!0;for(let n=e;n<i;n++)if(r[s(355)](t[n][s(514)])||(c=!1),t[n][s(514)][s(552)]<e&&(o=n),t[n][s(514)][s(350)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(450)]=n<=o?-1:n<a?0:1,t[n][s(309)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(414)]?t[i][s(256)]=u:(u++,t[i][s(256)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(450)]&&(t[n][s(256)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(414)]?t[e][s(256)]=u:(u--,t[e][s(256)]=u,u--)}}[Gt(255)](t){const e=Gt,i=new Map,s=this[e(394)][e(327)][e(252)];for(let n=1;n<t[e(396)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(247)==c[e(563)])continue;if(c[e(563)]!=u[e(563)])continue;if(!s[e(439)](u[e(514)])||s[e(262)](u[e(514)]))continue;if(!s[e(439)](c[e(514)])||s[e(262)](c[e(514)]))continue;if((t[n][e(423)]||t[n][e(324)])&&t[n-1][e(363)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(363)]||!t[n-1][e(423)]&&!t[n-1][e(324)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(256)]==o[e(256)],h=Math[e(515)](r[e(256)])<Math[e(515)](o[e(256)])&&0==o[e(414)];(l||h)&&(i[e(420)](o.id,r.id),t[e(466)](a,1),n--,r[e(423)]=!1)}for(let s=0;s<t[e(396)];s++)i[e(503)](t[s][e(353)])&&(t[s][e(353)]=i[e(375)](t[s][e(353)]))}[Gt(436)](t){const e=Gt,i=new Set(t[e(312)]((t=>t.id)));for(let s=0;s<t[e(396)];s++)i[e(503)](t[s][e(353)])||0==t[s][e(414)]||(t[s][e(370)]=!0);return t[e(340)]((t=>!t[e(370)]))}[Gt(408)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(396)];s++){if(i[e(503)](t[s].id)&&t[s][e(363)]&&(t[s][e(370)]=!0),t[s][e(370)])continue;if(0==t[s][e(414)])continue;if(e(519)!=t[s][e(563)])continue;if(null==t[s][e(353)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(353)];)e(519)==t[n][e(563)]?r++:e(443)==t[n][e(563)]&&r--,n++;if(0!=r)if(t[s][e(363)])t[s][e(370)]=!0;else for(;n!=s;)t[n][e(363)]&&0!=t[n][e(414)]&&(t[n][e(370)]=!0,i[e(360)](t[n][e(353)])),n--}return t[e(340)]((t=>!t[e(370)]))}[Gt(407)](t){const e=Gt,i=this[e(394)][e(327)][e(252)];for(let s=0;s<t[e(396)];s++){if(!(t[s][e(423)]||t[s][e(324)]||t[s][e(363)]||t[s][e(516)]))continue;if(0==t[s][e(414)])continue;const n=t[s][e(514)];i[e(439)](n)||i[e(262)](n)||(t[s][e(423)]&&delete t[s][e(423)],t[s][e(324)]&&delete t[s][e(324)],t[s][e(516)]&&delete t[s][e(516)],t[s][e(363)]&&(t[s][e(370)]=!0))}return t[e(340)]((t=>!t[e(370)]))}[Gt(510)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(394)][s(327)],c=a[s(252)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(396)];e++)if(s(519)===t[e][s(563)]){t[e][s(314)]=a[s(303)](n,f);const i=new H.Element(t[e][s(514)][s(263)],t[e][s(514)][s(267)]());u[0][s(509)](i),f[s(475)](0),u[s(512)](i),t[e][s(373)]=a[s(303)](n,f)}else s(443)===t[e][s(563)]?(u[s(467)](),t[e][s(314)]=a[s(303)](n,f),f[s(505)](),f[f[s(396)]-1]++,t[e][s(373)]=a[s(303)](n,f)):(t[e][s(314)]=a[s(303)](n,f),d?d[s(331)]+=t[e][s(514)][s(511)]:d=new H.Text(t[e][s(514)][s(511)],t[e][s(514)][s(267)]()),t[e+1]&&s(247)===t[e+1][s(563)]&&v(d,t[e+1][s(514)])||(u[0][s(509)](d),d=null),f[f[s(396)]-1]+=t[e][s(514)][s(344)],t[e][s(373)]=a[s(303)](n,f));for(let e=0;e<t[s(396)];e++){const i=t[e][s(314)],n=t[e][s(373)];for(const n of t[e][s(541)])o[s(420)](n,{start:i,end:null});m(s(516),e,i,n),m(s(324),e,i,n),m(s(363),e,i,n),m(s(423),e,i,n);for(const i of t[e][s(260)])o[s(375)](i)[s(378)]=n}for(const[t,e]of o){const i=this[s(394)][s(327)][s(371)](e[s(506)],e[s(378)]);n[s(393)][s(420)](t,i)}return r[s(243)](((t,e)=>{const i=s,r=n[i(393)][i(375)](i(275)+t.id),o=n[i(393)][i(375)](i(275)+e.id);return r[i(506)][i(249)](o[i(506)])?-1:r[i(506)][i(479)](o[i(506)])?1:r[i(378)][i(249)](o[i(378)])?-1:r[i(378)][i(479)](o[i(378)])?1:i(360)===t[i(563)]?-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(547)]:null,d=i===t[o(396)]-1,f=h[e][0],m=c[o(534)](t[i][o(514)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(378)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(547)]!==u&&(l[e][o(378)]=n,f&&f[o(547)]===l[e][o(547)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(519)!==t[i][o(563)]||f&&f[o(547)]===u||h[e][o(512)]({userId:u,object:t[i][o(514)],change:l[e]}),o(443)===t[i][o(563)]&&f&&f[o(579)]===t[i][o(514)]&&(h[e][o(467)](),l[e]=f[o(341)])),l[e]&&d&&(l[e][o(378)]=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(514)],f=a[h(252)][h(439)](d)&&!a[h(252)][h(262)](d),m=t[h(338)]==o[h(493)]&&o[h(464)];if(f&&m)return;const p=a[h(371)](t,o),v=e[h(375)](u),g=new Zt({author:v,type:h(423)==l||h(324)==l?h(360):h(426),data:{isSuggestion:h(324)==l||h(516)==l},createdAt:new Date,rootName:i});r[h(475)](g),n[h(393)][h(420)](h(275)+g.id,p)}function v(t,e){const i=s,n=t[i(267)](),r=e[i(267)]();for(const t of n){if(t[1]!==e[i(296)](t[0]))return!1;r[i(253)]()}return r[i(253)]()[i(308)]}}[Gt(283)](){const t=Gt;this[t(394)][t(465)][t(521)](t(313))[t(567)]({view:t(543)}),this[t(394)][t(465)][t(521)](t(427))[t(513)]({model:t(543),view:e=>{const i=t,s=e[i(424)][i(468)](":")[1],n=this[i(364)](s);if(!n)return null;const r=i(360)==n[i(563)]?i(488):i(277),o=[i(546),i(554)+r];return n[i(511)][i(412)]&&o[i(475)](i(554)+r+i(282)),this[i(471)]==n&&o[i(475)](i(369)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(394)][t(465)][t(521)](t(313))[t(360)]((e=>{const i=t;e.on(i(560),((t,e,s)=>{const n=i,r=e[n(257)][n(568)](0);if(!r||!r.is(n(576),n(365)))return;if(!s[n(453)][n(530)](r,{attributes:[n(476),n(307)]}))return;const o=e[n(245)][n(506)][n(338)];s[n(285)][n(325)](n(476),r[n(296)](n(476)),o),s[n(285)][n(325)](n(307),r[n(296)](n(307)),o)}),{priority:i(580)})})),this[t(394)][t(465)][t(521)](t(313))[t(360)]((e=>{const i=t;e.on(i(576),((t,e,s)=>{const n=i;if(!s[n(453)][n(530)](e[n(257)],{attributes:[n(476),n(307)]}))return;if(e[n(245)][n(376)])return;const r=e[n(245)][n(506)][n(338)];r[n(384)](n(476))||r[n(384)](n(517))||(s[n(285)][n(325)](n(476),e[n(257)][n(296)](n(476)),r),s[n(285)][n(325)](n(307),e[n(257)][n(296)](n(307)),r))}),{priority:i(580)})})),this[t(394)][t(465)][t(521)](t(313))[t(284)]({view:{name:t(526),attributes:{vid:!0}},model:{key:t(517),value:e=>e[t(296)](t(517))}}),this[t(394)][t(327)][t(252)].on(t(504),((e,[,i])=>{const s=t;[s(476),s(307),s(517)][s(299)](i)&&(e[s(529)]=!0,e[s(335)]())}),{priority:t(334)}),this[t(394)][t(465)][t(521)](t(462))[t(360)]((e=>{const i=t;e.on(i(577),((t,e,s)=>{const n=i;if(" "!=e[n(514)][n(511)]||e[n(514)][n(493)][n(366)]>1)return;if(!s[n(453)][n(530)](e[n(514)],t[n(263)]))return;const r=s[n(285)],o=s[n(294)][n(553)](e[n(306)]);r[n(333)](o,r[n(537)](n(526)))}))})),this[t(394)][t(465)][t(521)](t(462))[t(572)]({model:t(543)}),this[t(394)][t(395)][t(411)].on(t(451),function(e){const i=t,s=e[i(522)][i(375)](i(321));return(t,n,r)=>{const o=i,a=n[o(424)][o(468)](":")[1],c=s[o(364)](a);if(!c)return null;const u=o(360)==c[o(563)]?o(468):o(293);if(!r[o(453)][o(328)](n[o(523)],t[o(263)]))return;const l=n[o(523)][o(274)](),h=n[o(523)][o(506)],d=e[o(327)][o(252)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(514)];p=p||d[o(322)](e);const i=r[o(294)][o(456)](e);if(i&&i[o(416)](o(499)))return;o(443)==t[o(563)]&&d[o(439)](e)&&!d[o(262)](e)&&(e[o(298)]||h[o(442)]?f&&f[o(493)]==e||(f=e,g(t[o(314)]),v=!0):m=m||t[o(314)])}function g(t){const e=o,i=r[e(285)][e(500)](e(526),{class:e(554)+u}),a=r[e(294)][e(347)](t);c[e(511)][e(412)]&&r[e(285)][e(391)](e(554)+u+e(282),i),s[e(471)]==c&&r[e(285)][e(391)](e(369),i),r[e(285)][e(404)](a,i),r[e(294)][e(550)](i,n[e(424)])}p||v||!m||g(m)}}(this[t(394)]),{priority:t(343)}),this[t(394)][t(395)][t(411)].on(t(317),((e,i,s)=>{const n=t,r=s[n(294)][n(559)](i[n(424)]);if(r)for(const t of r)(t[n(351)](n(446))||t[n(351)](n(538)))&&(s[n(294)][n(459)](t,i[n(424)]),s[n(285)][n(426)](t))}),{priority:t(343)}),this[t(394)][t(395)][t(411)].on(t(451),((e,i,s)=>{const n=t,r=i[n(424)][n(468)](":")[1],o=this[n(364)](r);if(!o)return null;const a=n(360)==o[n(563)]?n(468):n(293);if(s[n(453)][n(328)](i[n(523)],e[n(263)]))for(const t of i[n(523)][n(244)]()){if(!t.is(n(576),n(361)))continue;const e=s[n(285)][n(500)](n(526),{class:n(554)+a}),r=s[n(294)][n(347)](this[n(394)][n(327)][n(273)](t));o[n(511)][n(412)]&&s[n(285)][n(391)](n(554)+a+n(282),e),this[n(471)]==o&&s[n(285)][n(391)](n(369),e),s[n(285)][n(404)](r,e),s[n(294)][n(550)](e,i[n(424)])}}),{priority:t(343)}),this[t(394)][t(327)][t(337)].on(t(341),(()=>{const e=t;this[e(394)][e(395)][e(374)][e(341)]((t=>{const i=e;for(const e of this[i(394)][i(327)][i(337)][i(533)]()){const s=this[i(394)][i(327)][i(337)][i(490)](e),n=this[i(394)][i(395)][i(374)][i(337)][i(490)](e);if(n){const e=s[i(296)](i(318));if(t[i(288)](i(402),n),t[i(352)](i(458),n),t[i(352)](i(305),n),t[i(352)](i(390),n),e){const s=this[i(364)](e);if(!s)return null;t[i(325)](i(402),e,n),t[i(391)](i(356)+s[i(563)],n),this[i(471)]==s&&t[i(391)](i(390),n)}}}}))})),this[t(394)][t(465)][t(521)](t(313))[t(567)]({view:t(569),model:e=>t(565)+e,converterPriority:t(334)}),this[t(394)][t(465)][t(521)](t(313))[t(567)]({view:t(477),model:e=>t(422)+e,converterPriority:t(334)}),this[t(394)][t(465)][t(521)](t(462))[t(572)]({model:t(372),view:e=>({name:t(385)+e,group:t(372)}),converterPriority:t(334)}),this[t(394)][t(465)][t(521)](t(427))[t(513)]({model:t(372),view:e=>{const i=t,s=e[i(424)][i(468)](":")[1];return i(488)!=s&&i(277)!=s?null:{classes:[i(377),i(246)+s]}}}),this[t(394)][t(395)][t(411)].on(t(429),te(this[t(394)],t(293)),{priority:t(343)}),this[t(394)][t(395)][t(411)].on(t(455),te(this[t(394)],t(468)),{priority:t(343)}),this[t(394)][t(395)][t(411)].on(t(445),((e,i,s)=>{const n=t,r=s[n(294)][n(559)](i[n(424)]);if(r)for(const t of r)t.is(n(389))&&(s[n(294)][n(459)](t,i[n(424)]),s[n(285)][n(426)](t))}),{priority:t(343)})}[Gt(364)](t){const e=Gt;return this[e(289)][e(375)](t)}[Gt(482)](t){const e=Gt;return this[e(487)]&&this[e(487)][e(570)](),this[e(487)]=new Pt(this[e(394)][e(368)],t),this[e(487)]}[Gt(485)](){const t=Gt;this[t(394)][t(327)][t(337)][t(304)][t(388)](t(543)),this.on(t(474),((e,i,s,n)=>{const r=t;n&&this[r(484)][r(426)](n),s&&(this[r(484)][r(360)]({view:s,stackId:r(489),position:{target:()=>{const t=r,e=this[t(394)][t(395)],i=this[t(364)](s[t(566)]);let n;if(i[t(511)][t(469)]){const s=e[t(374)][t(542)](i[t(419)]);n=Array[t(434)](s[t(448)]())}else{const i=this[t(394)][t(327)][t(393)][t(375)](t(275)+s[t(566)]);n=Array[t(434)](e[t(294)][t(559)](i[t(263)]))[t(312)]((i=>e[t(374)][t(441)][t(449)](i)))[t(312)]((e=>Array[t(434)](e[t(448)]())))[t(406)]()}return this[t(481)]&&n[t(278)]((e=>e[t(251)]-3<=this[t(481)].y&&e[t(409)]+3>=this[t(481)].y&&e[t(525)]-3<=this[t(481)].x&&e[t(272)]+3>=this[t(481)].x))||n[0]}}}),this[r(484)][r(268)](r(489)))})),this.on(t(397),((e,i,s,n)=>{const r=t;this[r(536)]=s?this[r(482)](s):null,this[r(394)][r(327)][r(341)]((()=>{const t=r,e=this[t(394)][t(395)];n&&(n[t(511)][t(469)]?e[t(374)][t(341)]((i=>{const s=t;i[s(352)](s(390),e[s(374)][s(337)][s(490)](n[s(419)]))})):e[t(432)](t(275)+n.id)),s&&(s[t(511)][t(469)]?e[t(374)][t(341)]((i=>{const n=t;i[n(391)](n(390),e[n(374)][n(337)][n(490)](s[n(419)]))})):e[t(432)](t(275)+s.id))}))})),this[t(311)](this[t(394)][t(395)][t(374)][t(337)],t(425),((e,i)=>{const s=t;if(this[s(471)])return;const n=this[s(532)](i[s(415)]),r=this[s(289)][s(375)](n);r?(this[s(481)]={x:i[s(339)].x,y:i[s(339)].y},this[s(536)]=this[s(482)](r)):(this[s(481)]=null,this[s(536)]=null)})),this[t(311)](this[t(394)][t(395)][t(374)][t(337)],t(417),((e,i)=>{const s=t,n=this[s(532)](i[s(415)]),r=this[s(289)][s(375)](n);r?(this[s(481)]={x:i[s(339)].x,y:i[s(339)].y},r===this[s(471)]?this[s(484)][s(310)]():this[s(471)]=r):(this[s(481)]=null,this[s(471)]=null)}))}[Gt(532)](t){const e=Gt;do{const i=t[e(296)](e(402));if(i)return i;t=t[e(493)]}while(t);return null}[Gt(315)](){const t=Gt;this[t(394)][t(327)][t(341)]((e=>{const i=t;for(const t of this[i(394)][i(327)][i(393)])e[i(279)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(453)][r(328)](s[r(523)],i[r(263)]))return;const o=s[r(523)][r(274)](),a=s[r(523)][r(506)],c=t[r(327)][r(252)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(514)];h=h||c[r(322)](e);const i=n[r(294)][r(456)](e);if(i&&i[r(416)](r(499)))return;r(443)==t[r(563)]&&c[r(439)](e)&&!c[r(262)](e)&&(e[r(298)]||a[r(442)]?u&&u[r(493)]==e||(u=e,f(t[r(314)]),d=!0):l=l||t[r(314)])}function f(t){const i=r,o=n[i(294)][i(347)](t),a=n[i(285)][i(500)](i(526),{class:i(246)+e});n[i(285)][i(404)](o,a),n[i(294)][i(550)](a,s[i(424)])}h||d||!l||f(l)}}function ee(){const t=["createUIElement","_joinTapes","_refreshStartEndIndex","has","checkAttribute","pop","start","parse","useFillerType","_appendChild","_makeModelFromTape","data","unshift","markerToHighlight","item","abs","isRemoveSuggestion","vid","enableReadOnlyMode","elementStart","_getDiff","for","plugins","markerRange","backward","left","span","POSITIVE_INFINITY","bind","return","consume","resolve","_findChangeIdFromDomTarget","getRootNames","isObject","loadRevisionData","activeView","createAttributeElement","ck-suggestion-marker-merge","809347JYLeRz","data-revision-","markersStart","getDomRoot","revision","924iJYGlU","_getViewObj","ck-suggestion-marker","userId","2136MjTBVY","_removeRevisionMarkers","bindElementToMarker","commands","startIndex","toViewRange","ck-suggestion-marker-","showNextChange","_step","affectsData","_processTape","markerNameToElements","element:pre","addRoot","attachChange","type","requires","revision-comment:","changeId","dataToMarker","getChild","comment","destroy","_getRevisionsRange","markerToData","concat","WidgetToolbarRepository","_markMarkers","element","attribute:vid","ck-editor__editable__overlay","object","low","attributesAfter","sort","getItems","modelRange","ck-suggestion-preview-marker-","text","oldRevisionId","isBefore","attributesBefore","top","schema","next","collaboration.channelId","_fixObsoleteTags","level","viewItem","changes","all","markersEnd","_markSuggestions","isLimit","name","_sortAndFilterDiffChanges","roots","forEach","getAttributes","showStack","_makeTape","isOfficialPlugin","restoreRevision","right","createPositionBefore","getWalker","revision:","isAttached","deletion","find","removeMarker","1773774YZJtwZ","getRevision","-new","_setConversion","elementToAttribute","writer","_threeWayMerge","pluginName","removeAttribute","_changeIdToChange","error","forceDisabled","forward","merge","mapper","revision-start","getAttribute","adapter","nextSibling","includes","delete","26840Kjprta","detachRoot","createPositionFromPath","selection","ck-revision-history-root-remove","range","vid_end","done","index","updatePosition","listenTo","map","upcast","previousPosition","_cleanMarkers","then","removeMarker:revision","revisionHistoryAttachChange","restoreRevisionCallback","first","RevisionViewer","isContent","getLaterVisibleRevision","isAddSuggestion","setAttribute","toModel","model","test","isNavigationMode","values","_data","revision-viewer","wrap","highest","stop","change:isEnabled","document","nodeAfter","domEvent","filter","change","deletions","high","offsetSize","catch","attributes","toViewPosition","_update","indexOf","endIndex","hasClass","removeClass","pairId","addRevisionData","isInline","ck-revision-history-root-","createRangeIn","createRevision","getRevisionData","add","softBreak","change:numberOfChanges","isRemoved","_getChangeFromId","code","maxOffset","_revisions","locale","ck-suggestion-marker--active","isIncorrect","createRange","revision-suggestion","nextPosition","view","get","isCollapsed","ck-suggestion-preview-marker","end","repository","default","refresh","1ZvnEAL","insertions","hasAttribute","suggestion:","execute","RevisionsRepository","observeMarkers","uiElement","ck-revision-history-root--active","addClass","_cleanUp","markers","editor","editing","length","change:activeChange","revisionHistory","_markInsertions","isReady","diffData","data-change-id","findIndex","insert","authors","flat","_removeUnsupportedChanges","_markMismatchedRemovedTags","bottom","init","downcastDispatcher","isSuggestion","slice","distance","target","getCustomProperty","mousedown","numberOfChanges","rootName","set","change:isReady","revision-suggestion:","isAdded","markerName","mouseover","remove","editingDowncast","keys","addMarker:revision-suggestion:deletion","getIndex","4455512OfFJWM","reconvertMarker","showPreviousChange","from","processor","_removeMissingPairs","startsWith","7895fQedSE","isBlock","_makeModelFromViewString","domConverter","isAtEnd","elementEnd","diff","removeMarker:revision-suggestion","ck-suggestion-marker-split","config","getClientRects","mapViewToDom","side","addMarker:revision","revision-end","consumable","marked","addMarker:revision-suggestion:insertion","toViewElement","927jvOXOd","ck-revision-history-root-add","unbindElementFromMarkerName","enqueueChange","currentChangeNumber","dataDowncast","isPremiumPlugin","isAtStart","conversion","splice","shift","split","isOnRoot","getRevisionRootsAttributes","activeChange","9zBfiHE","string","change:activeView","push","vid_start","suggestion","isEnabled","isAfter","_setDistance","_activeViewTarget","_getViewForChange","children","_balloon","_initInteractions","newRevisionId","_changeView","insertion","revisionHistoryLabel","getRoot","compare","addRevision","parent","8363366YkhnYT","toData","_setChanges","isEqual","clear","addHighlight"];return(ee=function(){return t})()}class ie extends Z.Command{constructor(t){const e=Gt;super(t);const i=t[e(522)][e(375)](Qt);this[e(557)]=!1,this[e(311)](i,e(421),(()=>this[e(381)]())),this[e(311)](i,e(336),(()=>this[e(381)]()))}[Gt(386)](){const t=Gt,e=this[t(394)],i=e[t(522)][t(375)](Qt),s=i[t(400)]?i[t(444)][t(486)]:null;e[t(447)][t(375)](t(398))[t(319)](s)}[Gt(381)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(394)][t(522)][t(375)](Qt),r=n&&s[t(323)](n[t(486)]);this[t(478)]=e&&i&&Boolean(r)}}class se extends Z.Command{[Gt(556)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(522)][i(375)](Qt);this[i(557)]=!1,this[i(556)]=i(292)===e?1:-1,this[i(311)](s,i(421),(()=>this[i(381)]())),this[i(311)](s,i(336),(()=>this[i(381)]())),this[i(311)](s,i(397),(()=>this[i(381)]()))}[Gt(386)](){const e=Gt,i=this[e(394)],s=i[e(522)][e(375)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(471)]=n?s[e(444)][e(258)][e(375)](r+this[e(556)]):s[e(444)][e(258)][e(320)],s[e(471)][e(511)][e(469)])o=i[e(395)][e(374)][e(542)](s[e(471)][e(419)]);else{const t=i[e(327)][e(393)][e(375)](e(275)+s[e(471)].id);o=(0,U.getMarkerDomElement)(i[e(395)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(381)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(394)][t(522)][t(375)](Qt);this[t(478)]=!!(r&&n&&s)&&(!e||(1===this[t(556)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(){const t=["Total","ck-revision-history-ui__changes-navigation__label","92lPAOnt","12780eRIDho","currentChangeNumber","Show previous change","599974ZIUIzm","No changes","1648EFcgoN","ck-revision-history-ui__changes-navigation__navigation","div","set","isReady","ck-hidden","20txshbi","10325FNcDso","bindTemplate","setTemplate","3793311CtJIAq","X_OF_Y_CHANGES","isNavigationMode","bind","_statusText","EDIT_X_OF_Y_REVISIONS","execute","NUMBER_OF_CHANGES","forward","36594883Pdbgbt","5842605BYqqKq","ck-revision-history-ui__changes-navigation","ck-revision-history-ui","numberOfChanges","isEnabled","fire","isForwardNavigationEnabled","span","Show next change","3srCwVS","_isStatusLabelVisible","backward","Loading...","5071VBRoRR","ck-revision-history-ui__changes-navigation__wrapper","90903XwyOuB","isBackwardNavigationEnabled","6dWxDpM"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(705429===parseInt(e(149))/1*(-parseInt(e(164))/2)+-parseInt(e(155))/3*(parseInt(e(160))/4)+-parseInt(e(140))/5*(parseInt(e(157))/6)+parseInt(e(173))/7*(parseInt(e(166))/8)+parseInt(e(130))/9*(parseInt(e(172))/10)+-parseInt(e(153))/11*(parseInt(e(161))/12)+parseInt(e(139))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends ft.View{constructor(t){const e=ae;super(t);const i=this[e(174)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(169)](e(132),!1),this[e(169)](e(170),!1),this[e(169)](e(162),0),this[e(169)](e(143),0),this[e(169)](e(146),!1),this[e(169)](e(156),!1),this[e(133)](e(150)).to(this,e(170),this,e(143),((t,e)=>t&&e>0)),this[e(133)](e(134)).to(this,e(170),this,e(162),this,e(143),this,e(132),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(152));if(!n)return J(t,o(165));const a=J(t,o(137),n);return r?J(t,o(131),[s+1,n]):a})),s[e(169)]({label:J(t,e(163)),tooltip:!0,icon:dt.IconChevronUp}),n[e(169)]({label:J(t,e(148)),tooltip:!0,icon:dt.IconChevronDown}),s[e(133)](e(144)).to(this,e(156)),n[e(133)](e(144)).to(this,e(146)),s.on(e(136),(()=>this[e(145)](e(136),e(151)))),n.on(e(136),(()=>this[e(145)](e(136),e(138)))),this[e(175)]({tag:e(168),attributes:{class:["ck",e(142),e(141)]},children:[{tag:e(147),attributes:{class:[e(154)]},children:[{tag:e(147),attributes:{class:[e(159),i.if(e(150),e(171),(t=>!t))]},children:[{text:i.to(e(132),(i=>i?J(t,e(135))+": ":J(t,e(158))+": "))}]},{text:i.to(e(134))}]},new ft.ToolbarSeparatorView,{tag:e(168),attributes:{class:[e(167)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;function he(t,e){const i=fe();return(he=function(t,e){return i[t-=308]})(t,e)}const de=he;function fe(){const t=["RevisionViewerLoadingOverlay","2740160hjtkYs","469003VCFjuI","document","6692470WfzPTx","334734WPnGzY","isOfficialPlugin","4QvztNs","98LofZaj","addClass","602NjRlZl","16ggfzoI","removeClass","change","isPremiumPlugin","1291662RbyBbc","editor","editing","roots","show","view","pluginName","2773804WQHxQE","2139mIWxDf","ck-editor__editable__loading-overlay","hide"];return(fe=function(){return t})()}!function(t){const e=he,i=t();for(;;)try{if(440313===-parseInt(e(330))/1+parseInt(e(312))/2*(parseInt(e(325))/3)+-parseInt(e(309))/4*(-parseInt(e(329))/5)+-parseInt(e(333))/6*(-parseInt(e(310))/7)+-parseInt(e(313))/8*(-parseInt(e(317))/9)+-parseInt(e(332))/10+-parseInt(e(324))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(326);class pe extends Z.Plugin{static get[de(323)](){return de(328)}static get[de(308)](){return!0}static get[de(316)](){return!0}[de(321)](){const t=de,e=this[t(318)][t(319)][t(322)];e[t(315)]((i=>{const s=t;for(const t of e[s(331)][s(320)])i[s(311)](me,t)}))}[de(327)](){const t=de,e=this[t(318)][t(319)][t(322)];e[t(315)]((i=>{const s=t;for(const t of e[s(331)][s(320)])i[s(314)](me,t)}))}}function ve(){const t=["revisionHistory","init","10dNqgAa","RevisionViewerUI","changesNavigation","exitToEditing","editor","isForwardNavigationEnabled","requires","721987TkGXGo","get","currentChangeNumber","change:isReady","Restore this revision","plugins","Back to editing","listenTo","222188oLGNDp","forward","186789KYBZMM","isReady","add","show","934902aVQkuJ","isNavigationMode","componentFactory","commands","set","isEnabled","2LoEbZf","execute","hide","isPremiumPlugin","6zACltA","bind","1200144biOuit","config","showPreviousChange","12298GcQfez","showNextChange","pluginName","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","numberOfChanges","closeRevisionViewerCallback","restoreRevision","188990RNkOJi","isOfficialPlugin","2340lTWZhE"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=ve();return(ye=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(126490===-parseInt(e(433))/1*(-parseInt(e(401))/2)+-parseInt(e(423))/3+parseInt(e(421))/4*(-parseInt(e(406))/5)+parseInt(e(388))/6*(parseInt(e(413))/7)+-parseInt(e(390))/8+-parseInt(e(427))/9+-parseInt(e(403))/10*(-parseInt(e(393))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ke extends Z.Plugin{static get[ge(395)](){return ge(407)}static get[ge(402)](){return!0}static get[ge(436)](){return!0}static get[ge(412)](){return[Qt,pe]}[ge(405)](){const t=ge,e=this[t(410)],i=e[t(418)][t(414)](Qt),s=e[t(418)][t(414)](pe);e.ui[t(429)][t(425)](t(409),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(431)]({label:J(i,s(419)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(397)}),this[s(420)](n,s(434),(()=>{const t=s;e[t(391)][t(414)](t(404))[t(399)]()})),n})),e.ui[t(429)][t(425)](t(400),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(431)]({label:J(i,s(417)),withText:!0,tooltip:!0}),n[s(389)](s(432)).to(e[s(430)][s(414)](s(400))),this[s(420)](n,s(434),(()=>e[s(434)](s(400)))),n})),e.ui[t(429)][t(425)](t(408),(s=>{const n=t,r=new ce(s),o=e[n(430)][n(414)](n(392)),a=e[n(430)][n(414)](n(394));return r[n(389)](n(396)).to(o,n(432)),r[n(389)](n(411)).to(a,n(432)),r[n(389)](n(424),n(415),n(398),n(428)).to(i),this[n(420)](r,n(434),((t,i)=>{const s=n;e[s(434)](s(422)===i?s(394):s(392))})),r})),s[t(426)](),i.on(t(416),((e,i,n)=>{const r=t;n?s[r(435)]():s[r(426)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=474]})(t,e)}function Se(){const t=["36617RFWCOR","Enter the revision name","listenTo","ck-revision-history-sidebar__revision-name","clientWidth","1752XEzxFG","_tooltipString","fieldView","2262vElzEa","Revision name","extendTemplate","_resizeObserver","set","input","span","52RwOkQJ","_updateTooltipText","element","1496230bDaLvJ","destroy","428FPgcOD","bindTemplate","7706EdMKwr","445ZWWvwm","718883iqnbny","41106600kLjdpg","393045IPiZKy","81Iplhqx","value","placeholder","scrollWidth","render","ck-tooltip_multi-line"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(978149===parseInt(e(480))/1*(parseInt(e(482))/2)+parseInt(e(486))/3*(-parseInt(e(475))/4)+-parseInt(e(483))/5*(-parseInt(e(501))/6)+parseInt(e(493))/7*(-parseInt(e(498))/8)+-parseInt(e(487))/9*(parseInt(e(478))/10)+parseInt(e(484))/11+parseInt(e(485))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(504)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(481)];this[i(505)]({label:J(t,i(502)),_tooltipString:""}),this[i(500)][i(489)]=J(t,i(494)),this[i(503)]({tag:i(474),attributes:{class:[i(496)],"data-cke-tooltip-text":s.to(i(499)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(492)}})}[_e(491)](){const e=_e;super[e(491)](),this[e(504)]=new t.ResizeObserver(this[e(500)][e(477)],(()=>this[e(476)]())),this[e(495)](this[e(500)],e(506),(()=>this[e(476)]()))}[_e(479)](){const t=_e;super[t(479)](),this[t(504)]&&this[t(504)][t(479)]()}[_e(476)](){const t=_e,e=this[t(500)][t(477)];this[t(499)]=e[t(490)]>e[t(497)]&&e[t(488)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(){const t=["set","479691rZdzbh","845088TYUjAV","65uuFNko","span","Revision creator","1525670ibgDRV","182040NHUBnk","0 0 11 10","ck-revision-history-sidebar__revision-author__name","19664PPCWlj","Revision author","3656870pyNMuN","189896kMRDiF","35wUcCmc","ck-revision-history-sidebar__revision-author","name","9nchFlQ","push","ck-revision-history-sidebar__revision-author_creator","setTemplate"];return(Ne=function(){return t})()}function Re(t,e){const i=Ne();return(Re=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(478664===-parseInt(e(206))/1+parseInt(e(211))/2+-parseInt(e(207))/3+-parseInt(e(194))/4*(parseInt(e(208))/5)+parseInt(e(212))/6*(parseInt(e(198))/7)+parseInt(e(197))/8*(parseInt(e(201))/9)+parseInt(e(196))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Ae extends ft.View{constructor(t,e,i){const s=Re;super(t);const n=new ft.IconView;n[s(205)]({content:dt.IconUser,viewBox:s(213)});const r=["ck",s(199)];i&&r[s(202)](s(203));const o=[{tag:s(209),attributes:{class:["ck",s(214)],title:J(t,s(i?210:195))},children:[n,e[s(200)]]}];this[s(204)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=423]})(t,e)}function Ve(){var t=["long","41165590tOlwaP","2763516hSaLTJ","toLocaleTimeString","numeric","4552446PQIPis","5PyRDxu","655389nPtdow","32BogTfC","30614NhfRoC","toLocaleDateString","8240931Foxhzd","3rzobEn","859663KGrBCW"];return(Ve=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(532416===-parseInt(e(426))/1+-parseInt(e(436))/2*(-parseInt(e(425))/3)+-parseInt(e(429))/4+-parseInt(e(433))/5*(parseInt(e(432))/6)+-parseInt(e(434))/7*(parseInt(e(435))/8)+-parseInt(e(424))/9+parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Me=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Me.A,De);Me.A&&Me.A.locals&&Me.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=203]})(t,e)}function Fe(){const t=["execute","class","buttonView","function","1107808DXQAmk","1119622JgAUzM","Compare against selected","2557180KVKwHV","isOpen","extendTemplate","isActionsDropdownOpen","Restore this revision","source","listenTo","7123880Iozrik","isEnabled","1749297uCBdxp","children","_action","model","first","map","menu","104418rMboWt","ck-revision-history-sidebar__revision__actions","listView","panelPosition","button","change:isActionsDropdownOpen","bind","name","isReady","items","find","ck-on","bindTemplate","Name this revision","isVisible","42XWogah","add","5cvrAyP","locale","9kTYcXX","Show more items","stopPropagation","14200530LYDxbf","action","set","menuitem"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(588790===-parseInt(e(234))/1+-parseInt(e(215))/2+-parseInt(e(227))/3+parseInt(e(218))/4*(parseInt(e(251))/5)+parseInt(e(249))/6*(-parseInt(e(216))/7)+parseInt(e(225))/8+parseInt(e(204))/9*(parseInt(e(207))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=ze;function ze(t,e){const i=We();return(ze=function(t,e){return i[t-=348]})(t,e)}function We(){const t=["isConfirm","isSelected","4198733mvIRfT","createdAt","_createdAtFormatted","bindTemplate","select","ck-revision-history-sidebar__revision__date","60lsqGHS","isReady","131868CEEBfg","22806HWXitZ","unhighlight","248aSCKOS","_requireRevisionName","highlight","bind","revisionNameView","render","6bRMzlN","ck-revision-history-sidebar__revision-wrapper","length","_revision","map","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","set","880749ZuNQsK","filter","823700bZmxDV","fieldView","change","220","ck-revision-history-sidebar__revision-authors","authors","211581ZJDkGv","srcElement","name","listenTo","creator","ck-reset","unshift","div","setTemplate","17664710ltCBIG","isHighlighted","ck-disabled","isEnabled","ck-revision-history-sidebar__revision_selected","value","deselect","setName","ck-revision-history-sidebar__revision","fire","revisionActionsView","ck-revision-history-sidebar__revision_highlighted","extendTemplate","span","closest","element",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__controls-wrapper","isActionsDropdownOpen","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from"];return(We=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(456458===-parseInt(e(349))/1+parseInt(e(397))/2+-parseInt(e(406))/3*(parseInt(e(351))/4)+parseInt(e(395))/5*(parseInt(e(398))/6)+parseInt(e(389))/7+-parseInt(e(400))/8*(parseInt(e(357))/9)+parseInt(e(366))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,U.ConfirmMixin)(ft.View)){id;[Pe(404)];[Pe(376)];[Pe(409)];[Pe(401)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(392)],a=function(t,e){const i=r,s=Array[i(386)](e[i(356)])[i(350)]((t=>t!=e[i(361)]));return e[i(361)]&&s[i(363)](e[i(361)]),s[i(410)]((s=>new Ae(t,s,s==e[i(361)])))}(e,i);this.id=i.id,this[r(409)]=i,this[r(401)]=n,this[r(403)](r(359),r(390)).to(i),this[r(403)](r(391)).to(this,r(390),(t=>{return i=e[r(411)],(s=t)[(n=Ee)(423)](i,{month:n(427),day:n(431)})+", "+s[n(430)](i,{hour:n(431),minute:n(431)});var i,s,n})),this[r(348)](r(388),!1),this[r(348)](r(367),!1),this[r(348)](r(384),!1),this[r(348)](r(396),!1),this[r(348)](r(369),!1),this[r(404)]=new Oe(e,ft.createLabeledInputText),this[r(404)][r(352)][r(378)]({attributes:{maxlength:r(354)}}),this[r(404)][r(352)][r(403)](r(371)).to(this,r(359),(t=>t||this[r(391)])),this[r(404)][r(403)](r(369)).to(this,r(388),this,r(369),((t,e)=>t&&e)),this[r(376)]=s&&s[r(408)]?function(e,i){const s=Ce,n=e[s(246)],r=e[s(203)],o=(0,ft.createDropdown)(r);o[s(237)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(203)],n={"Compare against selected":J(s,i(217)),"Name this revision":J(s,i(247)),"Restore this revision":J(s,i(222))};return e[i(232)]((t=>{const e=i,s=n[t[e(241)]];return s&&s!==t[e(241)]&&(t[e(241)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(238),model:new ft.ViewModel({label:t[n(241)],class:t[n(212)],withText:!0,role:n(210),_action:t[n(208)]})};i[n(230)][n(240)](n(226)).to(e,n(221),(i=>n(214)!=typeof t[n(226)]||!i||t[n(226)](e))),o[n(250)](i)}return o}(e,i);return e[s(240)](s(221)).to(o,s(219)),o[s(213)][s(209)]({label:J(r,s(205)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(220)]({attributes:{class:[s(235),n.if(s(221),s(245))]},on:{click:n.to((t=>t[s(206)]()))}}),o.on(s(211),(t=>{const i=s;e[i(242)]&&i(214)==typeof t[i(223)][i(229)]&&t[i(223)][i(229)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(233)}),o[s(224)](e,s(239),((t,n,r)=>{const a=s;if(r)for(const t of o[a(236)][a(243)]){const s=t[a(228)][a(231)],n=i[a(244)]((t=>t[a(208)]===s[a(229)]))[a(248)];t[a(248)]=void 0===n||n(e)}})),o}(this,s):"",this[r(376)]&&this[r(376)][r(403)](r(369)).to(this),this[r(365)]({tag:r(364),attributes:{class:["ck",r(362),r(407),o.if(r(387),r(385))]},children:[{tag:r(364),attributes:{class:["ck",r(362),r(374),o.if(r(369),r(368),(t=>!t)),o.if(r(388),r(370)),o.if(r(367),r(377)),o.if(r(384),r(412))]},children:[this[r(404)],{tag:r(379),attributes:{class:["ck",r(394)]},children:[{text:o.to(r(391))}]},{tag:r(364),attributes:{class:["ck",r(383)]},children:[{tag:"ul",attributes:{class:["ck",r(355)]},children:a}]},this[r(376)]],on:{click:o.to((t=>{const e=r;t[e(358)][e(380)](e(382))||this[e(396)]&&this[e(369)]&&this[e(375)](e(393),{id:this.id})}))}}]})}[Pe(405)](){const t=Pe;super[t(405)]();const e=this[t(404)][t(352)][t(381)];this[t(360)](e,t(353),(()=>{const i=t;this[i(401)]&&!e[i(371)]||this[i(375)](i(373),{id:this.id,name:e[i(371)]}),e[i(371)]||(e[i(371)]=this[i(359)]?this[i(359)]:this[i(391)])}))}[Pe(393)](){this[Pe(388)]=!0}[Pe(372)](){this[Pe(388)]=!1}[Pe(402)](){this[Pe(367)]=!0}[Pe(399)](){this[Pe(367)]=!1}}class Ue extends Error{}class He extends Ue{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ue{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ue{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ue{}class Ye extends Ue{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ue{}class Ge extends Ue{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}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=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[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"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:ws(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 Ai={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Vi={};let Mi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(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&&Ni.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class 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||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Vi={},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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(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 Fi(this,t,Ks,(()=>{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=eo.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 Fi(this,t,en,(()=>{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=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(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:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Ui extends _i{static get utcInstance(){return null===Zi&&(Zi=new Ui(0)),Zi}static instance(t){return 0===t?Ui.utcInstance:new Ui(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Ui(Us(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${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 Hi extends _i{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(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Ui.utcInstance:Ui.parseSpecifier(i)||Ni.create(t)}return _s(t)?Ui.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(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"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return $i(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(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 hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(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 ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(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&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("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 Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(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 Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Us(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(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}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(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 un[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 As(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 sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.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=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(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 hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...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 mn(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 pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Es(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Us(t[e+1],t[e+2]);return[{},i?null:Ui.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.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 An(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Es(e)):Es(e),month:Js.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Us(l,h),[d,new Ui(f)]}const Cn=/^(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$/,Fn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Ui.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Ui.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Zn=dn(/(\d{4})-?(\d{3})/,kn),Un=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),$n=fn(bn,On,xn,Tn),qn=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,xn,Tn);const Xn="Invalid Duration",Qn={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}},tr={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},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,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:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(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 ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(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),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;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 ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:$s(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new ur({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(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+=Ds(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 eo.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?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.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]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...$s(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(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 cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(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=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)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;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(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 cr(this.matrix,e),or(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 or(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 nr)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 lr="Invalid Interval";class hr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.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:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.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=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.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?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).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(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.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(hr.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:hr.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 hr.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(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[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=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return $i(t,rs.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:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(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=fr(t,e);return(i-i%7)/7}],["days",fr]],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=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(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+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Us(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={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 Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(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 br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\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(Ts(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;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Ui(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(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),ws(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(Ts(i,"a")&&Ts(i,"H"))throw new Be("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 Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),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=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Er(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(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 Fr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Cr(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,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.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]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(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=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.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+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Ur={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={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"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Gr(t,e){const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of qr)ws(t[e])&&(t[e]=Ur[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Er(e));this.ts=ws(t.ts)?rs.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=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("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 eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Ui.utcInstance,Gr({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 eo.invalid("invalid input");const n=$i(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Er(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:$i(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:$i(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=Wi.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=$r,g=vs(g)):(p=qr,v=Ur);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,$n],[Zn,qn],[Un,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Mn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("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}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.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=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Ui.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.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?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.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+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?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")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return ur.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(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.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||eo.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),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("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 Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=230]})(t,e)}function no(){const t=["6643812wvrynW","64047ByWRPM","day","toRelativeCalendar","hasSame","week","month","4EPPxQZ","6216430cEZJFo","79080kUzGVG","toJSDate","monthLong","3690282NkZdPL","11029680PLOWtg","weekdayLong","3907269qDSIUT","fromJSDate","startOf","setLocale","220NFRsEq","34iyxezB","year","minus","local"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(239)](t)[i(241)](e),n=eo[i(246)](),r=n[i(245)]({days:1})[i(240)](i(249));let o,a;return s[i(251)](n,i(249))?(o=s[i(240)](i(249))[i(233)](),a=s[i(250)]()):s[i(251)](r,i(249))?(o=r[i(233)](),a=s[i(250)]()):s[i(251)](n,i(252))?(o=s[i(240)](i(252))[i(233)](),a=s[i(237)]||""):s[i(251)](n,i(244))?(o=s[i(240)](i(253))[i(233)](),a=s[i(234)]||""):(o=s[i(240)](i(244))[i(233)](),a=String(s[i(244)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(776355===parseInt(e(248))/1*(-parseInt(e(243))/2)+parseInt(e(235))/3*(-parseInt(e(230))/4)+parseInt(e(242))/5*(parseInt(e(232))/6)+parseInt(e(247))/7+parseInt(e(236))/8+-parseInt(e(238))/9+parseInt(e(231))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=uo,i=t();for(;;)try{if(279232===parseInt(e(136))/1*(parseInt(e(129))/2)+parseInt(e(143))/3*(-parseInt(e(156))/4)+parseInt(e(146))/5+-parseInt(e(139))/6+-parseInt(e(128))/7+parseInt(e(157))/8*(-parseInt(e(158))/9)+parseInt(e(134))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class lo extends ft.View{[co(141)];[co(154)];[co(155)];[co(148)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(130)][n(127)])[n(144)];this[n(141)]=e,this[n(154)]=this[n(133)](),this[n(155)]=i,this[n(148)]=s,this[n(154)][n(147)](n(132)).to(this),this[n(154)][n(147)](n(150)).to(this),this[n(152)]({tag:n(131),attributes:{class:["ck",n(149)]},children:[{tag:n(140),attributes:{class:["ck",n(142)]},children:[{text:r}]},{tag:n(131),attributes:{class:["ck",n(135)]},children:this[n(154)]}]})}[co(137)](t){const e=co,i=new Ze(this[e(130)],t,this[e(155)],this[e(148)]);this[e(154)][e(151)](i)}[co(138)](t){const e=co,i=this[e(154)][e(153)]((e=>e.id===t.id));this[e(154)][e(145)](i)}}function ho(){const t=["createCollection","6149600hfqjhA","ck-revision-history-sidebar__time-period__revisions","4593rMbjYm","addRevision","removeRevision","1972692EkcGFt","span","startDate","ck-revision-history-sidebar__time-period__label","132kTVUHh","localizedPeriodName","remove","769370iNkAUw","delegate","_requireRevisionName","ck-revision-history-sidebar__time-period","setName","add","setTemplate","find","revisionViews","_revisionActions","11636bHsuZs","4872HriJYZ","45dOHhtn","uiLanguage","2748382bybEcX","158zlNqDV","locale","div","select"];return(ho=function(){return t})()}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(){const t=["20wuhuqB","setTemplate","content","17062749dZToxr","Revision history","ck-revision-history-sidebar__header__label","1719246mwiOoI","3082968WCykIE","span","ck-revision-history-sidebar__header","ck-reset_all","397412uzMCpV","20fBZzyz","div","28ZFoTak","33883mWOEZC","26NnMolW","291144ZUPyYh","2427723UxUyYJ"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=494]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(290375===parseInt(e(502))/1*(parseInt(e(503))/2)+-parseInt(e(512))/3+parseInt(e(498))/4*(-parseInt(e(499))/5)+-parseInt(e(504))/6*(-parseInt(e(501))/7)+-parseInt(e(494))/8+-parseInt(e(505))/9*(parseInt(e(506))/10)+parseInt(e(509))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);class go extends ft.View{constructor(t){const e=vo;super(t);const i=new ft.IconView;i[e(508)]=dt.IconHistory,this[e(507)]({tag:e(500),attributes:{class:["ck",e(497),e(496)]},children:[i,{tag:e(495),attributes:{class:["ck",e(511)]},children:[J(t,e(510))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["createCollection","setTemplate","bindTemplate","add","select","selectRevision","delegate","flat","2355bWnBEY","locale","ck-revision-history-sidebar__timeline","ck-disabled","36SrkEtf","removeRevision","435068TGExIg","_removeRevision","1062684magsKG","8956251FUXGjx","set","startDate","getTime","_requireRevisionName","uiLanguage","unhighlight","1703940RpvyUt","revisionSetName","map","636584uuLyEO","createdAt","deselect","5804QAFjym","ck-reset","addRevision","div","fire","some","_addRevision","get","ck-rounded-corners","ck-revision-history-sidebar","render","_revisions","highlight","find","timePeriodViews","remove","_revisionActions","9504630bDvOMk","revisionSelected","revisionViews","1LtWjuQ","isEnabled","highlightRevisions","_getTimePeriodViewByStartDate","setName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=490]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(513778===-parseInt(e(506))/1*(-parseInt(e(525))/2)+parseInt(e(535))/3+parseInt(e(541))/4*(parseInt(e(519))/5)+-parseInt(e(523))/6*(-parseInt(e(527))/7)+parseInt(e(538))/8+-parseInt(e(528))/9+-parseInt(e(503))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends ft.View{[bo(500)];[bo(497)];[bo(502)];[bo(532)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(513)];this[n(500)]=this[n(511)](),this[n(500)][n(517)](n(515)).to(this),this[n(500)][n(517)](n(510)).to(this),this[n(497)]=e,this[n(502)]=i,this[n(532)]=s,this.on(n(515),((t,e)=>{const i=n;this[i(490)](i(504),e)})),this.on(n(510),((t,e)=>{const i=n;this[i(490)](i(536),e)})),this[n(529)](n(507),!1),this[n(512)]({tag:n(544),attributes:{class:["ck",n(542),n(494),n(495)]},children:[new go(t),{tag:n(544),attributes:{class:["ck",n(521),r.if(n(507),n(522),(t=>!t))]},children:this[n(500)]}]})}[bo(496)](){const t=bo;super[t(496)]();for(const e of this[t(497)])this[t(492)](e);this[t(497)].on(t(514),((e,i)=>{this[t(492)](i)})),this[t(497)].on(t(501),((e,i)=>{this[t(526)](i)}))}get[bo(505)](){const t=bo;return this[t(500)][t(537)]((e=>e[t(505)][t(537)]((t=>t))))[t(518)]()}[bo(516)](t){const e=bo;for(const i of this[e(505)])t&&t.id===i.id?i[e(515)]():i[e(540)]()}[bo(508)](t){const e=bo;for(const i of this[e(505)])t[e(491)]((({id:t})=>t===i.id))?i[e(498)]():i[e(534)]()}[bo(492)](t){const e=bo,i=ro(t[e(539)],this[e(520)][e(533)])[e(530)];let s=this[e(500)][e(493)](0);s&&s[e(530)][e(531)]()===i[e(531)]()||(s=new lo(this[e(520)],i,this[e(502)],this[e(532)]),this[e(500)][e(514)](s)),s[e(543)](t)}[bo(526)](t){const e=bo,i=ro(t[e(539)],this[e(520)][e(533)])[e(530)];this[e(509)](i)[e(524)](t)}[bo(509)](t){const e=bo;return this[e(500)][e(499)]((i=>i[e(530)][e(531)]()===t[e(531)]()))}}function So(t,e){const i=xo();return(So=function(t,e){return i[t-=240]})(t,e)}const Oo=So;function xo(){const t=["highlightRevisions","_handleEditorDataReady","setName","compareAgainstSelected","data","availableRevisionActions","editor","revisionHistory","get","_sidebarView","revisionSetName","render","_revisionsRepository","isSelected","add","ready","restoreRevision","_handleRevisionSelected","16SbGSeV","newRevisionId","fieldView","getLaterVisibleRevision","isPremiumPlugin","1cpwdiu","selectRevision","config","getIndex","init","requires","isReady","focus","remove","_handleRevisionSetName","select","locale","70WyriTn","pluginName","listenTo","_revisions","nameRevision","timePeriodViews","7908VEwYoo","25254tZwPEA","getRevisionsInDiff","3107220nTfkvO","length","isEnabled","compare","defaultRevisionActions","2706528ohBWaA","name","354568WDOGHi","revisionHistory.revisionActions","revisionHistory.requireRevisionName","Restore this revision","plugins","Name this revision","getRevision","getEarlierVisibleRevision","revisionViews","_createRevisionActions","7qjCpTA","element","diff","action","_handleDiffChange","isOfficialPlugin","612550VNVzgF","assign","Compare against selected","destroy","map","appendChild","bind","17105XaEvSU","restoreRevisionCallback","RevisionsSidebar","_revisionViewer","change:diff","revisionHistory.viewerSidebarContainer","isVisible","369969YuLclf","string","repository","revisionSelected"];return(xo=function(){return t})()}!function(t){const e=So,i=t();for(;;)try{if(287162===parseInt(e(274))/1*(-parseInt(e(302))/2)+parseInt(e(247))/3+-parseInt(e(269))/4*(-parseInt(e(318))/5)+parseInt(e(295))/6*(parseInt(e(312))/7)+parseInt(e(300))/8+parseInt(e(293))/9*(parseInt(e(286))/10)+parseInt(e(240))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends Z.Plugin{[Oo(243)];[Oo(263)];[Oo(260)];static[Oo(299)]=[Oo(254),Oo(267),Oo(290)];static[Oo(256)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(320),action:({plugins:e},i)=>{const s=t,n=e[s(259)](Qt),r=n[s(249)];let o=n[s(314)][s(270)],a=i.id;r[s(277)](o)>r[s(277)](a)&&([o,a]=[a,o]),n[s(298)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(259)](Qt);return!(n[s(249)][s(294)](n[s(314)])[s(296)]>2||i[s(264)])}},restoreRevision:{name:t(305),action:(e,{id:i})=>{const s=t;e[s(276)][s(259)](s(258))[s(241)](i)},isVisible:({plugins:e},i)=>!!e[t(259)](Qt)[t(249)][t(272)](i.id)},nameRevision:{name:t(307),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(259)](Qt),o=r[n(249)][n(309)](i);r[n(298)](i,o),s[n(281)](),s[n(271)][n(284)]()}}}}();static get[Oo(287)](){return Oo(242)}static get[Oo(317)](){return!0}static get[Oo(273)](){return!0}static get[Oo(279)](){return[Qt]}constructor(t){const e=Oo;super(t),this[e(243)]=t[e(306)][e(259)](Qt),this[e(263)]=this[e(243)][e(249)],this[e(260)]=null}[Oo(278)](){const t=Oo,e=this[t(263)][t(289)],i=this[t(311)](),s=this[t(257)][t(276)][t(259)](t(245));this[t(260)]=new Io(this[t(257)][t(285)],e,i,this[t(257)][t(276)][t(259)](t(304))),this[t(260)].on(t(250),this[t(268)][t(324)](this)),this[t(260)].on(t(261),this[t(283)][t(324)](this)),this[t(260)][t(324)](t(297)).to(this[t(243)]),this[t(260)][t(291)].on(t(265),((e,i)=>{const s=t;i[s(310)].on(s(265),((t,e)=>{const i=s;e[i(324)](i(297),i(280)).to(this[i(243)])}))})),this[t(260)][t(262)](),this[t(288)](this[t(257)][t(255)],t(266),this[t(252)][t(324)](this)),this[t(288)](this[t(243)],t(244),this[t(316)][t(324)](this)),s[t(323)](this[t(260)][t(313)])}[Oo(321)](){const t=Oo;this[t(260)][t(313)][t(282)](),this[t(260)][t(321)]()}[Oo(252)](){const t=Oo,e=this[t(263)][t(308)](0);if(e){const i=this[t(263)][t(309)](e.id);this[t(243)][t(298)](e,i)}}[Oo(268)](t,e){const i=Oo,s=this[i(263)][i(308)](e.id),n=this[i(263)][i(309)](s.id);this[i(243)][i(298)](s,n)}[Oo(283)](t,e){const i=Oo;this[i(263)][i(308)](e.id)[i(253)](e[i(301)])}[Oo(316)](t,e,i){const s=Oo,n=this[s(263)][s(294)](i);n[s(296)]>2?(this[s(260)][s(251)](n),this[s(260)][s(275)](null)):(this[s(260)][s(251)]([]),this[s(260)][s(275)](n[0]))}[Oo(311)](){const t=Oo,e=this[t(257)],i=To[t(256)],s=e[t(276)][t(259)](t(303))||To[t(299)];if(s[t(296)])return s[t(322)]((s=>{const n=t,r=n(248)==typeof s?Object[n(319)]({},i[s]):s;return r[n(315)]=r[n(315)][n(324)](this,e),r[n(246)]&&(r[n(246)]=r[n(246)][n(324)](this,e)),r}))}}const No=To,Ro=Ao;function Ao(t,e){const i=Eo();return(Ao=function(t,e){return i[t-=188]})(t,e)}function Eo(){const t=["142675EWQFvk","editing","rootName","limiterElement","9uRssfJ","viewportTopOffset","787661KVuXvu","4731872NDHAld","195354TKZlTi","addToolbar","isActive","_elementReplacer","_view","get","element","680OuEBbR","setEditableElement","init","editable","72nsawta","fillFromConfig","detachDomRoot","fire","_toolbarConfig","3179358nBbwrq","document","componentFactory","render","3603534xdHcuL","replace","toolbar","attachDomRoot","view","getRoot","stickyPanel","viewportOffset","62814SpFGLj","_initToolbar","bind","ready","editor","config","isFocused","name","restore","destroy","focusTracker"];return(Eo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(592422===parseInt(e(194))/1*(-parseInt(e(226))/2)+-parseInt(e(214))/3+-parseInt(e(197))/4+parseInt(e(190))/5+parseInt(e(218))/6+parseInt(e(196))/7*(parseInt(e(209))/8)+parseInt(e(198))/9*(parseInt(e(205))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends ft.EditorUI{[Ro(202)];[Ro(213)];[Ro(201)];get[Ro(222)](){return this[Ro(202)]}constructor(e,i){const s=Ro;super(e),this[s(202)]=i,this[s(213)]=(0,ft.normalizeToolbarConfig)(e[s(231)][s(203)](s(220))),this[s(201)]=new t.ElementReplacer}get[Ro(204)](){const t=Ro;return this[t(222)][t(204)]}[Ro(207)](t){const e=Ro,i=this[e(230)],s=this[e(222)],n=i[e(191)][e(222)],r=s[e(208)],o=n[e(215)][e(223)]();r[e(233)]=o[e(192)],s[e(217)]();const a=r[e(204)];this[e(206)](r[e(233)],a),s[e(208)][e(228)](e(232)).to(this[e(189)]),n[e(221)](a),this[e(201)][e(219)](t,this[e(204)]),this[e(227)](),this[e(212)](e(229))}[Ro(188)](){const t=Ro;super[t(188)]();const e=this[t(222)],i=this[t(230)][t(191)][t(222)];this[t(201)][t(234)](),i[t(211)](e[t(208)][t(233)]),e[t(188)]()}[Ro(227)](){const t=Ro,e=this[t(222)];e[t(224)][t(228)](t(200)).to(this[t(189)],t(232)),e[t(224)][t(193)]=e[t(204)],e[t(224)][t(228)](t(195)).to(this,t(225),(({top:t})=>t)),e[t(220)][t(210)](this[t(213)],this[t(216)]),this[t(199)](e[t(220)])}}var Mo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Mo.A,Do);Mo.A&&Mo.A.locals&&Mo.A.locals;function Co(){var t=["1388128rfBXYz","9cqGdKR","toolbar","2160756rRpmRn","render","4013610QNMkSR","editable","1101708yyoXec","_editable","14fVHMKf","content","main","433412wZwNhG","3184452icfurV","stickyPanel","3156258MLVhMG","shouldToolbarGroupWhenFull","add","top"];return(Co=function(){return t})()}var Fo=jo;function jo(t,e){var i=Co();return(jo=function(t,e){return i[t-=468]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(596379===-parseInt(e(486))/1+-parseInt(e(477))/2+-parseInt(e(481))/3+parseInt(e(468))/4+parseInt(e(479))/5+-parseInt(e(470))/6*(-parseInt(e(483))/7)+-parseInt(e(474))/8*(parseInt(e(475))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends ft.BoxedEditorUIView{[Fo(482)];[Fo(469)];[Fo(476)];get[Fo(480)](){return this[Fo(482)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(469)]=new ft.StickyPanelView(t),this[s(476)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(471)]}),this[s(482)]=new ft.InlineEditableUIView(t,e)}[Fo(478)](){var t=Fo;super[t(478)](),this[t(469)][t(484)][t(472)](this[t(476)]),this[t(473)][t(472)](this[t(469)]),this[t(485)][t(472)](this[t(480)])}}function Po(){const t=["4sKAfgz","808533Dazsig","24DdKqxr","fire","create","get","view","301030sVQvFo","editing","initPlugins","216UGOgmz","locale","ready","5866976zgGeMm","document","_ui","1070335SjKAsC","3061513hclfdv","sourceElement","updateSourceElement","destroy","model","config","27945ZkuxyF","3930988MSXtnn","createRoot","init","data","initialData"];return(Po=function(){return t})()}const zo=Wo;function Wo(t,e){const i=Po();return(Wo=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(505383===parseInt(e(397))/1+-parseInt(e(396))/2*(-parseInt(e(390))/3)+parseInt(e(391))/4+parseInt(e(383))/5*(-parseInt(e(398))/6)+-parseInt(e(384))/7+-parseInt(e(380))/8+parseInt(e(377))/9*(parseInt(e(403))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Zo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(382)];get ui(){return this[zo(382)]}constructor(t,e){const i=zo;super(e),this[i(385)]=t,this[i(388)][i(381)][i(392)]();const s=new Lo(this[i(378)],this[i(404)][i(402)],{shouldToolbarGroupWhenFull:!0});this[i(382)]=new Vo(this,s)}[zo(387)](){const t=zo;return this[t(386)](),this.ui[t(387)](),super[t(387)]()}static async[zo(400)](t,e){const i=zo,s=new this(t,e);return await s[i(405)](),await s.ui[i(393)](t),await s[i(394)][i(393)](s[i(389)][i(401)](i(395))||""),s[i(399)](i(379)),s}}const Uo=$o;function Ho(){const t=["revisionHistory.closeRevisionViewerCallback","numeric","revisionHistory.restoreRevisionCallback","853848DFJoZJ","revisionHistory.viewerEditorElement","createdAt","insert","roots","12urUJmi","isAnonymous","addUser","lazyRoots","toVersion","fromVersion","config","requires","exitToEditing","restoreRevision","disableReadOnlyMode","979065FKqjSc","getRoot","addRevisionData","revisionHistory.editorContainer","isReady","restrictedEditingException","saveRevision","_closeRevisionViewer","refreshPositioning","changesNavigation","isOfficialPlugin","removeAttribute","error","RevisionHistory","commands","none","catch","remove","adapter","locale","init","plugins","getAttributeKeys","enableReadOnlyMode","then","document","_recalculatePageBreaks","_restoreRevision","toolbar","Restored","detachRoot","RevisionViewerIntegration","getRevisions","markers","enqueueChange","long","11089674DacImh","includes","isPremiumPlugin","repository","revisionHistory","toLocaleTimeString","revisionHistory.showRevisionViewerCallback","RestrictedEditingMode","RevisionsRepository","removeMarker","getRevisionRootsAttributes","create","toJSON","from","revision-history-viewer-opened","RevisionViewer","end","translations","showRevisionViewerCallback","_showRevisionViewer","305288KKfCGs","toLocaleDateString","pluginName","uiLanguage","createRangeIn","getRevisionData","isEnabled","isAttached","map","Autosave","editor","refreshVisibility","_getRevisionViewerEditorConfig","getUser","display","style","RevisionHistoryUI","112ewUvug","isOpen","selection","name","_cleanUp","define","191953alSeBk","rootName","1487962fvuNtB","fromCharCode","save","_enhanceCloseRevisionViewerCallback","removeSelectionAttribute","revisionHistory.requireRevisionName","block","_update","has","push","creator","parse","closeRevisionViewerCallback","result","keys","setSelection","isReadOnly","revisionHistory.viewerContainer","getMarkersGroup","hide","_viewerEditor","data","get","addRoot","change","indexOf","set","Annotations","bind","Users","PaginationLookup","destroy","Dialog","model","join","_enhanceShowRevisionViewerCallback","revision-history-missing-configuration","setAttribute","2456322uKDofI","update","users","getRevision","RevisionTracker","$graveyard"];return(Ho=function(){return t})()}function $o(t,e){const i=Ho();return($o=function(t,e){return i[t-=346]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(374614===parseInt(e(479))/1+parseInt(e(481))/2+parseInt(e(384))/3+-parseInt(e(389))/4*(-parseInt(e(400))/5)+parseInt(e(375))/6+parseInt(e(473))/7*(-parseInt(e(456))/8)+-parseInt(e(436))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);const qo=[Uo(472),Uo(443)];class Bo extends Z.Plugin{[Uo(350)];static get[Uo(458)](){return Uo(431)}static get[Uo(410)](){return!0}static get[Uo(438)](){return!0}constructor(t){const e=Uo;function i(t){const e=$o;return t[e(464)]((t=>String[e(482)](t)))[e(371)]("")}super(t),this[e(350)]=e(452),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends Z.Plugin{[Uo(357)];static get[Uo(458)](){return Uo(413)}static get[Uo(410)](){return!0}static get[Uo(438)](){return!0}static get[Uo(396)](){return[rt,Ct]}constructor(e){const i=Uo;if(super(e),!this[i(466)][i(395)][i(359)](i(440)))throw new t.CKEditorError(i(373),this);this[i(357)]=null,this[i(466)][i(395)][i(478)](i(442),(t=>this[i(455)]({...t,translations:this[i(466)][i(419)][i(453)]}))),this[i(466)][i(395)][i(478)](i(381),(t=>this[i(407)](t))),this[i(466)][i(395)][i(478)](i(383),(t=>this[i(427)](t))),this[i(466)][i(395)][i(478)](i(486),!1),this[i(372)](),this[i(484)]()}set[Uo(418)](t){const e=Uo;this[e(466)][e(421)][e(359)](e(379))[e(418)]=t}get[Uo(418)](){const t=Uo;return this[t(466)][t(421)][t(359)](t(379))[t(418)]}[Uo(402)](t){const e=Uo;return this[e(466)][e(421)][e(359)](e(379))[e(402)](t)}[Uo(378)](t){const e=Uo;return this[e(466)][e(421)][e(359)](e(444))[e(378)](t)}[Uo(432)](t){const e=Uo;return this[e(466)][e(421)][e(359)](e(444))[e(432)](t||{toJSON:!1})}[Uo(468)](){const e=Uo,i=this[e(466)],s=(0,U.sanitizeEditorConfig)(i,qo),n=i[e(421)][e(359)](e(379)),r=i[e(421)][e(359)](e(366))[e(377)];return s[e(428)]=[e(397),e(398),e(409)],delete s[e(392)],s[e(421)][e(346)](Bo,Qt,ke,class extends Z.Plugin{static get[e(396)](){return[Qt,e(366)]}[e(420)](){const s=e,o=this[s(466)][s(421)][s(359)](s(366));for(const t of r)t[s(390)]||o[s(469)](t.id)||o[s(391)](t);const a=n[s(439)][s(432)]();let c=null;const u=this[s(466)][s(421)][s(359)](s(451));u[s(418)]=n[s(418)],u[s(365)](s(462)).to(n),this[s(466)][s(414)][s(359)](s(398))[s(365)](s(462)).to(i,s(353),(t=>!t));for(const e of a){const i=null===e[s(347)];if(i&&e[s(393)]===e[s(394)])continue;const r=e[s(448)]();u[s(402)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(488)](r,o);else if(!o){const e=a[u(448)]();e.id=(0,t.uid)(),n[u(406)](e,a[u(393)])[u(424)]((t=>{c=t}))}}else e[u(488)](r,o)}))}}},No),s}[Uo(372)](){const t=Uo,e=this[t(466)][t(395)][t(359)](t(440))[t(454)];this[t(466)][t(395)][t(363)](t(442),(async()=>{const i=t;this[i(466)][i(423)](i(450));const s=this[i(466)][i(421)][i(359)](i(379));if(this[i(466)][i(421)][i(489)](i(465))){const t=this[i(466)][i(421)][i(359)](i(465));await t[i(483)]()}else await s[i(376)]();if(this[i(466)][i(421)][i(489)](i(367))&&this[i(466)][i(421)][i(359)](i(367))[i(426)](),this[i(466)][i(421)][i(489)](i(369))){const t=this[i(466)][i(421)][i(359)](i(369));t[i(474)]&&t[i(356)]()}const n=this[i(468)]();return e(n)[i(424)]((t=>{const e=i;return this[e(357)]=t,this[e(466)][e(421)][e(489)](e(364))&&this[e(466)][e(421)][e(359)](e(364))[e(467)](),t}))[i(416)]((t=>(console[i(412)](t),this[i(466)][i(399)](i(450)),null)))}))}[Uo(484)](){const t=Uo,e=this[t(466)][t(395)][t(359)](t(440))[t(349)];this[t(466)][t(395)][t(363)](t(381),(()=>(this[t(466)][t(421)][t(489)](t(367))&&this[t(466)][t(421)][t(359)](t(367))[t(426)](),this[t(357)][t(421)][t(359)](t(451))[t(477)](),e(this[t(357)])[t(424)]((()=>{const e=t;if(this[e(466)][e(399)](e(450)),this[e(357)]=null,this[e(466)][e(421)][e(489)](e(364))){const t=this[e(466)][e(421)][e(359)](e(364));t[e(467)](),t[e(408)]()}})))))}[Uo(455)](t){const e=Uo,i=this[e(466)][e(395)][e(359)](e(403)),s=this[e(466)][e(395)][e(359)](e(354)),n=this[e(466)][e(395)][e(359)](e(385));return Zo[e(447)](n,t)[e(424)]((t=>(s[e(471)][e(470)]=e(487),i[e(471)][e(470)]=e(415),t)))}[Uo(407)](t){const e=Uo,i=this[e(466)][e(395)][e(359)](e(403));return this[e(466)][e(395)][e(359)](e(354))[e(471)][e(470)]=e(415),i[e(471)][e(470)]="",t[e(368)]()}async[Uo(427)](t){const e=Uo,i=this[e(466)],s=this[e(357)][e(421)][e(359)](e(451)),n=i[e(421)][e(359)](e(379)),r=s[e(439)][e(378)](t);let o,a,c;try{o=await s[e(461)](r),a=await s[e(446)](r)}catch(t){return void console[e(412)](t)}i[e(370)][e(361)]((t=>{const s=e;for(const e of Array[s(449)](i[s(370)][s(433)][s(355)](s(405))))t[s(445)](e)})),s[e(404)]=!1,i[e(370)][e(434)]((t=>{const s=e;t[s(352)](null),t[s(485)](i[s(370)][s(425)][s(475)][s(422)]());const n=Object[s(351)](o);for(const e of i[s(370)][s(425)][s(388)])s(380)!=e[s(480)]&&e[s(463)]()&&!n[s(437)](e[s(480)])&&t[s(430)](e);for(const e of n){let n=i[s(370)][s(425)][s(401)](e);n&&n[s(463)]()||(n=t[s(360)](e));const r=a[e],c=Object[s(351)](r),u=o[e];for(const e of n[s(422)]())c[s(437)](e)||t[s(411)](e,n);for(const i of c)t[s(374)](i,a[e][i],n);t[s(417)](t[s(460)](n)),t[s(387)](i[s(358)][s(348)](u,n),n,0)}}));const u=J(i[e(419)],e(429));return c=r[e(476)]?-1==r[e(476)][e(362)](u)?u+": "+r[e(476)]:r[e(476)]:u+": "+r[e(386)][e(457)](i[e(419)][e(459)],{month:e(435),day:e(382)})+", "+r[e(386)][e(441)](i[e(419)][e(459)],{hour:e(382),minute:e(382)}),await n[e(406)]({name:c}),s[e(404)]=!0,i[e(395)][e(359)](e(440))[e(349)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=260]})(t,e)}function Go(){var t=["1377945nDgzzh","6523776XbPfrk","448644KOIdsZ","161128QXBEXb","965901KnhEcb","6mHhuWV","95452grvQXn","754026QPrHRt"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(169294===parseInt(e(264))/1+parseInt(e(260))/2+parseInt(e(262))/3+-parseInt(e(261))/4+parseInt(e(266))/5+parseInt(e(263))/6*(parseInt(e(265))/7)+-parseInt(e(267))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|