@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250320.0 → 0.0.0-nightly-20250321.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>st,RevisionViewer:()=>Xt,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]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V,M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M 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]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=428]})(t,e)}function z(){const t=["createdAt","1589805PXFcLk","name","toVersion","attributes","_update","setName","set","9473658ngiVpR","15323200ydhYhf","authors","fromVersion","toJSON","2490KMFIYc","diffData","removeAttribute","setAttribute","model","27aAjfYn","creatorId","fire","9956PPUrlY","2879037xPreqi","2691592CiiCBj","authorsIds","creator","map","4478aeTlPc","346LZenCQ"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(919600===parseInt(e(428))/1*(-parseInt(e(429))/2)+-parseInt(e(452))/3+parseInt(e(451))/4*(-parseInt(e(443))/5)+parseInt(e(438))/6+-parseInt(e(431))/7+-parseInt(e(453))/8*(-parseInt(e(448))/9)+parseInt(e(439))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(455)];[L(440)];[L(444)];[L(433)];[L(441)];[L(447)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(455)]=e[i(455)]||null,this[i(440)]=e[i(440)]||[],this[i(444)]=e[i(444)]||null,this[i(433)]=e[i(433)]||0,this[i(441)]=e[i(441)]||0,this[i(437)](i(432),e[i(432)]||""),this[i(437)](i(430),e[i(430)]||new Date),this[i(437)](i(434),e[i(434)]||{})}[L(436)](t){this[L(435)]({name:t})}[L(446)](t,e){const i=L,s=A(this[i(434)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(435)]({attributes:s})}[L(445)](t){const e=L,i=A(this[e(434)]);(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,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(435)]({attributes:i})}[L(435)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(432),i(430),i(444),i(440),i(434),i(433),i(441),i(449)];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(440)]&&(n[i(454)]=n[i(440)][i(456)]((t=>t.id)),delete n[i(440)]),this[i(450)](i(435),n,e))}[L(442)](){const t=L;return{id:this.id,name:this[t(432)],creatorId:this[t(455)]?this[t(455)].id:null,authorsIds:this[t(440)][t(456)]((t=>t.id)),diffData:this[t(444)],createdAt:this[t(430)],attributes:this[t(434)],fromVersion:this[t(441)],toVersion:this[t(433)]}}}var Z=i(782),H=i(211),U=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=263]})(t,e)}const $=q;function B(){const t=["getRevisionsIterator","isNaN","238LCPWgl","82558949NMVmuH","getIndex","addRevision","add","222462Qzjzzl","7783645QkBftn","450HThfzv","map","afterInit","498hUXOLz","fromVersion","join","getRevision","6xgnkht","earlier","newRevisionId","getEarlierVisibleRevision","from","toVersion","href","get","plugins","24980BlybHZ","creatorId","getLaterVisibleRevision","createRevision","later","Users","diffData","attributes","isOfficialPlugin","createdAt","push","length","authorsIds","toJSON","getUser","fromCharCode","RevisionsRepository","12IKdAwj","name","2971438rMcCce","data","getRevisionsInDiff","isPremiumPlugin","requires","215256ioowJN","549631VqJbOS","editor","getRevisions","reverse","_revisions","oldRevisionId","pluginName"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(849462===-parseInt(e(294))/1+-parseInt(e(288))/2+parseInt(e(313))/3*(-parseInt(e(269))/4)+-parseInt(e(309))/5*(parseInt(e(317))/6)+-parseInt(e(303))/7*(parseInt(e(293))/8)+-parseInt(e(308))/9*(parseInt(e(310))/10)+-parseInt(e(304))/11*(-parseInt(e(286))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends Z.Plugin{[$(298)];static get[$(292)](){return[H.Users]}static get[$(300)](){return $(285)}static get[$(277)](){return!0}static get[$(291)](){return!0}get[$(280)](){const t=$;return this[t(298)][t(280)]}constructor(e){const i=$;super(e),this[i(298)]=new t.Collection}[$(312)](){!async function(e){const i=k([101,83,117,70,66,73,115,85,118,71,98,82,84,76,90,65,109,57,72,56,111,100,122,113,78,105,88,106,75,50,80,107,69,81,110,116,112,87,54,51,79,102,121,55,48,67,119,99,89,53,120,97,52,114,103,104,74,77,86,68,49,108]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(302)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([101]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=q;return t[e(311)]((t=>String[e(284)](t)))[e(315)]("")}!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:1742428800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(266)]);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)}[$(272)](t){const e=$,i=this[e(295)][e(268)][e(267)](e(274));return new W({id:t.id,name:t[e(287)],creator:t[e(270)]?i[e(283)](t[e(270)]):null,diffData:t[e(275)]||t[e(289)],authors:t[e(281)][e(311)]((t=>i[e(283)](t))),createdAt:new Date(t[e(278)]),attributes:t[e(276)],fromVersion:t[e(314)],toVersion:t[e(265)]})}[$(306)](t,e=0){const i=$;this[i(298)][i(307)](t,e)}[$(316)](t){const e=$;return this[e(298)][e(267)](t)}[$(296)](t={toJSON:!1}){const e=$,i=Array[e(264)](this[e(298)]);return i[e(297)](),t[e(282)]?i[e(311)]((t=>t[e(282)]())):i}[$(305)](t){const e=$;return this[e(298)][e(305)](t)}[$(263)](t){const e=$,[,i]=this[e(301)](t,{direction:e(318)});return i}[$(271)](t){const e=$,[,i]=this[e(301)](t,{direction:e(273)});return i}[$(290)](t){const e=$,i=[];for(const s of this[e(301)](t[e(319)]))if(i[e(279)](s),s.id===t[e(299)])break;return i}*[$(301)](t,{direction:e=$(318),filter:i=()=>!0}={}){const s=$,n=s(318)===e?1:-1;let r=this[s(298)][s(267)](t),o=this[s(305)](r);for(yield r;r;){if(o+=n,r=this[s(316)](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 Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,x)||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,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=ut;!function(t){const e=ut,i=t();for(;;)try{if(758322===parseInt(e(451))/1+-parseInt(e(294))/2*(-parseInt(e(277))/3)+-parseInt(e(279))/4*(-parseInt(e(383))/5)+-parseInt(e(291))/6+parseInt(e(316))/7*(-parseInt(e(385))/8)+parseInt(e(424))/9*(-parseInt(e(518))/10)+-parseInt(e(259))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);const it={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};class st extends Z.Plugin{[et(502)];[et(430)];[et(565)];[et(313)];[et(482)];[et(319)];[et(289)];[et(446)];[et(412)];[et(555)];[et(519)];[et(414)];[et(380)];static get[et(528)](){return et(429)}static get[et(315)](){return!0}static get[et(399)](){return!0}static get[et(433)](){return[H.Users,Y,Z.PendingActions]}constructor(e){const i=et;super(e),this[i(565)]=null,this[i(313)]=null,this[i(319)]=new rt(this[i(553)]),this[i(446)]=this[i(553)][i(541)][i(551)](i(460))||i(472),this[i(412)]=new Map,this[i(380)]=null;const s=(0,t.uid)();this[i(289)]={history:this[i(553)][i(247)][i(333)][i(323)],getLatestVersion:()=>Promise[i(455)](this[i(553)][i(247)][i(333)][i(346)]),getCurrentRevisionId:()=>s},this[i(375)](i(441),!1),this[i(375)](i(503),!0),this[i(375)](i(351),!1),this[i(553)][i(541)][i(370)](i(461),!0),this[i(553)][i(299)][i(276)](i(557))[i(537)]({view:i(561)})}[et(287)](){const t=et;this[t(482)]=this[t(553)][t(248)][t(551)](t(478)),this[t(391)](),this[t(553)][t(378)].on(t(420),(()=>{const e=t,i=this[e(482)][e(507)](0),s=i&&null===i[e(447)]?i:null;if(this[e(519)]=!!s&&this[e(553)][e(541)][e(551)](e(461)),this[e(553)][e(248)][e(314)](e(367))){const t=this[e(289)][e(459)](),n=this[e(482)][e(507)](t);if(n)this[e(414)]=n[e(487)],this[e(519)]=!1;else{const t=this[e(289)][e(323)][e(361)][e(509)]((t=>!t[e(506)])),n=t?t[e(364)]:this[e(289)][e(323)][e(346)];i?(i[e(416)]<n&&i[e(350)]({toVersion:n}),this[e(519)]?(this[e(289)][e(459)]=()=>s.id,this[e(414)]=s[e(487)]):(this[e(414)]=i[e(416)],this[e(519)]=!1)):(this[e(414)]=n,this[e(519)]=!1)}}else s&&(this[e(553)][e(247)][e(333)][e(323)][e(346)]=Math[e(365)](s[e(416)],this[e(553)][e(247)][e(333)][e(323)][e(346)]),s[e(487)]===s[e(416)]?(0!==s[e(487)]&&(this[e(289)][e(459)]=()=>s.id),this[e(519)]=!1):this[e(519)]&&(this[e(289)][e(459)]=()=>s.id,this[e(414)]=s[e(487)])),this[e(519)]||(this[e(414)]=this[e(553)][e(247)][e(333)][e(346)]);this[e(319)][e(287)](this[e(289)][e(323)]),this[e(492)](this[e(414)]),this[e(392)](this[e(414)]),this[e(565)]&&this[e(566)]()})),this[t(421)](t(441)).to(this,t(351),(t=>!t)),this[t(502)]=this[t(553)][t(541)][t(551)](t(502));const e=this[t(553)];this[t(430)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(495)==r||i(252)==r||i(301)==r||i(372)==r||i(489)==r||i(567)==r||i(384)==r||i(263)==r){delete e[n],s=r,clearInterval(this[i(430)]),this[i(430)]=void 0;break}}i(252)==s&&e[i(419)](i(397)),i(301)==s&&e[i(419)](i(469)),i(372)==s&&e[i(419)](i(382)),i(489)==s&&e[i(419)](i(273),i(408)),i(567)==s&&e[i(419)](i(282)),i(384)==s&&e[i(419)](i(347)),i(263)==s&&e[i(419)](i(479))}),1e3)}async[et(517)](){const t=et;if(this[t(482)][t(369)]>0){const e=this[t(482)][t(507)](0),i=await this[t(417)](e),s=await this[t(523)](e);this[t(274)](i,s)}}[et(546)](){const t=et;super[t(546)](),this[t(430)]&&clearInterval(this[t(430)])}[et(427)](t){this[et(289)]=t}async[et(358)](){const t=et,e=await this[t(289)][t(403)]();if(e>this[t(313)][t(416)]){await this[t(496)]();const i=this[t(513)]({revision:this[t(313)],to:e});i[t(389)]=i[t(547)][t(386)]((e=>this[t(553)][t(248)][t(551)](t(396))[t(284)](e))),this[t(313)][t(350)](i)}}async[et(496)](){const t=et;this[t(519)]&&!this[t(380)]&&(await this[t(308)](this[t(313)]),this[t(319)][t(305)](this[t(313)]),this[t(380)]={fromVersion:this[t(313)][t(487)],authors:this[t(313)][t(389)][t(422)]()})}async[et(387)](e={},i=null){const s=et,n=[];await this[s(496)](),this[s(519)]=!1,i>this[s(313)][s(416)]&&(i=null),null===i&&(i=await this[s(289)][s(403)]());const r=this[s(473)](i),o=this[s(513)]({from:r,to:i});if(this[s(313)][s(416)]<i){const t=this[s(513)]({revision:this[s(313)],from:i,to:i});t[s(389)]=[],t[s(547)]=[],t.id=this[s(313)].id,this[s(313)][s(350)](t,!0),delete t[s(389)],n[s(522)](t)}e[s(432)]=this[s(553)][s(248)][s(551)](s(396)).me.id,e[s(450)]=e[s(450)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(330)](e);n[s(522)](e);const c=this[s(482)][s(401)](a);if(0!==c){const t=this[s(482)][s(507)](c-1);if(t[s(487)]!==i){const r=this[s(319)][s(269)](i,t[s(416)]),o={id:t.id,diffData:r[s(525)],authorsIds:r[s(547)],authors:r[s(547)][s(386)]((t=>this[s(553)][s(248)][s(551)](s(396))[s(284)](t))),fromVersion:i};t===this[s(313)]&&(o[s(481)]=new Date(e[s(481)][s(532)]()+10)),t[s(350)](o,!0),delete o[s(389)],n[s(522)](o)}}if(this[s(565)]){for(const t of n)this[s(449)](t.id,t,!0);this[s(566)]()}return a}[et(330)](t){const e=et,i=this[e(482)][e(334)](t);return this[e(565)]&&i.on(e(350),((t,i,s)=>{const n=e;s||(this[n(449)](i.id,i,!0),this[n(566)]())})),this[e(482)][e(275)](i,this[e(258)](i)),i}async[et(417)](t){const e=et;await this[e(308)](t);const i={};for(const s in t[e(525)]){if(t[e(525)][s][e(453)]&&!t[e(525)][s][e(453)][e(329)])continue;const n=this[e(483)](JSON[e(431)](t[e(525)][s][e(331)])),r=this[e(553)][e(545)][e(470)][e(333)],o=new U.ViewDocumentFragment(r,n[e(386)]((t=>nt(t,this[e(553)]))));this[e(553)][e(378)][e(320)][e(410)](e(373)),i[s]=this[e(553)][e(378)][e(320)][e(281)](o),this[e(553)][e(378)][e(320)][e(410)](e(505))}return i}async[et(523)](t){const e=et;await this[e(308)](t);const i={};for(const s in t[e(525)])t[e(525)][s][e(453)]&&!t[e(525)][s][e(453)][e(329)]||(i[s]=t[e(525)][s][e(325)]||{});return i}[et(566)](){const t=et;if(0===this[t(412)][t(261)])return;if(this[t(351)])return;let e=Array[t(515)](this[t(412)][t(345)]());this[t(412)][t(343)]();for(let i=0;i<e[t(369)];i++){const s=e[i];let n=!1;for(const e of Object[t(349)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(534)]((t=>null!==t)),!e[t(369)])return;for(let i=0;i<e[t(369)];i++){const s=e[i];void 0!==s[t(487)]&&void 0===s[t(416)]&&(s[t(416)]=this[t(482)][t(507)](s.id)[t(416)]),void 0!==s[t(416)]&&void 0===s[t(487)]&&(s[t(487)]=this[t(482)][t(507)](s.id)[t(487)])}const i=this[t(553)][t(541)][t(551)](t(460));this[t(351)]=!0,this[t(538)](),this[t(565)][t(400)](e,i)[t(533)]((()=>{this[t(351)]=!1}))[t(548)]((e=>{const i=t;if(e)for(const t of e)this[i(404)]({id:t.id,createdAt:t[i(481)]});this[i(251)](),this[i(566)]()}))}[et(274)](e,i){const s=et;let n=this[s(553)][s(541)][s(551)](s(559)),r=this[s(553)][s(541)][s(551)](s(526));if(void 0===n){n={};for(const t of this[s(553)][s(247)][s(333)][s(280)]())n[t]=""}if(s(418)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(553)][s(247)][s(333)][s(280)]())r[t]={}}let o=!1;const a=Object[s(349)](n),c=Object[s(349)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(476)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(349)](r[t])[s(369)]>0){o=!0;break}}o||(o=c[s(309)]((t=>!this[s(553)][s(247)][s(333)][s(524)](t)))),o&&(0,t.logWarning)(s(444),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(553)][s(541)][s(375)](s(559),e),this[s(553)][s(541)][s(375)](s(526),i)}[et(538)](){const t=et;if(!this[t(555)]){const e=this[t(553)][t(248)][t(551)](t(488));this[t(555)]=e[t(527)](J(this[t(553)][t(260)],t(426)))}}[et(251)](){const t=et;this[t(555)]&&(this[t(553)][t(248)][t(551)](t(488))[t(352)](this[t(555)]),this[t(555)]=null)}[et(258)](t){const e=et,i=this[e(482)][e(256)]();i[e(474)]();let s=0;for(;s<i[e(369)];){const n=i[s];if(n===this[e(313)]){s++;continue}if(n.id===this[e(446)])break;const r=t[e(416)]-n[e(416)]||t[e(487)]-n[e(487)];if(r>0)break;if(r<0)s++;else{if(!t[e(447)]&&n[e(447)])break;if(n[e(447)]||!t[e(447)]){if(t[e(481)]>n[e(481)])break;s++}else s++}}return s}[et(404)](t){const e=et,i=this[e(482)][e(507)](t.id);if(t[e(481)]&&(t[e(481)]=new Date(t[e(481)])),t[e(547)]){const i=this[e(553)][e(248)][e(551)](e(396));t[e(389)]=t[e(547)][e(386)]((t=>i[e(284)](t)))}i[e(350)](t,!0)}[et(513)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(487)],i=null!==i?i:t[s(416)];const n=this[s(319)][s(269)](e,i),r={diffData:n[s(525)],authorsIds:n[s(547)],fromVersion:e,toVersion:i};if(!t||i!==t[s(416)]){const t=i-1,e=this[s(289)][s(323)][s(366)](t);r[s(481)]=e&&e[s(481)]||new Date}if(this[s(380)]&&e===this[s(380)][s(487)])for(const t of this[s(380)][s(389)])r[s(547)][s(312)](t.id)||r[s(547)][s(522)](t.id);return r}[et(308)](t){const e=et;if(!t||t[e(525)])return Promise[e(455)]();{const i=this[e(553)][e(541)][e(551)](e(460));return this[e(565)][e(507)]({channelId:i,revisionId:t.id})[e(548)]((i=>{const s=e;t[s(525)]=i[s(525)]}))}}[et(449)](t,e,i){const s=et;if(this[s(412)][s(314)](t)){const n=this[s(412)][s(551)](t);e=i?{...n,...e}:{...e,...n}}this[s(412)][s(375)](t,e)}[et(473)](t){const e=et,i=this[e(482)][e(256)]();i[e(474)](),i[e(371)]();const s=i[e(509)]((i=>i[e(416)]<=t))[e(416)];return s<this[e(414)]?this[e(414)]:s}[et(492)](t){const e=et,i=this[e(482)][e(507)](this[e(482)][e(369)]-1);if(i)this[e(446)]=i.id;else{const i=!this[e(553)][e(247)][e(333)][e(439)][e(509)]((t=>this[e(553)][e(247)][e(368)](t))),s=this[e(553)][e(248)][e(551)](e(396)).me.id,n=J(this[e(553)][e(260)],e(i?521:267));this[e(425)]({from:t,to:t,id:this[e(446)],name:n,creatorId:s})}}[et(392)](t){const e=et,i=this[e(289)][e(459)]();this[e(313)]=this[e(482)][e(507)](i),this[e(313)]||(this[e(313)]=this[e(425)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(425)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(513)]({from:e,to:i});o[r(450)]=t,o[r(432)]=s,o.id=n;const a=this[r(330)](o);return this[r(565)]&&this[r(449)](o.id,o,!0),a}[et(391)](){const t=et;this[t(553)][t(299)][t(276)](t(406))[t(456)]({model:t(561)})}[et(483)](t){const e=et;return(t=t[e(534)]((t=>!t[e(450)]||e(270)!==t[e(450)]&&e(452)!==t[e(450)])))[e(411)]((t=>{const i=e;i(418)!=typeof t&&(t[i(484)]=this[i(483)](t[i(484)]),t[i(562)]=t[i(562)][i(534)]((t=>!t[0][i(278)](i(462)))))})),t}}function nt(t,e){const i=et,s=e[i(545)][i(470)][i(333)];if(i(418)==typeof t)return new U.ViewText(s,t);{const n=t[i(484)][i(386)]((t=>nt(t,e)));return new(it[t[i(360)]]||U.ViewElement)(s,t[i(450)],t[i(562)],n)}}class rt{[et(553)];[et(494)];[et(516)];[et(363)];[et(475)];[et(511)];[et(295)];[et(356)];[et(558)];[et(395)];[et(271)];[et(465)];[et(353)];[et(292)];[et(286)];[et(435)];[et(354)];constructor(t){const e=et;this[e(553)]=t,this[e(516)]=new Map,this[e(363)]=-1,this[e(475)]=-1,this[e(511)]=new Map,this[e(295)]=new Map,this[e(356)]=new Map,this[e(558)]=new Map,this[e(395)]=new Map,this[e(271)]=new Map,this[e(465)]=new Map,this[e(353)]=new Map,this[e(292)]=new Map,this[e(286)]=new Map,this[e(435)]=1}[et(287)](t){const e=et;this[e(494)]=t;const i=new Map,s=new Map,n=this[e(553)][e(247)][e(333)][e(439)][e(386)]((t=>t[e(512)]));for(const t of n){const n=this[e(553)][e(247)][e(333)][e(524)](t),r=ot(n);i[e(375)](t,r),s[e(375)](t,Object[e(342)](n[e(402)]()))}const r=Array[e(515)](this[e(553)][e(247)][e(265)])[e(386)]((t=>[t[e(450)],t[e(436)]()])),o=this[e(494)][e(346)];this[e(550)](o,i,r,s),this[e(354)]=this[e(435)];const a=new Map,c=new Map;for(const t of n){const i=ct(t);a[e(375)](t,i),c[e(375)](t,{})}this[e(550)](Number[e(336)],a,[],c)}[et(269)](t,e){const i=et;if(this[i(363)]===t&&this[i(475)]<=e)this[i(516)][i(261)]>1&&this[i(485)](this[i(475)]),this[i(437)](this[i(475)],e,!0);else{if(!this[i(516)][i(314)](t)){const e=this[i(340)](t);this[i(536)](e,t,!1)}this[i(536)](t,e,!0)}return this[i(363)]=t,this[i(475)]=e,this[i(490)]()}[et(305)](t){const e=et;this[e(288)](),this[e(363)]=t[e(487)],this[e(475)]=t[e(416)];for(const i in t[e(525)]){const s=t[e(525)][i][e(453)],n=A(t[e(525)][i][e(272)])||{},r=this[e(466)](t[e(525)][i][e(510)]);r[e(512)]=i,r[e(328)]=!s||!s[e(329)],r[e(329)]=()=>r[e(328)],this[e(558)][e(375)](i,r),this[e(395)][e(375)](i,n),s&&this[e(286)][e(375)](i,s);const o=this[e(344)](r);this[e(465)][e(375)](i,o);for(const[t,i]of r[e(265)]){if(!t[e(278)](e(552)))continue;const s=t[e(394)](":")[2];for(const t of i[e(374)]({singleCharacters:!0})){const i=this[e(293)](t),n=e(306)==t[e(360)]?t[e(497)][e(564)][e(422)](0,-1):t[e(497)][e(564)],r=o[e(321)](n)[e(304)](i);this[e(353)][e(375)](r,{userId:s})}}}this[e(354)]=this[e(435)];const i=[...Array(this[e(435)])[e(349)]()][e(422)](1)[e(534)]((t=>!this[e(353)][e(314)](t)));let s=0;const n=new Map;for(const r in t[e(525)]){const o=t[e(525)][r][e(453)],a=A(t[e(525)][r][e(325)])||{},c=this[e(466)](t[e(525)][r][e(331)]);c[e(512)]=r,c[e(328)]=!o||o[e(329)],c[e(329)]=()=>c[e(328)],this[e(295)][e(375)](r,c),this[e(356)][e(375)](r,a);const u=this[e(344)](c,Number[e(336)]);this[e(271)][e(375)](r,u),n[e(375)](r,c[e(329)]()?a:{});for(const[t,i]of c[e(265)]){if(!t[e(278)](e(552)))continue;const s=t[e(394)](":")[2];for(const t of i[e(374)]({singleCharacters:!0})){const i=this[e(293)](t),n=this[e(435)]++,r=e(306)==t[e(360)]?t[e(497)][e(564)][e(422)](0,-1):t[e(497)][e(564)];u[e(321)](r)[e(413)](i,n),this[e(353)][e(375)](n,{userId:s})}}for(const t of this[e(553)][e(247)][e(423)](c)[e(374)]({singleCharacters:!0})){const n=this[e(293)](t),r=e(306)==t[e(360)]?t[e(497)][e(564)][e(422)](0,-1):t[e(497)][e(564)],o=u[e(321)](r);o[e(304)](n)>0||o[e(413)](n,i[s++])}for(const[t,i]of c[e(265)])t[e(278)](e(552))||this[e(511)][e(375)](t,i)}const r=ct(e(327));this[e(558)][e(375)](e(327),r),this[e(465)][e(375)](e(327),this[e(344)](r,1));const o=ct(e(327));this[e(295)][e(375)](e(327),o),this[e(271)][e(375)](e(327),this[e(344)](o,1));const a=Array[e(515)](this[e(295)])[e(386)]((([t,e])=>[t,ot(e)]));this[e(550)](this[e(475)],a,this[e(511)],n)}[et(466)](t){const e=et,i=JSON[e(431)](t),s=this[e(553)][e(545)][e(470)][e(333)],n=new U.ViewDocumentFragment(s,i[e(386)]((t=>nt(t,this[e(553)]))));return this[e(553)][e(378)][e(250)](n)}[et(550)](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(375)](t,{start:e[n(499)][n(501)](),end:e[n(471)][n(501)](),rootName:e[n(464)][n(512)]});this[n(516)][n(375)](t,{roots:r,markers:a,rootsAttributes:o})}[et(485)](t){const e=et;this[e(516)][e(443)](t)}[et(438)](){const t=et;this[t(288)](),this[t(363)]=-1,this[t(475)]=-1,this[t(516)][t(343)](),this[t(287)](this[t(494)])}[et(288)](){const t=et;this[t(353)][t(343)](),this[t(292)][t(343)](),this[t(286)][t(343)](),this[t(295)][t(343)](),this[t(356)][t(343)](),this[t(558)][t(343)](),this[t(395)][t(343)](),this[t(271)][t(343)](),this[t(465)][t(343)](),this[t(511)][t(343)](),this[t(435)]=1,this[t(354)]=this[t(435)]}[et(344)](t,e=null){const i=et;let s=null;t.is(i(514))||(s=new U.Element(t[i(450)],{vid_start:null===e?this[i(435)]++:e++}));const n=[];for(const s of t[i(311)]())if(s.is(i(529))){n[i(522)](this[i(344)](s,e));const t=n[n[i(369)]-1];null!==e&&(e=t.is(i(529),i(298))?t[i(304)](i(388))+1:t[i(304)](i(405))+1)}else for(let t=0;t<s[i(457)];t++)n[i(522)](new U.Element(i(298),{vid:null===e?this[i(435)]++:e++}));if(t.is(i(514))){const e=ct(t[i(512)]);return e[i(257)](0,n),e}return s[i(413)](i(405),null===e?this[i(435)]++:e++),s[i(257)](0,n),s}[et(536)](t,e,i){const s=et;this[s(288)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(516)][s(551)](t);this[s(558)]=new Map(n),this[s(395)]=new Map(A(o));for(const[t,e]of this[s(558)])if(s(327)!==t&&(this[s(295)][s(375)](t,ot(e)),this[s(356)]=new Map(A(o)),i)){const i=this[s(435)];this[s(271)][s(375)](t,this[s(344)](e)),this[s(465)][s(375)](t,this[s(344)](e,i))}this[s(354)]=this[s(435)],this[s(295)][s(375)](s(327),ot(this[s(558)][s(551)](s(327)))),i&&this[s(271)][s(375)](s(327),this[s(344)](this[s(558)][s(551)](s(327))));for(const[t,e]of r){const i=this[s(558)][s(551)](e[s(512)]),n=this[s(295)][s(551)](e[s(512)]),r=new U.Range(this[s(318)](e[s(499)],i),this[s(318)](e[s(471)],i)),o=this[s(554)](r,n);i[s(265)][s(375)](t,r),this[s(511)][s(375)](t,o)}this[s(437)](t,e,i)}[et(437)](t,e,i){const s=et;for(const n of this[s(494)][s(290)](t,e))this[s(549)](n,i);for(const t of this[s(295)][s(345)]())t[s(265)][s(343)]();for(const[t,e]of this[s(511)])this[s(295)][s(551)](e[s(464)][s(512)])[s(265)][s(375)](t,e[s(501)]());const n=new Map,r=new Map;for(const[t,e]of this[s(295)])n[s(375)](t,ot(e)),r[s(375)](t,this[s(356)][s(551)](t));this[s(550)](e,n,this[s(511)],r)}[et(340)](t){const e=et,i=Array[e(515)](this[e(516)][e(349)]());i[e(266)](((t,e)=>t-e)),i[e(474)]();for(const e of i)if(e<t)return e;return Number[e(336)]}[et(296)](t,e){const i=et,s=Array[i(515)](e[i(265)])[i(386)]((([e,s])=>[e,this[i(554)](s,t)]));t[i(265)]=new Map(s)}[et(357)](t){const e=et;for(const i of this[e(511)][e(345)]()){const s=i[e(445)](t),n=U.Range[e(415)](s);i[e(499)]=n[e(499)],i[e(471)]=n[e(471)]}}[et(549)](t,e){const i=et;if(i(491)!=t[i(360)]&&i(463)!=t[i(360)]){if(i(355)==t[i(360)]){const s=t[i(337)][i(464)][i(512)];this[i(295)][i(314)](s)||(this[i(295)][i(375)](s,ct(s,!0)),this[i(356)][i(375)](s,{}),e&&this[i(271)][i(375)](s,ct(s,!0)))}else{if(i(335)==t[i(360)]||i(253)==t[i(360)]||i(322)==t[i(360)])return void this[i(324)](t);i(297)==t[i(360)]&&this[i(409)](t)}if(i(297)!==t[i(360)]){const e=this[i(262)](t,this[i(295)]);e[i(458)](),this[i(357)](e)}if(e)switch(t[i(360)]){case i(355):this[i(310)](t);break;case i(535):case i(352):case i(498):this[i(486)](t);break;case i(283):this[i(264)](t);break;case i(394):this[i(379)](t)}}else this[i(303)](t,e)}[et(262)](t,e){const i=et,s=t[i(501)]();return s[i(530)]=t[i(530)],this[i(454)](s,e),s}[et(434)](t){const e=et;return t[e(386)]((t=>{const i=e,s=this[i(293)](t);return Number(t[i(338)][i(304)](s))}))}[et(249)](t,e){const i=et;if(t.is(i(529),i(298)))e[i(522)]({item:t,type:i(376)});else{t.is(i(529))&&e[i(522)]({item:t,type:i(398)});for(const s of t[i(311)]())this[i(249)](s,e);t.is(i(529))&&e[i(522)]({item:t,type:i(306)})}return e}[et(490)](){const t=et,e=new Map(this[t(353)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(558)][t(349)](),...this[t(295)][t(349)]()]);a[t(443)](t(327));for(const e of a){const i=this[t(295)][t(551)](e)||ct(e,!1),s=this[t(558)][t(551)](e)||ct(e,!1);i[t(329)]()||s[t(329)]()?(n[t(331)][e]=ot(i),n[t(510)][e]=ot(s),this[t(296)](n[t(510)][e],s),this[t(296)](n[t(331)][e],i),r[t(331)][e]=this[t(249)](this[t(271)][t(551)](e),[]),r[t(510)][e]=this[t(249)](this[t(465)][t(551)](e)||ct(e,!1),[])):a[t(443)](e)}for(const n of a){const o=r[t(331)][n];for(const n of o){const r=this[t(293)](n),o=n[t(338)][t(304)](r);i[t(443)](o),o>=this[t(354)]&&s[t(375)](o,e[t(551)](o))}}for(const n of a){const a=r[t(331)][n],c=this[t(434)](r[t(510)][n]);let u=0;for(const n of a){const r=this[t(293)](n),a=n[t(338)][t(304)](r);if(!s[t(314)](a)&&!o[t(314)](a))if(i[t(314)](a))u++;else{if(a!=c[u]){const s=e[t(551)](a)||e[t(551)](c[u]);for(;a!=c[u];)i[t(314)](c[u])||(o[t(375)](c[u],s),e[t(375)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(331)][e];for(const e of n){const n=this[t(293)](e),r=e[t(338)][t(304)](n);if(o[t(314)](r)){const e=o[t(551)](r);i[t(314)](r)||i[t(375)](r,{...e}),s[t(375)](r,{...e})}}}for(const e of i[t(349)]())e>=this[t(354)]&&i[t(443)](e);const c=new Map;for(const e of a){let n=r[t(331)][e];for(const e of n)if(e[t(338)].is(t(529),t(531))){const i=this[t(293)](e),n=e[t(338)][t(304)](i);if(s[t(314)](n)){const i=e[t(338)][t(467)][t(467)][t(304)](t(341)),r=c[t(551)](i)||new Set;r[t(527)](s[t(551)](n)[t(326)]),c[t(375)](i,r)}}n=r[t(510)][e];for(const e of n)if(e[t(338)].is(t(529),t(531))){const s=this[t(293)](e),n=e[t(338)][t(304)](s);if(i[t(314)](n)){const s=e[t(338)][t(467)][t(467)][t(304)](t(341)),r=c[t(551)](s)||new Set;r[t(527)](i[t(551)](n)[t(326)]),c[t(375)](s,r)}}for(const e of c[t(349)]())(s[t(314)](e)||i[t(314)](e))&&c[t(443)](e)}for(const e of a){const n=r[t(331)][e];let o=null,a=null;for(const e of n){const n=this[t(293)](e),r=e[t(338)][t(304)](n),u=c[t(551)](r);u&&t(398)==e[t(360)]&&(o=Array[t(515)](u)[0],a=e[t(338)][t(304)](t(405))),o&&(i[t(375)](r,{userId:o}),s[t(375)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(510)][e],a=n[t(331)][e];for(const{userId:e}of this[t(292)][t(345)]())null!==e&&l[t(527)](e);for(const{userId:e}of this[t(286)][t(345)]())null!==e&&l[t(527)](e);this[t(268)](a,r[t(331)][e],s,t(390),l),this[t(268)](o,r[t(510)][e],i,t(332),l),u[e]={insertions:this[t(307)](a),deletions:this[t(307)](o),attachChange:this[t(286)][t(551)](e)||null,attributesBefore:A(this[t(395)][t(551)](e))||{},attributesAfter:A(this[t(356)][t(551)](e))}}return{diffData:u,authorsIds:Array[t(515)](l)}}[et(407)](t){const e=et;for(const[,i]of t[e(265)]){const t=i[e(499)][e(254)]()[e(534)]((t=>e(531)==t[e(450)]));for(const i of t)1==i[e(348)]&&i[e(362)](0).is(e(529),e(440))&&i[e(362)](0)[e(413)](e(520),!0)}}[et(307)](t){const e=et;this[e(407)](t);const i=this[e(553)][e(378)][e(393)](t,{}),s=Array[e(515)](i[e(311)]())[e(386)]((t=>this[e(563)](t)));return JSON[e(285)](s)}[et(563)](t){const e=et;if(t.is(e(298)))return t[e(378)];{const i=t;return{type:Object[e(349)](it)[e(509)]((e=>t instanceof it[e])),name:i[e(450)],attributes:Array[e(515)](i[e(402)]()),children:Array[e(515)](i[e(311)]())[e(386)]((t=>this[e(563)](t)))}}}[et(268)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(553)][r(247)];for(let s=0;s<e[r(369)];s++){const n=this[r(293)](e[s]),c=e[s][r(338)][r(304)](n),h=i[r(551)](c),d=s==e[r(369)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(326)]!=o[r(326)])&&(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(326)],d=l(552)+s+":"+h+":"+c++,f=u[l(302)](i,a);t[l(265)][l(375)](d,f),null!==h&&n[l(527)](h)}}[et(293)](t){const e=et;switch(t[e(360)]){case e(398):return e(341);case e(306):return e(405);default:return e(388)}}[et(454)](t,e){const i=et;t[i(364)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(551)](n[i(464)][i(512)]);t[s]=this[i(318)](n,r)}if(n instanceof U.Range){const r=e[i(551)](n[i(464)][i(512)]);t[s]=this[i(554)](n,r)}i(464)===s&&(t[i(464)]=e[i(551)](t[i(464)][i(512)]))}}[et(554)](t,e){const i=et;return this[i(553)][i(247)][i(302)](this[i(318)](t[i(499)],e),this[i(318)](t[i(471)],e))}[et(318)](t,e){const i=et;return this[i(553)][i(247)][i(317)](e,t[i(564)],t[i(255)])}[et(310)](t){const e=et,i=this[e(271)][e(551)](t[e(337)][e(464)][e(512)]),s=this[e(318)](t[e(337)],i),n=null===t[e(530)]?null:t[e(530)]||this[e(553)][e(248)][e(551)](e(396)).me.id,r=s[e(467)],o=this[e(435)],a=[];for(const i of t[e(542)])if(i.is(e(529)))a[e(522)](this[e(344)](i));else for(let t=0;t<i[e(457)];t++)a[e(522)](new U.Element(e(298),{vid:this[e(435)]++}));const c=this[e(435)];for(let t=o;t<c;t++)this[e(353)][e(375)](t,{userId:n});r[e(257)](s[e(500)],a)}[et(486)](t){const e=et;(t=this[e(262)](t,this[e(271)]))[e(458)]();const i=null===t[e(530)]?null:t[e(530)]||this[e(553)][e(248)][e(551)](e(396)).me.id,s=t[e(381)](),n=s[e(467)],r=s[e(500)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(362)](e);r.is(a(529),a(298))?s[a(375)](r[a(304)](a(388)),{userId:i}):(s[a(375)](r[a(304)](a(341)),{userId:i}),t(s,r,0,r[a(348)]),s[a(375)](r[a(304)](a(405)),{userId:i}))}}(this[e(353)],n,r,r+t[e(359)])}[et(264)](t){const e=et,i=null===(t=this[e(262)](t,this[e(271)]))[e(530)]?null:t[e(530)]||this[e(553)][e(248)][e(551)](e(396)).me.id,s=t[e(448)][e(467)],n=t[e(556)][e(467)],r=s[e(304)](e(405)),o=n[e(304)](e(341));s[e(413)](e(405),n[e(304)](e(405))),n[e(413)](e(405),r),this[e(353)][e(375)](o,{userId:i}),this[e(353)][e(375)](r,{userId:i}),t[e(458)]()}[et(379)](t){const e=et,i=null===(t=this[e(262)](t,this[e(271)]))[e(530)]?null:t[e(530)]||this[e(553)][e(248)][e(551)](e(396)).me.id,s=t[e(246)],n=t[e(493)][e(467)];t[e(458)]();const r=n[e(304)](e(405)),o=t[e(508)][e(477)];if(s){const t=o[e(304)](e(405)),s=n[e(304)](e(405));n[e(413)](e(405),t),o[e(413)](e(405),s),this[e(353)][e(375)](n[e(304)](e(405)),{userId:i}),this[e(353)][e(375)](o[e(304)](e(341)),{userId:i})}else{const t=this[e(435)]++,s=this[e(435)]++;n[e(413)](e(405),t),o[e(413)](e(341),s),o[e(413)](e(405),r),this[e(353)][e(375)](t,{userId:i}),this[e(353)][e(375)](s,{userId:i})}}[et(409)](t){const e=et;if(!t[e(560)])return;const i=(t=this[e(262)](t,this[e(295)]))[e(543)]?t[e(543)][e(464)]:null,s=t[e(539)]?t[e(539)][e(464)]:null;i&&this[e(511)][e(443)](t[e(450)]),s&&this[e(511)][e(375)](t[e(450)],t[e(539)][e(501)]());const n=null===t[e(530)]?null:t[e(530)]||this[e(553)][e(248)][e(551)](e(396)).me.id,r=t[e(450)];if(!this[e(292)][e(314)](r))return void this[e(292)][e(375)](r,{range:t[e(543)],userId:n});const o=this[e(292)][e(551)](r),a=o[e(377)],c=t[e(539)];null==a&&null==c||a&&c&&a[e(300)](c)?this[e(292)][e(443)](t[e(450)]):o[e(326)]=n}[et(303)](t,e){const i=et;this[i(295)][i(314)](t[i(512)])?this[i(295)][i(551)](t[i(512)])[i(328)]=t[i(339)]:(this[i(295)][i(375)](t[i(512)],ct(t[i(512)],!0)),this[i(356)][i(375)](t[i(512)],{}),e&&this[i(271)][i(375)](t[i(512)],ct(t[i(512)],!0)));const s=null===t[i(530)]?null:t[i(530)]||this[i(553)][i(248)][i(551)](i(396)).me.id,n=this[i(286)][i(551)](t[i(512)]);n&&n[i(326)]===s?this[i(286)][i(443)](t[i(512)]):this[i(286)][i(375)](t[i(512)],{userId:s,isAttached:t[i(339)]})}[et(324)](t){const e=et,i=this[e(356)][e(551)](t[e(464)][e(512)]);null===t[e(540)]?delete i[t[e(442)]]:i[t[e(442)]]=t[e(540)]}}function ot(t){const e=et,i=ct(t[e(512)],t[e(329)]());for(const s of t[e(311)]()){const t=s[e(544)](!0);i[e(480)](t)}return i}function at(){const t=["config","nodes","oldRange","_clone","editing","destroy","authorsIds","then","_handleOperation","_saveMetaData","get","revision:","editor","_fixRange","_pendingAction","sourcePosition","upcast","_baseRoots","initialData","affectsData","revision","attributes","_getViewJson","path","adapter","sendBufferedUpdates","revisionHistoryLicenseKeyEvaluationLimit","graveyardPosition","model","plugins","_generateTape","toModel","_removePendingAction","revisionHistoryLicenseKeyInvalid","removeRootAttribute","getAncestors","stickiness","getRevisions","_insertChild","_findInsertionIndex","8760136Nbujnt","locale","size","_cloneOperation","revisionHistoryLicenseKeyUsageLimit","_handleMergeOperation","markers","sort","Initial revision","_markChanges","getData","revision-start","_idsRoots","attributesBefore","featureNotAllowed","_replaceEditorDataWithRevisionData","addRevision","for","2697RMqMGM","startsWith","552qmHvFz","getRootNames","toData","evaluationLimit","merge","getUser","stringify","_touchedRoots","init","_reset","_source","getOperations","4243506xvgiTP","_touchedMarkers","_getVidAttributeName","3236JZjfqK","_diffRoots","_copyMarkers","marker","$text","conversion","isEqual","revisionHistoryLicenseKeyExpired","createRange","_handleRootOperation","getAttribute","loadState","elementEnd","_prepareViewToSave","_loadRevisionData","some","_handleInsertOperation","getChildren","includes","currentRevision","has","isOfficialPlugin","91bflRLm","createPositionFromPath","_fixPosition","_revisionDataBuilder","processor","getNodeByPath","changeRootAttribute","history","_handleRootAttributeOperation","attributesAfter","userId","$graveyard","_isAttached","isAttached","addRevisionData","insertions","deletion","document","createRevision","addRootAttribute","NEGATIVE_INFINITY","position","item","isAdd","_getPreviousFrom","vid_start","fromEntries","clear","_makeIdsRoot","values","version","trialLimit","childCount","keys","_update","_isPendingUpdate","remove","_touched","_startingRevisionId","insert","_diffRootsAttributes","_transformMarkers","update","howMany","type","_operations","getChild","_lastFrom","baseVersion","max","getOperation","RealTimeCollaborationClient","hasContent","length","define","shift","revisionHistoryLicenseKeyDomainLimit","marked","getWalker","set","text","range","data","_handleSplitOperation","_loadedStateData","getMovedRangeStart","domainLimit","52090wLcPFp","revisionHistoryLicenseKeyTrialLimit","558032rjIuoL","map","saveRevision","vid","authors","insertion","_setConversion","_createCurrentRevision","toView","split","_baseRootsAttributes","Users","invalid","elementStart","isPremiumPlugin","updateRevisions","getIndex","getAttributes","getLatestVersion","setRevisionData","vid_end","dataDowncast","_processRootBeforeSave","RevisionHistory","_handleMarkerOperation","useFillerType","forEach","_bufferedUpdates","_setAttribute","_startingVersion","_createFromRanges","toVersion","getRevisionDocumentData","string","_showLicenseError","ready","bind","slice","createRangeIn","6532254MVOslU","_makeRevision","PENDING_ACTION_REVISION_HISTORY","setSource","createPositionBefore","RevisionTracker","_licenseKeyCheckInterval","parse","creatorId","requires","_getBaseVids","_revisionId","getRange","_applyOperations","reInit","roots","paragraph","isReady","key","delete","editor-initial-data-replaced-with-revision-data","getTransformedByOperation","_initialRevisionId","creator","targetPosition","_bufferUpdate","name","1002291gABFOM","revision-end","attachChange","_fixOperation","resolve","markerToData","offsetSize","_execute","getCurrentRevisionId","collaboration.channelId","revisionHistory.resumeUnsavedRevision","data-revision-","detachRoot","root","_baseIdsRoots","_makeModelFromViewString","parent","createPositionAt","expired","view","end","initial","_getFromVersion","reverse","_lastTo","trim","nodeAfter","RevisionsRepository","usageLimit","_appendChild","createdAt","repository","_removeRevisionMarkers","children","_removeMetaData","_handleMoveOperation","fromVersion","PendingActions","revisionHistoryLicenseKeyNotAllowed","_getState","addRoot","_createInitialRevision","splitPosition","source","revisionHistoryLicenseKeyValid","_loadState","previousPosition","reinsert","start","offset","clone","licenseKey","isEnabled","createPositionAfter","default","_isInit","getRevision","insertionPosition","find","deletions","_markers","rootName","buildRevisionData","documentFragment","from","_savedMetaData","afterInit","10gyFjFB","_continueCurrentRevision","keepParagraph","Empty document","push","getRevisionRootsAttributes","getRoot","diffData","rootsAttributes","add","pluginName","element","_authorId","tableCell","getTime","finally","filter","move","_calculateMetaData","dataToMarker","_addPendingAction","newRange","newValue"];return(at=function(){return t})()}function ct(t,e=!0){const i=et,s=new U.DocumentFragment;return s[i(512)]=t,s[i(328)]=e,s[i(329)]=()=>s[i(328)],s}function ut(t,e){const i=at();return(ut=function(t,e){return i[t-=246]})(t,e)}function lt(t,e,i){const s=et,n=s(306)==t[s(360)]?i[s(468)](t[s(338)],s(471)):i[s(428)](t[s(338)]);return i[s(317)](e,n[s(564)],n[s(255)])}function ht(t,e,i){const s=et,n=s(398)==t[s(360)]?i[s(468)](t[s(338)],0):i[s(504)](t[s(338)]);return i[s(317)](e,n[s(564)],n[s(255)])}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 Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;const Nt=Rt;function Rt(t,e){const i=At();return(Rt=function(t,e){return i[t-=318]})(t,e)}function At(){const t=["locale","focusTracker","focus","arrowup","1032451xFelno","stopPropagation","71987tJZKnQ","label","609730yAXolm","463420qrgeGT","revisionName","220","listenTo","fieldView","ck-revision-history-save-revision-form","2rXqwZV","reset","input","optional","add","arrowright","631434uEPckf","ck-responsive-form","_createRevisionNameInput","trim","arrowleft","errorText","24cXqnsQ","form","Name of the revision","render","arrowdown","setTemplate","4009833HOcsLy","value","keystrokes","set","extendTemplate","revisionNameInputView","element","118632MqBBEZ","revisionNameInputValue"];return(At=function(){return t})()}!function(t){const e=Rt,i=t();for(;;)try{if(241035===-parseInt(e(358))/1*(-parseInt(e(325))/2)+parseInt(e(350))/3+parseInt(e(319))/4+parseInt(e(318))/5+-parseInt(e(331))/6+parseInt(e(356))/7*(parseInt(e(337))/8)+-parseInt(e(343))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Vt extends ft.View{[Nt(353)];[Nt(345)];[Nt(348)];constructor(e,i){const s=Nt;super(e),this[s(353)]=new t.FocusTracker,this[s(345)]=new t.KeystrokeHandler,this[s(346)](s(351),""),this[s(348)]=this[s(333)](i),this[s(342)]({tag:s(338),attributes:{class:["ck",s(324),s(332)],tabindex:"-1"},children:[this[s(348)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(340)](){const t=Nt;super[t(340)](),(0,ft.submitHandler)({view:this}),this[t(353)][t(329)](this[t(348)][t(349)]),this[t(345)][t(322)](this[t(349)]);const e=e=>e[t(357)]();this[t(345)][t(346)](t(330),e),this[t(345)][t(346)](t(335),e),this[t(345)][t(346)](t(355),e),this[t(345)][t(346)](t(341),e)}[Nt(354)](){const t=Nt;this[t(348)][t(354)]()}get[Nt(320)](){const t=Nt;return this[t(348)][t(323)][t(349)][t(344)][t(334)]()}set[Nt(320)](t){const e=Nt;this[e(348)][e(323)][e(349)][e(344)]=t[e(334)]()}[Nt(326)](){const t=Nt;this[t(348)][t(323)][t(349)][t(344)]="",this[t(348)][t(336)]=null}[Nt(333)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(352)],ft.createLabeledInputText),s=i[e(323)];s[e(347)]({attributes:{maxlength:e(321)}});let n=J(this[e(352)],e(339));return!t&&(n+=" ("+J(this[e(352)],e(328))+")"),i[e(359)]=n,s.on(e(327),(()=>{const t=e;this[t(351)]=s[t(349)][t(344)][t(334)]()})),i}}const Mt=Dt;function Et(){const t=["locale","role","items","isOpen","editing","hide","RevisionTracker","errorText","4358WuLzAk","panelView","saveRevision","5aOKgmN","1733442DehIpX","Cancel","Open revision history","Accept","isReadOnly","delegate","menuBar:revisionHistory","addMany","_saveRevisionFormView","isEnabled","editor","add","reset","init","isReady","menu","Dialog","789qgqqPs","buttonView","2050600dwKuDm","revisionSave","children","2710589keiosR","revisionHistory","isPremiumPlugin","plugins","Revision history","bind","focus","render","_showDialog","RevisionHistoryUI","requires","config","submit","The revision name cannot be empty.","revisionName","pluginName","componentFactory","isOfficialPlugin","get","view","showRevisionViewerCallback","execute","_createSaveRevisionFormView","revisionNameInputView","ck-button-action","144mAeUBu","menuitem","Save current revision","set","_registerMenuComponent","4051443vRnsuU","show","281142nHERpB","10kBSZfs","56909nIRIKB","revisionHistory.requireRevisionName"];return(Et=function(){return t})()}function Dt(t,e){const i=Et();return(Dt=function(t,e){return i[t-=434]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(295809===-parseInt(e(460))/1+-parseInt(e(470))/2*(-parseInt(e(491))/3)+-parseInt(e(493))/4+parseInt(e(473))/5*(-parseInt(e(474))/6)+parseInt(e(496))/7+-parseInt(e(451))/8*(-parseInt(e(458))/9)+parseInt(e(459))/10*(-parseInt(e(456))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Ct extends Z.Plugin{static get[Mt(441)](){return Mt(435)}static get[Mt(443)](){return!0}static get[Mt(498)](){return!0}static get[Mt(436)](){return[st]}[Mt(482)];[Mt(487)](){const t=Mt,e=this[t(484)],i=e[t(499)][t(444)](t(468));e.ui[t(442)][t(485)](t(497),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(471)][n(495)],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(501)](n(483)).to(i,n(488),i,n(483),e,n(478),((t,e,i)=>t&&e&&!i)),r[n(492)][n(454)]({icon:dt.IconHistory,label:J(s,n(500)),tooltip:!0}),u[n(454)]({label:J(s,n(453)),withText:!0,role:n(452)}),u[n(501)](n(483)).to(i,n(488),i,n(483),e,n(478),((t,e,i)=>t&&e&&!i)),u.on(n(447),(()=>this[n(434)]())),h[n(454)]({label:J(s,n(476)),withText:!0,role:n(452)}),h[n(501)](n(483)).to(i,n(488),e,n(478),((t,e)=>t&&!e)),h.on(n(447),(()=>{const t=n;e[t(437)][t(444)](t(497))[t(446)](),r[t(465)]=!1,e[t(466)][t(445)][t(502)]()})),c[n(495)][n(485)](u),l[n(495)][n(485)](h),a[n(463)]=n(489),a[n(464)][n(481)]([c,l]),o[n(485)](a),r})),e.ui[t(442)][t(485)](t(480),(()=>this[t(455)]()))}[Mt(455)](){const t=Mt,e=this[t(484)],i=e[t(462)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(492)][t(454)]({icon:dt.IconHistory,label:J(i,t(500))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(454)]({label:J(i,t(453))}),o[t(479)](t(447)).to(s),o.on(t(447),(()=>{this[t(434)]()})),r[t(495)][t(485)](o),n[t(464)][t(485)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(454)]({label:J(i,t(476))}),c[t(479)](t(447)).to(s),c.on(t(447),(()=>{const i=t;e[i(437)][i(444)](i(497))[i(446)]()})),a[t(495)][t(485)](c),n[t(464)][t(485)](a),s[t(471)][t(495)][t(485)](n),s}[Mt(434)](){const t=Mt,e=this[t(484)],i=e[t(462)],s=e[t(499)][t(444)](t(490)),n=e[t(499)][t(444)](t(468));function r(n){const r=t;e[r(437)][r(444)](r(461))&&""===n[r(440)]?n[r(449)][r(469)]=J(i,r(439)):(e[r(499)][r(444)](st)[r(472)]({name:n[r(440)]}),s[r(467)]())}this[t(482)]||(this[t(448)](),this[t(482)].on(t(438),(()=>r(this[t(482)])))),this[t(482)][t(486)](),s[t(457)]({id:t(494),title:J(i,t(453)),isModal:!0,content:this[t(482)],actionButtons:[{label:J(e[t(462)],t(475)),withText:!0,onExecute:()=>s[t(467)]()},{label:J(e[t(462)],t(477)),class:t(450),withText:!0,onCreate(i){const s=t;i[s(501)](s(483)).to(n,s(488),n,s(483),e,s(478),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(482)])}]})}[Mt(448)](){const t=Mt,e=this[t(484)],i=e[t(462)];this[t(482)]=new Vt(i,e[t(437)][t(444)](t(461))),this[t(482)][t(503)]()}}const Ft=jt;function jt(t,e){const i=Lt();return(jt=function(t,e){return i[t-=165]})(t,e)}function Lt(){const t=["9316560opcvpn","focus","961242PbVZqD","10wlElNP","ck-revision-change","add","type","ck-revision-change__","31983pRwvlJ","ck-revision-change__label","Removed by","author","data","bindTemplate","3550oRQhTM","2432841LEMmJx","28HzYFEn","changeId","Added by","ck-annotation","9131616VgAKrT","name","div","6197415ShIzTZ","34991HIYiVQ","isSuggestion","element","_model","4keiEKF","Suggested by","set","span","setTemplate"];return(Lt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(677732===-parseInt(e(187))/1*(parseInt(e(182))/2)+-parseInt(e(194))/3*(parseInt(e(174))/4)+parseInt(e(169))/5+parseInt(e(181))/6*(-parseInt(e(195))/7)+parseInt(e(179))/8+parseInt(e(166))/9+-parseInt(e(193))/10*(parseInt(e(170))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Pt extends ft.View{[Ft(196)];[Ft(173)];constructor(t,e){const i=Ft;super(t),this[i(173)]=e,this[i(196)]=e.id;const s=this[i(192)],n=J(t,e[i(191)][i(171)]?i(175):i(184)==e[i(185)]?i(197):i(189));this[i(176)](i(185),e[i(185)]),this[i(178)]({tag:i(168),attributes:{class:[i(165),i(183),s.to(i(185),(t=>i(186)+t))],tabindex:-1},children:[{tag:i(177),children:[{tag:i(177),attributes:{class:[i(188)]},children:[{text:n}]},{text:" "+e[i(190)][i(167)]}]}]})}[Ft(180)](){const t=Ft;this[t(172)][t(180)]()}}function zt(t,e){var i=Wt();return(zt=function(t,e){return i[t-=312]})(t,e)}function Wt(){var t=["3321639OwLbMp","toJSON","10NAMOSb","author","3226280fTzGEl","7640CXEYky","70PfTEGM","data","set","983425rktocH","createdAt","4652816XoSuZc","1434tVAuZM","rootName","type","6437550ZqrIMR","91173NzzSbD"];return(Wt=function(){return t})()}var Zt=zt;!function(t){for(var e=zt,i=t();;)try{if(723220===-parseInt(e(319))/1+parseInt(e(316))/2*(parseInt(e(326))/3)+parseInt(e(321))/4+parseInt(e(315))/5*(parseInt(e(322))/6)+-parseInt(e(325))/7+parseInt(e(314))/8+-parseInt(e(327))/9*(parseInt(e(312))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class Ht extends((0,t.ObservableMixin)()){id;[Zt(313)];[Zt(324)];[Zt(317)];[Zt(323)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(313)]=e[i(313)],this[i(324)]=e[i(324)],this[i(317)]=e[i(317)]||{},this[i(323)]=e[i(323)],this[i(318)](i(320),e[i(320)])}[Zt(328)](){var t=Zt;return{id:this.id,authorId:this[t(313)].id,type:this[t(324)],data:this[t(317)],createdAt:this[t(320)]}}}function Ut(t,e){const i=Bt();return(Ut=function(t,e){return i[t-=111]})(t,e)}const qt=Ut;!function(t){const e=Ut,i=t();for(;;)try{if(426839===-parseInt(e(123))/1*(-parseInt(e(115))/2)+-parseInt(e(127))/3*(-parseInt(e(119))/4)+-parseInt(e(126))/5*(parseInt(e(122))/6)+-parseInt(e(113))/7+parseInt(e(121))/8*(parseInt(e(120))/9)+-parseInt(e(125))/10*(parseInt(e(117))/11)+-parseInt(e(114))/12*(-parseInt(e(124))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class $t{[qt(111)];[qt(112)];[qt(116)];constructor(e,i){const s=qt;this[s(111)]=e,this[s(112)]=i,this[s(116)]=new t.Collection}[qt(128)](t){const e=qt;for(const i of t)this[e(116)][e(118)](i)}}function Bt(){const t=["_setChanges","newRevisionId","oldRevisionId","2075731wlOpGr","24EWvBNT","52zPuHPC","changes","4059869GQtpbX","add","286624PszwYZ","291798EPtqfZ","80QtDbig","1925052OFasTu","27774kKepgc","3143543Osocwj","20atrxKP","10TDRJEu","24QbciKd"];return(Bt=function(){return t})()}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=ie;function Kt(){const t=["revision","_data","createPositionBefore","getClientRects","change","getWalker","item","code","change:activeChange","first","removeMarker","elementStart","type","vid_start","toViewRange","nodeAfter","offsetSize","isAdded","processor","viewItem","addMarker:revision-suggestion:insertion","mapper","getAttribute","5dMfPLz","loadRevisionData","nextSibling","_fixObsoleteTags","span","hasClass","affectsData","insertions","children","markerNameToElements","attachChange","filter","addHighlight","getCustomProperty","merge","from","delete","isRemoveSuggestion","24lNGawQ","roots","text","681337mjTJmB","document","_makeTape","currentChangeNumber","toViewElement","isCollapsed","isOnRoot","index","domConverter","changeId","isSuggestion","attributesBefore","commands","attributesAfter","writer","downcastDispatcher","slice","newRevisionId","getIndex","toModel","adapter","getChild","toViewPosition","isIncorrect","then","activeChange","change:numberOfChanges","startIndex","remove","removeMarker:revision","256DKBRkw","ck-suggestion-marker-merge","markerToData","useFillerType","map","_getViewObj","_makeModelFromViewString","getRootNames","collaboration.channelId","revision-end","ck-suggestion-marker--active","_initInteractions","execute","revision-suggestion:","_joinTapes","data-revision-","diff","model","isReady","split","distance","_cleanUp","init","_getChangeFromId","revisionHistoryLabel","level","ck-suggestion-preview-marker","done","getRoot","setAttribute","ck-suggestion-preview-marker-","_makeModelFromTape","return","WidgetToolbarRepository","_balloon","enableReadOnlyMode","get","clear","activeView","getAttributes","repository","wrap","name","diffData","conversion","ck-suggestion-marker","modelRange","_markInsertions","domEvent","isAfter","toData","mousedown","authors","deletion","element:pre","vid_end","splice","element","refresh","for","markersStart","change:isEnabled","flat","_update","editor","isNavigationMode","pairId","_appendChild","mouseover","addClass","oldRevisionId","isBlock","deletions","isOfficialPlugin","isAtEnd","showNextChange","numberOfChanges","removeClass","810903dhBDIA","object","_getViewForChange","ck-revision-history-root--active","createRevision","length","120pHLfla","findIndex","attribute:vid","_markSuggestions","destroy","-new","addRevision","addMarker:revision-suggestion:deletion","bindElementToMarker","top","_cleanMarkers","4967795aNpZMS","ck-suggestion-marker-","target","_getDiff","isLimit","right","attributes","bind","checkAttribute","getLaterVisibleRevision","sort","locale","getItems","editing","dataToMarker","isRemoved","endIndex","parent","_changeIdToChange","highest","addMarker:revision","forceDisabled","reconvertMarker","_setChanges","change:activeView","forward","suggestion","4luTVwT","left","_processTape","startsWith","getRevisionData","_threeWayMerge","POSITIVE_INFINITY","isPremiumPlugin","isEnabled","add","default","_removeMissingPairs","change:isReady","ck-revision-history-root-remove","getRevisionRootsAttributes","markers","unbindElementFromMarkerName","restoreRevision","revisionHistoryAttachChange","string","resolve","consume","backward","abs","catch","isContent","detachRoot","has","indexOf","revision-start","revisionHistory","isEqual","removeAttribute","concat","config","markersEnd","isAddSuggestion","softBreak","_setDistance","marked","getRevision","showPreviousChange","ck-suggestion-marker-split","editingDowncast","createRangeIn","createPositionFromPath","listenTo","revision-suggestion","all","createUIElement","_markMismatchedRemovedTags","ck-revision-history-root-","start","end","9261276KOWqML","getDomRoot","pop","forEach","121833dpuYsH","revision-comment:","restoreRevisionCallback","nextPosition","addRoot","insertion","plugins","range","data-change-id","stop","schema","_activeViewTarget","showStack","isBefore","_setConversion","_removeRevisionMarkers","vid","compare","side","elementEnd","markerRange","rootName","_step","keys","observeMarkers","markerToHighlight","unshift","bottom","markerName","585563gaafgU","_removeUnsupportedChanges","pluginName","low","removeMarker:revision-suggestion","requires","find","selection","test","insert","dataDowncast","changes","RevisionViewer","upcast","parse","createAttributeElement","_getRevisionsRange","addRevisionData","elementToAttribute","data","hasAttribute","userId","ck-revision-history-root-add","shift","values","_findChangeIdFromDomTarget","previousPosition","isInline","createRange","_sortAndFilterDiffChanges","error","revision-viewer","RevisionsRepository","maxOffset","_markMarkers","21462780LvtvJT","uiElement","high","_changeView","ck-editor__editable__overlay","comment","consumable","view","updatePosition","push","revision:","next","enqueueChange","isObject","_revisions","mapViewToDom","_refreshStartEndIndex","isAttached","set","suggestion:","includes","isAtStart"];return(Kt=function(){return t})()}!function(t){const e=ie,i=t();for(;;)try{if(929410===-parseInt(e(319))/1*(parseInt(e(471))/2)+parseInt(e(427))/3*(parseInt(e(316))/4)+parseInt(e(298))/5*(parseInt(e(185))/6)+parseInt(e(444))/7+-parseInt(e(349))/8*(parseInt(e(189))/9)+parseInt(e(433))/10*(parseInt(e(218))/11)+-parseInt(e(253))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);const Qt={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};class Xt extends Z.Plugin{[Gt(389)];[Gt(339)];[Gt(200)];[Gt(256)];[Gt(462)];[Gt(383)];static get[Gt(220)](){return Gt(230)}static get[Gt(422)](){return!0}static get[Gt(478)](){return!0}static get[Gt(223)](){return[H.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(389)]=this[e(413)][e(195)][e(385)](e(250)),this[e(271)](e(344),null),this[e(271)](e(387),null),this[e(200)]=null,this[e(271)](e(365),null),this[e(271)](e(367),!1),this[e(271)](e(479),!0),this.on(e(410),((t,i,s)=>{const n=e;this[n(344)]=null,this[n(387)]=null,this[n(413)][n(457)][n(260)][n(279)]((t=>{const e=n;for(const i of this[e(413)][e(457)][e(260)][e(320)][e(317)])s?t[e(426)](e(257),i):t[e(418)](e(257),i)}))})),this[e(451)](e(414)).to(this,e(344),(t=>null!==t)),this[e(451)](e(322)).to(this,e(367),this,e(365),this,e(344),((t,i,s)=>t&&s?i[e(229)][e(337)](s):0)),this[e(451)](e(425)).to(this,e(367),this,e(365),((t,i)=>t?i[e(229)][e(432)]:0)),this[e(256)]=null,this[e(462)]=new Map,this[e(339)]=null,this[e(383)]=this[e(413)][e(195)][e(385)](ft.ContextualBalloon)}[Gt(371)](){const t=Gt,e=this[t(413)],i=new se(e,{direction:t(493)}),s=new se(e,{direction:t(469)});e[t(331)][t(480)](t(172),i),e[t(331)][t(480)](t(424),s),e[t(331)][t(480)](t(488),new ee(e)),this.on(t(345),(()=>{const e=t;i[e(407)](),s[e(407)]()})),this[t(203)](),this[t(360)](),e[t(384)](t(249)),e[t(195)][t(498)](t(382))&&e[t(195)][t(385)](t(382))[t(465)](t(249))}async[Gt(475)](t){const e=Gt;await this[e(299)](t);const i={};for(const s in t[e(392)]){if(t[e(392)][s][e(308)]&&!t[e(392)][s][e(308)][e(270)])continue;const n=this[e(204)](JSON[e(232)](t[e(392)][s][e(305)])),r=this[e(413)][e(457)][e(260)][e(320)],o=new U.ViewDocumentFragment(r,n[e(353)]((t=>this[e(354)](t))));this[e(413)][e(237)][e(293)][e(352)](e(170)),i[s]=this[e(413)][e(237)][e(293)][e(399)](o),this[e(413)][e(237)][e(293)][e(352)](e(481))}return i}async[Gt(485)](t){const e=Gt;await this[e(299)](t);const i={};for(const s in t[e(392)])t[e(392)][s][e(308)]&&!t[e(392)][s][e(308)][e(270)]||(i[s]=t[e(392)][s][e(332)]||{});return i}[Gt(204)](t){const e=Gt;return(t=t[e(309)]((t=>!t[e(391)]||e(160)!==t[e(391)]&&e(358)!==t[e(391)])))[e(188)]((t=>{const i=e;i(490)!=typeof t&&(t[i(306)]=this[i(204)](t[i(306)]),t[i(450)]=t[i(450)][i(309)]((t=>!t[0][i(474)](i(364)))))})),t}async[Gt(206)](t,e,i=!1){const s=Gt;if(!this[s(479)])return;const n=this[s(365)],r=this[s(389)],o=s(490)==typeof t?r[s(171)](t):t,a=s(490)==typeof e?r[s(171)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(365)]&&this[s(365)][s(336)]===c&&this[s(365)][s(419)]===u)return Promise[s(491)]();this[s(367)]=!1,this[s(387)]=null,this[s(344)]=null,this[s(365)]=new $t(c,u);const l=this[s(234)](o,a,!0)[s(353)]((t=>this[s(299)](t)));return l[s(262)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(179)](l)[s(343)]((()=>{const t=s;if(!this[t(479)])return;this[t(370)]();const e=this[t(447)](c,u);for(const i of e[t(229)])this[t(462)][t(271)](i.id,i);this[t(413)][t(366)][t(265)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(413)][s(366)][s(320)][s(356)]())i[s(497)](t);for(const t of Object[s(212)](e[s(366)])){const n=i[s(193)](t);for(const r of Object[s(212)](e[s(450)][t]))i[s(378)](r,e[s(450)][t][r],n);i[s(227)](e[s(366)][t],n,0)}})),this[t(365)][t(467)](this[t(247)](e[t(229)])),this[t(367)]=!0}))[s(495)]((t=>{const e=s;console[e(248)](t),this[e(370)](),n&&(this[e(365)]=n),this[e(367)]=!0}))}[Gt(235)](t,e){const i=Gt,s=this[i(389)][i(431)](t);return s.on(i(412),((t,i,n)=>e(i,n,s))),this[i(389)][i(439)](s),s}[Gt(299)](t){const e=Gt;if(!t||t[e(392)])return Promise[e(491)]();{const i=this[e(413)][e(165)][e(385)](e(357));return this[e(339)][e(171)]({channelId:i,revisionId:t.id})[e(343)]((i=>{const s=e;t[s(412)]({diffData:i[s(392)]},!0)}))}}[Gt(370)](){const t=Gt;this[t(344)]=null,this[t(443)](),this[t(256)]&&this[t(256)][t(437)](),this[t(256)]=null,this[t(462)][t(386)](),this[t(413)][t(366)][t(265)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(413)][i(366)][i(320)][i(356)]())e[i(497)](t)}))}[Gt(247)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(413)][e(366)][e(320)][e(356)]()){const n=this[e(413)][e(457)][e(260)][e(186)](t);if(!n)continue;const r=n[e(278)]()[e(281)](0);r&&(i[e(262)](t),s[e(271)](t,r))}return i[e(454)](((t,i)=>{const n=e,r=s[n(385)](t),o=s[n(385)](i);return r.y-o.y||r.x-o.x})),(t=t[e(309)]((t=>i[e(273)](t[e(210)]))))[e(454)](((t,s)=>i[e(159)](t[e(210)])-i[e(159)](s[e(210)]))),t}[Gt(321)](t){const e=Gt,i=Array[e(313)](t[e(486)])[e(309)]((([t,i])=>t[e(474)](e(263))&&!i[e(324)])),s=Array[e(313)](this[e(413)][e(366)][e(175)](t)[e(280)]({singleCharacters:!0}));if(0!=i[e(432)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(368)](":");if(n[e(184)][e(162)](t[e(192)])&&i[e(241)](),(t[e(244)][e(162)](n[e(183)])||t[e(244)][e(398)](n[e(183)]))&&(e(194)==r?t[e(292)]={userId:o}:e(402)==r&&(t[e(459)]={userId:o})),0==i[e(432)])break}return s}[Gt(269)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(432)];s++)e(318)===t[s][e(287)]?(t[s][e(281)][e(346)]=s,t[s][e(281)][e(460)]=s):(e(286)===t[s][e(287)]?t[s][e(281)][e(346)]=s:e(208)===t[s][e(287)]&&(t[s][e(281)][e(460)]=s),i[e(271)](t[s].id,s));for(const s of i[e(242)]())e(286)===t[s][e(287)]?t[s][e(281)][e(460)]=i[e(385)](t[s][e(415)]):e(208)===t[s][e(287)]&&(t[s][e(281)][e(346)]=i[e(385)](t[s][e(415)]))}[Gt(473)](t){const e=Gt;for(let i=0;i<t[e(432)];i++){if(e(286)===t[i][e(287)])t[i][e(281)][e(346)]=i;else if(e(208)===t[i][e(287)]){t[i][e(281)][e(460)]=i;const s=t[i][e(281)][e(346)];t[s][e(415)]=t[i].id,t[i][e(415)]=t[s].id}else t[i][e(281)][e(346)]=i,t[i][e(281)][e(460)]=i,t[i][e(415)]=null;t[i][e(409)]||(t[i][e(409)]=[],t[i][e(166)]=[])}}[Gt(396)](t,e){const i=Gt,s=t[i(309)]((t=>!t[i(292)]));for(let t=0;t<e[i(432)];t++)e[t][i(292)]&&(s[t][i(292)]=e[t][i(292)])}[Gt(355)](t){const e=Gt,i=JSON[e(232)](t),s=this[e(413)][e(457)][e(260)][e(320)],n=new U.ViewDocumentFragment(s,i[e(353)]((t=>this[e(354)](t))));return this[e(413)][e(237)][e(338)](n)}[Gt(354)](t){const e=Gt,i=this[e(413)][e(457)][e(260)][e(320)];if(e(490)==typeof t)return new U.ViewText(i,t);{const s=t[e(306)][e(353)]((t=>this[e(354)](t)));return new(Qt[t[e(287)]]||U.ViewElement)(i,t[e(391)],t[e(450)],s)}}[Gt(447)](t,e=null){const i=Gt,s=this[i(389)][i(171)](t),n=e?this[i(389)][i(171)](e):null,r=this[i(234)](s,n),o=r[r[i(432)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(432)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(212)](e[i(392)]))if(e[i(392)][t][i(308)]){const s=e[i(392)][t][i(308)];s[i(270)]?(u[i(480)](t),l[i(498)](t)&&l[i(385)](t)[i(239)]==s[i(239)]?l[i(314)](t):l[i(271)](t,s)):l[i(498)](t)?(u[i(314)](t),l[i(314)](t)):(u[i(480)](t),l[i(271)](t,s))}else u[i(480)](t)}for(const t of u){const e=l[i(498)](t)&&!l[i(385)](t)[i(270)];let s=e?r[i(432)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(392)][t]){const s=e?o[i(392)][t][i(330)]:o[i(392)][t][i(332)];c[i(450)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(366)]={};for(const e of t[i(401)])a[i(271)](e.id,e);for(const e of u){const s=t[i(392)][e]?t[i(392)][e][i(305)]:"[]",n=t[i(392)][e]?t[i(392)][e][i(421)]:"[]";t[i(366)][e]={insertions:this[i(355)](s),deletions:this[i(355)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(313)](s[i(366)][t][i(305)][i(486)])[i(309)]((([t])=>!t[i(474)](i(263)))));let h=0;for(const o of r){const r=this[i(321)](o[i(366)][t][i(305)]);o==s?(e=r,n=e[i(432)],e[i(188)]((t=>{t.id=h++})),this[i(473)](e)):this[i(396)](e,r);const a=e[i(309)]((t=>!t[i(292)]))[i(353)]((t=>t.id));let c=0;const l=this[i(321)](o[i(366)][t][i(421)]);l[i(188)]((t=>{t[i(459)]?t.id=n++:t.id=a[c++]})),this[i(473)](l),this[i(169)](e,i(292)),this[i(169)](l,i(459)),o==s&&this[i(252)](e,u),e=this[i(363)](e,l),this[i(269)](e),this[i(169)](e,i(459))}e=e[i(309)]((t=>!(t[i(292)]&&t[i(459)])));const d=new Map(o[i(366)][t][i(421)][i(486)]),f=new Set(u[i(212)]());for(const t of d[i(212)]())f[i(314)](t);this[i(436)](e,f),this[i(301)](e),e=this[i(482)](e),e=this[i(181)](e),e=this[i(219)](e);const{root:m,changes:p}=this[i(380)](e,a,t);c[i(366)][t]=m;const v=l[i(385)](t);if(v){const e=a[i(385)](v[i(239)]),s=new Ht({author:e,type:v[i(270)]?i(480):i(347),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(215)](s),c[i(450)][t][i(489)]=s.id}c[i(229)]=c[i(229)][i(164)](p)}return c}[Gt(252)](t,e){const i=Gt;for(let s=0;s<t[i(432)];s++)for(const[n,r]of e)r[i(183)][i(162)](t[s][i(244)])&&t[s][i(409)][i(262)](n),r[i(184)][i(162)](t[s][i(192)])&&t[s][i(166)][i(262)](n)}[Gt(363)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(432)]||r<e[i(432)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(262)](o);else if(a[i(459)]&&o[i(292)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(476)](t,n,e,r);s=s[i(164)](o),n=a,r=c}else a[i(459)]?(r++,s[i(262)](a)):(n++,s[i(262)](o))}return s}[Gt(436)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(432)];o++){for(let r=0;r<t[o][i(409)][i(432)];r++){const a=t[o][i(409)][r];if(!e[i(498)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(178)!=c||i(194)!=u&&i(402)!=u||(s[i(215)]({type:u,name:a,userId:l}),t[o][i(409)][i(405)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(166)][i(432)];r++){const a=t[o][i(166)][r];if(!e[i(498)](a))continue;const{group:c,type:u}=n(a);if(i(178)!=c||i(194)!=u&&i(402)!=u)continue;t[o][i(166)][i(405)](r,1),r--;const l=s[i(434)]((t=>t[i(391)]==a));l>-1&&s[i(405)](l,1)}}function n(t){const e=i,s=t[e(368)](":");return{group:s[0],type:s[1],subType:s[e(432)]>=5?s[2]:null,id:s[e(432)]<5?s[2]:s[3],authorId:s[e(432)]<5?s[3]:s[4],markerCount:6==s[e(432)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(432)];i++){if(t[e(292)]&&e(194)==s[i][e(287)])return t[e(167)]=s[i],void delete t[e(292)];if(!t[e(292)]&&!t[e(459)]&&e(402)==s[i][e(287)])return void(t[e(315)]=s[i])}}}[Gt(169)](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(271)](o.id,s);for(let s=0;s<t[i(432)];s++){if(i(459)==e&&t[s][i(292)]||i(292)==e&&t[s][i(459)])continue;if(i(318)==t[s][i(287)]){t[s][i(369)]=0;continue}const n=r[i(385)](t[s][i(415)]),o=r[i(385)](t[s].id);t[s][i(369)]=n-o}}[Gt(234)](t,e,i=!1){const s=Gt,n=[];let r=this[s(389)][s(337)](t),o=this[s(389)][s(337)](e);for(-1==o&&(o=this[s(389)][s(267)][s(432)],i=!1);r<o;)n[s(262)](this[s(389)][s(171)](r)),r++;return i&&n[s(262)](this[s(389)][s(171)](r)),n}[Gt(476)](t,e,i,s){const n=Gt,r=this[n(413)][n(366)][n(199)];let o=e;for(;t[o]&&t[o][n(292)];)o++;let a=s;for(;i[a]&&i[a][n(459)];)a++;u(t,e,o),u(i,s,a);const c=i[n(335)](s,a)[n(164)](t[n(335)](e,o));return c[n(454)](((t,e)=>t[n(207)]!=e[n(207)]?t[n(207)]-e[n(207)]:t[n(374)]!=e[n(374)]?t[n(374)]-e[n(374)]:t[n(369)]!=e[n(369)]?e[n(369)]-t[n(369)]:!!t[n(292)]!=!!e[n(292)]?-1==t[n(207)]||0==t[n(207)]?t[n(292)]?-1:1:t[n(292)]?1:-1:t[n(326)]-e[n(326)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(477)],c=!0;for(let n=e;n<i;n++)if(r[s(245)](t[n][s(281)])||(c=!1),t[n][s(281)][s(346)]<e&&(o=n),t[n][s(281)][s(460)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(207)]=n<=o?-1:n<a?0:1,t[n][s(326)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(369)]?t[i][s(374)]=u:(u++,t[i][s(374)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(207)]&&(t[n][s(374)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(369)]?t[e][s(374)]=u:(u--,t[e][s(374)]=u,u--)}}[Gt(301)](t){const e=Gt,i=new Map,s=this[e(413)][e(366)][e(199)];for(let n=1;n<t[e(432)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(318)==c[e(287)])continue;if(c[e(287)]!=u[e(287)])continue;if(!s[e(420)](u[e(281)])||s[e(448)](u[e(281)]))continue;if(!s[e(420)](c[e(281)])||s[e(448)](c[e(281)]))continue;if((t[n][e(292)]||t[n][e(167)])&&t[n-1][e(459)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(459)]||!t[n-1][e(292)]&&!t[n-1][e(167)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(374)]==o[e(374)],h=Math[e(494)](r[e(374)])<Math[e(494)](o[e(374)])&&0==o[e(369)];(l||h)&&(i[e(271)](o.id,r.id),t[e(405)](a,1),n--,r[e(292)]=!1)}for(let s=0;s<t[e(432)];s++)i[e(498)](t[s][e(415)])&&(t[s][e(415)]=i[e(385)](t[s][e(415)]))}[Gt(482)](t){const e=Gt,i=new Set(t[e(353)]((t=>t.id)));for(let s=0;s<t[e(432)];s++)i[e(498)](t[s][e(415)])||0==t[s][e(369)]||(t[s][e(342)]=!0);return t[e(309)]((t=>!t[e(342)]))}[Gt(181)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(432)];s++){if(i[e(498)](t[s].id)&&t[s][e(459)]&&(t[s][e(342)]=!0),t[s][e(342)])continue;if(0==t[s][e(369)])continue;if(e(286)!=t[s][e(287)])continue;if(null==t[s][e(415)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(415)];)e(286)==t[n][e(287)]?r++:e(208)==t[n][e(287)]&&r--,n++;if(0!=r)if(t[s][e(459)])t[s][e(342)]=!0;else for(;n!=s;)t[n][e(459)]&&0!=t[n][e(369)]&&(t[n][e(342)]=!0,i[e(480)](t[n][e(415)])),n--}return t[e(309)]((t=>!t[e(342)]))}[Gt(219)](t){const e=Gt,i=this[e(413)][e(366)][e(199)];for(let s=0;s<t[e(432)];s++){if(!(t[s][e(292)]||t[s][e(167)]||t[s][e(459)]||t[s][e(315)]))continue;if(0==t[s][e(369)])continue;const n=t[s][e(281)];i[e(420)](n)||i[e(448)](n)||(t[s][e(292)]&&delete t[s][e(292)],t[s][e(167)]&&delete t[s][e(167)],t[s][e(315)]&&delete t[s][e(315)],t[s][e(459)]&&(t[s][e(342)]=!0))}return t[e(309)]((t=>!t[e(342)]))}[Gt(380)](t,e,i){const s=Gt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(413)][s(366)],c=a[s(199)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(432)];e++)if(s(286)===t[e][s(287)]){t[e][s(244)]=a[s(176)](n,f);const i=new U.Element(t[e][s(281)][s(391)],t[e][s(281)][s(388)]());u[0][s(416)](i),f[s(262)](0),u[s(215)](i),t[e][s(192)]=a[s(176)](n,f)}else s(208)===t[e][s(287)]?(u[s(241)](),t[e][s(244)]=a[s(176)](n,f),f[s(187)](),f[f[s(432)]-1]++,t[e][s(192)]=a[s(176)](n,f)):(t[e][s(244)]=a[s(176)](n,f),d?d[s(276)]+=t[e][s(281)][s(237)]:d=new U.Text(t[e][s(281)][s(237)],t[e][s(281)][s(388)]()),t[e+1]&&s(318)===t[e+1][s(287)]&&v(d,t[e+1][s(281)])||(u[0][s(416)](d),d=null),f[f[s(432)]-1]+=t[e][s(281)][s(291)],t[e][s(192)]=a[s(176)](n,f));for(let e=0;e<t[s(432)];e++){const i=t[e][s(244)],n=t[e][s(192)];for(const n of t[e][s(409)])o[s(271)](n,{start:i,end:null});m(s(315),e,i,n),m(s(167),e,i,n),m(s(459),e,i,n),m(s(292),e,i,n);for(const i of t[e][s(166)])o[s(385)](i)[s(184)]=n}for(const[t,e]of o){const i=this[s(413)][s(366)][s(246)](e[s(183)],e[s(184)]);n[s(486)][s(271)](t,i)}return r[s(454)](((t,e)=>{const i=s,r=n[i(486)][i(385)](i(263)+t.id),o=n[i(486)][i(385)](i(263)+e.id);return r[i(183)][i(202)](o[i(183)])?-1:r[i(183)][i(398)](o[i(183)])?1:r[i(184)][i(202)](o[i(184)])?-1:r[i(184)][i(398)](o[i(184)])?1:i(480)===t[i(287)]?-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(239)]:null,d=i===t[o(432)]-1,f=h[e][0],m=c[o(266)](t[i][o(281)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(184)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(239)]!==u&&(l[e][o(184)]=n,f&&f[o(239)]===l[e][o(239)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(286)!==t[i][o(287)]||f&&f[o(239)]===u||h[e][o(215)]({userId:u,object:t[i][o(281)],change:l[e]}),o(208)===t[i][o(287)]&&f&&f[o(428)]===t[i][o(281)]&&(h[e][o(241)](),l[e]=f[o(279)])),l[e]&&d&&(l[e][o(184)]=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(281)],f=a[h(199)][h(420)](d)&&!a[h(199)][h(448)](d),m=t[h(290)]==o[h(461)]&&o[h(274)];if(f&&m)return;const p=a[h(246)](t,o),v=e[h(385)](u),g=new Ht({author:v,type:h(292)==l||h(167)==l?h(480):h(347),data:{isSuggestion:h(167)==l||h(315)==l},createdAt:new Date,rootName:i});r[h(262)](g),n[h(486)][h(271)](h(263)+g.id,p)}function v(t,e){const i=s,n=t[i(388)](),r=e[i(388)]();for(const t of n){if(t[1]!==e[i(297)](t[0]))return!1;r[i(264)]()}return r[i(264)]()[i(376)]}}[Gt(203)](){const t=Gt;this[t(413)][t(393)][t(408)](t(231))[t(458)]({view:t(275)}),this[t(413)][t(393)][t(408)](t(174))[t(214)]({model:t(275),view:e=>{const i=t,s=e[i(217)][i(368)](":")[1],n=this[i(372)](s);if(!n)return null;const r=i(480)==n[i(287)]?i(194):i(402),o=[i(394),i(445)+r];return n[i(237)][i(329)]&&o[i(262)](i(445)+r+i(438)),this[i(344)]==n&&o[i(262)](i(359)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(413)][t(393)][t(408)](t(231))[t(480)]((e=>{const i=t;e.on(i(403),((t,e,s)=>{const n=i,r=e[n(294)][n(340)](0);if(!r||!r.is(n(406),n(282)))return;if(!s[n(259)][n(492)](r,{attributes:[n(288),n(404)]}))return;const o=e[n(395)][n(183)][n(290)];s[n(333)][n(378)](n(288),r[n(297)](n(288)),o),s[n(333)][n(378)](n(404),r[n(297)](n(404)),o)}),{priority:i(221)})})),this[t(413)][t(393)][t(408)](t(231))[t(480)]((e=>{const i=t;e.on(i(406),((t,e,s)=>{const n=i;if(!s[n(259)][n(492)](e[n(294)],{attributes:[n(288),n(404)]}))return;if(e[n(395)][n(324)])return;const r=e[n(395)][n(183)][n(290)];r[n(238)](n(288))||r[n(238)](n(205))||(s[n(333)][n(378)](n(288),e[n(294)][n(297)](n(288)),r),s[n(333)][n(378)](n(404),e[n(294)][n(297)](n(404)),r))}),{priority:i(221)})})),this[t(413)][t(393)][t(408)](t(231))[t(236)]({view:{name:t(302),attributes:{vid:!0}},model:{key:t(205),value:e=>e[t(297)](t(205))}}),this[t(413)][t(366)][t(199)].on(t(452),((e,[,i])=>{const s=t;[s(288),s(404),s(205)][s(273)](i)&&(e[s(381)]=!0,e[s(198)]())}),{priority:t(463)}),this[t(413)][t(393)][t(408)](t(228))[t(480)]((e=>{const i=t;e.on(i(435),((t,e,s)=>{const n=i;if(" "!=e[n(281)][n(237)]||e[n(281)][n(461)][n(251)]>1)return;if(!s[n(259)][n(492)](e[n(281)],t[n(391)]))return;const r=s[n(333)],o=s[n(296)][n(289)](e[n(196)]);r[n(390)](o,r[n(233)](n(302)))}))})),this[t(413)][t(393)][t(408)](t(228))[t(351)]({model:t(275)}),this[t(413)][t(457)][t(334)].on(t(464),function(e){const i=t,s=e[i(195)][i(385)](i(230));return(t,n,r)=>{const o=i,a=n[o(217)][o(368)](":")[1],c=s[o(372)](a);if(!c)return null;const u=o(480)==c[o(287)]?o(368):o(312);if(!r[o(259)][o(226)](n[o(209)],t[o(391)]))return;const l=n[o(209)][o(280)](),h=n[o(209)][o(183)],d=e[o(366)][o(199)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(281)];p=p||d[o(496)](e);const i=r[o(296)][o(323)](e);if(i&&i[o(311)](o(310)))return;o(208)==t[o(287)]&&d[o(420)](e)&&!d[o(448)](e)&&(e[o(300)]||h[o(423)]?f&&f[o(461)]==e||(f=e,g(t[o(244)]),v=!0):m=m||t[o(244)])}function g(t){const e=o,i=r[e(333)][e(180)](e(302),{class:e(445)+u}),a=r[e(296)][e(341)](t);c[e(237)][e(329)]&&r[e(333)][e(418)](e(445)+u+e(438),i),s[e(344)]==c&&r[e(333)][e(418)](e(359),i),r[e(333)][e(227)](a,i),r[e(296)][e(441)](i,n[e(217)])}p||v||!m||g(m)}}(this[t(413)]),{priority:t(255)}),this[t(413)][t(457)][t(334)].on(t(348),((e,i,s)=>{const n=t,r=s[n(296)][n(307)](i[n(217)]);if(r)for(const t of r)(t[n(303)](n(173))||t[n(303)](n(350)))&&(s[n(296)][n(487)](t,i[n(217)]),s[n(333)][n(347)](t))}),{priority:t(255)}),this[t(413)][t(457)][t(334)].on(t(464),((e,i,s)=>{const n=t,r=i[n(217)][n(368)](":")[1],o=this[n(372)](r);if(!o)return null;const a=n(480)==o[n(287)]?n(368):n(312);if(s[n(259)][n(226)](i[n(209)],e[n(391)]))for(const t of i[n(209)][n(456)]()){if(!t.is(n(406),n(168)))continue;const e=s[n(333)][n(180)](n(302),{class:n(445)+a}),r=s[n(296)][n(341)](this[n(413)][n(366)][n(277)](t));o[n(237)][n(329)]&&s[n(333)][n(418)](n(445)+a+n(438),e),this[n(344)]==o&&s[n(333)][n(418)](n(359),e),s[n(333)][n(227)](r,e),s[n(296)][n(441)](e,i[n(217)])}}),{priority:t(255)}),this[t(413)][t(366)][t(320)].on(t(279),(()=>{const e=t;this[e(413)][e(457)][e(260)][e(279)]((t=>{const i=e;for(const e of this[i(413)][i(366)][i(320)][i(356)]()){const s=this[i(413)][i(366)][i(320)][i(377)](e),n=this[i(413)][i(457)][i(260)][i(320)][i(377)](e);if(n){const e=s[i(297)](i(489));if(t[i(163)](i(197),n),t[i(426)](i(240),n),t[i(426)](i(484),n),t[i(426)](i(430),n),e){const s=this[i(372)](e);if(!s)return null;t[i(378)](i(197),e,n),t[i(418)](i(182)+s[i(287)],n),this[i(344)]==s&&t[i(418)](i(430),n)}}}}))})),this[t(413)][t(393)][t(408)](t(231))[t(458)]({view:t(258),model:e=>t(190)+e,converterPriority:t(463)}),this[t(413)][t(393)][t(408)](t(231))[t(458)]({view:t(470),model:e=>t(362)+e,converterPriority:t(463)}),this[t(413)][t(393)][t(408)](t(228))[t(351)]({model:t(178),view:e=>({name:t(272)+e,group:t(178)}),converterPriority:t(463)}),this[t(413)][t(393)][t(408)](t(174))[t(214)]({model:t(178),view:e=>{const i=t,s=e[i(217)][i(368)](":")[1];return i(194)!=s&&i(402)!=s?null:{classes:[i(375),i(379)+s]}}}),this[t(413)][t(457)][t(334)].on(t(440),te(this[t(413)],t(312)),{priority:t(255)}),this[t(413)][t(457)][t(334)].on(t(295),te(this[t(413)],t(368)),{priority:t(255)}),this[t(413)][t(457)][t(334)].on(t(222),((e,i,s)=>{const n=t,r=s[n(296)][n(307)](i[n(217)]);if(r)for(const t of r)t.is(n(254))&&(s[n(296)][n(487)](t,i[n(217)]),s[n(333)][n(347)](t))}),{priority:t(255)})}[Gt(372)](t){const e=Gt;return this[e(462)][e(385)](t)}[Gt(429)](t){const e=Gt;return this[e(256)]&&this[e(256)][e(437)](),this[e(256)]=new Pt(this[e(413)][e(455)],t),this[e(256)]}[Gt(360)](){const t=Gt;this[t(413)][t(366)][t(320)][t(225)][t(213)](t(275)),this.on(t(468),((e,i,s,n)=>{const r=t;n&&this[r(383)][r(347)](n),s&&(this[r(383)][r(480)]({view:s,stackId:r(373),position:{target:()=>{const t=r,e=this[t(413)][t(457)],i=this[t(372)](s[t(328)]);let n;if(i[t(237)][t(325)]){const s=e[t(260)][t(186)](i[t(210)]);n=Array[t(313)](s[t(278)]())}else{const i=this[t(413)][t(366)][t(486)][t(385)](t(263)+s[t(328)]);n=Array[t(313)](e[t(296)][t(307)](i[t(391)]))[t(353)]((i=>e[t(260)][t(327)][t(268)](i)))[t(353)]((e=>Array[t(313)](e[t(278)]())))[t(411)]()}return this[t(200)]&&n[t(224)]((e=>e[t(442)]-3<=this[t(200)].y&&e[t(216)]+3>=this[t(200)].y&&e[t(472)]-3<=this[t(200)].x&&e[t(449)]+3>=this[t(200)].x))||n[0]}}}),this[r(383)][r(201)](r(373)))})),this.on(t(283),((e,i,s,n)=>{const r=t;this[r(387)]=s?this[r(429)](s):null,this[r(413)][r(366)][r(279)]((()=>{const t=r,e=this[t(413)][t(457)];n&&(n[t(237)][t(325)]?e[t(260)][t(279)]((i=>{const s=t;i[s(426)](s(430),e[s(260)][s(320)][s(377)](n[s(210)]))})):e[t(466)](t(263)+n.id)),s&&(s[t(237)][t(325)]?e[t(260)][t(279)]((i=>{const n=t;i[n(418)](n(430),e[n(260)][n(320)][n(377)](s[n(210)]))})):e[t(466)](t(263)+s.id))}))})),this[t(177)](this[t(413)][t(457)][t(260)][t(320)],t(417),((e,i)=>{const s=t;if(this[s(344)])return;const n=this[s(243)](i[s(446)]),r=this[s(462)][s(385)](n);r?(this[s(200)]={x:i[s(397)].x,y:i[s(397)].y},this[s(387)]=this[s(429)](r)):(this[s(200)]=null,this[s(387)]=null)})),this[t(177)](this[t(413)][t(457)][t(260)][t(320)],t(400),((e,i)=>{const s=t,n=this[s(243)](i[s(446)]),r=this[s(462)][s(385)](n);r?(this[s(200)]={x:i[s(397)].x,y:i[s(397)].y},r===this[s(344)]?this[s(383)][s(261)]():this[s(344)]=r):(this[s(200)]=null,this[s(344)]=null)}))}[Gt(243)](t){const e=Gt;do{const i=t[e(297)](e(197));if(i)return i;t=t[e(461)]}while(t);return null}[Gt(443)](){const t=Gt;this[t(413)][t(366)][t(279)]((e=>{const i=t;for(const t of this[i(413)][i(366)][i(486)])e[i(285)](t)}))}}function te(t,e){return(i,s,n)=>{const r=ie;if(!n[r(259)][r(226)](s[r(209)],i[r(391)]))return;const o=s[r(209)][r(280)](),a=s[r(209)][r(183)],c=t[r(366)][r(199)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(281)];h=h||c[r(496)](e);const i=n[r(296)][r(323)](e);if(i&&i[r(311)](r(310)))return;r(208)==t[r(287)]&&c[r(420)](e)&&!c[r(448)](e)&&(e[r(300)]||a[r(423)]?u&&u[r(461)]==e||(u=e,f(t[r(244)]),d=!0):l=l||t[r(244)])}function f(t){const i=r,o=n[i(296)][i(341)](t),a=n[i(333)][i(180)](i(302),{class:i(379)+e});n[i(333)][i(227)](o,a),n[i(296)][i(441)](a,s[i(217)])}h||d||!l||f(l)}}class ee extends Z.Command{constructor(t){const e=Gt;super(t);const i=t[e(195)][e(385)](Xt);this[e(304)]=!1,this[e(177)](i,e(483),(()=>this[e(407)]())),this[e(177)](i,e(410),(()=>this[e(407)]()))}[Gt(361)](){const t=Gt,e=this[t(413)],i=e[t(195)][t(385)](Xt),s=i[t(367)]?i[t(365)][t(336)]:null;e[t(165)][t(385)](t(161))[t(191)](s)}[Gt(407)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(413)][t(195)][t(385)](Xt),r=n&&s[t(453)](n[t(336)]);this[t(479)]=e&&i&&Boolean(r)}}function ie(t,e){const i=Kt();return(ie=function(t,e){return i[t-=159]})(t,e)}class se extends Z.Command{[Gt(211)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(195)][i(385)](Xt);this[i(304)]=!1,this[i(211)]=i(469)===e?1:-1,this[i(177)](s,i(483),(()=>this[i(407)]())),this[i(177)](s,i(410),(()=>this[i(407)]())),this[i(177)](s,i(283),(()=>this[i(407)]()))}[Gt(361)](){const e=Gt,i=this[e(413)],s=i[e(195)][e(385)](Xt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(344)]=n?s[e(365)][e(229)][e(385)](r+this[e(211)]):s[e(365)][e(229)][e(284)],s[e(344)][e(237)][e(325)])o=i[e(457)][e(260)][e(186)](s[e(344)][e(210)]);else{const t=i[e(366)][e(486)][e(385)](e(263)+s[e(344)].id);o=(0,H.getMarkerDomElement)(i[e(457)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(407)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(413)][t(195)][t(385)](Xt);this[t(479)]=!!(r&&n&&s)&&(!e||(1===this[t(211)]?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(t,e){const i=ae();return(oe=function(t,e){return i[t-=457]})(t,e)}function ae(){const t=["isReady","Total","_isStatusLabelVisible","4144206UnoFyz","isNavigationMode","78024exxhTB","forward","ck-revision-history-ui__changes-navigation__label","706049GHtLrm","10DjJLAO","Show previous change","div","span","bindTemplate","4515175kqkFpR","ck-revision-history-ui__changes-navigation__navigation","backward","set","bind","isForwardNavigationEnabled","execute","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","EDIT_X_OF_Y_REVISIONS","Loading...","fire","isBackwardNavigationEnabled","876FRoKMN","Show next change","5128929zybFSo","ck-hidden","currentChangeNumber","_statusText","setTemplate","numberOfChanges","630366SNHzhQ","7936JuAvDS","2EIDzmE","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","No changes","ck-revision-history-ui__changes-navigation","isEnabled","329mekGiR","36fLBLAa"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(520267===-parseInt(e(472))/1*(-parseInt(e(501))/2)+-parseInt(e(491))/3*(parseInt(e(500))/4)+parseInt(e(478))/5+parseInt(e(467))/6+parseInt(e(462))/7*(-parseInt(e(469))/8)+parseInt(e(493))/9*(-parseInt(e(473))/10)+-parseInt(e(499))/11*(parseInt(e(463))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(477)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(481)](e(468),!1),this[e(481)](e(464),!1),this[e(481)](e(495),0),this[e(481)](e(498),0),this[e(481)](e(483),!1),this[e(481)](e(490),!1),this[e(482)](e(466)).to(this,e(464),this,e(498),((t,e)=>t&&e>0)),this[e(482)](e(496)).to(this,e(464),this,e(495),this,e(498),this,e(468),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(488));if(!n)return J(t,o(459));const a=J(t,o(458),n);return r?J(t,o(457),[s+1,n]):a})),s[e(481)]({label:J(t,e(474)),tooltip:!0,icon:dt.IconChevronUp}),n[e(481)]({label:J(t,e(492)),tooltip:!0,icon:dt.IconChevronDown}),s[e(482)](e(461)).to(this,e(490)),n[e(482)](e(461)).to(this,e(483)),s.on(e(484),(()=>this[e(489)](e(484),e(480)))),n.on(e(484),(()=>this[e(489)](e(484),e(470)))),this[e(497)]({tag:e(475),attributes:{class:["ck",e(486),e(460)]},children:[{tag:e(476),attributes:{class:[e(485)]},children:[{tag:e(476),attributes:{class:[e(471),i.if(e(466),e(494),(t=>!t))]},children:[{text:i.to(e(468),(i=>i?J(t,e(487))+": ":J(t,e(465))+": "))}]},{text:i.to(e(496))}]},new ft.ToolbarSeparatorView,{tag:e(475),attributes:{class:[e(479)]},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;const he=de;function de(t,e){const i=me();return(de=function(t,e){return i[t-=458]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(760497===-parseInt(e(463))/1*(parseInt(e(458))/2)+-parseInt(e(479))/3*(parseInt(e(482))/4)+-parseInt(e(469))/5+parseInt(e(459))/6*(parseInt(e(476))/7)+parseInt(e(477))/8+parseInt(e(467))/9+-parseInt(e(466))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const fe=he(472);function me(){const t=["3014890JpIaUr","isOfficialPlugin","editor","ck-editor__editable__loading-overlay","hide","show","pluginName","7DsFbDy","5752280tWLDTo","editing","129YecIeV","removeClass","document","11644oTnixZ","24tRccAS","8842122hdZZLv","view","change","roots","15297EVbZrX","RevisionViewerLoadingOverlay","addClass","15984140ycfiuV","9701136EReSzn","isPremiumPlugin"];return(me=function(){return t})()}class pe extends Z.Plugin{static get[he(475)](){return he(464)}static get[he(470)](){return!0}static get[he(468)](){return!0}[he(474)](){const t=he,e=this[t(471)][t(478)][t(460)];e[t(461)]((i=>{const s=t;for(const t of e[s(481)][s(462)])i[s(465)](fe,t)}))}[he(473)](){const t=he,e=this[t(471)][t(478)][t(460)];e[t(461)]((i=>{const s=t;for(const t of e[s(481)][s(462)])i[s(480)](fe,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=114]})(t,e)}function ye(){const t=["441832GaXCBl","1731288jdeSuR","plugins","isBackwardNavigationEnabled","exitToEditing","pluginName","bind","restoreRevision","isOfficialPlugin","change:isReady","changesNavigation","showNextChange","show","274169MomIDi","isPremiumPlugin","10hbrlrr","config","forward","componentFactory","set","init","2161656AKbcpA","7irZryp","33321690dJGuVA","add","hide","isForwardNavigationEnabled","Back to editing","3731240EFTPhx","RevisionViewerUI","showPreviousChange","get","4246758NHBYxo","currentChangeNumber","execute","editor","numberOfChanges","4IKWMlR","isEnabled","isNavigationMode","revisionHistory","requires","isReady","listenTo","ck-revision-history-ui__back-to-editing","commands","Restore this revision","closeRevisionViewerCallback"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(443233===-parseInt(e(143))/1+-parseInt(e(131))/2+-parseInt(e(151))/3+parseInt(e(119))/4*(-parseInt(e(158))/5)+-parseInt(e(114))/6+-parseInt(e(152))/7*(-parseInt(e(130))/8)+parseInt(e(153))/9*(parseInt(e(145))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends Z.Plugin{static get[ve(135)](){return ve(159)}static get[ve(138)](){return!0}static get[ve(144)](){return!0}static get[ve(123)](){return[Xt,pe]}[ve(150)](){const t=ve,e=this[t(117)],i=e[t(132)][t(161)](Xt),s=e[t(132)][t(161)](pe);e.ui[t(148)][t(154)](t(134),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(149)]({label:J(i,s(157)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(126)}),this[s(125)](n,s(116),(()=>{const t=s;e[t(146)][t(161)](t(122))[t(129)]()})),n})),e.ui[t(148)][t(154)](t(137),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(149)]({label:J(i,s(128)),withText:!0,tooltip:!0}),n[s(136)](s(120)).to(e[s(127)][s(161)](s(137))),this[s(125)](n,s(116),(()=>e[s(116)](s(137)))),n})),e.ui[t(148)][t(154)](t(140),(s=>{const n=t,r=new ce(s),o=e[n(127)][n(161)](n(160)),a=e[n(127)][n(161)](n(141));return r[n(136)](n(133)).to(o,n(120)),r[n(136)](n(156)).to(a,n(120)),r[n(136)](n(124),n(115),n(118),n(121)).to(i),this[n(125)](r,n(116),((t,i)=>{const s=n;e[s(116)](s(147)===i?s(141):s(160))})),r})),s[t(142)](),i.on(t(139),((e,i,n)=>{const r=t;n?s[r(155)]():s[r(142)]()}))}}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-=227]})(t,e)}function Se(){const t=["fieldView","scrollWidth","Revision name","36601803tqYXpk","10xEuGjO","bindTemplate","extendTemplate","ck-tooltip_multi-line","_updateTooltipText","input","3113499qKgsYD","set","2483750evyDzs","clientWidth","_resizeObserver","5214522bJhuPy","destroy","span","237822wQtMal","511630RFEwpK","listenTo","48OFUIsQ","placeholder","3170368glCsBs","ck-revision-history-sidebar__revision-name","_tooltipString","7pwocDL","Enter the revision name","value","element","render"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(593188===-parseInt(e(232))/1*(parseInt(e(255))/2)+-parseInt(e(247))/3+-parseInt(e(229))/4+parseInt(e(249))/5+-parseInt(e(252))/6+-parseInt(e(256))/7*(parseInt(e(227))/8)+-parseInt(e(240))/9*(-parseInt(e(241))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(251)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(242)];this[i(248)]({label:J(t,i(239)),_tooltipString:""}),this[i(237)][i(228)]=J(t,i(233)),this[i(243)]({tag:i(254),attributes:{class:[i(230)],"data-cke-tooltip-text":s.to(i(231)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(244)}})}[_e(236)](){const e=_e;super[e(236)](),this[e(251)]=new t.ResizeObserver(this[e(237)][e(235)],(()=>this[e(245)]())),this[e(257)](this[e(237)],e(246),(()=>this[e(245)]()))}[_e(253)](){const t=_e;super[t(253)](),this[t(251)]&&this[t(251)][t(253)]()}[_e(245)](){const t=_e,e=this[t(237)][t(235)];this[t(231)]=e[t(238)]>e[t(250)]&&e[t(234)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=463]})(t,e)}function Re(){const t=["1541618ftjycC","3694620BDPElk","88Wwzyaz","9BqVVxv","Revision author","ck-revision-history-sidebar__revision-author","955fnbhRe","2rTfyyK","1397403fcmSkR","span","ck-revision-history-sidebar__revision-author_creator","323651GsEqjI","11ycyqRP","Revision creator","33416MDXLRJ","15306gcigYK","144SdaLTc","set","setTemplate","ck-revision-history-sidebar__revision-author__name","188577aarySv","name","0 0 11 10","push"];return(Re=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(248470===parseInt(e(478))/1*(-parseInt(e(474))/2)+-parseInt(e(470))/3*(parseInt(e(481))/4)+parseInt(e(473))/5*(-parseInt(e(482))/6)+-parseInt(e(475))/7+parseInt(e(469))/8*(parseInt(e(463))/9)+parseInt(e(468))/10*(-parseInt(e(479))/11)+parseInt(e(483))/12*(parseInt(e(467))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(484)]({content:dt.IconUser,viewBox:s(465)});const r=["ck",s(472)];i&&r[s(466)](s(477));const o=[{tag:s(476),attributes:{class:["ck",s(486)],title:J(t,s(i?480:471))},children:[n,e[s(464)]]}];this[s(485)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["2WCROMo","488016siWpWS","toLocaleDateString","2221476PinTnk","1701343zNbUMA","long","2187OnlTFp","1325465oORGLd","2671248fRUcqN","6WYoAAU","655152gSVdiA","3180WvPyZQ","numeric","toLocaleTimeString"];return(Ve=function(){return t})()}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=305]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(388672===parseInt(e(310))/1+-parseInt(e(309))/2*(parseInt(e(312))/3)+parseInt(e(317))/4+parseInt(e(316))/5*(-parseInt(e(318))/6)+parseInt(e(313))/7+-parseInt(e(305))/8+parseInt(e(315))/9*(parseInt(e(306))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(){const t=["execute","source","menu","4BjuIqc","function","stopPropagation","isVisible","set","3155928pxGSVb","92710McRyue","bindTemplate","buttonView","7289183tHQywf","action","351DdJSOT","190dWNIQK","change:isActionsDropdownOpen","first","extendTemplate","isReady","ck-revision-history-sidebar__revision__actions","class","panelPosition","116540yuvYXV","isActionsDropdownOpen","199860wDfBiA","2040075yayQrC","locale","133SWdSoS","add","Restore this revision","Show more items","_action","isOpen","listenTo","479312QYhbYj","Name this revision","model","Compare against selected","button","menuitem","items","isEnabled","name","bind","children","ck-on","map","listView","find"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(664682===parseInt(e(444))/1*(parseInt(e(438))/2)+parseInt(e(411))/3+parseInt(e(443))/4+parseInt(e(400))/5*(parseInt(e(410))/6)+parseInt(e(413))/7*(-parseInt(e(420))/8)+parseInt(e(399))/9*(-parseInt(e(408))/10)+-parseInt(e(447))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);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;function Pe(t,e){const i=We();return(Pe=function(t,e){return i[t-=321]})(t,e)}const ze=Pe;function We(){const t=["ck-revision-history-sidebar__actions_dropdown_open","uiLanguage","from","unshift","3221960OXcevU","220","revisionActionsView","srcElement","6KWJocK","deselect","length","div","_createdAtFormatted","authors","ck-revision-history-sidebar__revision-wrapper","fire","revisionNameView","createdAt","fieldView","4idRPXu","ck-revision-history-sidebar__revision-authors","set","creator","bindTemplate","_requireRevisionName","unhighlight","263446VkUVxe","ck-revision-history-sidebar__revision_highlighted","_revision","26927613kOkOhP","3004038yGMKvp","span","select","closest","10lGppsa","listenTo","map","ck-revision-history-sidebar__revision__controls-wrapper","setName","ck-reset","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision","isConfirm","ck-disabled",".ck-thread__remove-confirm","render","element","setTemplate","isReady","filter","3663681GuArwp","ck-revision-history-sidebar__revision_selected","isEnabled","bind","2692614DYPtBZ","name","value","isSelected","extendTemplate","highlight","isHighlighted","5986976iafDbv","isActionsDropdownOpen","change","ck-revision-history-sidebar__revision__date"];return(We=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(467937===parseInt(e(345))/1*(parseInt(e(327))/2)+-parseInt(e(373))/3+parseInt(e(338))/4*(-parseInt(e(323))/5)+-parseInt(e(349))/6+-parseInt(e(369))/7+-parseInt(e(380))/8+parseInt(e(348))/9*(parseInt(e(353))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,H.ConfirmMixin)(ft.View)){id;[ze(335)];[ze(325)];[ze(347)];[ze(343)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(342)],a=function(t,e){const i=r,s=Array[i(321)](e[i(332)])[i(368)]((t=>t!=e[i(341)]));return e[i(341)]&&s[i(322)](e[i(341)]),s[i(355)]((s=>new Ae(t,s,s==e[i(341)])))}(e,i);this.id=i.id,this[r(347)]=i,this[r(343)]=n,this[r(372)](r(374),r(336)).to(i),this[r(372)](r(331)).to(this,r(336),(t=>{return i=e[r(385)],(s=t)[(n=Me)(311)](i,{month:n(314),day:n(307)})+", "+s[n(308)](i,{hour:n(307),minute:n(307)});var i,s,n})),this[r(340)](r(376),!1),this[r(340)](r(379),!1),this[r(340)](r(381),!1),this[r(340)](r(367),!1),this[r(340)](r(371),!1),this[r(335)]=new Oe(e,ft.createLabeledInputText),this[r(335)][r(337)][r(377)]({attributes:{maxlength:r(324)}}),this[r(335)][r(337)][r(372)](r(375)).to(this,r(374),(t=>t||this[r(331)])),this[r(335)][r(372)](r(371)).to(this,r(376),this,r(371),((t,e)=>t&&e)),this[r(325)]=s&&s[r(329)]?function(e,i){const s=Fe,n=e[s(445)],r=e[s(412)],o=(0,ft.createDropdown)(r);o[s(407)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(412)],n={"Compare against selected":J(s,i(423)),"Name this revision":J(s,i(421)),"Restore this revision":J(s,i(415))};return e[i(432)]((t=>{const e=i,s=n[t[e(428)]];return s&&s!==t[e(428)]&&(t[e(428)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(424),model:new ft.ViewModel({label:t[n(428)],class:t[n(406)],withText:!0,role:n(425),_action:t[n(448)]})};i[n(422)][n(429)](n(427)).to(e,n(409),(i=>n(439)!=typeof t[n(427)]||!i||t[n(427)](e))),o[n(414)](i)}return o}(e,i);return e[s(429)](s(409)).to(o,s(418)),o[s(446)][s(442)]({label:J(r,s(416)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(403)]({attributes:{class:[s(405),n.if(s(409),s(431))]},on:{click:n.to((t=>t[s(440)]()))}}),o.on(s(435),(t=>{const i=s;e[i(404)]&&i(439)==typeof t[i(436)][i(417)]&&t[i(436)][i(417)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(437)}),o[s(419)](e,s(401),((t,n,r)=>{const a=s;if(r)for(const t of o[a(433)][a(426)]){const s=t[a(430)][a(402)],n=i[a(434)]((t=>t[a(448)]===s[a(417)]))[a(441)];t[a(441)]=void 0===n||n(e)}})),o}(this,s):"",this[r(325)]&&this[r(325)][r(372)](r(371)).to(this),this[r(366)]({tag:r(330),attributes:{class:["ck",r(358),r(333),o.if(r(361),r(359))]},children:[{tag:r(330),attributes:{class:["ck",r(358),r(360),o.if(r(371),r(362),(t=>!t)),o.if(r(376),r(370)),o.if(r(379),r(346)),o.if(r(381),r(384))]},children:[this[r(335)],{tag:r(350),attributes:{class:["ck",r(383)]},children:[{text:o.to(r(331))}]},{tag:r(330),attributes:{class:["ck",r(356)]},children:[{tag:"ul",attributes:{class:["ck",r(339)]},children:a}]},this[r(325)]],on:{click:o.to((t=>{const e=r;t[e(326)][e(352)](e(363))||this[e(367)]&&this[e(371)]&&this[e(334)](e(351),{id:this.id})}))}}]})}[ze(364)](){const t=ze;super[t(364)]();const e=this[t(335)][t(337)][t(365)];this[t(354)](e,t(382),(()=>{const i=t;this[i(343)]&&!e[i(375)]||this[i(334)](i(357),{id:this.id,name:e[i(375)]}),e[i(375)]||(e[i(375)]=this[i(374)]?this[i(374)]:this[i(331)])}))}[ze(351)](){this[ze(376)]=!0}[ze(328)](){this[ze(376)]=!1}[ze(378)](){this[ze(379)]=!0}[ze(344)](){this[ze(379)]=!1}}class He extends Error{}class Ue extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ge extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},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:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},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:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};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 $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},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 $s(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=Ti[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 Vi(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 Mi={};let Ei={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return 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=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class 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={},Mi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Hi extends _i{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(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 Ui 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 qi(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?Hi.utcInstance:Hi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Ui(t)}const $i={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=$i.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(`${$i[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return qi(Xi,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 Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function 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 Vs(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(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 Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Us(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Us(n)}return i}function $s(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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["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[...Xs];case"long":return[...Qs];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]]=Vs(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:Vs(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function xn(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Hs(l,h),[d,new Hi(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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.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),Hn=dn(yn),Un=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,Tn,xn),qn=fn(bn,On,Tn,xn),$n=fn(wn,On,Tn,xn),Bn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,Tn,xn);const Qn="Invalid Duration",Xn={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},...Xn},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},...Xn},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:qs(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 $e(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):Qn}toHuman(t={}){if(!this.isValid)return Qn;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)(xs(e.values,t)||xs(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]=Us(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,...qs(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 qe(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 qi(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($i.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])=>Hs(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 Tr{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(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Hi(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=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(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 xr(t,e,i){return new Tr(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 Vr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(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 Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ur={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["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=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Hr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),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 Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let Xr,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:Vr(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]=Qr(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]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.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=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Vr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(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:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Vr(i));const s=Wi.fromObject(e),n=qs(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=Ur,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Hr);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,Un],[Wn,qn],[Zn,$n],[Hn,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),[En,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}=xr(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,Un],[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 Ue(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(){Xr=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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?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(Hi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(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(Vr(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=qs(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 Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return 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 Tr(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-=390]})(t,e)}function no(){const t=["monthLong","6308384RcfftH","3337650MqOzud","toRelativeCalendar","week","minus","day","year","month","1840926PdbMgk","toJSDate","hasSame","startOf","setLocale","weekdayLong","3986835qxUwyX","fromJSDate","local","1214582mYLxYC","3199044PGtpAc","14xuidHU","922458tyIOgj"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(396)](t)[i(393)](e),n=eo[i(397)](),r=n[i(407)]({days:1})[i(392)](i(408));let o,a;return s[i(391)](n,i(408))?(o=s[i(392)](i(408))[i(390)](),a=s[i(405)]()):s[i(391)](r,i(408))?(o=r[i(390)](),a=s[i(405)]()):s[i(391)](n,i(406))?(o=s[i(392)](i(406))[i(390)](),a=s[i(394)]||""):s[i(391)](n,i(409))?(o=s[i(392)](i(410))[i(390)](),a=s[i(402)]||""):(o=s[i(392)](i(409))[i(390)](),a=String(s[i(409)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(644656===-parseInt(e(398))/1+parseInt(e(411))/2+parseInt(e(404))/3+-parseInt(e(399))/4+-parseInt(e(395))/5+-parseInt(e(401))/6+-parseInt(e(400))/7*(-parseInt(e(403))/8))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-=117]})(t,e)}!function(t){const e=uo,i=t();for(;;)try{if(930961===-parseInt(e(144))/1*(parseInt(e(141))/2)+parseInt(e(117))/3*(-parseInt(e(125))/4)+parseInt(e(119))/5*(-parseInt(e(149))/6)+-parseInt(e(145))/7*(parseInt(e(142))/8)+parseInt(e(136))/9*(-parseInt(e(122))/10)+parseInt(e(120))/11+parseInt(e(134))/12*(parseInt(e(150))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class lo extends ft.View{[co(135)];[co(124)];[co(127)];[co(131)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(146)][n(128)])[n(151)];this[n(135)]=e,this[n(124)]=this[n(130)](),this[n(127)]=i,this[n(131)]=s,this[n(124)][n(129)](n(140)).to(this),this[n(124)][n(129)](n(132)).to(this),this[n(147)]({tag:n(139),attributes:{class:["ck",n(123)]},children:[{tag:n(137),attributes:{class:["ck",n(133)]},children:[{text:r}]},{tag:n(139),attributes:{class:["ck",n(118)]},children:this[n(124)]}]})}[co(126)](t){const e=co,i=new Ze(this[e(146)],t,this[e(127)],this[e(131)]);this[e(124)][e(121)](i)}[co(148)](t){const e=co,i=this[e(124)][e(143)]((e=>e.id===t.id));this[e(124)][e(138)](i)}}function ho(){const t=["7jbLqod","locale","setTemplate","removeRevision","5052894yYFIzu","39sicqpE","localizedPeriodName","15NFrfKN","ck-revision-history-sidebar__time-period__revisions","10zUauaj","15410494CXcAYZ","add","60YYgSBV","ck-revision-history-sidebar__time-period","revisionViews","48380ySQIpj","addRevision","_revisionActions","uiLanguage","delegate","createCollection","_requireRevisionName","setName","ck-revision-history-sidebar__time-period__label","13950612pFMgSH","startDate","584721TcurVE","span","remove","div","select","10676sCahOQ","8563208Rcsfif","find","141WDYlNT"];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=["40tpDADs","306ErOQra","18455OQeGmR","15XmVsGB","div","110DPpjBb","586225KpfVZU","169729EFBuQd","content","2684002cegucN","12020290GpRNXU","9BVlCAw","1499544TvFDsR","36132VApUCZ","Revision history","ck-revision-history-sidebar__header","setTemplate","ck-revision-history-sidebar__header__label","ck-reset_all","span"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=158]})(t,e)}!function(t){const e=vo,i=t();for(;;)try{if(820356===-parseInt(e(177))/1+parseInt(e(160))/2+-parseInt(e(174))/3*(-parseInt(e(164))/4)+-parseInt(e(173))/5*(-parseInt(e(172))/6)+-parseInt(e(158))/7*(parseInt(e(171))/8)+-parseInt(e(162))/9*(-parseInt(e(161))/10)+parseInt(e(176))/11*(-parseInt(e(163))/12))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(159)]=dt.IconHistory,this[e(167)]({tag:e(175),attributes:{class:["ck",e(169),e(166)]},children:[i,{tag:e(170),attributes:{class:["ck",e(168)]},children:[J(t,e(165))]}]})}}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=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=497]})(t,e)}function _o(){const t=["ck-disabled","map","fire","revisionSelected","remove","unhighlight","deselect","ck-revision-history-sidebar__timeline","_requireRevisionName","ck-rounded-corners","startDate","_revisionActions","locale","2194120dpPvuJ","flat","createdAt","197979pKXjoo","ck-revision-history-sidebar","addRevision","createCollection","56714YirQTg","setTemplate","isEnabled","render","12LXYKWD","find","595890qVIbAP","bindTemplate","set","revisionSetName","select","_addRevision","5078024mbrwUo","getTime","add","highlight","selectRevision","_removeRevision","get","timePeriodViews","setName","_getTimePeriodViewByStartDate","highlightRevisions","uiLanguage","some","delegate","ck-reset","div","2264630pMGGTj","6kSmSno","removeRevision","_revisions","1651404PRoHBH","revisionViews"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(365584===-parseInt(e(505))/1*(parseInt(e(534))/2)+-parseInt(e(501))/3*(-parseInt(e(509))/4)+-parseInt(e(533))/5+-parseInt(e(537))/6+parseInt(e(517))/7+parseInt(e(498))/8+parseInt(e(511))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[bo(524)];[bo(536)];[bo(550)];[bo(547)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(512)];this[n(524)]=this[n(504)](),this[n(524)][n(530)](n(515)).to(this),this[n(524)][n(530)](n(525)).to(this),this[n(536)]=e,this[n(550)]=i,this[n(547)]=s,this.on(n(515),((t,e)=>{const i=n;this[i(541)](i(542),e)})),this.on(n(525),((t,e)=>{const i=n;this[i(541)](i(514),e)})),this[n(513)](n(507),!1),this[n(506)]({tag:n(532),attributes:{class:["ck",n(531),n(548),n(502)]},children:[new go(t),{tag:n(532),attributes:{class:["ck",n(546),r.if(n(507),n(539),(t=>!t))]},children:this[n(524)]}]})}[bo(508)](){const t=bo;super[t(508)]();for(const e of this[t(536)])this[t(516)](e);this[t(536)].on(t(519),((e,i)=>{this[t(516)](i)})),this[t(536)].on(t(543),((e,i)=>{this[t(522)](i)}))}get[bo(538)](){const t=bo;return this[t(524)][t(540)]((e=>e[t(538)][t(540)]((t=>t))))[t(499)]()}[bo(521)](t){const e=bo;for(const i of this[e(538)])t&&t.id===i.id?i[e(515)]():i[e(545)]()}[bo(527)](t){const e=bo;for(const i of this[e(538)])t[e(529)]((({id:t})=>t===i.id))?i[e(520)]():i[e(544)]()}[bo(516)](t){const e=bo,i=ro(t[e(500)],this[e(497)][e(528)])[e(549)];let s=this[e(524)][e(523)](0);s&&s[e(549)][e(518)]()===i[e(518)]()||(s=new lo(this[e(497)],i,this[e(550)],this[e(547)]),this[e(524)][e(519)](s)),s[e(503)](t)}[bo(522)](t){const e=bo,i=ro(t[e(500)],this[e(497)][e(528)])[e(549)];this[e(526)](i)[e(535)](t)}[bo(526)](t){const e=bo;return this[e(524)][e(510)]((i=>i[e(549)][e(518)]()===t[e(518)]()))}}function So(){const t=["_revisionViewer","1527493cJJhue","4741104etoaGl","init","57066DISKoi","Name this revision","395672yXuxHv","isSelected","string","290eKKNWF","isPremiumPlugin","52zsrNRM","defaultRevisionActions","revisionHistory.requireRevisionName","remove","_sidebarView","_handleEditorDataReady","getIndex","revisionHistory.viewerSidebarContainer","_handleRevisionSelected","RevisionsSidebar","ready","add","config","getEarlierVisibleRevision","Compare against selected","get","isOfficialPlugin","920hxzMwv","render","getRevisionsInDiff","newRevisionId","listenTo","repository","revisionViews","pluginName","175zMHRli","_createRevisionActions","revisionHistory","_handleDiffChange","_revisionsRepository","restoreRevision","focus","Restore this revision","editor","map","558520Iuuzco","destroy","revisionSelected","availableRevisionActions","name","getRevision","_revisions","highlightRevisions","plugins","selectRevision","assign","diff","compareAgainstSelected","setName","bind","getLaterVisibleRevision","action","appendChild","5289Iqcwjy","select","element","nameRevision","compare","fieldView","data","restoreRevisionCallback","requires","_handleRevisionSetName","isReady","locale","12843216tQsmIY","change:diff","isVisible","revisionSetName","isEnabled","revisionHistory.revisionActions","timePeriodViews","length"];return(So=function(){return t})()}const Oo=To;function To(t,e){const i=So();return(To=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(732746===-parseInt(e(159))/1+-parseInt(e(181))/2*(-parseInt(e(133))/3)+parseInt(e(164))/4*(-parseInt(e(199))/5)+parseInt(e(157))/6*(-parseInt(e(189))/7)+-parseInt(e(155))/8+-parseInt(e(145))/9+parseInt(e(162))/10*(parseInt(e(154))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class xo extends Z.Plugin{[Oo(153)];[Oo(193)];[Oo(168)];static[Oo(165)]=[Oo(127),Oo(194),Oo(136)];static[Oo(202)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(178),action:({plugins:e},i)=>{const s=t,n=e[s(179)](Xt),r=n[s(186)];let o=n[s(126)][s(184)],a=i.id;r[s(170)](o)>r[s(170)](a)&&([o,a]=[a,o]),n[s(137)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(179)](Xt);return!(n[s(186)][s(183)](n[s(126)])[s(152)]>2||i[s(160)])}},restoreRevision:{name:t(196),action:(e,{id:i})=>{const s=t;e[s(176)][s(179)](s(191))[s(140)](i)},isVisible:({plugins:e},i)=>!!e[t(179)](Xt)[t(186)][t(130)](i.id)},nameRevision:{name:t(158),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(179)](Xt),o=r[n(186)][n(177)](i);r[n(137)](i,o),s[n(195)](),s[n(138)][n(134)]()}}}}();static get[Oo(188)](){return Oo(173)}static get[Oo(180)](){return!0}static get[Oo(163)](){return!0}static get[Oo(141)](){return[Xt]}constructor(t){const e=Oo;super(t),this[e(153)]=t[e(123)][e(179)](Xt),this[e(193)]=this[e(153)][e(186)],this[e(168)]=null}[Oo(156)](){const t=Oo,e=this[t(193)][t(205)],i=this[t(190)](),s=this[t(197)][t(176)][t(179)](t(171));this[t(168)]=new Io(this[t(197)][t(144)],e,i,this[t(197)][t(176)][t(179)](t(166))),this[t(168)].on(t(201),this[t(172)][t(129)](this)),this[t(168)].on(t(148),this[t(142)][t(129)](this)),this[t(168)][t(129)](t(149)).to(this[t(153)]),this[t(168)][t(151)].on(t(175),((e,i)=>{const s=t;i[s(187)].on(s(175),((t,e)=>{const i=s;e[i(129)](i(149),i(143)).to(this[i(153)])}))})),this[t(168)][t(182)](),this[t(185)](this[t(197)][t(139)],t(174),this[t(169)][t(129)](this)),this[t(185)](this[t(153)],t(146),this[t(192)][t(129)](this)),s[t(132)](this[t(168)][t(135)])}[Oo(200)](){const t=Oo;this[t(168)][t(135)][t(167)](),this[t(168)][t(200)]()}[Oo(169)](){const t=Oo,e=this[t(193)][t(204)](0);if(e){const i=this[t(193)][t(177)](e.id);this[t(153)][t(137)](e,i)}}[Oo(172)](t,e){const i=Oo,s=this[i(193)][i(204)](e.id),n=this[i(193)][i(177)](s.id);this[i(153)][i(137)](s,n)}[Oo(142)](t,e){const i=Oo;this[i(193)][i(204)](e.id)[i(128)](e[i(203)])}[Oo(192)](t,e,i){const s=Oo,n=this[s(193)][s(183)](i);n[s(152)]>2?(this[s(168)][s(122)](n),this[s(168)][s(124)](null)):(this[s(168)][s(122)]([]),this[s(168)][s(124)](n[0]))}[Oo(190)](){const t=Oo,e=this[t(197)],i=xo[t(202)],s=e[t(176)][t(179)](t(150))||xo[t(165)];if(s[t(152)])return s[t(198)]((s=>{const n=t,r=n(161)==typeof s?Object[n(125)]({},i[s]):s;return r[n(131)]=r[n(131)][n(129)](this,e),r[n(147)]&&(r[n(147)]=r[n(147)][n(129)](this,e)),r}))}}const No=xo;function Ro(t,e){const i=Vo();return(Ro=function(t,e){return i[t-=493]})(t,e)}const Ao=Ro;function Vo(){const t=["isActive","570232HHIOAd","getRoot","detachDomRoot","3652732wttoRV","replace","7045263ZdQSWo","bind","toolbar","get","viewportOffset","stickyPanel","document","attachDomRoot","2090053ptcOsq","focusTracker","_view","447132bgznWC","addToolbar","render","518ziKBkT","4343nYetkN","3199710IOtpnx","editor","_initToolbar","ready","limiterElement","_elementReplacer","view","init","isFocused","name","restore","element","destroy","editing","componentFactory","_toolbarConfig","fillFromConfig","fire","viewportTopOffset","editable","rootName","5HzLqqD","30GlKvLE","setEditableElement","config"];return(Vo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(622872===-parseInt(e(507))/1*(parseInt(e(506))/2)+parseInt(e(503))/3+-parseInt(e(537))/4*(parseInt(e(529))/5)+parseInt(e(508))/6+-parseInt(e(500))/7+-parseInt(e(534))/8+-parseInt(e(539))/9*(-parseInt(e(530))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Mo extends ft.EditorUI{[Ao(502)];[Ao(523)];[Ao(513)];get[Ao(514)](){return this[Ao(502)]}constructor(e,i){const s=Ao;super(e),this[s(502)]=i,this[s(523)]=(0,ft.normalizeToolbarConfig)(e[s(532)][s(495)](s(494))),this[s(513)]=new t.ElementReplacer}get[Ao(519)](){const t=Ao;return this[t(514)][t(519)]}[Ao(515)](t){const e=Ao,i=this[e(509)],s=this[e(514)],n=i[e(521)][e(514)],r=s[e(527)],o=n[e(498)][e(535)]();r[e(517)]=o[e(528)],s[e(505)]();const a=r[e(519)];this[e(531)](r[e(517)],a),s[e(527)][e(493)](e(516)).to(this[e(501)]),n[e(499)](a),this[e(513)][e(538)](t,this[e(519)]),this[e(510)](),this[e(525)](e(511))}[Ao(520)](){const t=Ao;super[t(520)]();const e=this[t(514)],i=this[t(509)][t(521)][t(514)];this[t(513)][t(518)](),i[t(536)](e[t(527)][t(517)]),e[t(520)]()}[Ao(510)](){const t=Ao,e=this[t(514)];e[t(497)][t(493)](t(533)).to(this[t(501)],t(516)),e[t(497)][t(512)]=e[t(519)],e[t(497)][t(493)](t(526)).to(this,t(496),(({top:t})=>t)),e[t(494)][t(524)](this[t(523)],this[t(522)]),this[t(504)](e[t(494)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=jo;function Fo(){var t=["42dodiDD","805691ENafbP","_editable","59380jygslZ","4396lVZYbC","shouldToolbarGroupWhenFull","2259VpEauI","content","3857648AGPjix","254538ShZQEM","4685tHyvEH","211068KhVmhh","top","2108122TjHXBM","main","render","editable","stickyPanel","toolbar","add"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=331]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(591977===parseInt(e(343))/1+parseInt(e(335))/2+-parseInt(e(333))/3+-parseInt(e(346))/4*(-parseInt(e(332))/5)+-parseInt(e(331))/6*(parseInt(e(342))/7)+-parseInt(e(350))/8+parseInt(e(348))/9*(-parseInt(e(345))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends ft.BoxedEditorUIView{[Co(344)];[Co(339)];[Co(340)];get[Co(338)](){return this[Co(344)]}constructor(t,e,i={}){var s=Co;super(t),this[s(339)]=new ft.StickyPanelView(t),this[s(340)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(347)]}),this[s(344)]=new ft.InlineEditableUIView(t,e)}[Co(337)](){var t=Co;super[t(337)](),this[t(339)][t(349)][t(341)](this[t(340)]),this[t(334)][t(341)](this[t(339)]),this[t(336)][t(341)](this[t(338)])}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=354]})(t,e)}const zo=Po;function Wo(){const t=["fire","sourceElement","464764fbHIJs","initPlugins","1946295PkZjJq","editing","4613KbPNIo","1mRBhnZ","createRoot","216966LsSwQj","4494eMqTnA","initialData","3024ZhUnmZ","1243FnArVV","create","init","model","ready","1555TdbfQo","locale","updateSourceElement","config","destroy","get","873884gKQyVV","_ui","data","41950XVTFRF","view","document"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(138028===parseInt(e(381))/1*(-parseInt(e(376))/2)+-parseInt(e(383))/3+parseInt(e(368))/4+parseInt(e(362))/5*(parseInt(e(354))/6)+parseInt(e(380))/7*(parseInt(e(356))/8)+parseInt(e(378))/9+parseInt(e(371))/10*(-parseInt(e(357))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(369)];get ui(){return this[zo(369)]}constructor(t,e){const i=zo;super(e),this[i(375)]=t,this[i(360)][i(373)][i(382)]();const s=new Lo(this[i(363)],this[i(379)][i(372)],{shouldToolbarGroupWhenFull:!0});this[i(369)]=new Mo(this,s)}[zo(366)](){const t=zo;return this[t(364)](),this.ui[t(366)](),super[t(366)]()}static async[zo(358)](t,e){const i=zo,s=new this(t,e);return await s[i(377)](),await s.ui[i(359)](t),await s[i(370)][i(359)](s[i(365)][i(367)](i(355))||""),s[i(374)](i(361)),s}}const Ho=qo;function Uo(){const t=["setSelection","save","error","getAttributeKeys","saveRevision","disableReadOnlyMode","selection","_recalculatePageBreaks","define","removeMarker","init","toLocaleTimeString","Users","revision-history-missing-configuration","_update","toVersion","390593XnhVNA","detachRoot","2949960uNlVWQ","2YHsGXH","isEnabled","commands","isOfficialPlugin","editor","1882230tvVOwm","54SwzcnK","hide","revisionHistory.viewerContainer","repository","revisionHistory.closeRevisionViewerCallback","join","revisionHistory.viewerEditorElement","adapter","getRevisionRootsAttributes","PaginationLookup","config","long","translations","model","isReadOnly","removeSelectionAttribute","fromCharCode","parse","toJSON","locale","1188424tFwKuQ","refreshPositioning","showRevisionViewerCallback","Annotations","toLocaleDateString","remove","getRevision","RevisionHistoryUI","catch","isOpen","keys","1654220hwuzzo","$graveyard","requires","_viewerEditor","revision-history-viewer-opened","removeAttribute","restrictedEditingException","RevisionViewerIntegration","addRoot","exitToEditing","isPremiumPlugin","get","enqueueChange","getUser","createdAt","update","RevisionViewer","refreshVisibility","block","changesNavigation","creator","getMarkersGroup","change","insert","isAttached","enableReadOnlyMode","indexOf","revisionHistory.showRevisionViewerCallback","_restoreRevision","Dialog","revisionHistory.requireRevisionName","createRangeIn","_cleanUp","Autosave","bind","users","140914veWtcj","getRevisions","data","markers","push","create","revisionHistory.editorContainer","includes","lazyRoots","restoreRevision","set","plugins","8PUzSRl","result","isReady","display","_getRevisionViewerEditorConfig","_closeRevisionViewer","uiLanguage","name","end","addUser","from","RestrictedEditingMode","has","_showRevisionViewer","closeRevisionViewerCallback","isAnonymous","Restored","fromVersion","revisionHistory","addRevisionData","_enhanceShowRevisionViewerCallback","rootName","map","RevisionTracker","revisionHistory.restoreRevisionCallback","toolbar","398079sfSfxc","document","getRoot","pluginName","destroy","then","getRevisionData","numeric","_enhanceCloseRevisionViewerCallback","RevisionsRepository","none","RevisionHistory","roots","setAttribute","style"];return(Uo=function(){return t})()}function qo(t,e){const i=Uo();return(qo=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(250806===-parseInt(e(185))/1*(parseInt(e(258))/2)+-parseInt(e(296))/3+-parseInt(e(211))/4+parseInt(e(190))/5+-parseInt(e(184))/6+parseInt(e(182))/7*(-parseInt(e(270))/8)+-parseInt(e(191))/9*(-parseInt(e(222))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);const $o=[Ho(218),Ho(281)];class Bo extends Z.Plugin{[Ho(271)];static get[Ho(154)](){return Ho(229)}static get[Ho(188)](){return!0}static get[Ho(232)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(292)]((t=>String[e(207)](t)))[e(196)]("")}super(t),this[e(271)]=e(278),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends Z.Plugin{[Ho(225)];static get[Ho(154)](){return Ho(162)}static get[Ho(188)](){return!0}static get[Ho(232)](){return!0}static get[Ho(224)](){return[st,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(189)][i(201)][i(233)](i(288)))throw new t.CKEditorError(i(179),this);this[i(225)]=null,this[i(189)][i(201)][i(174)](i(249),(t=>this[i(283)]({...t,translations:this[i(189)][i(210)][i(203)]}))),this[i(189)][i(201)][i(174)](i(195),(t=>this[i(275)](t))),this[i(189)][i(201)][i(174)](i(294),(t=>this[i(250)](t))),this[i(189)][i(201)][i(174)](i(252),!1),this[i(290)](),this[i(159)]()}set[Ho(198)](t){const e=Ho;this[e(189)][e(269)][e(233)](e(293))[e(198)]=t}get[Ho(198)](){const t=Ho;return this[t(189)][t(269)][t(233)](t(293))[t(198)]}[Ho(289)](t){const e=Ho;return this[e(189)][e(269)][e(233)](e(293))[e(289)](t)}[Ho(217)](t){const e=Ho;return this[e(189)][e(269)][e(233)](e(160))[e(217)](t)}[Ho(259)](t){const e=Ho;return this[e(189)][e(269)][e(233)](e(160))[e(259)](t||{toJSON:!1})}[Ho(274)](){const e=Ho,i=this[e(189)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(269)][e(233)](e(293)),r=i[e(269)][e(233)](e(178))[e(257)];return s[e(295)]=[e(231),e(267),e(241)],delete s[e(266)],s[e(269)][e(262)](Bo,Xt,ke,class extends Z.Plugin{static get[e(224)](){return[Xt,e(178)]}[e(176)](){const s=e,o=this[s(189)][s(269)][s(233)](s(178));for(const t of r)t[s(285)]||o[s(235)](t.id)||o[s(279)](t);const a=n[s(194)][s(259)]();let c=null;const u=this[s(189)][s(269)][s(233)](s(238));u[s(198)]=n[s(198)],u[s(256)](s(186)).to(n),this[s(189)][s(187)][s(233)](s(267))[s(256)](s(186)).to(i,s(205),(t=>!t));for(const e of a){const i=null===e[s(242)];if(i&&e[s(181)]===e[s(287)])continue;const r=e[s(209)]();u[s(289)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(180)](r,o);else if(!o){const e=a[u(209)]();e.id=(0,t.uid)(),n[u(170)](e,a[u(181)])[u(156)]((t=>{c=t}))}}else e[u(180)](r,o)}))}}},No),s}[Ho(290)](){const t=Ho,e=this[t(189)][t(201)][t(233)](t(288))[t(213)];this[t(189)][t(201)][t(268)](t(249),(async()=>{const i=t;this[i(189)][i(247)](i(226));const s=this[i(189)][i(269)][i(233)](i(293));if(this[i(189)][i(269)][i(282)](i(255))){const t=this[i(189)][i(269)][i(233)](i(255));await t[i(167)]()}else await s[i(237)]();if(this[i(189)][i(269)][i(282)](i(200))&&this[i(189)][i(269)][i(233)](i(200))[i(173)](),this[i(189)][i(269)][i(282)](i(251))){const t=this[i(189)][i(269)][i(233)](i(251));t[i(220)]&&t[i(192)]()}const n=this[i(274)]();return e(n)[i(156)]((t=>{const e=i;return this[e(225)]=t,this[e(189)][e(269)][e(282)](e(214))&&this[e(189)][e(269)][e(233)](e(214))[e(239)](),t}))[i(219)]((t=>(console[i(168)](t),this[i(189)][i(171)](i(226)),null)))}))}[Ho(159)](){const t=Ho,e=this[t(189)][t(201)][t(233)](t(288))[t(284)];this[t(189)][t(201)][t(268)](t(195),(()=>(this[t(189)][t(269)][t(282)](t(200))&&this[t(189)][t(269)][t(233)](t(200))[t(173)](),this[t(225)][t(269)][t(233)](t(238))[t(254)](),e(this[t(225)])[t(156)]((()=>{const e=t;if(this[e(189)][e(171)](e(226)),this[e(225)]=null,this[e(189)][e(269)][e(282)](e(214))){const t=this[e(189)][e(269)][e(233)](e(214));t[e(239)](),t[e(212)]()}})))))}[Ho(283)](t){const e=Ho,i=this[e(189)][e(201)][e(233)](e(264)),s=this[e(189)][e(201)][e(233)](e(193)),n=this[e(189)][e(201)][e(233)](e(197));return Zo[e(263)](n,t)[e(156)]((t=>(s[e(165)][e(273)]=e(240),i[e(165)][e(273)]=e(161),t)))}[Ho(275)](t){const e=Ho,i=this[e(189)][e(201)][e(233)](e(264));return this[e(189)][e(201)][e(233)](e(193))[e(165)][e(273)]=e(161),i[e(165)][e(273)]="",t[e(155)]()}async[Ho(250)](t){const e=Ho,i=this[e(189)],s=this[e(225)][e(269)][e(233)](e(238)),n=i[e(269)][e(233)](e(293)),r=s[e(194)][e(217)](t);let o,a,c;try{o=await s[e(157)](r),a=await s[e(199)](r)}catch(t){return void console[e(168)](t)}i[e(204)][e(244)]((t=>{const s=e;for(const e of Array[s(280)](i[s(204)][s(261)][s(243)](s(228))))t[s(175)](e)})),s[e(272)]=!1,i[e(204)][e(234)]((t=>{const s=e;t[s(166)](null),t[s(206)](i[s(204)][s(152)][s(172)][s(169)]());const n=Object[s(221)](o);for(const e of i[s(204)][s(152)][s(163)])s(223)!=e[s(291)]&&e[s(246)]()&&!n[s(265)](e[s(291)])&&t[s(183)](e);for(const e of n){let n=i[s(204)][s(152)][s(153)](e);n&&n[s(246)]()||(n=t[s(230)](e));const r=a[e],c=Object[s(221)](r),u=o[e];for(const e of n[s(169)]())c[s(265)](e)||t[s(227)](e,n);for(const i of c)t[s(164)](i,a[e][i],n);t[s(216)](t[s(253)](n)),t[s(245)](i[s(260)][s(208)](u,n),n,0)}}));const u=J(i[e(210)],e(286));return c=r[e(277)]?-1==r[e(277)][e(248)](u)?u+": "+r[e(277)]:r[e(277)]:u+": "+r[e(236)][e(215)](i[e(210)][e(276)],{month:e(202),day:e(158)})+", "+r[e(236)][e(177)](i[e(210)][e(276)],{hour:e(158),minute:e(158)}),await n[e(170)]({name:c}),s[e(272)]=!0,i[e(201)][e(233)](e(288))[e(284)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=158]})(t,e)}function Go(){var t=["63oykGtZ","132rMxrZG","6EItmcr","2zjnUqV","16RSvPba","68894DjqQHh","169256tzUATL","339215IJJIez","1044552mrpKJE","2322670HOKyXo","1059170HbNLuV","212001ScnfSn"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(177109===-parseInt(e(168))/1*(-parseInt(e(158))/2)+-parseInt(e(164))/3*(parseInt(e(169))/4)+parseInt(e(160))/5*(-parseInt(e(167))/6)+-parseInt(e(162))/7+parseInt(e(159))/8*(-parseInt(e(165))/9)+-parseInt(e(163))/10+parseInt(e(166))/11*(parseInt(e(161))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Et,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>q,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V,M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M 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]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(t,e){const i=W();return(j=function(t,e){return i[t-=107]})(t,e)}const P=j;function W(){const t=["_update","removeAttribute","28285tGYQdb","attributes","name","toVersion","fromVersion","483716KIRBOq","8450410xewnKR","diffData","setName","129255sBckrq","toJSON","4XEltXv","set","1000929YhkKGm","3996567XktmbV","96481EByamN","authors","authorsIds","setAttribute","creator","map","96emLVWy","creatorId","11qiQvmk","createdAt","model","24agcnEF","fire"];return(W=function(){return t})()}!function(t){const e=j,i=t();for(;;)try{if(258750===parseInt(e(135))/1*(parseInt(e(107))/2)+-parseInt(e(109))/3+parseInt(e(131))/4+-parseInt(e(126))/5*(parseInt(e(122))/6)+-parseInt(e(111))/7*(parseInt(e(117))/8)+-parseInt(e(110))/9+parseInt(e(132))/10*(parseInt(e(119))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[P(115)];[P(112)];[P(133)];[P(129)];[P(130)];[P(121)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(115)]=e[i(115)]||null,this[i(112)]=e[i(112)]||[],this[i(133)]=e[i(133)]||null,this[i(129)]=e[i(129)]||0,this[i(130)]=e[i(130)]||0,this[i(108)](i(128),e[i(128)]||""),this[i(108)](i(120),e[i(120)]||new Date),this[i(108)](i(127),e[i(127)]||{})}[P(134)](t){this[P(124)]({name:t})}[P(114)](t,e){const i=P,s=A(this[i(127)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(124)]({attributes:s})}[P(125)](t){const e=P,i=A(this[e(127)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(124)]({attributes:i})}[P(124)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(128),i(120),i(133),i(112),i(127),i(129),i(130),i(118)];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(112)]&&(n[i(113)]=n[i(112)][i(116)]((t=>t.id)),delete n[i(112)]),this[i(123)](i(124),n,e))}[P(136)](){const t=P;return{id:this.id,name:this[t(128)],creatorId:this[t(115)]?this[t(115)].id:null,authorsIds:this[t(112)][t(116)]((t=>t.id)),diffData:this[t(133)],createdAt:this[t(120)],attributes:this[t(127)],fromVersion:this[t(130)],toVersion:this[t(129)]}}}var Z=i(782),H=i(211),U=i(783);const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=248]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(832004===parseInt(e(302))/1*(-parseInt(e(296))/2)+-parseInt(e(257))/3+-parseInt(e(286))/4*(parseInt(e(258))/5)+-parseInt(e(281))/6*(parseInt(e(255))/7)+parseInt(e(300))/8*(parseInt(e(304))/9)+parseInt(e(274))/10+-parseInt(e(277))/11*(-parseInt(e(269))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class q extends Z.Plugin{[$(262)];static get[$(278)](){return[H.Users]}static get[$(297)](){return $(268)}static get[$(275)](){return!0}static get[$(301)](){return!0}get[$(303)](){const t=$;return this[t(262)][t(303)]}constructor(e){const i=$;super(e),this[i(262)]=new t.Collection}[$(293)](){!async function(e){const i=k([100,74,70,78,109,54,52,80,102,81,48,53,69,97,106,83,49,107,104,84,55,120,87,111,110,121,73,113,108,90,119,99,88,65,75,117,122,101,118,77,103,66,112,76,56,71,67,68,57,82,115,86,85,89,105,72,79,114,51,98,50,116]),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(291)](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([100]);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(292)]((t=>String[e(266)](t)))[e(280)]("")}!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:1742515200;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(270)]);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)}[$(261)](t){const e=$,i=this[e(252)][e(279)][e(283)](e(263));return new z({id:t.id,name:t[e(289)],creator:t[e(284)]?i[e(251)](t[e(284)]):null,diffData:t[e(272)]||t[e(295)],authors:t[e(254)][e(292)]((t=>i[e(251)](t))),createdAt:new Date(t[e(249)]),attributes:t[e(271)],fromVersion:t[e(288)],toVersion:t[e(250)]})}[$(264)](t,e=0){const i=$;this[i(262)][i(285)](t,e)}[$(259)](t){const e=$;return this[e(262)][e(283)](t)}[$(299)](t={toJSON:!1}){const e=$,i=Array[e(248)](this[e(262)]);return i[e(282)](),t[e(294)]?i[e(292)]((t=>t[e(294)]())):i}[$(256)](t){const e=$;return this[e(262)][e(256)](t)}[$(267)](t){const e=$,[,i]=this[e(253)](t,{direction:e(260)});return i}[$(276)](t){const e=$,[,i]=this[e(253)](t,{direction:e(290)});return i}[$(298)](t){const e=$,i=[];for(const s of this[e(253)](t[e(265)]))if(i[e(273)](s),s.id===t[e(287)])break;return i}*[$(253)](t,{direction:e=$(260),filter:i=()=>!0}={}){const s=$,n=s(260)===e?1:-1;let r=this[s(262)][s(283)](t),o=this[s(256)](r);for(yield r;r;){if(o+=n,r=this[s(259)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["13224JCXAsy","oldRevisionId","fromVersion","name","later","isNaN","map","afterInit","toJSON","data","1577458ovBzBo","pluginName","getRevisionsInDiff","getRevisions","8wTMaFf","isPremiumPlugin","2SjeTxQ","length","11477799KuqrGF","from","createdAt","toVersion","getUser","editor","getRevisionsIterator","authorsIds","35XGTrWB","getIndex","2342670JyvZZu","495bgBdQH","getRevision","earlier","createRevision","_revisions","Users","addRevision","newRevisionId","fromCharCode","getEarlierVisibleRevision","RevisionsRepository","2959812uXNnwv","href","attributes","diffData","push","7006760JjcTUG","isOfficialPlugin","getLaterVisibleRevision","99aFnGqN","requires","plugins","join","813840AYjfmJ","reverse","get","creatorId","add"];return(Y=function(){return t})()}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 X(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 K(t,e,r,o)}return K(t,e,r,o)}function K(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!X(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>X(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!X(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&K(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&K(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(K(t.constructor,i.constructor,s,x)||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(!X(o,i[r],r,t,i,s,x))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 X(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=at;!function(t){const e=at,i=t();for(;;)try{if(711245===-parseInt(e(664))/1*(parseInt(e(625))/2)+parseInt(e(585))/3+-parseInt(e(434))/4+-parseInt(e(435))/5+parseInt(e(509))/6+-parseInt(e(597))/7+-parseInt(e(383))/8*(-parseInt(e(604))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const it={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};function st(){const t=["useFillerType","diffData","_initialRevisionId","expired","_idsRoots","createRange","_licenseKeyCheckInterval","createPositionFromPath","sort","init","marked","root","createPositionAfter","getTransformedByOperation","key","path","loadState","move","update","ready","_setConversion","getChildren","_touchedRoots","_fixRange","userId","get","RevisionHistory","type","_markers","_saveMetaData","getTime","licenseKey","conversion","trim","find","splitPosition","isOfficialPlugin","stickiness","define","_insertChild","_revisionId","split","_update","item","revisionHistoryLicenseKeyInvalid","_getFromVersion","values","roots","vid","_handleMergeOperation","_removePendingAction","adapter","getLatestVersion","revisionHistoryLicenseKeyNotAllowed","_isInit","_getBaseVids","requires","_handleRootOperation","rootsAttributes","_bufferUpdate","addRoot","_operations","_baseRoots","editing","_handleInsertOperation","1900218eVVkaV","_addPendingAction","revisionHistoryLicenseKeyExpired","isAdd","NEGATIVE_INFINITY","add","_continueCurrentRevision","revisionHistory.resumeUnsavedRevision","RevisionTracker","_touched","marker","reinsert","_handleRootAttributeOperation","has","_diffRootsAttributes","_getPreviousFrom","position","isAttached","Users","toData","start","getRevisionDocumentData","getOperation","revisionHistoryLicenseKeyValid","_replaceEditorDataWithRevisionData","_appendChild","buildRevisionData","getAttribute","afterInit","rootName","length","isEnabled","newRange","toVersion","_reset","parse","_getVidAttributeName","saveRevision","_findInsertionIndex","sourcePosition","_isAttached","RevisionsRepository","_fixPosition","revisionHistoryLicenseKeyDomainLimit","_source","resolve","isReady","getUser","getIndex","Empty document","vid_start","updateRevisions","includes","document","createPositionAt","children","_setAttribute","childCount","creator","upcast","setRevisionData","offsetSize","dataDowncast","from","_createCurrentRevision","clone","forEach","_transformMarkers","targetPosition","PendingActions","getAttributes","sendBufferedUpdates","_applyOperations","_createFromRanges","_makeModelFromViewString","deletions","310959MpxKwc","end","map","data-revision-","repository","_handleOperation","_removeMetaData","push","_processRootBeforeSave","plugins","previousPosition","createRangeIn","5223876IwiXGy","keepParagraph","revision:","markerToData","size","getCurrentRevisionId","authorsIds","9ShioPf","oldRange","currentRevision","model","graveyardPosition","insert","_bufferedUpdates","element","revisionHistoryLicenseKeyEvaluationLimit","clear","finally","_fixOperation","insertions","data","startsWith","isEqual","_baseRootsAttributes","default","getRange","reInit","_baseIdsRoots","914156OOBbwC","domainLimit","tableCell","dataToMarker","attributesAfter","_authorId","$text","addRevisionData","filter","invalid","authors","bind","baseVersion","_loadRevisionData","createdAt","_makeIdsRoot","getRevisionRootsAttributes","_makeRevision","trialLimit","name","merge","markers","nodeAfter","offset","hasContent","editor","addRootAttribute","processor","getRoot","_removeRevisionMarkers","getNodeByPath","changeRootAttribute","_diffRoots","for","editor-initial-data-replaced-with-revision-data","detachRoot","getWalker","shift","revisionHistoryLicenseKeyUsageLimit","3XrHLSF","setSource","remove","insertionPosition","revision-end","revision","createRevision","Initial revision","_touchedMarkers","range","affectsData","destroy","evaluationLimit","string","_getState","_getViewJson","initialData","_savedMetaData","elementStart","_loadState","$graveyard","_loadedStateData","getChild","_pendingAction","fromVersion","delete","_handleMarkerOperation","reverse","attributesBefore","config","_isPendingUpdate","fromEntries","PENDING_ACTION_REVISION_HISTORY","text","toView","addRevision","getRevision","createPositionBefore","_calculateMetaData","29287272UmhcxD","_copyMarkers","collaboration.channelId","keys","_prepareViewToSave","_generateTape","_startingRevisionId","nodes","pluginName","removeRootAttribute","_markChanges","view","toModel","_revisionDataBuilder","history","_handleSplitOperation","getMovedRangeStart","creatorId","vid_end","max","getData","some","_execute","getRevisions","initial","elementEnd","_lastFrom","attachChange","RealTimeCollaborationClient","stringify","attributes","_handleMoveOperation","_lastTo","featureNotAllowed","then","getRootNames","_createInitialRevision","_showLicenseError","getAncestors","deletion","slice","_clone","getOperations","revisionHistoryLicenseKeyTrialLimit","version","howMany","revision-start","_cloneOperation","parent","insertion","source","1444468LpZExy","4457005RkdjeJ","usageLimit","_startingVersion","isPremiumPlugin","newValue","documentFragment","paragraph","set","locale"];return(st=function(){return t})()}class nt extends Z.Plugin{[et(475)];[et(450)];[et(495)];[et(606)];[et(589)];[et(396)];[et(553)];[et(446)];[et(610)];[et(687)];[et(515)];[et(437)];[et(685)];static get[et(391)](){return et(517)}static get[et(480)](){return!0}static get[et(438)](){return!0}static get[et(500)](){return[H.Users,q,Z.PendingActions]}constructor(e){const i=et;super(e),this[i(495)]=null,this[i(606)]=null,this[i(396)]=new ot(this[i(650)]),this[i(446)]=this[i(650)][i(693)][i(469)](i(385))||i(407),this[i(610)]=new Map,this[i(685)]=null;const s=(0,t.uid)();this[i(553)]={history:this[i(650)][i(607)][i(562)][i(397)],getLatestVersion:()=>Promise[i(554)](this[i(650)][i(607)][i(562)][i(427)]),getCurrentRevisionId:()=>s},this[i(442)](i(555),!1),this[i(442)](i(540),!0),this[i(442)](i(694),!1),this[i(650)][i(693)][i(482)](i(516),!0),this[i(650)][i(476)][i(658)](i(568))[i(628)]({view:i(669)})}[et(453)](){const t=et;this[t(589)]=this[t(650)][t(594)][t(469)](t(550)),this[t(464)](),this[t(650)][t(617)].on(t(463),(()=>{const e=t,i=this[e(589)][e(700)](0),s=i&&null===i[e(567)]?i:null;if(this[e(515)]=!!s&&this[e(650)][e(693)][e(469)](e(516)),this[e(650)][e(594)][e(522)](e(411))){const t=this[e(553)][e(602)](),n=this[e(589)][e(700)](t);if(n)this[e(437)]=n[e(688)],this[e(515)]=!1;else{const t=this[e(553)][e(397)][e(505)][e(478)]((t=>!t[e(498)])),n=t?t[e(637)]:this[e(553)][e(397)][e(427)];i?(i[e(542)]<n&&i[e(486)]({toVersion:n}),this[e(515)]?(this[e(553)][e(602)]=()=>s.id,this[e(437)]=s[e(688)]):(this[e(437)]=i[e(542)],this[e(515)]=!1)):(this[e(437)]=n,this[e(515)]=!1)}}else s&&(this[e(650)][e(607)][e(562)][e(397)][e(427)]=Math[e(402)](s[e(542)],this[e(650)][e(607)][e(562)][e(397)][e(427)]),s[e(688)]===s[e(542)]?(0!==s[e(688)]&&(this[e(553)][e(602)]=()=>s.id),this[e(515)]=!1):this[e(515)]&&(this[e(553)][e(602)]=()=>s.id,this[e(437)]=s[e(688)])),this[e(515)]||(this[e(437)]=this[e(650)][e(607)][e(562)][e(427)]);this[e(396)][e(453)](this[e(553)][e(397)]),this[e(419)](this[e(437)]),this[e(573)](this[e(437)]),this[e(495)]&&this[e(580)]()})),this[t(636)](t(555)).to(this,t(694),(t=>!t)),this[t(475)]=this[t(650)][t(693)][t(469)](t(475));const e=this[t(650)];this[t(450)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(532)==r||i(488)==r||i(511)==r||i(552)==r||i(497)==r||i(612)==r||i(426)==r||i(663)==r){delete e[n],s=r,clearInterval(this[i(450)]),this[i(450)]=void 0;break}}i(488)==s&&e[i(420)](i(634)),i(511)==s&&e[i(420)](i(447)),i(552)==s&&e[i(420)](i(626)),i(497)==s&&e[i(420)](i(416),i(470)),i(612)==s&&e[i(420)](i(676)),i(426)==s&&e[i(420)](i(643)),i(663)==s&&e[i(420)](i(436))}),1e3)}async[et(537)](){const t=et;if(this[t(589)][t(539)]>0){const e=this[t(589)][t(700)](0),i=await this[t(530)](e),s=await this[t(641)](e);this[t(533)](i,s)}}[et(675)](){const t=et;super[t(675)](),this[t(450)]&&clearInterval(this[t(450)])}[et(665)](t){this[et(553)]=t}async[et(462)](){const t=et,e=await this[t(553)][t(496)]();if(e>this[t(606)][t(542)]){await this[t(683)]();const i=this[t(535)]({revision:this[t(606)],to:e});i[t(635)]=i[t(603)][t(587)]((e=>this[t(650)][t(594)][t(469)](t(527))[t(556)](e))),this[t(606)][t(486)](i)}}async[et(683)](){const t=et;this[t(515)]&&!this[t(685)]&&(await this[t(638)](this[t(606)]),this[t(396)][t(460)](this[t(606)]),this[t(685)]={fromVersion:this[t(606)][t(688)],authors:this[t(606)][t(635)][t(423)]()})}async[et(546)](e={},i=null){const s=et,n=[];await this[s(683)](),this[s(515)]=!1,i>this[s(606)][s(542)]&&(i=null),null===i&&(i=await this[s(553)][s(496)]());const r=this[s(489)](i),o=this[s(535)]({from:r,to:i});if(this[s(606)][s(542)]<i){const t=this[s(535)]({revision:this[s(606)],from:i,to:i});t[s(635)]=[],t[s(603)]=[],t.id=this[s(606)].id,this[s(606)][s(486)](t,!0),delete t[s(635)],n[s(592)](t)}e[s(400)]=this[s(650)][s(594)][s(469)](s(527)).me.id,e[s(644)]=e[s(644)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(632)](e);n[s(592)](e);const c=this[s(589)][s(557)](a);if(0!==c){const t=this[s(589)][s(700)](c-1);if(t[s(688)]!==i){const r=this[s(396)][s(403)](i,t[s(542)]),o={id:t.id,diffData:r[s(445)],authorsIds:r[s(603)],authors:r[s(603)][s(587)]((t=>this[s(650)][s(594)][s(469)](s(527))[s(556)](t))),fromVersion:i};t===this[s(606)]&&(o[s(639)]=new Date(e[s(639)][s(474)]()+10)),t[s(486)](o,!0),delete o[s(635)],n[s(592)](o)}}if(this[s(495)]){for(const t of n)this[s(503)](t.id,t,!0);this[s(580)]()}return a}[et(632)](t){const e=et,i=this[e(589)][e(670)](t);return this[e(495)]&&i.on(e(486),((t,i,s)=>{const n=e;s||(this[n(503)](i.id,i,!0),this[n(580)]())})),this[e(589)][e(699)](i,this[e(547)](i)),i}async[et(530)](t){const e=et;await this[e(638)](t);const i={};for(const s in t[e(445)]){if(t[e(445)][s][e(410)]&&!t[e(445)][s][e(410)][e(526)])continue;const n=this[e(654)](JSON[e(544)](t[e(445)][s][e(616)])),r=this[e(650)][e(507)][e(394)][e(562)],o=new U.ViewDocumentFragment(r,n[e(587)]((t=>rt(t,this[e(650)]))));this[e(650)][e(617)][e(652)][e(444)](e(454)),i[s]=this[e(650)][e(617)][e(652)][e(528)](o),this[e(650)][e(617)][e(652)][e(444)](e(621))}return i}async[et(641)](t){const e=et;await this[e(638)](t);const i={};for(const s in t[e(445)])t[e(445)][s][e(410)]&&!t[e(445)][s][e(410)][e(526)]||(i[s]=t[e(445)][s][e(629)]||{});return i}[et(580)](){const t=et;if(0===this[t(610)][t(601)])return;if(this[t(694)])return;let e=Array[t(572)](this[t(610)][t(490)]());this[t(610)][t(613)]();for(let i=0;i<e[t(539)];i++){const s=e[i];let n=!1;for(const e of Object[t(386)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(633)]((t=>null!==t)),!e[t(539)])return;for(let i=0;i<e[t(539)];i++){const s=e[i];void 0!==s[t(688)]&&void 0===s[t(542)]&&(s[t(542)]=this[t(589)][t(700)](s.id)[t(542)]),void 0!==s[t(542)]&&void 0===s[t(688)]&&(s[t(688)]=this[t(589)][t(700)](s.id)[t(688)])}const i=this[t(650)][t(693)][t(469)](t(385));this[t(694)]=!0,this[t(510)](),this[t(495)][t(560)](e,i)[t(614)]((()=>{this[t(694)]=!1}))[t(417)]((e=>{const i=t;if(e)for(const t of e)this[i(569)]({id:t.id,createdAt:t[i(639)]});this[i(494)](),this[i(580)]()}))}[et(533)](e,i){const s=et;let n=this[s(650)][s(693)][s(469)](s(680)),r=this[s(650)][s(693)][s(469)](s(502));if(void 0===n){n={};for(const t of this[s(650)][s(607)][s(562)][s(418)]())n[t]=""}if(s(677)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(650)][s(607)][s(562)][s(418)]())r[t]={}}let o=!1;const a=Object[s(386)](n),c=Object[s(386)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(477)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(386)](r[t])[s(539)]>0){o=!0;break}}o||(o=c[s(404)]((t=>!this[s(650)][s(607)][s(562)][s(653)](t)))),o&&(0,t.logWarning)(s(659),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(650)][s(693)][s(442)](s(680),e),this[s(650)][s(693)][s(442)](s(502),i)}[et(510)](){const t=et;if(!this[t(687)]){const e=this[t(650)][t(594)][t(469)](t(578));this[t(687)]=e[t(514)](J(this[t(650)][t(443)],t(696)))}}[et(494)](){const t=et;this[t(687)]&&(this[t(650)][t(594)][t(469)](t(578))[t(666)](this[t(687)]),this[t(687)]=null)}[et(547)](t){const e=et,i=this[e(589)][e(406)]();i[e(691)]();let s=0;for(;s<i[e(539)];){const n=i[s];if(n===this[e(606)]){s++;continue}if(n.id===this[e(446)])break;const r=t[e(542)]-n[e(542)]||t[e(688)]-n[e(688)];if(r>0)break;if(r<0)s++;else{if(!t[e(567)]&&n[e(567)])break;if(n[e(567)]||!t[e(567)]){if(t[e(639)]>n[e(639)])break;s++}else s++}}return s}[et(569)](t){const e=et,i=this[e(589)][e(700)](t.id);if(t[e(639)]&&(t[e(639)]=new Date(t[e(639)])),t[e(603)]){const i=this[e(650)][e(594)][e(469)](e(527));t[e(635)]=t[e(603)][e(587)]((t=>i[e(556)](t)))}i[e(486)](t,!0)}[et(535)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(688)],i=null!==i?i:t[s(542)];const n=this[s(396)][s(403)](e,i),r={diffData:n[s(445)],authorsIds:n[s(603)],fromVersion:e,toVersion:i};if(!t||i!==t[s(542)]){const t=i-1,e=this[s(553)][s(397)][s(531)](t);r[s(639)]=e&&e[s(639)]||new Date}if(this[s(685)]&&e===this[s(685)][s(688)])for(const t of this[s(685)][s(635)])r[s(603)][s(561)](t.id)||r[s(603)][s(592)](t.id);return r}[et(638)](t){const e=et;if(!t||t[e(445)])return Promise[e(554)]();{const i=this[e(650)][e(693)][e(469)](e(385));return this[e(495)][e(700)]({channelId:i,revisionId:t.id})[e(417)]((i=>{const s=e;t[s(445)]=i[s(445)]}))}}[et(503)](t,e,i){const s=et;if(this[s(610)][s(522)](t)){const n=this[s(610)][s(469)](t);e=i?{...n,...e}:{...e,...n}}this[s(610)][s(442)](t,e)}[et(489)](t){const e=et,i=this[e(589)][e(406)]();i[e(691)](),i[e(662)]();const s=i[e(478)]((i=>i[e(542)]<=t))[e(542)];return s<this[e(437)]?this[e(437)]:s}[et(419)](t){const e=et,i=this[e(589)][e(700)](this[e(589)][e(539)]-1);if(i)this[e(446)]=i.id;else{const i=!this[e(650)][e(607)][e(562)][e(491)][e(478)]((t=>this[e(650)][e(607)][e(649)](t))),s=this[e(650)][e(594)][e(469)](e(527)).me.id,n=J(this[e(650)][e(443)],e(i?558:671));this[e(642)]({from:t,to:t,id:this[e(446)],name:n,creatorId:s})}}[et(573)](t){const e=et,i=this[e(553)][e(602)]();this[e(606)]=this[e(589)][e(700)](i),this[e(606)]||(this[e(606)]=this[e(642)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(642)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(535)]({from:e,to:i});o[r(644)]=t,o[r(400)]=s,o.id=n;const a=this[r(632)](o);return this[r(495)]&&this[r(503)](o.id,o,!0),a}[et(464)](){const t=et;this[t(650)][t(476)][t(658)](t(571))[t(600)]({model:t(669)})}[et(654)](t){const e=et;return(t=t[e(633)]((t=>!t[e(644)]||e(429)!==t[e(644)]&&e(668)!==t[e(644)])))[e(575)]((t=>{const i=e;i(677)!=typeof t&&(t[i(564)]=this[i(654)](t[i(564)]),t[i(413)]=t[i(413)][i(633)]((t=>!t[0][i(618)](i(588)))))})),t}}function rt(t,e){const i=et,s=e[i(507)][i(394)][i(562)];if(i(677)==typeof t)return new U.ViewText(s,t);{const n=t[i(564)][i(587)]((t=>rt(t,e)));return new(it[t[i(471)]]||U.ViewElement)(s,t[i(644)],t[i(413)],n)}}class ot{[et(650)];[et(433)];[et(681)];[et(409)];[et(415)];[et(472)];[et(657)];[et(523)];[et(506)];[et(620)];[et(448)];[et(624)];[et(518)];[et(672)];[et(466)];[et(484)];[et(389)];constructor(t){const e=et;this[e(650)]=t,this[e(681)]=new Map,this[e(409)]=-1,this[e(415)]=-1,this[e(472)]=new Map,this[e(657)]=new Map,this[e(523)]=new Map,this[e(506)]=new Map,this[e(620)]=new Map,this[e(448)]=new Map,this[e(624)]=new Map,this[e(518)]=new Map,this[e(672)]=new Map,this[e(466)]=new Map,this[e(484)]=1}[et(453)](t){const e=et;this[e(433)]=t;const i=new Map,s=new Map,n=this[e(650)][e(607)][e(562)][e(491)][e(587)]((t=>t[e(538)]));for(const t of n){const n=this[e(650)][e(607)][e(562)][e(653)](t),r=ct(n);i[e(442)](t,r),s[e(442)](t,Object[e(695)](n[e(579)]()))}const r=Array[e(572)](this[e(650)][e(607)][e(646)])[e(587)]((t=>[t[e(644)],t[e(622)]()])),o=this[e(433)][e(427)];this[e(473)](o,i,r,s),this[e(389)]=this[e(484)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(442)](t,i),c[e(442)](t,{})}this[e(473)](Number[e(513)],a,[],c)}[et(403)](t,e){const i=et;if(this[i(409)]===t&&this[i(415)]<=e)this[i(681)][i(601)]>1&&this[i(591)](this[i(415)]),this[i(581)](this[i(415)],e,!0);else{if(!this[i(681)][i(522)](t)){const e=this[i(524)](t);this[i(382)](e,t,!1)}this[i(382)](t,e,!0)}return this[i(409)]=t,this[i(415)]=e,this[i(678)]()}[et(460)](t){const e=et;this[e(543)](),this[e(409)]=t[e(688)],this[e(415)]=t[e(542)];for(const i in t[e(445)]){const s=t[e(445)][i][e(410)],n=A(t[e(445)][i][e(692)])||{},r=this[e(583)](t[e(445)][i][e(584)]);r[e(538)]=i,r[e(549)]=!s||!s[e(526)],r[e(526)]=()=>r[e(549)],this[e(506)][e(442)](i,r),this[e(620)][e(442)](i,n),s&&this[e(466)][e(442)](i,s);const o=this[e(640)](r);this[e(624)][e(442)](i,o);for(const[t,i]of r[e(646)]){if(!t[e(618)](e(599)))continue;const s=t[e(485)](":")[2];for(const t of i[e(661)]({singleCharacters:!0})){const i=this[e(545)](t),n=e(408)==t[e(471)]?t[e(595)][e(459)][e(423)](0,-1):t[e(595)][e(459)],r=o[e(655)](n)[e(536)](i);this[e(518)][e(442)](r,{userId:s})}}}this[e(389)]=this[e(484)];const i=[...Array(this[e(484)])[e(386)]()][e(423)](1)[e(633)]((t=>!this[e(518)][e(522)](t)));let s=0;const n=new Map;for(const r in t[e(445)]){const o=t[e(445)][r][e(410)],a=A(t[e(445)][r][e(629)])||{},c=this[e(583)](t[e(445)][r][e(616)]);c[e(538)]=r,c[e(549)]=!o||o[e(526)],c[e(526)]=()=>c[e(549)],this[e(657)][e(442)](r,c),this[e(523)][e(442)](r,a);const u=this[e(640)](c,Number[e(513)]);this[e(448)][e(442)](r,u),n[e(442)](r,c[e(526)]()?a:{});for(const[t,i]of c[e(646)]){if(!t[e(618)](e(599)))continue;const s=t[e(485)](":")[2];for(const t of i[e(661)]({singleCharacters:!0})){const i=this[e(545)](t),n=this[e(484)]++,r=e(408)==t[e(471)]?t[e(595)][e(459)][e(423)](0,-1):t[e(595)][e(459)];u[e(655)](r)[e(565)](i,n),this[e(518)][e(442)](n,{userId:s})}}for(const t of this[e(650)][e(607)][e(596)](c)[e(661)]({singleCharacters:!0})){const n=this[e(545)](t),r=e(408)==t[e(471)]?t[e(595)][e(459)][e(423)](0,-1):t[e(595)][e(459)],o=u[e(655)](r);o[e(536)](n)>0||o[e(565)](n,i[s++])}for(const[t,i]of c[e(646)])t[e(618)](e(599))||this[e(472)][e(442)](t,i)}const r=ut(e(684));this[e(506)][e(442)](e(684),r),this[e(624)][e(442)](e(684),this[e(640)](r,1));const o=ut(e(684));this[e(657)][e(442)](e(684),o),this[e(448)][e(442)](e(684),this[e(640)](o,1));const a=Array[e(572)](this[e(657)])[e(587)]((([t,e])=>[t,ct(e)]));this[e(473)](this[e(415)],a,this[e(472)],n)}[et(583)](t){const e=et,i=JSON[e(544)](t),s=this[e(650)][e(507)][e(394)][e(562)],n=new U.ViewDocumentFragment(s,i[e(587)]((t=>rt(t,this[e(650)]))));return this[e(650)][e(617)][e(395)](n)}[et(473)](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(442)](t,{start:e[n(529)][n(574)](),end:e[n(586)][n(574)](),rootName:e[n(455)][n(538)]});this[n(681)][n(442)](t,{roots:r,markers:a,rootsAttributes:o})}[et(591)](t){const e=et;this[e(681)][e(689)](t)}[et(623)](){const t=et;this[t(543)](),this[t(409)]=-1,this[t(415)]=-1,this[t(681)][t(613)](),this[t(453)](this[t(433)])}[et(543)](){const t=et;this[t(518)][t(613)](),this[t(672)][t(613)](),this[t(466)][t(613)](),this[t(657)][t(613)](),this[t(523)][t(613)](),this[t(506)][t(613)](),this[t(620)][t(613)](),this[t(448)][t(613)](),this[t(624)][t(613)](),this[t(472)][t(613)](),this[t(484)]=1,this[t(389)]=this[t(484)]}[et(640)](t,e=null){const i=et;let s=null;t.is(i(440))||(s=new U.Element(t[i(644)],{vid_start:null===e?this[i(484)]++:e++}));const n=[];for(const s of t[i(465)]())if(s.is(i(611))){n[i(592)](this[i(640)](s,e));const t=n[n[i(539)]-1];null!==e&&(e=t.is(i(611),i(631))?t[i(536)](i(492))+1:t[i(536)](i(401))+1)}else for(let t=0;t<s[i(570)];t++)n[i(592)](new U.Element(i(631),{vid:null===e?this[i(484)]++:e++}));if(t.is(i(440))){const e=ut(t[i(538)]);return e[i(483)](0,n),e}return s[i(565)](i(401),null===e?this[i(484)]++:e++),s[i(483)](0,n),s}[et(382)](t,e,i){const s=et;this[s(543)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(681)][s(469)](t);this[s(506)]=new Map(n),this[s(620)]=new Map(A(o));for(const[t,e]of this[s(506)])if(s(684)!==t&&(this[s(657)][s(442)](t,ct(e)),this[s(523)]=new Map(A(o)),i)){const i=this[s(484)];this[s(448)][s(442)](t,this[s(640)](e)),this[s(624)][s(442)](t,this[s(640)](e,i))}this[s(389)]=this[s(484)],this[s(657)][s(442)](s(684),ct(this[s(506)][s(469)](s(684)))),i&&this[s(448)][s(442)](s(684),this[s(640)](this[s(506)][s(469)](s(684))));for(const[t,e]of r){const i=this[s(506)][s(469)](e[s(538)]),n=this[s(657)][s(469)](e[s(538)]),r=new U.Range(this[s(551)](e[s(529)],i),this[s(551)](e[s(586)],i)),o=this[s(467)](r,n);i[s(646)][s(442)](t,r),this[s(472)][s(442)](t,o)}this[s(581)](t,e,i)}[et(581)](t,e,i){const s=et;for(const n of this[s(433)][s(425)](t,e))this[s(590)](n,i);for(const t of this[s(657)][s(490)]())t[s(646)][s(613)]();for(const[t,e]of this[s(472)])this[s(657)][s(469)](e[s(455)][s(538)])[s(646)][s(442)](t,e[s(574)]());const n=new Map,r=new Map;for(const[t,e]of this[s(657)])n[s(442)](t,ct(e)),r[s(442)](t,this[s(523)][s(469)](t));this[s(473)](e,n,this[s(472)],r)}[et(524)](t){const e=et,i=Array[e(572)](this[e(681)][e(386)]());i[e(452)](((t,e)=>t-e)),i[e(691)]();for(const e of i)if(e<t)return e;return Number[e(513)]}[et(384)](t,e){const i=et,s=Array[i(572)](e[i(646)])[i(587)]((([e,s])=>[e,this[i(467)](s,t)]));t[i(646)]=new Map(s)}[et(576)](t){const e=et;for(const i of this[e(472)][e(490)]()){const s=i[e(457)](t),n=U.Range[e(582)](s);i[e(529)]=n[e(529)],i[e(586)]=n[e(586)]}}[et(590)](t,e){const i=et;if(i(504)!=t[i(471)]&&i(660)!=t[i(471)]){if(i(609)==t[i(471)]){const s=t[i(525)][i(455)][i(538)];this[i(657)][i(522)](s)||(this[i(657)][i(442)](s,ut(s,!0)),this[i(523)][i(442)](s,{}),e&&this[i(448)][i(442)](s,ut(s,!0)))}else{if(i(651)==t[i(471)]||i(392)==t[i(471)]||i(656)==t[i(471)])return void this[i(521)](t);i(519)==t[i(471)]&&this[i(690)](t)}if(i(519)!==t[i(471)]){const e=this[i(430)](t,this[i(657)]);e[i(405)](),this[i(576)](e)}if(e)switch(t[i(471)]){case i(609):this[i(508)](t);break;case i(461):case i(666):case i(520):this[i(414)](t);break;case i(645):this[i(493)](t);break;case i(485):this[i(398)](t)}}else this[i(501)](t,e)}[et(430)](t,e){const i=et,s=t[i(574)]();return s[i(630)]=t[i(630)],this[i(615)](s,e),s}[et(499)](t){const e=et;return t[e(587)]((t=>{const i=e,s=this[i(545)](t);return Number(t[i(487)][i(536)](s))}))}[et(388)](t,e){const i=et;if(t.is(i(611),i(631)))e[i(592)]({item:t,type:i(697)});else{t.is(i(611))&&e[i(592)]({item:t,type:i(682)});for(const s of t[i(465)]())this[i(388)](s,e);t.is(i(611))&&e[i(592)]({item:t,type:i(408)})}return e}[et(678)](){const t=et,e=new Map(this[t(518)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(506)][t(386)](),...this[t(657)][t(386)]()]);a[t(689)](t(684));for(const e of a){const i=this[t(657)][t(469)](e)||ut(e,!1),s=this[t(506)][t(469)](e)||ut(e,!1);i[t(526)]()||s[t(526)]()?(n[t(616)][e]=ct(i),n[t(584)][e]=ct(s),this[t(384)](n[t(584)][e],s),this[t(384)](n[t(616)][e],i),r[t(616)][e]=this[t(388)](this[t(448)][t(469)](e),[]),r[t(584)][e]=this[t(388)](this[t(624)][t(469)](e)||ut(e,!1),[])):a[t(689)](e)}for(const n of a){const o=r[t(616)][n];for(const n of o){const r=this[t(545)](n),o=n[t(487)][t(536)](r);i[t(689)](o),o>=this[t(389)]&&s[t(442)](o,e[t(469)](o))}}for(const n of a){const a=r[t(616)][n],c=this[t(499)](r[t(584)][n]);let u=0;for(const n of a){const r=this[t(545)](n),a=n[t(487)][t(536)](r);if(!s[t(522)](a)&&!o[t(522)](a))if(i[t(522)](a))u++;else{if(a!=c[u]){const s=e[t(469)](a)||e[t(469)](c[u]);for(;a!=c[u];)i[t(522)](c[u])||(o[t(442)](c[u],s),e[t(442)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(616)][e];for(const e of n){const n=this[t(545)](e),r=e[t(487)][t(536)](n);if(o[t(522)](r)){const e=o[t(469)](r);i[t(522)](r)||i[t(442)](r,{...e}),s[t(442)](r,{...e})}}}for(const e of i[t(386)]())e>=this[t(389)]&&i[t(689)](e);const c=new Map;for(const e of a){let n=r[t(616)][e];for(const e of n)if(e[t(487)].is(t(611),t(627))){const i=this[t(545)](e),n=e[t(487)][t(536)](i);if(s[t(522)](n)){const i=e[t(487)][t(431)][t(431)][t(536)](t(559)),r=c[t(469)](i)||new Set;r[t(514)](s[t(469)](n)[t(468)]),c[t(442)](i,r)}}n=r[t(584)][e];for(const e of n)if(e[t(487)].is(t(611),t(627))){const s=this[t(545)](e),n=e[t(487)][t(536)](s);if(i[t(522)](n)){const s=e[t(487)][t(431)][t(431)][t(536)](t(559)),r=c[t(469)](s)||new Set;r[t(514)](i[t(469)](n)[t(468)]),c[t(442)](s,r)}}for(const e of c[t(386)]())(s[t(522)](e)||i[t(522)](e))&&c[t(689)](e)}for(const e of a){const n=r[t(616)][e];let o=null,a=null;for(const e of n){const n=this[t(545)](e),r=e[t(487)][t(536)](n),u=c[t(469)](r);u&&t(682)==e[t(471)]&&(o=Array[t(572)](u)[0],a=e[t(487)][t(536)](t(401))),o&&(i[t(442)](r,{userId:o}),s[t(442)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(584)][e],a=n[t(616)][e];for(const{userId:e}of this[t(672)][t(490)]())null!==e&&l[t(514)](e);for(const{userId:e}of this[t(466)][t(490)]())null!==e&&l[t(514)](e);this[t(393)](a,r[t(616)][e],s,t(432),l),this[t(393)](o,r[t(584)][e],i,t(422),l),u[e]={insertions:this[t(387)](a),deletions:this[t(387)](o),attachChange:this[t(466)][t(469)](e)||null,attributesBefore:A(this[t(620)][t(469)](e))||{},attributesAfter:A(this[t(523)][t(469)](e))}}return{diffData:u,authorsIds:Array[t(572)](l)}}[et(593)](t){const e=et;for(const[,i]of t[e(646)]){const t=i[e(529)][e(421)]()[e(633)]((t=>e(627)==t[e(644)]));for(const i of t)1==i[e(566)]&&i[e(686)](0).is(e(611),e(441))&&i[e(686)](0)[e(565)](e(598),!0)}}[et(387)](t){const e=et;this[e(593)](t);const i=this[e(650)][e(617)][e(698)](t,{}),s=Array[e(572)](i[e(465)]())[e(587)]((t=>this[e(679)](t)));return JSON[e(412)](s)}[et(679)](t){const e=et;if(t.is(e(631)))return t[e(617)];{const i=t;return{type:Object[e(386)](it)[e(478)]((e=>t instanceof it[e])),name:i[e(644)],attributes:Array[e(572)](i[e(579)]()),children:Array[e(572)](i[e(465)]())[e(587)]((t=>this[e(679)](t)))}}}[et(393)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(650)][r(607)];for(let s=0;s<e[r(539)];s++){const n=this[r(545)](e[s]),c=e[s][r(487)][r(536)](n),h=i[r(469)](c),d=s==e[r(539)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(468)]!=o[r(468)])&&(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(468)],d=l(599)+s+":"+h+":"+c++,f=u[l(449)](i,a);t[l(646)][l(442)](d,f),null!==h&&n[l(514)](h)}}[et(545)](t){const e=et;switch(t[e(471)]){case e(682):return e(559);case e(408):return e(401);default:return e(492)}}[et(615)](t,e){const i=et;t[i(637)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(469)](n[i(455)][i(538)]);t[s]=this[i(551)](n,r)}if(n instanceof U.Range){const r=e[i(469)](n[i(455)][i(538)]);t[s]=this[i(467)](n,r)}i(455)===s&&(t[i(455)]=e[i(469)](t[i(455)][i(538)]))}}[et(467)](t,e){const i=et;return this[i(650)][i(607)][i(449)](this[i(551)](t[i(529)],e),this[i(551)](t[i(586)],e))}[et(551)](t,e){const i=et;return this[i(650)][i(607)][i(451)](e,t[i(459)],t[i(481)])}[et(508)](t){const e=et,i=this[e(448)][e(469)](t[e(525)][e(455)][e(538)]),s=this[e(551)](t[e(525)],i),n=null===t[e(630)]?null:t[e(630)]||this[e(650)][e(594)][e(469)](e(527)).me.id,r=s[e(431)],o=this[e(484)],a=[];for(const i of t[e(390)])if(i.is(e(611)))a[e(592)](this[e(640)](i));else for(let t=0;t<i[e(570)];t++)a[e(592)](new U.Element(e(631),{vid:this[e(484)]++}));const c=this[e(484)];for(let t=o;t<c;t++)this[e(518)][e(442)](t,{userId:n});r[e(483)](s[e(648)],a)}[et(414)](t){const e=et;(t=this[e(430)](t,this[e(448)]))[e(405)]();const i=null===t[e(630)]?null:t[e(630)]||this[e(650)][e(594)][e(469)](e(527)).me.id,s=t[e(399)](),n=s[e(431)],r=s[e(648)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(686)](e);r.is(a(611),a(631))?s[a(442)](r[a(536)](a(492)),{userId:i}):(s[a(442)](r[a(536)](a(559)),{userId:i}),t(s,r,0,r[a(566)]),s[a(442)](r[a(536)](a(401)),{userId:i}))}}(this[e(518)],n,r,r+t[e(428)])}[et(493)](t){const e=et,i=null===(t=this[e(430)](t,this[e(448)]))[e(630)]?null:t[e(630)]||this[e(650)][e(594)][e(469)](e(527)).me.id,s=t[e(577)][e(431)],n=t[e(548)][e(431)],r=s[e(536)](e(401)),o=n[e(536)](e(559));s[e(565)](e(401),n[e(536)](e(401))),n[e(565)](e(401),r),this[e(518)][e(442)](o,{userId:i}),this[e(518)][e(442)](r,{userId:i}),t[e(405)]()}[et(398)](t){const e=et,i=null===(t=this[e(430)](t,this[e(448)]))[e(630)]?null:t[e(630)]||this[e(650)][e(594)][e(469)](e(527)).me.id,s=t[e(608)],n=t[e(479)][e(431)];t[e(405)]();const r=n[e(536)](e(401)),o=t[e(667)][e(647)];if(s){const t=o[e(536)](e(401)),s=n[e(536)](e(401));n[e(565)](e(401),t),o[e(565)](e(401),s),this[e(518)][e(442)](n[e(536)](e(401)),{userId:i}),this[e(518)][e(442)](o[e(536)](e(559)),{userId:i})}else{const t=this[e(484)]++,s=this[e(484)]++;n[e(565)](e(401),t),o[e(565)](e(559),s),o[e(565)](e(401),r),this[e(518)][e(442)](t,{userId:i}),this[e(518)][e(442)](s,{userId:i})}}[et(690)](t){const e=et;if(!t[e(674)])return;const i=(t=this[e(430)](t,this[e(657)]))[e(605)]?t[e(605)][e(455)]:null,s=t[e(541)]?t[e(541)][e(455)]:null;i&&this[e(472)][e(689)](t[e(644)]),s&&this[e(472)][e(442)](t[e(644)],t[e(541)][e(574)]());const n=null===t[e(630)]?null:t[e(630)]||this[e(650)][e(594)][e(469)](e(527)).me.id,r=t[e(644)];if(!this[e(672)][e(522)](r))return void this[e(672)][e(442)](r,{range:t[e(605)],userId:n});const o=this[e(672)][e(469)](r),a=o[e(673)],c=t[e(541)];null==a&&null==c||a&&c&&a[e(619)](c)?this[e(672)][e(689)](t[e(644)]):o[e(468)]=n}[et(501)](t,e){const i=et;this[i(657)][i(522)](t[i(538)])?this[i(657)][i(469)](t[i(538)])[i(549)]=t[i(512)]:(this[i(657)][i(442)](t[i(538)],ut(t[i(538)],!0)),this[i(523)][i(442)](t[i(538)],{}),e&&this[i(448)][i(442)](t[i(538)],ut(t[i(538)],!0)));const s=null===t[i(630)]?null:t[i(630)]||this[i(650)][i(594)][i(469)](i(527)).me.id,n=this[i(466)][i(469)](t[i(538)]);n&&n[i(468)]===s?this[i(466)][i(689)](t[i(538)]):this[i(466)][i(442)](t[i(538)],{userId:s,isAttached:t[i(512)]})}[et(521)](t){const e=et,i=this[e(523)][e(469)](t[e(455)][e(538)]);null===t[e(439)]?delete i[t[e(458)]]:i[t[e(458)]]=t[e(439)]}}function at(t,e){const i=st();return(at=function(t,e){return i[t-=381]})(t,e)}function ct(t){const e=et,i=ut(t[e(538)],t[e(526)]());for(const s of t[e(465)]()){const t=s[e(424)](!0);i[e(534)](t)}return i}function ut(t,e=!0){const i=et,s=new U.DocumentFragment;return s[i(538)]=t,s[i(549)]=e,s[i(526)]=()=>s[i(549)],s}function lt(t,e,i){const s=et,n=s(408)==t[s(471)]?i[s(563)](t[s(487)],s(586)):i[s(381)](t[s(487)]);return i[s(451)](e,n[s(459)],n[s(481)])}function ht(t,e,i){const s=et,n=s(682)==t[s(471)]?i[s(563)](t[s(487)],0):i[s(456)](t[s(487)]);return i[s(451)](e,n[s(459)],n[s(481)])}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 Tt=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;const Nt=Rt;function Rt(t,e){const i=Vt();return(Rt=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=Rt,i=t();for(;;)try{if(724083===parseInt(e(485))/1*(parseInt(e(474))/2)+-parseInt(e(457))/3+-parseInt(e(482))/4+-parseInt(e(456))/5+parseInt(e(472))/6*(-parseInt(e(484))/7)+parseInt(e(477))/8+parseInt(e(490))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class At extends ft.View{[Nt(459)];[Nt(494)];[Nt(462)];constructor(e,i){const s=Nt;super(e),this[s(459)]=new t.FocusTracker,this[s(494)]=new t.KeystrokeHandler,this[s(458)](s(486),""),this[s(462)]=this[s(491)](i),this[s(483)]({tag:s(470),attributes:{class:["ck",s(481),s(487)],tabindex:"-1"},children:[this[s(462)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(488)](){const t=Nt;super[t(488)](),(0,ft.submitHandler)({view:this}),this[t(459)][t(492)](this[t(462)][t(463)]),this[t(494)][t(465)](this[t(463)]);const e=e=>e[t(469)]();this[t(494)][t(458)](t(478),e),this[t(494)][t(458)](t(468),e),this[t(494)][t(458)](t(495),e),this[t(494)][t(458)](t(464),e)}[Nt(480)](){const t=Nt;this[t(462)][t(480)]()}get[Nt(489)](){const t=Nt;return this[t(462)][t(467)][t(463)][t(479)][t(473)]()}set[Nt(489)](t){const e=Nt;this[e(462)][e(467)][e(463)][e(479)]=t[e(473)]()}[Nt(454)](){const t=Nt;this[t(462)][t(467)][t(463)][t(479)]="",this[t(462)][t(471)]=null}[Nt(491)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(493)],ft.createLabeledInputText),s=i[e(467)];s[e(460)]({attributes:{maxlength:e(475)}});let n=J(this[e(493)],e(455));return!t&&(n+=" ("+J(this[e(493)],e(461))+")"),i[e(476)]=n,s.on(e(466),(()=>{const t=e;this[t(486)]=s[t(463)][t(479)][t(473)]()})),i}}function Vt(){const t=["revisionNameInputView","element","arrowdown","listenTo","input","fieldView","arrowleft","stopPropagation","form","errorText","114Mjrltl","trim","30TjdFvX","220","label","5242688DxcUCX","arrowright","value","focus","ck-revision-history-save-revision-form","497892REfYmJ","setTemplate","419510hOMRpF","68808yzpkrN","revisionNameInputValue","ck-responsive-form","render","revisionName","24258861QalVqJ","_createRevisionNameInput","add","locale","keystrokes","arrowup","reset","Name of the revision","5312700xXYYMT","3999357EjTTZt","set","focusTracker","extendTemplate","optional"];return(Vt=function(){return t})()}const Mt=Dt;function Dt(t,e){const i=Ct();return(Dt=function(t,e){return i[t-=133]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(919881===-parseInt(e(144))/1+-parseInt(e(158))/2*(-parseInt(e(192))/3)+-parseInt(e(179))/4*(parseInt(e(159))/5)+-parseInt(e(176))/6+parseInt(e(140))/7*(parseInt(e(161))/8)+parseInt(e(174))/9*(parseInt(e(196))/10)+parseInt(e(138))/11*(parseInt(e(157))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Et extends Z.Plugin{static get[Mt(151)](){return Mt(141)}static get[Mt(152)](){return!0}static get[Mt(193)](){return!0}static get[Mt(139)](){return[nt]}[Mt(187)];[Mt(172)](){const t=Mt,e=this[t(165)],i=e[t(178)][t(201)](t(200));e.ui[t(185)][t(199)](t(145),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(163)][n(148)],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(181)](n(197)).to(i,n(198),i,n(197),e,n(143),((t,e,i)=>t&&e&&!i)),r[n(203)][n(177)]({icon:dt.IconHistory,label:J(s,n(149)),tooltip:!0}),u[n(177)]({label:J(s,n(150)),withText:!0,role:n(162)}),u[n(181)](n(197)).to(i,n(198),i,n(197),e,n(143),((t,e,i)=>t&&e&&!i)),u.on(n(133),(()=>this[n(160)]())),h[n(177)]({label:J(s,n(195)),withText:!0,role:n(162)}),h[n(181)](n(197)).to(i,n(198),e,n(143),((t,e)=>t&&!e)),h.on(n(133),(()=>{const t=n;e[t(153)][t(201)](t(145))[t(154)](),r[t(168)]=!1,e[t(135)][t(175)][t(166)]()})),c[n(148)][n(199)](u),l[n(148)][n(199)](h),a[n(171)]=n(180),a[n(156)][n(167)]([c,l]),o[n(199)](a),r})),e.ui[t(185)][t(199)](t(142),(()=>this[t(169)]()))}[Mt(169)](){const t=Mt,e=this[t(165)],i=e[t(188)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(203)][t(177)]({icon:dt.IconHistory,label:J(i,t(149))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(177)]({label:J(i,t(150))}),o[t(146)](t(133)).to(s),o.on(t(133),(()=>{this[t(160)]()})),r[t(148)][t(199)](o),n[t(156)][t(199)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(177)]({label:J(i,t(195))}),c[t(146)](t(133)).to(s),c.on(t(133),(()=>{const i=t;e[i(153)][i(201)](i(145))[i(154)]()})),a[t(148)][t(199)](c),n[t(156)][t(199)](a),s[t(163)][t(148)][t(199)](n),s}[Mt(160)](){const t=Mt,e=this[t(165)],i=e[t(188)],s=e[t(178)][t(201)](t(190)),n=e[t(178)][t(201)](t(200));function r(n){const r=t;e[r(153)][r(201)](r(147))&&""===n[r(186)]?n[r(170)][r(191)]=J(i,r(194)):(e[r(178)][r(201)](nt)[r(155)]({name:n[r(186)]}),s[r(136)]())}this[t(187)]||(this[t(202)](),this[t(187)].on(t(164),(()=>r(this[t(187)])))),this[t(187)][t(173)](),s[t(189)]({id:t(137),title:J(i,t(150)),isModal:!0,content:this[t(187)],actionButtons:[{label:J(e[t(188)],t(182)),withText:!0,onExecute:()=>s[t(136)]()},{label:J(e[t(188)],t(183)),class:t(134),withText:!0,onCreate(i){const s=t;i[s(181)](s(197)).to(n,s(198),n,s(197),e,s(143),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(187)])}]})}[Mt(202)](){const t=Mt,e=this[t(165)],i=e[t(188)];this[t(187)]=new At(i,e[t(153)][t(201)](t(147))),this[t(187)][t(184)]()}}function Ct(){const t=["5LDLqGR","_showDialog","2728472LVrOtK","menuitem","panelView","submit","editor","focus","addMany","isOpen","_registerMenuComponent","revisionNameInputView","role","init","reset","27yktDbC","view","4740876gDwBRs","set","plugins","5818872zwQHVD","menu","bind","Cancel","Accept","render","componentFactory","revisionName","_saveRevisionFormView","locale","show","Dialog","errorText","27Zvsmhv","isPremiumPlugin","The revision name cannot be empty.","Open revision history","2425190LdRgxc","isEnabled","isReady","add","RevisionTracker","get","_createSaveRevisionFormView","buttonView","execute","ck-button-action","editing","hide","revisionSave","11gUauyC","requires","21YhKuYF","RevisionHistoryUI","menuBar:revisionHistory","isReadOnly","138323zgmHYY","revisionHistory","delegate","revisionHistory.requireRevisionName","children","Revision history","Save current revision","pluginName","isOfficialPlugin","config","showRevisionViewerCallback","saveRevision","items","10187916YMLGNX","156298pCzJnv"];return(Ct=function(){return t})()}const Ft=Lt;function Lt(t,e){const i=jt();return(Lt=function(t,e){return i[t-=319]})(t,e)}function jt(){const t=["ck-revision-change__","element","author","3894552lhwnJd","6117905EBMaZm","104FGNlxD","changeId","623714htEruP","isSuggestion","2428236lWYmxz","1914964NfaoUt","491799LjPTFW","div","ck-annotation","_model","bindTemplate","ck-revision-change","37036PrFXwu","add","75KIiemw","data","Suggested by","focus","name","span","Added by","ck-revision-change__label","setTemplate","Removed by","set","type"];return(jt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(619433===parseInt(e(340))/1+-parseInt(e(339))/2+-parseInt(e(348))/3*(-parseInt(e(346))/4)+-parseInt(e(333))/5+parseInt(e(332))/6+parseInt(e(336))/7*(parseInt(e(334))/8)+parseInt(e(338))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Pt extends ft.View{[Ft(335)];[Ft(343)];constructor(t,e){const i=Ft;super(t),this[i(343)]=e,this[i(335)]=e.id;const s=this[i(344)],n=J(t,e[i(349)][i(337)]?i(319):i(347)==e[i(328)]?i(323):i(326));this[i(327)](i(328),e[i(328)]),this[i(325)]({tag:i(341),attributes:{class:[i(342),i(345),s.to(i(328),(t=>i(329)+t))],tabindex:-1},children:[{tag:i(322),children:[{tag:i(322),attributes:{class:[i(324)]},children:[{text:n}]},{text:" "+e[i(331)][i(321)]}]}]})}[Ft(320)](){const t=Ft;this[t(330)][t(320)]()}}var Wt=zt;function zt(t,e){var i=Ht();return(zt=function(t,e){return i[t-=291]})(t,e)}!function(t){for(var e=zt,i=t();;)try{if(869500===-parseInt(e(307))/1*(-parseInt(e(308))/2)+-parseInt(e(294))/3*(parseInt(e(299))/4)+parseInt(e(293))/5*(parseInt(e(303))/6)+parseInt(e(304))/7+parseInt(e(297))/8*(parseInt(e(306))/9)+-parseInt(e(305))/10+-parseInt(e(291))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Zt extends((0,t.ObservableMixin)()){id;[Wt(300)];[Wt(301)];[Wt(302)];[Wt(292)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(300)]=e[i(300)],this[i(301)]=e[i(301)],this[i(302)]=e[i(302)]||{},this[i(292)]=e[i(292)],this[i(298)](i(295),e[i(295)])}[Wt(296)](){var t=Wt;return{id:this.id,authorId:this[t(300)].id,type:this[t(301)],data:this[t(302)],createdAt:this[t(295)]}}}function Ht(){var t=["18440fcZzkj","6wVRWHz","createdAt","toJSON","8GOttTy","set","2816848UfZtNf","author","type","data","768RNybtn","2477825uNDqJg","2270940SqZcpQ","13748769pPajbL","613268sPHJFd","2EbGnAr","5081230HvnclI","rootName"];return(Ht=function(){return t})()}function Ut(){const t=["9746324qsXEaQ","1413Jybywn","1702640pKfnZx","887834ubzPTE","1784793BKZvbE","changes","308835ZhcSea","132JfDdaz","oldRevisionId","newRevisionId","add","2173074yguiAa","8fmdgtX","52010CCTUfu","_setChanges"];return(Ut=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Ut();return(Bt=function(t,e){return i[t-=162]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(758914===parseInt(e(175))/1+-parseInt(e(168))/2+parseInt(e(176))/3*(-parseInt(e(169))/4)+-parseInt(e(163))/5*(-parseInt(e(164))/6)+parseInt(e(172))/7+parseInt(e(174))/8+parseInt(e(173))/9*(-parseInt(e(170))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt{[$t(166)];[$t(165)];[$t(162)];constructor(e,i){const s=$t;this[s(166)]=e,this[s(165)]=i,this[s(162)]=new t.Collection}[$t(171)](t){const e=$t;for(const i of t)this[e(162)][e(167)](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=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(715431===parseInt(e(507))/1+-parseInt(e(312))/2+-parseInt(e(487))/3+-parseInt(e(229))/4*(parseInt(e(228))/5)+parseInt(e(224))/6*(parseInt(e(390))/7)+-parseInt(e(322))/8+parseInt(e(462))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);const Kt={c:U.ViewContainerElement,a:U.ViewAttributeElement,e:U.ViewEmptyElement,r:U.ViewRawElement,u:U.ViewUIElement};class Qt extends Z.Plugin{[Gt(256)];[Gt(379)];[Gt(506)];[Gt(529)];[Gt(472)];[Gt(499)];static get[Gt(391)](){return Gt(297)}static get[Gt(423)](){return!0}static get[Gt(445)](){return!0}static get[Gt(523)](){return[H.Users,ft.ContextualBalloon,q]}constructor(t){const e=Gt;super(t),this[e(256)]=this[e(541)][e(380)][e(411)](e(510)),this[e(392)](e(378),null),this[e(392)](e(232),null),this[e(506)]=null,this[e(392)](e(540),null),this[e(392)](e(246),!1),this[e(392)](e(372),!0),this.on(e(328),((t,i,s)=>{const n=e;this[n(378)]=null,this[n(232)]=null,this[n(541)][n(400)][n(548)][n(318)]((t=>{const e=n;for(const i of this[e(541)][e(400)][e(548)][e(450)][e(249)])s?t[e(424)](e(244),i):t[e(270)](e(244),i)}))})),this[e(370)](e(533)).to(this,e(378),(t=>null!==t)),this[e(370)](e(235)).to(this,e(246),this,e(540),this,e(378),((t,i,s)=>t&&s?i[e(419)][e(460)](s):0)),this[e(370)](e(535)).to(this,e(246),this,e(540),((t,i)=>t?i[e(419)][e(290)]:0)),this[e(529)]=null,this[e(472)]=new Map,this[e(379)]=null,this[e(499)]=this[e(541)][e(380)][e(411)](ft.ContextualBalloon)}[Gt(281)](){const t=Gt,e=this[t(541)],i=new se(e,{direction:t(509)}),s=new se(e,{direction:t(334)});e[t(405)][t(261)](t(409),i),e[t(405)][t(261)](t(343),s),e[t(405)][t(261)](t(466),new ie(e)),this.on(t(444),(()=>{const e=t;i[e(536)](),s[e(536)]()})),this[t(260)](),this[t(308)](),e[t(440)](t(250)),e[t(380)][t(465)](t(236))&&e[t(380)][t(411)](t(236))[t(435)](t(250))}async[Gt(457)](t){const e=Gt;await this[e(355)](t);const i={};for(const s in t[e(434)]){if(t[e(434)][s][e(443)]&&!t[e(434)][s][e(443)][e(511)])continue;const n=this[e(367)](JSON[e(531)](t[e(434)][s][e(542)])),r=this[e(541)][e(400)][e(548)][e(450)],o=new U.ViewDocumentFragment(r,n[e(534)]((t=>this[e(336)](t))));this[e(541)][e(364)][e(389)][e(416)](e(532)),i[s]=this[e(541)][e(364)][e(389)][e(335)](o),this[e(541)][e(364)][e(389)][e(416)](e(311))}return i}async[Gt(546)](t){const e=Gt;await this[e(355)](t);const i={};for(const s in t[e(434)])t[e(434)][s][e(443)]&&!t[e(434)][s][e(443)][e(511)]||(i[s]=t[e(434)][s][e(349)]||{});return i}[Gt(367)](t){const e=Gt;return(t=t[e(454)]((t=>!t[e(502)]||e(412)!==t[e(502)]&&e(307)!==t[e(502)])))[e(537)]((t=>{const i=e;i(239)!=typeof t&&(t[i(527)]=this[i(367)](t[i(527)]),t[i(331)]=t[i(331)][i(454)]((t=>!t[0][i(414)](i(298)))))})),t}async[Gt(503)](t,e,i=!1){const s=Gt;if(!this[s(372)])return;const n=this[s(540)],r=this[s(256)],o=s(239)==typeof t?r[s(397)](t):t,a=s(239)==typeof e?r[s(397)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(540)]&&this[s(540)][s(278)]===c&&this[s(540)][s(492)]===u)return Promise[s(451)]();this[s(246)]=!1,this[s(232)]=null,this[s(378)]=null,this[s(540)]=new qt(c,u);const l=this[s(369)](o,a,!0)[s(534)]((t=>this[s(355)](t)));return l[s(385)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(310)](l)[s(501)]((()=>{const t=s;if(!this[t(372)])return;this[t(221)]();const e=this[t(319)](c,u);for(const i of e[t(419)])this[t(472)][t(392)](i.id,i);this[t(541)][t(357)][t(384)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(541)][s(357)][s(450)][s(223)]())i[s(422)](t);for(const t of Object[s(467)](e[s(357)])){const n=i[s(426)](t);for(const r of Object[s(467)](e[s(331)][t]))i[s(245)](r,e[s(331)][t][r],n);i[s(394)](e[s(357)][t],n,0)}})),this[t(540)][t(555)](this[t(528)](e[t(419)])),this[t(246)]=!0}))[s(299)]((t=>{const e=s;console[e(491)](t),this[e(221)](),n&&(this[e(540)]=n),this[e(246)]=!0}))}[Gt(251)](t,e){const i=Gt,s=this[i(256)][i(516)](t);return s.on(i(427),((t,i,n)=>e(i,n,s))),this[i(256)][i(371)](s),s}[Gt(355)](t){const e=Gt;if(!t||t[e(434)])return Promise[e(451)]();{const i=this[e(541)][e(421)][e(411)](e(292));return this[e(379)][e(397)]({channelId:i,revisionId:t.id})[e(501)]((i=>{const s=e;t[s(427)]({diffData:i[s(434)]},!0)}))}}[Gt(221)](){const t=Gt;this[t(378)]=null,this[t(263)](),this[t(529)]&&this[t(529)][t(353)](),this[t(529)]=null,this[t(472)][t(538)](),this[t(541)][t(357)][t(384)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(541)][i(357)][i(450)][i(223)]())e[i(422)](t)}))}[Gt(528)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(541)][e(357)][e(450)][e(223)]()){const n=this[e(541)][e(400)][e(548)][e(330)](t);if(!n)continue;const r=n[e(470)]()[e(478)](0);r&&(i[e(385)](t),s[e(392)](t,r))}return i[e(408)](((t,i)=>{const n=e,r=s[n(411)](t),o=s[n(411)](i);return r.y-o.y||r.x-o.x})),(t=t[e(454)]((t=>i[e(265)](t[e(315)]))))[e(408)](((t,s)=>i[e(238)](t[e(315)])-i[e(238)](s[e(315)]))),t}[Gt(388)](t){const e=Gt,i=Array[e(484)](t[e(513)])[e(454)]((([t,i])=>t[e(414)](e(220))&&!i[e(296)])),s=Array[e(484)](this[e(541)][e(357)][e(550)](t)[e(284)]({singleCharacters:!0}));if(0!=i[e(290)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(243)](":");if(n[e(552)][e(259)](t[e(495)])&&i[e(431)](),(t[e(241)][e(259)](n[e(226)])||t[e(241)][e(407)](n[e(226)]))&&(e(269)==r?t[e(480)]={userId:o}:e(490)==r&&(t[e(266)]={userId:o})),0==i[e(290)])break}return s}[Gt(505)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(290)];s++)e(547)===t[s][e(381)]?(t[s][e(478)][e(453)]=s,t[s][e(478)][e(373)]=s):(e(300)===t[s][e(381)]?t[s][e(478)][e(453)]=s:e(230)===t[s][e(381)]&&(t[s][e(478)][e(373)]=s),i[e(392)](t[s].id,s));for(const s of i[e(479)]())e(300)===t[s][e(381)]?t[s][e(478)][e(373)]=i[e(411)](t[s][e(418)]):e(230)===t[s][e(381)]&&(t[s][e(478)][e(453)]=i[e(411)](t[s][e(418)]))}[Gt(471)](t){const e=Gt;for(let i=0;i<t[e(290)];i++){if(e(300)===t[i][e(381)])t[i][e(478)][e(453)]=i;else if(e(230)===t[i][e(381)]){t[i][e(478)][e(373)]=i;const s=t[i][e(478)][e(453)];t[s][e(418)]=t[i].id,t[i][e(418)]=t[s].id}else t[i][e(478)][e(453)]=i,t[i][e(478)][e(373)]=i,t[i][e(418)]=null;t[i][e(556)]||(t[i][e(556)]=[],t[i][e(476)]=[])}}[Gt(314)](t,e){const i=Gt,s=t[i(454)]((t=>!t[i(480)]));for(let t=0;t<e[i(290)];t++)e[t][i(480)]&&(s[t][i(480)]=e[t][i(480)])}[Gt(274)](t){const e=Gt,i=JSON[e(531)](t),s=this[e(541)][e(400)][e(548)][e(450)],n=new U.ViewDocumentFragment(s,i[e(534)]((t=>this[e(336)](t))));return this[e(541)][e(364)][e(396)](n)}[Gt(336)](t){const e=Gt,i=this[e(541)][e(400)][e(548)][e(450)];if(e(239)==typeof t)return new U.ViewText(i,t);{const s=t[e(527)][e(534)]((t=>this[e(336)](t)));return new(Kt[t[e(381)]]||U.ViewElement)(i,t[e(502)],t[e(331)],s)}}[Gt(319)](t,e=null){const i=Gt,s=this[i(256)][i(397)](t),n=e?this[i(256)][i(397)](e):null,r=this[i(369)](s,n),o=r[r[i(290)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(290)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(467)](e[i(434)]))if(e[i(434)][t][i(443)]){const s=e[i(434)][t][i(443)];s[i(511)]?(u[i(261)](t),l[i(465)](t)&&l[i(411)](t)[i(452)]==s[i(452)]?l[i(345)](t):l[i(392)](t,s)):l[i(465)](t)?(u[i(345)](t),l[i(345)](t)):(u[i(261)](t),l[i(392)](t,s))}else u[i(261)](t)}for(const t of u){const e=l[i(465)](t)&&!l[i(411)](t)[i(511)];let s=e?r[i(290)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(434)][t]){const s=e?o[i(434)][t][i(383)]:o[i(434)][t][i(349)];c[i(331)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(357)]={};for(const e of t[i(252)])a[i(392)](e.id,e);for(const e of u){const s=t[i(434)][e]?t[i(434)][e][i(542)]:"[]",n=t[i(434)][e]?t[i(434)][e][i(225)]:"[]";t[i(357)][e]={insertions:this[i(274)](s),deletions:this[i(274)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(484)](s[i(357)][t][i(542)][i(513)])[i(454)]((([t])=>!t[i(414)](i(220)))));let h=0;for(const o of r){const r=this[i(388)](o[i(357)][t][i(542)]);o==s?(e=r,n=e[i(290)],e[i(537)]((t=>{t.id=h++})),this[i(471)](e)):this[i(314)](e,r);const a=e[i(454)]((t=>!t[i(480)]))[i(534)]((t=>t.id));let c=0;const l=this[i(388)](o[i(357)][t][i(225)]);l[i(537)]((t=>{t[i(266)]?t.id=n++:t.id=a[c++]})),this[i(471)](l),this[i(438)](e,i(480)),this[i(438)](l,i(266)),o==s&&this[i(283)](e,u),e=this[i(354)](e,l),this[i(505)](e),this[i(438)](e,i(266))}e=e[i(454)]((t=>!(t[i(480)]&&t[i(266)])));const d=new Map(o[i(357)][t][i(225)][i(513)]),f=new Set(u[i(467)]());for(const t of d[i(467)]())f[i(345)](t);this[i(395)](e,f),this[i(403)](e),e=this[i(320)](e),e=this[i(282)](e),e=this[i(303)](e);const{root:m,changes:p}=this[i(544)](e,a,t);c[i(357)][t]=m;const v=l[i(411)](t);if(v){const e=a[i(411)](v[i(452)]),s=new Zt({author:e,type:v[i(511)]?i(261):i(323),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(301)](s),c[i(331)][t][i(520)]=s.id}c[i(419)]=c[i(419)][i(393)](p)}return c}[Gt(283)](t,e){const i=Gt;for(let s=0;s<t[i(290)];s++)for(const[n,r]of e)r[i(226)][i(259)](t[s][i(241)])&&t[s][i(556)][i(385)](n),r[i(552)][i(259)](t[s][i(495)])&&t[s][i(476)][i(385)](n)}[Gt(354)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(290)]||r<e[i(290)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(385)](o);else if(a[i(266)]&&o[i(480)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(413)](t,n,e,r);s=s[i(393)](o),n=a,r=c}else a[i(266)]?(r++,s[i(385)](a)):(n++,s[i(385)](o))}return s}[Gt(395)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(290)];o++){for(let r=0;r<t[o][i(556)][i(290)];r++){const a=t[o][i(556)][r];if(!e[i(465)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(496)!=c||i(269)!=u&&i(490)!=u||(s[i(301)]({type:u,name:a,userId:l}),t[o][i(556)][i(441)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(476)][i(290)];r++){const a=t[o][i(476)][r];if(!e[i(465)](a))continue;const{group:c,type:u}=n(a);if(i(496)!=c||i(269)!=u&&i(490)!=u)continue;t[o][i(476)][i(441)](r,1),r--;const l=s[i(289)]((t=>t[i(502)]==a));l>-1&&s[i(441)](l,1)}}function n(t){const e=i,s=t[e(243)](":");return{group:s[0],type:s[1],subType:s[e(290)]>=5?s[2]:null,id:s[e(290)]<5?s[2]:s[3],authorId:s[e(290)]<5?s[3]:s[4],markerCount:6==s[e(290)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(290)];i++){if(t[e(480)]&&e(269)==s[i][e(381)])return t[e(257)]=s[i],void delete t[e(480)];if(!t[e(480)]&&!t[e(266)]&&e(490)==s[i][e(381)])return void(t[e(455)]=s[i])}}}[Gt(438)](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(392)](o.id,s);for(let s=0;s<t[i(290)];s++){if(i(266)==e&&t[s][i(480)]||i(480)==e&&t[s][i(266)])continue;if(i(547)==t[s][i(381)]){t[s][i(327)]=0;continue}const n=r[i(411)](t[s][i(418)]),o=r[i(411)](t[s].id);t[s][i(327)]=n-o}}[Gt(369)](t,e,i=!1){const s=Gt,n=[];let r=this[s(256)][s(460)](t),o=this[s(256)][s(460)](e);for(-1==o&&(o=this[s(256)][s(430)][s(290)],i=!1);r<o;)n[s(385)](this[s(256)][s(397)](r)),r++;return i&&n[s(385)](this[s(256)][s(397)](r)),n}[Gt(413)](t,e,i,s){const n=Gt,r=this[n(541)][n(357)][n(446)];let o=e;for(;t[o]&&t[o][n(480)];)o++;let a=s;for(;i[a]&&i[a][n(266)];)a++;u(t,e,o),u(i,s,a);const c=i[n(368)](s,a)[n(393)](t[n(368)](e,o));return c[n(408)](((t,e)=>t[n(271)]!=e[n(271)]?t[n(271)]-e[n(271)]:t[n(525)]!=e[n(525)]?t[n(525)]-e[n(525)]:t[n(327)]!=e[n(327)]?e[n(327)]-t[n(327)]:!!t[n(480)]!=!!e[n(480)]?-1==t[n(271)]||0==t[n(271)]?t[n(480)]?-1:1:t[n(480)]?1:-1:t[n(488)]-e[n(488)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(526)],c=!0;for(let n=e;n<i;n++)if(r[s(425)](t[n][s(478)])||(c=!1),t[n][s(478)][s(453)]<e&&(o=n),t[n][s(478)][s(373)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(271)]=n<=o?-1:n<a?0:1,t[n][s(488)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(327)]?t[i][s(525)]=u:(u++,t[i][s(525)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(271)]&&(t[n][s(525)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(327)]?t[e][s(525)]=u:(u--,t[e][s(525)]=u,u--)}}[Gt(403)](t){const e=Gt,i=new Map,s=this[e(541)][e(357)][e(446)];for(let n=1;n<t[e(290)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(547)==c[e(381)])continue;if(c[e(381)]!=u[e(381)])continue;if(!s[e(399)](u[e(478)])||s[e(553)](u[e(478)]))continue;if(!s[e(399)](c[e(478)])||s[e(553)](c[e(478)]))continue;if((t[n][e(480)]||t[n][e(257)])&&t[n-1][e(266)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(266)]||!t[n-1][e(480)]&&!t[n-1][e(257)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(525)]==o[e(525)],h=Math[e(437)](r[e(525)])<Math[e(437)](o[e(525)])&&0==o[e(327)];(l||h)&&(i[e(392)](o.id,r.id),t[e(441)](a,1),n--,r[e(480)]=!1)}for(let s=0;s<t[e(290)];s++)i[e(465)](t[s][e(418)])&&(t[s][e(418)]=i[e(411)](t[s][e(418)]))}[Gt(320)](t){const e=Gt,i=new Set(t[e(534)]((t=>t.id)));for(let s=0;s<t[e(290)];s++)i[e(465)](t[s][e(418)])||0==t[s][e(327)]||(t[s][e(363)]=!0);return t[e(454)]((t=>!t[e(363)]))}[Gt(282)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(290)];s++){if(i[e(465)](t[s].id)&&t[s][e(266)]&&(t[s][e(363)]=!0),t[s][e(363)])continue;if(0==t[s][e(327)])continue;if(e(300)!=t[s][e(381)])continue;if(null==t[s][e(418)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(418)];)e(300)==t[n][e(381)]?r++:e(230)==t[n][e(381)]&&r--,n++;if(0!=r)if(t[s][e(266)])t[s][e(363)]=!0;else for(;n!=s;)t[n][e(266)]&&0!=t[n][e(327)]&&(t[n][e(363)]=!0,i[e(261)](t[n][e(418)])),n--}return t[e(454)]((t=>!t[e(363)]))}[Gt(303)](t){const e=Gt,i=this[e(541)][e(357)][e(446)];for(let s=0;s<t[e(290)];s++){if(!(t[s][e(480)]||t[s][e(257)]||t[s][e(266)]||t[s][e(455)]))continue;if(0==t[s][e(327)])continue;const n=t[s][e(478)];i[e(399)](n)||i[e(553)](n)||(t[s][e(480)]&&delete t[s][e(480)],t[s][e(257)]&&delete t[s][e(257)],t[s][e(455)]&&delete t[s][e(455)],t[s][e(266)]&&(t[s][e(363)]=!0))}return t[e(454)]((t=>!t[e(363)]))}[Gt(544)](t,e,i){const s=Gt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(541)][s(357)],c=a[s(446)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(290)];e++)if(s(300)===t[e][s(381)]){t[e][s(241)]=a[s(362)](n,f);const i=new U.Element(t[e][s(478)][s(502)],t[e][s(478)][s(447)]());u[0][s(339)](i),f[s(385)](0),u[s(301)](i),t[e][s(495)]=a[s(362)](n,f)}else s(230)===t[e][s(381)]?(u[s(431)](),t[e][s(241)]=a[s(362)](n,f),f[s(233)](),f[f[s(290)]-1]++,t[e][s(495)]=a[s(362)](n,f)):(t[e][s(241)]=a[s(362)](n,f),d?d[s(344)]+=t[e][s(478)][s(364)]:d=new U.Text(t[e][s(478)][s(364)],t[e][s(478)][s(447)]()),t[e+1]&&s(547)===t[e+1][s(381)]&&v(d,t[e+1][s(478)])||(u[0][s(339)](d),d=null),f[f[s(290)]-1]+=t[e][s(478)][s(258)],t[e][s(495)]=a[s(362)](n,f));for(let e=0;e<t[s(290)];e++){const i=t[e][s(241)],n=t[e][s(495)];for(const n of t[e][s(556)])o[s(392)](n,{start:i,end:null});m(s(455),e,i,n),m(s(257),e,i,n),m(s(266),e,i,n),m(s(480),e,i,n);for(const i of t[e][s(476)])o[s(411)](i)[s(552)]=n}for(const[t,e]of o){const i=this[s(541)][s(357)][s(543)](e[s(226)],e[s(552)]);n[s(513)][s(392)](t,i)}return r[s(408)](((t,e)=>{const i=s,r=n[i(513)][i(411)](i(220)+t.id),o=n[i(513)][i(411)](i(220)+e.id);return r[i(226)][i(469)](o[i(226)])?-1:r[i(226)][i(407)](o[i(226)])?1:r[i(552)][i(469)](o[i(552)])?-1:r[i(552)][i(407)](o[i(552)])?1:i(261)===t[i(381)]?-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(452)]:null,d=i===t[o(290)]-1,f=h[e][0],m=c[o(287)](t[i][o(478)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(552)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(452)]!==u&&(l[e][o(552)]=n,f&&f[o(452)]===l[e][o(452)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(300)!==t[i][o(381)]||f&&f[o(452)]===u||h[e][o(301)]({userId:u,object:t[i][o(478)],change:l[e]}),o(230)===t[i][o(381)]&&f&&f[o(420)]===t[i][o(478)]&&(h[e][o(431)](),l[e]=f[o(318)])),l[e]&&d&&(l[e][o(552)]=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(478)],f=a[h(446)][h(399)](d)&&!a[h(446)][h(553)](d),m=t[h(291)]==o[h(313)]&&o[h(473)];if(f&&m)return;const p=a[h(543)](t,o),v=e[h(411)](u),g=new Zt({author:v,type:h(480)==l||h(257)==l?h(261):h(323),data:{isSuggestion:h(257)==l||h(455)==l},createdAt:new Date,rootName:i});r[h(385)](g),n[h(513)][h(392)](h(220)+g.id,p)}function v(t,e){const i=s,n=t[i(447)](),r=e[i(447)]();for(const t of n){if(t[1]!==e[i(348)](t[0]))return!1;r[i(439)]()}return r[i(439)]()[i(305)]}}[Gt(260)](){const t=Gt;this[t(541)][t(530)][t(539)](t(352))[t(517)]({view:t(522)}),this[t(541)][t(530)][t(539)](t(500))[t(515)]({model:t(522),view:e=>{const i=t,s=e[i(377)][i(243)](":")[1],n=this[i(477)](s);if(!n)return null;const r=i(261)==n[i(381)]?i(269):i(490),o=[i(276),i(481)+r];return n[i(364)][i(231)]&&o[i(385)](i(481)+r+i(262)),this[i(378)]==n&&o[i(385)](i(361)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(541)][t(530)][t(539)](t(352))[t(261)]((e=>{const i=t;e.on(i(485),((t,e,s)=>{const n=i,r=e[n(458)][n(342)](0);if(!r||!r.is(n(255),n(382)))return;if(!s[n(285)][n(359)](r,{attributes:[n(375),n(294)]}))return;const o=e[n(549)][n(226)][n(291)];s[n(351)][n(245)](n(375),r[n(348)](n(375)),o),s[n(351)][n(245)](n(294),r[n(348)](n(294)),o)}),{priority:i(415)})})),this[t(541)][t(530)][t(539)](t(352))[t(261)]((e=>{const i=t;e.on(i(255),((t,e,s)=>{const n=i;if(!s[n(285)][n(359)](e[n(458)],{attributes:[n(375),n(294)]}))return;if(e[n(549)][n(296)])return;const r=e[n(549)][n(226)][n(291)];r[n(464)](n(375))||r[n(464)](n(489))||(s[n(351)][n(245)](n(375),e[n(458)][n(348)](n(375)),r),s[n(351)][n(245)](n(294),e[n(458)][n(348)](n(294)),r))}),{priority:i(415)})})),this[t(541)][t(530)][t(539)](t(352))[t(234)]({view:{name:t(493),attributes:{vid:!0}},model:{key:t(489),value:e=>e[t(348)](t(489))}}),this[t(541)][t(357)][t(446)].on(t(486),((e,[,i])=>{const s=t;[s(375),s(294),s(489)][s(265)](i)&&(e[s(237)]=!0,e[s(340)]())}),{priority:t(401)}),this[t(541)][t(530)][t(539)](t(222))[t(261)]((e=>{const i=t;e.on(i(293),((t,e,s)=>{const n=i;if(" "!=e[n(478)][n(364)]||e[n(478)][n(313)][n(304)]>1)return;if(!s[n(285)][n(359)](e[n(478)],t[n(502)]))return;const r=s[n(351)],o=s[n(410)][n(321)](e[n(267)]);r[n(333)](o,r[n(316)](n(493)))}))})),this[t(541)][t(530)][t(539)](t(222))[t(432)]({model:t(522)}),this[t(541)][t(400)][t(448)].on(t(494),function(e){const i=t,s=e[i(380)][i(411)](i(297));return(t,n,r)=>{const o=i,a=n[o(377)][o(243)](":")[1],c=s[o(477)](a);if(!c)return null;const u=o(261)==c[o(381)]?o(243):o(275);if(!r[o(285)][o(347)](n[o(482)],t[o(502)]))return;const l=n[o(482)][o(284)](),h=n[o(482)][o(226)],d=e[o(357)][o(446)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(478)];p=p||d[o(514)](e);const i=r[o(410)][o(248)](e);if(i&&i[o(253)](o(317)))return;o(230)==t[o(381)]&&d[o(399)](e)&&!d[o(553)](e)&&(e[o(309)]||h[o(268)]?f&&f[o(313)]==e||(f=e,g(t[o(241)]),v=!0):m=m||t[o(241)])}function g(t){const e=o,i=r[e(351)][e(279)](e(493),{class:e(481)+u}),a=r[e(410)][e(429)](t);c[e(364)][e(231)]&&r[e(351)][e(270)](e(481)+u+e(262),i),s[e(378)]==c&&r[e(351)][e(270)](e(361),i),r[e(351)][e(394)](a,i),r[e(410)][e(227)](i,n[e(377)])}p||v||!m||g(m)}}(this[t(541)]),{priority:t(273)}),this[t(541)][t(400)][t(448)].on(t(402),((e,i,s)=>{const n=t,r=s[n(410)][n(386)](i[n(377)]);if(r)for(const t of r)(t[n(433)](n(242))||t[n(433)](n(295)))&&(s[n(410)][n(417)](t,i[n(377)]),s[n(351)][n(323)](t))}),{priority:t(273)}),this[t(541)][t(400)][t(448)].on(t(494),((e,i,s)=>{const n=t,r=i[n(377)][n(243)](":")[1],o=this[n(477)](r);if(!o)return null;const a=n(261)==o[n(381)]?n(243):n(275);if(s[n(285)][n(347)](i[n(482)],e[n(502)]))for(const t of i[n(482)][n(459)]()){if(!t.is(n(255),n(326)))continue;const e=s[n(351)][n(279)](n(493),{class:n(481)+a}),r=s[n(410)][n(429)](this[n(541)][n(357)][n(358)](t));o[n(364)][n(231)]&&s[n(351)][n(270)](n(481)+a+n(262),e),this[n(378)]==o&&s[n(351)][n(270)](n(361),e),s[n(351)][n(394)](r,e),s[n(410)][n(227)](e,i[n(377)])}}),{priority:t(273)}),this[t(541)][t(357)][t(450)].on(t(318),(()=>{const e=t;this[e(541)][e(400)][e(548)][e(318)]((t=>{const i=e;for(const e of this[i(541)][i(357)][i(450)][i(223)]()){const s=this[i(541)][i(357)][i(450)][i(551)](e),n=this[i(541)][i(400)][i(548)][i(450)][i(551)](e);if(n){const e=s[i(348)](i(520));if(t[i(436)](i(376),n),t[i(424)](i(240),n),t[i(424)](i(277),n),t[i(424)](i(341),n),e){const s=this[i(477)](e);if(!s)return null;t[i(245)](i(376),e,n),t[i(270)](i(346)+s[i(381)],n),this[i(378)]==s&&t[i(270)](i(341),n)}}}}))})),this[t(541)][t(530)][t(539)](t(352))[t(517)]({view:t(512),model:e=>t(519)+e,converterPriority:t(401)}),this[t(541)][t(530)][t(539)](t(352))[t(517)]({view:t(247),model:e=>t(387)+e,converterPriority:t(401)}),this[t(541)][t(530)][t(539)](t(222))[t(432)]({model:t(496),view:e=>({name:t(329)+e,group:t(496)}),converterPriority:t(401)}),this[t(541)][t(530)][t(539)](t(500))[t(515)]({model:t(496),view:e=>{const i=t,s=e[i(377)][i(243)](":")[1];return i(269)!=s&&i(490)!=s?null:{classes:[i(374),i(338)+s]}}}),this[t(541)][t(400)][t(448)].on(t(508),ee(this[t(541)],t(275)),{priority:t(273)}),this[t(541)][t(400)][t(448)].on(t(497),ee(this[t(541)],t(243)),{priority:t(273)}),this[t(541)][t(400)][t(448)].on(t(302),((e,i,s)=>{const n=t,r=s[n(410)][n(386)](i[n(377)]);if(r)for(const t of r)t.is(n(272))&&(s[n(410)][n(417)](t,i[n(377)]),s[n(351)][n(323)](t))}),{priority:t(273)})}[Gt(477)](t){const e=Gt;return this[e(472)][e(411)](t)}[Gt(365)](t){const e=Gt;return this[e(529)]&&this[e(529)][e(353)](),this[e(529)]=new Pt(this[e(541)][e(356)],t),this[e(529)]}[Gt(308)](){const t=Gt;this[t(541)][t(357)][t(450)][t(404)][t(475)](t(522)),this.on(t(324),((e,i,s,n)=>{const r=t;n&&this[r(499)][r(323)](n),s&&(this[r(499)][r(261)]({view:s,stackId:r(286),position:{target:()=>{const t=r,e=this[t(541)][t(400)],i=this[t(477)](s[t(442)]);let n;if(i[t(364)][t(545)]){const s=e[t(548)][t(330)](i[t(315)]);n=Array[t(484)](s[t(470)]())}else{const i=this[t(541)][t(357)][t(513)][t(411)](t(220)+s[t(442)]);n=Array[t(484)](e[t(410)][t(386)](i[t(502)]))[t(534)]((i=>e[t(548)][t(498)][t(474)](i)))[t(534)]((e=>Array[t(484)](e[t(470)]())))[t(456)]()}return this[t(506)]&&n[t(332)]((e=>e[t(406)]-3<=this[t(506)].y&&e[t(398)]+3>=this[t(506)].y&&e[t(280)]-3<=this[t(506)].x&&e[t(449)]+3>=this[t(506)].x))||n[0]}}}),this[r(499)][r(337)](r(286)))})),this.on(t(463),((e,i,s,n)=>{const r=t;this[r(232)]=s?this[r(365)](s):null,this[r(541)][r(357)][r(318)]((()=>{const t=r,e=this[t(541)][t(400)];n&&(n[t(364)][t(545)]?e[t(548)][t(318)]((i=>{const s=t;i[s(424)](s(341),e[s(548)][s(450)][s(551)](n[s(315)]))})):e[t(366)](t(220)+n.id)),s&&(s[t(364)][t(545)]?e[t(548)][t(318)]((i=>{const n=t;i[n(270)](n(341),e[n(548)][n(450)][n(551)](s[n(315)]))})):e[t(366)](t(220)+s.id))}))})),this[t(264)](this[t(541)][t(400)][t(548)][t(450)],t(254),((e,i)=>{const s=t;if(this[s(378)])return;const n=this[s(360)](i[s(288)]),r=this[s(472)][s(411)](n);r?(this[s(506)]={x:i[s(504)].x,y:i[s(504)].y},this[s(232)]=this[s(365)](r)):(this[s(506)]=null,this[s(232)]=null)})),this[t(264)](this[t(541)][t(400)][t(548)][t(450)],t(325),((e,i)=>{const s=t,n=this[s(360)](i[s(288)]),r=this[s(472)][s(411)](n);r?(this[s(506)]={x:i[s(504)].x,y:i[s(504)].y},r===this[s(378)]?this[s(499)][s(468)]():this[s(378)]=r):(this[s(506)]=null,this[s(378)]=null)}))}[Gt(360)](t){const e=Gt;do{const i=t[e(348)](e(376));if(i)return i;t=t[e(313)]}while(t);return null}[Gt(263)](){const t=Gt;this[t(541)][t(357)][t(318)]((e=>{const i=t;for(const t of this[i(541)][i(357)][i(513)])e[i(554)](t)}))}}function te(){const t=["filter","isRemoveSuggestion","flat","getRevisionData","viewItem","getItems","getIndex","change:isReady","14289912ihLhNN","change:activeChange","hasAttribute","has","restoreRevision","keys","updatePosition","isBefore","getClientRects","_processTape","_changeIdToChange","isAtStart","mapViewToDom","observeMarkers","markersEnd","_getChangeFromId","item","values","isAdded","ck-suggestion-marker-","markerRange","revisionHistory","from","element:pre","checkAttribute","1862676rRmrPj","index","vid","deletion","error","oldRevisionId","span","addMarker:revision","nextPosition","revision-suggestion","addMarker:revision-suggestion:insertion","domConverter","_balloon","editingDowncast","then","name","compare","domEvent","_refreshStartEndIndex","_activeViewTarget","1409539spQLIP","addMarker:revision-suggestion:deletion","backward","RevisionsRepository","isAttached","comment","markers","isContent","markerToHighlight","createRevision","dataToMarker","getLaterVisibleRevision","revision-comment:","revisionHistoryAttachChange","execute","revision","requires","first","level","POSITIVE_INFINITY","children","_sortAndFilterDiffChanges","_changeView","conversion","parse","marked","isNavigationMode","map","numberOfChanges","refresh","forEach","clear","for","diff","editor","insertions","createRange","_makeModelFromTape","isOnRoot","getRevisionRootsAttributes","text","view","modelRange","createRangeIn","getRoot","end","isLimit","removeMarker","_setChanges","markersStart","revision:","_cleanUp","dataDowncast","getRootNames","18LXQDkn","deletions","start","bindElementToMarker","93845hLdnGs","68TVXRtS","elementEnd","isSuggestion","activeView","pop","elementToAttribute","currentChangeNumber","WidgetToolbarRepository","return","indexOf","string","ck-revision-history-root-add","previousPosition","ck-suggestion-marker-split","split","ck-editor__editable__overlay","setAttribute","isReady","suggestion","toViewElement","roots","revision-viewer","addRevisionData","authors","getCustomProperty","mouseover","element","repository","isAddSuggestion","offsetSize","isEqual","_setConversion","add","-new","_cleanMarkers","listenTo","includes","isRemoved","range","isAtEnd","insertion","addClass","side","uiElement","high","_makeModelFromViewString","merge","ck-suggestion-marker","ck-revision-history-root-remove","newRevisionId","createUIElement","left","init","_markMismatchedRemovedTags","_markMarkers","getWalker","consumable","revisionHistoryLabel","isObject","target","findIndex","length","nodeAfter","collaboration.channelId","attribute:vid","vid_end","ck-suggestion-marker-merge","isCollapsed","RevisionViewer","data-revision-","catch","elementStart","unshift","removeMarker:revision-suggestion","_removeUnsupportedChanges","maxOffset","done","restoreRevisionCallback","revision-end","_initInteractions","nextSibling","all","default","2812562FQDifN","parent","_markInsertions","rootName","createAttributeElement","addHighlight","change","_getDiff","_removeMissingPairs","toViewRange","6174968jesxyb","remove","change:activeView","mousedown","softBreak","distance","change:isEnabled","suggestion:","getDomRoot","attributes","find","wrap","forward","toData","_getViewObj","showStack","ck-suggestion-preview-marker-","_appendChild","stop","ck-revision-history-root--active","getChild","showNextChange","_data","delete","ck-revision-history-root-","test","getAttribute","attributesAfter","_step","writer","upcast","destroy","_joinTapes","loadRevisionData","locale","model","createPositionBefore","consume","_findChangeIdFromDomTarget","ck-suggestion-marker--active","createPositionFromPath","isIncorrect","data","_getViewForChange","reconvertMarker","_removeRevisionMarkers","slice","_getRevisionsRange","bind","addRevision","isEnabled","endIndex","ck-suggestion-preview-marker","vid_start","data-change-id","markerName","activeChange","adapter","plugins","type","code","attributesBefore","enqueueChange","push","markerNameToElements","revision-suggestion:","_makeTape","processor","1951229MCUJUU","pluginName","set","concat","insert","_markSuggestions","toModel","getRevision","bottom","isBlock","editing","highest","removeMarker:revision","_fixObsoleteTags","selection","commands","top","isAfter","sort","showPreviousChange","mapper","get","revision-start","_threeWayMerge","startsWith","low","useFillerType","unbindElementFromMarkerName","pairId","changes","object","config","detachRoot","isOfficialPlugin","removeClass","isInline","addRoot","_update","affectsData","toViewPosition","_revisions","shift","markerToData","hasClass","diffData","forceDisabled","removeAttribute","abs","_setDistance","next","enableReadOnlyMode","splice","changeId","attachChange","change:numberOfChanges","isPremiumPlugin","schema","getAttributes","downcastDispatcher","right","document","resolve","userId","startIndex"];return(te=function(){return t})()}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(285)][r(347)](s[r(482)],i[r(502)]))return;const o=s[r(482)][r(284)](),a=s[r(482)][r(226)],c=t[r(357)][r(446)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(478)];h=h||c[r(514)](e);const i=n[r(410)][r(248)](e);if(i&&i[r(253)](r(317)))return;r(230)==t[r(381)]&&c[r(399)](e)&&!c[r(553)](e)&&(e[r(309)]||a[r(268)]?u&&u[r(313)]==e||(u=e,f(t[r(241)]),d=!0):l=l||t[r(241)])}function f(t){const i=r,o=n[i(410)][i(429)](t),a=n[i(351)][i(279)](i(493),{class:i(338)+e});n[i(351)][i(394)](o,a),n[i(410)][i(227)](a,s[i(377)])}h||d||!l||f(l)}}class ie extends Z.Command{constructor(t){const e=Gt;super(t);const i=t[e(380)][e(411)](Qt);this[e(428)]=!1,this[e(264)](i,e(461),(()=>this[e(536)]())),this[e(264)](i,e(328),(()=>this[e(536)]()))}[Gt(521)](){const t=Gt,e=this[t(541)],i=e[t(380)][t(411)](Qt),s=i[t(246)]?i[t(540)][t(278)]:null;e[t(421)][t(411)](t(483))[t(306)](s)}[Gt(536)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(541)][t(380)][t(411)](Qt),r=n&&s[t(518)](n[t(278)]);this[t(372)]=e&&i&&Boolean(r)}}class se extends Z.Command{[Gt(350)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(380)][i(411)](Qt);this[i(428)]=!1,this[i(350)]=i(334)===e?1:-1,this[i(264)](s,i(461),(()=>this[i(536)]())),this[i(264)](s,i(328),(()=>this[i(536)]())),this[i(264)](s,i(463),(()=>this[i(536)]()))}[Gt(521)](){const e=Gt,i=this[e(541)],s=i[e(380)][e(411)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(378)]=n?s[e(540)][e(419)][e(411)](r+this[e(350)]):s[e(540)][e(419)][e(524)],s[e(378)][e(364)][e(545)])o=i[e(400)][e(548)][e(330)](s[e(378)][e(315)]);else{const t=i[e(357)][e(513)][e(411)](e(220)+s[e(378)].id);o=(0,H.getMarkerDomElement)(i[e(400)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(536)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(541)][t(380)][t(411)](Qt);this[t(372)]=!!(r&&n&&s)&&(!e||(1===this[t(350)]?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(t,e){const i=ae();return(oe=function(t,e){return i[t-=424]})(t,e)}function ae(){const t=["Loading...","forward","1597446smMgsR","4541124ktDOOj","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__navigation","backward","isForwardNavigationEnabled","isNavigationMode","setTemplate","ck-revision-history-ui","numberOfChanges","No changes","Show previous change","ck-revision-history-ui__changes-navigation__wrapper","bind","fire","EDIT_X_OF_Y_REVISIONS","383830ZlMZns","209WjMwCk","ck-hidden","270tDHNLr","2290942IzbfQI","ck-revision-history-ui__changes-navigation__label","execute","NUMBER_OF_CHANGES","_statusText","isReady","isBackwardNavigationEnabled","539810dQRrKM","Show next change","ck-revision-history-ui__changes-navigation","bindTemplate","span","Total","37768YTLZXk","_isStatusLabelVisible","set","isEnabled","div","1146850uNDNeY","8vNudDC","42nNbTPG","currentChangeNumber"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(685194===parseInt(e(438))/1+-parseInt(e(442))/2+parseInt(e(441))/3*(parseInt(e(455))/4)+-parseInt(e(449))/5*(parseInt(e(462))/6)+-parseInt(e(467))/7+parseInt(e(461))/8*(-parseInt(e(466))/9)+parseInt(e(460))/10*(parseInt(e(439))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(452)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(457)](e(428),!1),this[e(457)](e(447),!1),this[e(457)](e(463),0),this[e(457)](e(431),0),this[e(457)](e(427),!1),this[e(457)](e(448),!1),this[e(435)](e(456)).to(this,e(447),this,e(431),((t,e)=>t&&e>0)),this[e(435)](e(446)).to(this,e(447),this,e(463),this,e(431),this,e(428),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(464));if(!n)return J(t,o(432));const a=J(t,o(445),n);return r?J(t,o(424),[s+1,n]):a})),s[e(457)]({label:J(t,e(433)),tooltip:!0,icon:dt.IconChevronUp}),n[e(457)]({label:J(t,e(450)),tooltip:!0,icon:dt.IconChevronDown}),s[e(435)](e(458)).to(this,e(448)),n[e(435)](e(458)).to(this,e(427)),s.on(e(444),(()=>this[e(436)](e(444),e(426)))),n.on(e(444),(()=>this[e(436)](e(444),e(465)))),this[e(429)]({tag:e(459),attributes:{class:["ck",e(430),e(451)]},children:[{tag:e(453),attributes:{class:[e(434)]},children:[{tag:e(453),attributes:{class:[e(443),i.if(e(456),e(440),(t=>!t))]},children:[{text:i.to(e(428),(i=>i?J(t,e(437))+": ":J(t,e(454))+": "))}]},{text:i.to(e(446))}]},new ft.ToolbarSeparatorView,{tag:e(459),attributes:{class:[e(425)]},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;const he=de;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=188]})(t,e)}function fe(){const t=["isPremiumPlugin","14oKtJYa","ck-editor__editable__loading-overlay","pluginName","hide","67572uRBGTy","3337810HkCenL","addClass","RevisionViewerLoadingOverlay","editing","view","removeClass","change","53090DcByYa","1557ecsWWV","roots","editor","show","139973sHXJSn","document","36mBHtUT","6243952ZRxeec","960176iOMTiP","isOfficialPlugin","126LOYetN","39347297KRhJfO"];return(fe=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(535103===-parseInt(e(211))/1*(parseInt(e(194))/2)+-parseInt(e(191))/3*(parseInt(e(198))/4)+-parseInt(e(199))/5+-parseInt(e(213))/6*(parseInt(e(189))/7)+-parseInt(e(188))/8+parseInt(e(207))/9*(parseInt(e(206))/10)+parseInt(e(192))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=he(195);class pe extends Z.Plugin{static get[he(196)](){return he(201)}static get[he(190)](){return!0}static get[he(193)](){return!0}[he(210)](){const t=he,e=this[t(209)][t(202)][t(203)];e[t(205)]((i=>{const s=t;for(const t of e[s(212)][s(208)])i[s(200)](me,t)}))}[he(197)](){const t=he,e=this[t(209)][t(202)][t(203)];e[t(205)]((i=>{const s=t;for(const t of e[s(212)][s(208)])i[s(204)](me,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=159]})(t,e)}function ye(){const t=["listenTo","isForwardNavigationEnabled","change:isReady","add","isPremiumPlugin","restoreRevision","showPreviousChange","currentChangeNumber","6434554JItbhb","config","show","editor","componentFactory","execute","RevisionViewerUI","requires","closeRevisionViewerCallback","isNavigationMode","Restore this revision","11874MAkAEN","ck-revision-history-ui__back-to-editing","4349820bQPYsk","commands","1260774pXrlZw","revisionHistory","4266455aeDVJg","hide","init","changesNavigation","isReady","bind","get","isEnabled","isBackwardNavigationEnabled","pluginName","Back to editing","3605898QdaXyv","isOfficialPlugin","set","12171224ueChoT","showNextChange","plugins","42EFWAal","numberOfChanges","exitToEditing","forward"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(944690===parseInt(e(159))/1+-parseInt(e(201))/2*(parseInt(e(178))/3)+-parseInt(e(203))/4+parseInt(e(161))/5+-parseInt(e(172))/6+-parseInt(e(190))/7+parseInt(e(175))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends Z.Plugin{static get[ve(170)](){return ve(196)}static get[ve(173)](){return!0}static get[ve(186)](){return!0}static get[ve(197)](){return[Qt,pe]}[ve(163)](){const t=ve,e=this[t(193)],i=e[t(177)][t(167)](Qt),s=e[t(177)][t(167)](pe);e.ui[t(194)][t(185)](t(180),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(174)]({label:J(i,s(171)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(202)}),this[s(182)](n,s(195),(()=>{const t=s;e[t(191)][t(167)](t(160))[t(198)]()})),n})),e.ui[t(194)][t(185)](t(187),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(174)]({label:J(i,s(200)),withText:!0,tooltip:!0}),n[s(166)](s(168)).to(e[s(204)][s(167)](s(187))),this[s(182)](n,s(195),(()=>e[s(195)](s(187)))),n})),e.ui[t(194)][t(185)](t(164),(s=>{const n=t,r=new ce(s),o=e[n(204)][n(167)](n(188)),a=e[n(204)][n(167)](n(176));return r[n(166)](n(169)).to(o,n(168)),r[n(166)](n(183)).to(a,n(168)),r[n(166)](n(165),n(189),n(179),n(199)).to(i),this[n(182)](r,n(195),((t,i)=>{const s=n;e[s(195)](s(181)===i?s(176):s(188))})),r})),s[t(192)](),i.on(t(184),((e,i,n)=>{const r=t;n?s[r(162)]():s[r(192)]()}))}}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-=440]})(t,e)}function Se(){const t=["_tooltipString","value","Enter the revision name","scrollWidth","6rZrDtW","347128lXNeWM","set","ck-tooltip_multi-line","element","listenTo","609240AfLjno","_updateTooltipText","497925PaMMRg","Revision name","placeholder","bindTemplate","ck-revision-history-sidebar__revision-name","215422GQSNTb","destroy","render","extendTemplate","input","1598392SWvtsc","33970BRHmag","span","_resizeObserver","2196292wfXgxm","clientWidth","fieldView"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(186922===parseInt(e(453))/1+parseInt(e(441))/2+parseInt(e(448))/3+parseInt(e(446))/4+-parseInt(e(459))/5+-parseInt(e(440))/6*(parseInt(e(462))/7)+-parseInt(e(458))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(461)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(451)];this[i(442)]({label:J(t,i(449)),_tooltipString:""}),this[i(464)][i(450)]=J(t,i(467)),this[i(456)]({tag:i(460),attributes:{class:[i(452)],"data-cke-tooltip-text":s.to(i(465)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(443)}})}[_e(455)](){const e=_e;super[e(455)](),this[e(461)]=new t.ResizeObserver(this[e(464)][e(444)],(()=>this[e(447)]())),this[e(445)](this[e(464)],e(457),(()=>this[e(447)]()))}[_e(454)](){const t=_e;super[t(454)](),this[t(461)]&&this[t(461)][t(454)]()}[_e(447)](){const t=_e,e=this[t(464)][t(444)];this[t(465)]=e[t(468)]>e[t(463)]&&e[t(466)]||""}}var Te=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Te.A,xe);Te.A&&Te.A.locals&&Te.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=436]})(t,e)}function Re(){const t=["Revision author","707476LiBNzW","259HiGPrb","Revision creator","56424WacKUM","36DTqEPv","5253327lOENeT","span","88185AAOOfd","ck-revision-history-sidebar__revision-author","push","setTemplate","0 0 11 10","33798iVVSdZ","name","ck-revision-history-sidebar__revision-author_creator","set","444979nhcetS","480765HaSvZY","ck-revision-history-sidebar__revision-author__name","10QmdsFB"];return(Re=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(293578===-parseInt(e(445))/1+-parseInt(e(441))/2+-parseInt(e(446))/3+parseInt(e(450))/4+-parseInt(e(436))/5*(parseInt(e(454))/6)+-parseInt(e(451))/7*(-parseInt(e(453))/8)+-parseInt(e(455))/9*(-parseInt(e(448))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(444)]({content:dt.IconUser,viewBox:s(440)});const r=["ck",s(437)];i&&r[s(438)](s(443));const o=[{tag:s(456),attributes:{class:["ck",s(447)],title:J(t,s(i?452:449))},children:[n,e[s(442)]]}];this[s(439)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Me();return(Ve=function(t,e){return i[t-=403]})(t,e)}function Me(){var t=["toLocaleDateString","1324BNXsfd","325938hzzVYH","1508512lCbfOx","40udimBx","3079450CeFCwm","642922iMjnoB","4806036RpxlXK","1637eQSLwE","numeric","18OxFNLe","long","toLocaleTimeString","18147070RiiojW"];return(Me=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(901435===parseInt(e(409))/1*(parseInt(e(416))/2)+-parseInt(e(403))/3*(-parseInt(e(405))/4)+parseInt(e(406))/5+parseInt(e(411))/6*(parseInt(e(407))/7)+parseInt(e(404))/8+-parseInt(e(408))/9+-parseInt(e(414))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var De=i(11),Ee={attributes:{"data-cke":!0}};Ee.setAttributes=wt(),Ee.insert=kt().bind(null,"head"),Ee.domAPI=gt(),Ee.insertStyleElement=It();pt()(De.A,Ee);De.A&&De.A.locals&&De.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=126]})(t,e)}function Fe(){const t=["extendTemplate","4wSnJAu","Compare against selected","14626472DCidZz","menuitem","model","set","isActionsDropdownOpen","bind","bindTemplate","function","menu","class","buttonView","add","source","children","929681InInBR","execute","action","change:isActionsDropdownOpen","listView","2618335NiXnuh","isOpen","panelPosition","name","_action","first","isReady","Show more items","locale","ck-on","isEnabled","Restore this revision","ck-revision-history-sidebar__revision__actions","stopPropagation","2372847yElADV","Name this revision","5184912bVOlCg","isVisible","297636NhNwCv","find","listenTo","map","button","4180372OvhWXf","items"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(513208===-parseInt(e(136))/1+parseInt(e(159))/2+parseInt(e(155))/3*(-parseInt(e(167))/4)+parseInt(e(141))/5+-parseInt(e(157))/6+parseInt(e(164))/7+parseInt(e(169))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;function Pe(){const t=["140445XtbbyJ","10BqorAd","revisionActionsView","159315tNiNRH","2936688JyVADw","ck-revision-history-sidebar__revision__controls-wrapper","bindTemplate","deselect","ck-revision-history-sidebar__revision_highlighted","highlight","_createdAtFormatted","setTemplate","authors","ck-revision-history-sidebar__revision__date","8NSTTIL","change","value","select","map","ck-reset","unshift","set","length","_requireRevisionName","ck-revision-history-sidebar__revision_selected","element","isConfirm","ck-revision-history-sidebar__revision-wrapper","ck-disabled","render","isReady","fieldView","name","createdAt","15YggNWx","from","creator","2733577luranC",".ck-thread__remove-confirm","ck-revision-history-sidebar__actions_dropdown_open","div","bind","extendTemplate","uiLanguage","2697993hvNFgQ","isHighlighted","ck-revision-history-sidebar__revision","setName","unhighlight","isActionsDropdownOpen","closest","revisionNameView","147YahuYB","srcElement","listenTo","filter","ck-revision-history-sidebar__revision-authors","span","fire","406308RzRval","89178QTcNLt","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","220","_revision","isSelected"];return(Pe=function(){return t})()}const We=ze;function ze(t,e){const i=Pe();return(ze=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(216535===-parseInt(e(423))/1+-parseInt(e(434))/2*(-parseInt(e(486))/3)+parseInt(e(479))/4*(-parseInt(e(454))/5)+-parseInt(e(480))/6*(-parseInt(e(472))/7)+-parseInt(e(424))/8+parseInt(e(464))/9*(parseInt(e(487))/10)+parseInt(e(457))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Ze extends((0,H.ConfirmMixin)(ft.View)){id;[We(471)];[We(488)];[We(484)];[We(443)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(426)],a=function(t,e){const i=r,s=Array[i(455)](e[i(432)])[i(475)]((t=>t!=e[i(456)]));return e[i(456)]&&s[i(440)](e[i(456)]),s[i(438)]((s=>new Ae(t,s,s==e[i(456)])))}(e,i);this.id=i.id,this[r(484)]=i,this[r(443)]=n,this[r(461)](r(452),r(453)).to(i),this[r(461)](r(430)).to(this,r(453),(t=>{return i=e[r(463)],(s=t)[(n=Ve)(415)](i,{month:n(412),day:n(410)})+", "+s[n(413)](i,{hour:n(410),minute:n(410)});var i,s,n})),this[r(441)](r(485),!1),this[r(441)](r(465),!1),this[r(441)](r(469),!1),this[r(441)](r(450),!1),this[r(441)](r(481),!1),this[r(471)]=new Oe(e,ft.createLabeledInputText),this[r(471)][r(451)][r(462)]({attributes:{maxlength:r(483)}}),this[r(471)][r(451)][r(461)](r(436)).to(this,r(452),(t=>t||this[r(430)])),this[r(471)][r(461)](r(481)).to(this,r(485),this,r(481),((t,e)=>t&&e)),this[r(488)]=s&&s[r(442)]?function(e,i){const s=Ce,n=e[s(128)],r=e[s(149)],o=(0,ft.createDropdown)(r);o[s(143)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(149)],n={"Compare against selected":J(s,i(168)),"Name this revision":J(s,i(156)),"Restore this revision":J(s,i(152))};return e[i(162)]((t=>{const e=i,s=n[t[e(144)]];return s&&s!==t[e(144)]&&(t[e(144)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(163),model:new ft.ViewModel({label:t[n(144)],class:t[n(131)],withText:!0,role:n(170),_action:t[n(138)]})};i[n(171)][n(127)](n(151)).to(e,n(126),(i=>n(129)!=typeof t[n(151)]||!i||t[n(151)](e))),o[n(133)](i)}return o}(e,i);return e[s(127)](s(126)).to(o,s(142)),o[s(132)][s(172)]({label:J(r,s(148)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(166)]({attributes:{class:[s(153),n.if(s(126),s(150))]},on:{click:n.to((t=>t[s(154)]()))}}),o.on(s(137),(t=>{const i=s;e[i(147)]&&i(129)==typeof t[i(134)][i(145)]&&t[i(134)][i(145)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(130)}),o[s(161)](e,s(139),((t,n,r)=>{const a=s;if(r)for(const t of o[a(140)][a(165)]){const s=t[a(135)][a(146)],n=i[a(160)]((t=>t[a(138)]===s[a(145)]))[a(158)];t[a(158)]=void 0===n||n(e)}})),o}(this,s):"",this[r(488)]&&this[r(488)][r(461)](r(481)).to(this),this[r(431)]({tag:r(460),attributes:{class:["ck",r(439),r(447),o.if(r(446),r(482))]},children:[{tag:r(460),attributes:{class:["ck",r(439),r(466),o.if(r(481),r(448),(t=>!t)),o.if(r(485),r(444)),o.if(r(465),r(428)),o.if(r(469),r(459))]},children:[this[r(471)],{tag:r(477),attributes:{class:["ck",r(433)]},children:[{text:o.to(r(430))}]},{tag:r(460),attributes:{class:["ck",r(425)]},children:[{tag:"ul",attributes:{class:["ck",r(476)]},children:a}]},this[r(488)]],on:{click:o.to((t=>{const e=r;t[e(473)][e(470)](e(458))||this[e(450)]&&this[e(481)]&&this[e(478)](e(437),{id:this.id})}))}}]})}[We(449)](){const t=We;super[t(449)]();const e=this[t(471)][t(451)][t(445)];this[t(474)](e,t(435),(()=>{const i=t;this[i(443)]&&!e[i(436)]||this[i(478)](i(467),{id:this.id,name:e[i(436)]}),e[i(436)]||(e[i(436)]=this[i(452)]?this[i(452)]:this[i(430)])}))}[We(437)](){this[We(485)]=!0}[We(427)](){this[We(485)]=!1}[We(429)](){this[We(465)]=!0}[We(468)](){this[We(465)]=!1}}class He extends Error{}class Ue extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class qe extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ge extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Ke="short",Qe="long",ti={year:Xe,month:Xe,day:Xe},ei={year:Xe,month:Ke,day:Xe},ii={year:Xe,month:Ke,day:Xe,weekday:Ke},si={year:Xe,month:Qe,day:Xe},ni={year:Xe,month:Qe,day:Xe,weekday:Qe},ri={hour:Xe,minute:Xe},oi={hour:Xe,minute:Xe,second:Xe},ai={hour:Xe,minute:Xe,second:Xe,timeZoneName:Ke},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,hourCycle:"h23"},li={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Ke},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},pi={year:Xe,month:Ke,day:Xe,hour:Xe,minute:Xe},vi={year:Xe,month:Ke,day:Xe,hour:Xe,minute:Xe,second:Xe},gi={year:Xe,month:Ke,day:Xe,weekday:Ke,hour:Xe,minute:Xe},yi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,timeZoneName:Ke},ki={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Ke},bi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe,timeZoneName:Qe},wi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe,second:Xe,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 Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},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 Bs(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=Ti[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,(js({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 Vi(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 Mi={};let Di={};let Ei=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Es(t,3),this.padTo)}}class ji{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=Vi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class zi{static fromOpts(t){return zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Ei||(Ei=(new Intl.DateTimeFormat).resolvedOptions().locale,Ei)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new zi(o,a,c,u,r)}static resetCache(){Ei=null,Ai={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(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):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends _i{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Ui 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?Hi.utcInstance:Hi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Ui(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},qi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Xi,Ki=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Ki}static set now(t){Ki=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 Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){zi.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=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...qs(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,...qs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...qs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...qs(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 qe("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,Ls(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 Ts(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function 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 Vs(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Es(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 Ls(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 js(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 Ws(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function zs(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 Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Us(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(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Us(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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 qs(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 Xs(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 Ks=["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[...Ks];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 Xs(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]]=Vs(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:Vs(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Tn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function xn(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?zs(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Ks.indexOf(t)+1:Qs.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function En(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Hs(l,h),[d,new Hi(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$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),zn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Zn=dn(/(\d{4})-?(\d{3})/,kn),Hn=dn(yn),Un=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,Tn,xn),$n=fn(bn,On,Tn,xn),Bn=fn(wn,On,Tn,xn),qn=fn(On,Tn,xn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Xn=fn(On,Tn,xn);const Kn="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||zi.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:zi.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 Be(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):Kn}toHuman(t={}){if(!this.isValid)return Kn;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+=Es(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)(xs(e.values,t)||xs(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]=Us(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||zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return zi.create(e,null,"gregory").eras(t)}static features(){return{relative: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(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in qi){const[i,n]=qi[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])=>Hs(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 Tr{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,zs);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(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Hi(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=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new qe("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function 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 Vr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Er(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 Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=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=js(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 Wr(t,e,i=!0){return t.isValid?ln.create(zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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 Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Ur={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],qr=["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(Vr(i));const s=zi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of Br)ws(t[e])&&(t[e]=Hr[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]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Es(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 Kr(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:Vr(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||zi.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]=Kr(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]=Kr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.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:zi.fromObject(e)}):eo.invalid(Vr(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:zi.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:zi.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(Vr(i));const s=zi.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 qe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new qe("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=qr,v=Ur,g=ms(g,r,o)):u?(p=Yr,v=$r,g=vs(g)):(p=Br,v=Hr);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,Ws(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]=Lr(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,[Wn,Un],[zn,$n],[Zn,Bn],[Hn,qn])}(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),[Dn,En])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,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=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(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,Un],[Gn,Xn])}(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 Ue(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),zi.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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?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=js(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?[Er(this,{ts:a}),Er(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(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]=Lr(i,e,t)}return Er(this,{ts:s,zone:t})}return eo.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Er(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 qe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new qe("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(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Er(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Er(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Er(this,jr(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=zr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?zr(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return 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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(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 Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(zi.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=zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Tr(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=zi.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-=176]})(t,e)}function no(){const t=["local","toRelativeCalendar","year","3795174jlUfNE","toJSDate","10LEERIu","1040710IwtkPS","month","day","8iKzSjF","422811QdeMYe","8xXqsMb","fromJSDate","minus","startOf","weekdayLong","monthLong","20svcngI","2392860swDTuc","week","3973013ISuyhh","setLocale","hasSame","1712123aFVDZG","383JeitKq"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(178)](t)[i(187)](e),n=eo[i(191)](),r=n[i(179)]({days:1})[i(180)](i(199));let o,a;return s[i(188)](n,i(199))?(o=s[i(180)](i(199))[i(195)](),a=s[i(192)]()):s[i(188)](r,i(199))?(o=r[i(195)](),a=s[i(192)]()):s[i(188)](n,i(185))?(o=s[i(180)](i(185))[i(195)](),a=s[i(181)]||""):s[i(188)](n,i(193))?(o=s[i(180)](i(198))[i(195)](),a=s[i(182)]||""):(o=s[i(180)](i(193))[i(195)](),a=String(s[i(193)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(218276===-parseInt(e(190))/1*(parseInt(e(196))/2)+parseInt(e(176))/3*(parseInt(e(200))/4)+-parseInt(e(197))/5+-parseInt(e(184))/6+-parseInt(e(189))/7*(-parseInt(e(177))/8)+-parseInt(e(194))/9+parseInt(e(183))/10*(parseInt(e(186))/11))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;function co(){const t=["515326xgvlaY","select","208732HXGnuo","ck-revision-history-sidebar__time-period__label","delegate","10589634DPaIya","3mJrCjl","revisionViews","15697ejKDPN","createCollection","remove","addRevision","6560cLloHW","startDate","42XyFHZD","find","_requireRevisionName","51BKSsPp","setName","3202605WABXyu","3372920IKMYPE","locale","ck-revision-history-sidebar__time-period","712702JcqduW","removeRevision","div","_revisionActions","add","localizedPeriodName","setTemplate","ck-revision-history-sidebar__time-period__revisions","uiLanguage","span"];return(co=function(){return t})()}function uo(t,e){const i=co();return(uo=function(t,e){return i[t-=144]})(t,e)}const lo=uo;!function(t){const e=uo,i=t();for(;;)try{if(619216===parseInt(e(150))/1*(parseInt(e(167))/2)+-parseInt(e(161))/3*(-parseInt(e(146))/4)+-parseInt(e(163))/5+-parseInt(e(158))/6*(parseInt(e(144))/7)+-parseInt(e(164))/8+parseInt(e(149))/9+-parseInt(e(156))/10*(parseInt(e(152))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(co);class ho extends ft.View{[lo(157)];[lo(151)];[lo(170)];[lo(160)];constructor(t,e,i,s){const n=lo;super(t);const r=ro(e,this[n(165)][n(175)])[n(172)];this[n(157)]=e,this[n(151)]=this[n(153)](),this[n(170)]=i,this[n(160)]=s,this[n(151)][n(148)](n(145)).to(this),this[n(151)][n(148)](n(162)).to(this),this[n(173)]({tag:n(169),attributes:{class:["ck",n(166)]},children:[{tag:n(176),attributes:{class:["ck",n(147)]},children:[{text:r}]},{tag:n(169),attributes:{class:["ck",n(174)]},children:this[n(151)]}]})}[lo(155)](t){const e=lo,i=new Ze(this[e(165)],t,this[e(170)],this[e(160)]);this[e(151)][e(171)](i)}[lo(168)](t){const e=lo,i=this[e(151)][e(159)]((e=>e.id===t.id));this[e(151)][e(154)](i)}}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(t,e){const i=vo();return(po=function(t,e){return i[t-=175]})(t,e)}function vo(){const t=["202crsbnw","1436225NvPRYt","137898iOIXwh","15YrGJzP","590OqMvJx","604995LaYZwC","div","Revision history","886020MeMaKF","ck-revision-history-sidebar__header","1306048VWVziy","5718984kySVKB","content","ck-revision-history-sidebar__header__label","span","setTemplate","5016BGQusf","ck-reset_all"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(448521===-parseInt(e(190))/1*(parseInt(e(188))/2)+parseInt(e(177))/3+parseInt(e(182))/4+-parseInt(e(175))/5*(-parseInt(e(180))/6)+-parseInt(e(191))/7+-parseInt(e(183))/8+-parseInt(e(192))/9*(-parseInt(e(176))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(184)]=dt.IconHistory,this[e(187)]({tag:e(178),attributes:{class:["ck",e(189),e(181)]},children:[i,{tag:e(186),attributes:{class:["ck",e(185)]},children:[J(t,e(179))]}]})}}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=["some","3016088xhkLAY","getTime","349335OvCBDY","setName","1909270nSXuzS","createdAt","deselect","delegate","add","_removeRevision","ck-revision-history-sidebar__timeline","_addRevision","select","uiLanguage","90EADpkQ","find","remove","revisionSelected","startDate","setTemplate","revisionViews","flat","locale","_revisionActions","addRevision","ck-rounded-corners","div","highlight","4EMFWjE","selectRevision","ck-disabled","2470344fLZtPC","_requireRevisionName","1172571AymQRP","highlightRevisions","_revisions","_getTimePeriodViewByStartDate","71522PsZXoP","isEnabled","unhighlight","7pwlHcD","197343ecTrUV","revisionSetName","get","set","bindTemplate","ck-reset","fire","ck-revision-history-sidebar","render","map","removeRevision","timePeriodViews","createCollection"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=244]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(224985===-parseInt(e(274))/1+-parseInt(e(254))/2+parseInt(e(250))/3+-parseInt(e(245))/4*(-parseInt(e(276))/5)+parseInt(e(248))/6+-parseInt(e(257))/7*(parseInt(e(272))/8)+parseInt(e(258))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends ft.View{[bo(269)];[bo(252)];[bo(295)];[bo(249)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(262)];this[n(269)]=this[n(270)](),this[n(269)][n(279)](n(284)).to(this),this[n(269)][n(279)](n(275)).to(this),this[n(252)]=e,this[n(295)]=i,this[n(249)]=s,this.on(n(284),((t,e)=>{const i=n;this[i(264)](i(289),e)})),this.on(n(275),((t,e)=>{const i=n;this[i(264)](i(259),e)})),this[n(261)](n(255),!1),this[n(291)]({tag:n(298),attributes:{class:["ck",n(263),n(297),n(265)]},children:[new go(t),{tag:n(298),attributes:{class:["ck",n(282),r.if(n(255),n(247),(t=>!t))]},children:this[n(269)]}]})}[bo(266)](){const t=bo;super[t(266)]();for(const e of this[t(252)])this[t(283)](e);this[t(252)].on(t(280),((e,i)=>{this[t(283)](i)})),this[t(252)].on(t(288),((e,i)=>{this[t(281)](i)}))}get[bo(292)](){const t=bo;return this[t(269)][t(267)]((e=>e[t(292)][t(267)]((t=>t))))[t(293)]()}[bo(246)](t){const e=bo;for(const i of this[e(292)])t&&t.id===i.id?i[e(284)]():i[e(278)]()}[bo(251)](t){const e=bo;for(const i of this[e(292)])t[e(271)]((({id:t})=>t===i.id))?i[e(244)]():i[e(256)]()}[bo(283)](t){const e=bo,i=ro(t[e(277)],this[e(294)][e(285)])[e(290)];let s=this[e(269)][e(260)](0);s&&s[e(290)][e(273)]()===i[e(273)]()||(s=new ho(this[e(294)],i,this[e(295)],this[e(249)]),this[e(269)][e(280)](s)),s[e(296)](t)}[bo(281)](t){const e=bo,i=ro(t[e(277)],this[e(294)][e(285)])[e(290)];this[e(253)](i)[e(268)](t)}[bo(253)](t){const e=bo;return this[e(269)][e(287)]((i=>i[e(290)][e(273)]()===t[e(273)]()))}}const So=Oo;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=Oo,i=t();for(;;)try{if(952252===-parseInt(e(151))/1+parseInt(e(188))/2*(-parseInt(e(138))/3)+-parseInt(e(201))/4*(-parseInt(e(154))/5)+-parseInt(e(134))/6+parseInt(e(189))/7*(-parseInt(e(200))/8)+-parseInt(e(136))/9*(-parseInt(e(165))/10)+parseInt(e(209))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends Z.Plugin{[So(152)];[So(187)];[So(205)];static[So(161)]=[So(132),So(182),So(178)];static[So(175)]=function(){const t=So;return{compareAgainstSelected:{name:t(157),action:({plugins:e},i)=>{const s=t,n=e[s(150)](Qt),r=n[s(167)];let o=n[s(199)][s(186)],a=i.id;r[s(169)](o)>r[s(169)](a)&&([o,a]=[a,o]),n[s(179)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(150)](Qt);return!(n[s(167)][s(144)](n[s(199)])[s(198)]>2||i[s(129)])}},restoreRevision:{name:t(153),action:(e,{id:i})=>{const s=t;e[s(158)][s(150)](s(155))[s(163)](i)},isVisible:({plugins:e},i)=>!!e[t(150)](Qt)[t(167)][t(203)](i.id)},nameRevision:{name:t(193),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(150)](Qt),o=r[n(167)][n(130)](i);r[n(179)](i,o),s[n(160)](),s[n(126)][n(148)]()}}}}();static get[So(174)](){return So(168)}static get[So(147)](){return!0}static get[So(149)](){return!0}static get[So(143)](){return[Qt]}constructor(t){const e=So;super(t),this[e(152)]=t[e(145)][e(150)](Qt),this[e(187)]=this[e(152)][e(167)],this[e(205)]=null}[So(142)](){const t=So,e=this[t(187)][t(141)],i=this[t(166)](),s=this[t(146)][t(158)][t(150)](t(190));this[t(205)]=new Io(this[t(146)][t(180)],e,i,this[t(146)][t(158)][t(150)](t(184))),this[t(205)].on(t(171),this[t(202)][t(156)](this)),this[t(205)].on(t(197),this[t(204)][t(156)](this)),this[t(205)][t(156)](t(173)).to(this[t(152)]),this[t(205)][t(191)].on(t(159),((e,i)=>{const s=t;i[s(127)].on(s(159),((t,e)=>{const i=s;e[i(156)](i(173),i(176)).to(this[i(152)])}))})),this[t(205)][t(135)](),this[t(185)](this[t(146)][t(170)],t(140),this[t(192)][t(156)](this)),this[t(185)](this[t(152)],t(131),this[t(164)][t(156)](this)),s[t(206)](this[t(205)][t(208)])}[So(133)](){const t=So;this[t(205)][t(208)][t(181)](),this[t(205)][t(133)]()}[So(192)](){const t=So,e=this[t(187)][t(194)](0);if(e){const i=this[t(187)][t(130)](e.id);this[t(152)][t(179)](e,i)}}[So(202)](t,e){const i=So,s=this[i(187)][i(194)](e.id),n=this[i(187)][i(130)](s.id);this[i(152)][i(179)](s,n)}[So(204)](t,e){const i=So;this[i(187)][i(194)](e.id)[i(195)](e[i(137)])}[So(164)](t,e,i){const s=So,n=this[s(187)][s(144)](i);n[s(198)]>2?(this[s(205)][s(172)](n),this[s(205)][s(183)](null)):(this[s(205)][s(172)]([]),this[s(205)][s(183)](n[0]))}[So(166)](){const t=So,e=this[t(146)],i=To[t(175)],s=e[t(158)][t(150)](t(177))||To[t(161)];if(s[t(198)])return s[t(207)]((s=>{const n=t,r=n(128)==typeof s?Object[n(139)]({},i[s]):s;return r[n(196)]=r[n(196)][n(156)](this,e),r[n(162)]&&(r[n(162)]=r[n(162)][n(156)](this,e)),r}))}}function xo(){const t=["revisionSelected","highlightRevisions","isEnabled","pluginName","availableRevisionActions","isReady","revisionHistory.revisionActions","nameRevision","compare","locale","remove","restoreRevision","selectRevision","revisionHistory.requireRevisionName","listenTo","newRevisionId","_revisionsRepository","18nNVlCW","161dfqXft","revisionHistory.viewerSidebarContainer","timePeriodViews","_handleEditorDataReady","Name this revision","getRevision","setName","action","revisionSetName","length","diff","509816yPVPyv","68mwCImY","_handleRevisionSelected","getLaterVisibleRevision","_handleRevisionSetName","_sidebarView","appendChild","map","element","51057567AHdXBK","fieldView","revisionViews","string","isSelected","getEarlierVisibleRevision","change:diff","compareAgainstSelected","destroy","8706000pfFLiT","render","99cMXtIV","name","461139CwBqLv","assign","ready","_revisions","init","requires","getRevisionsInDiff","plugins","editor","isOfficialPlugin","select","isPremiumPlugin","get","600740RZVvwQ","_revisionViewer","Restore this revision","202715RKbmlI","revisionHistory","bind","Compare against selected","config","add","focus","defaultRevisionActions","isVisible","restoreRevisionCallback","_handleDiffChange","474820PyRmRW","_createRevisionActions","repository","RevisionsSidebar","getIndex","data"];return(xo=function(){return t})()}const No=To,Ro=Vo;function Ao(){const t=["limiterElement","replace","editor","render","componentFactory","_toolbarConfig","editable","507185rQAWjA","focusTracker","rootName","1058UTcxlL","stickyPanel","1844508ORoyyF","document","1782768uTJLKe","element","fire","toolbar","viewportOffset","_initToolbar","view","destroy","fillFromConfig","isActive","bind","2087785oiTbbe","get","addToolbar","getRoot","detachDomRoot","isFocused","viewportTopOffset","_view","_elementReplacer","restore","ready","attachDomRoot","821STQcOB","setEditableElement","config","name","init","107274iaSnuD","1831112eNWlzf","editing"];return(Ao=function(){return t})()}function Vo(t,e){const i=Ao();return(Vo=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(399514===-parseInt(e(533))/1*(-parseInt(e(506))/2)+-parseInt(e(510))/3+parseInt(e(508))/4+parseInt(e(521))/5+-parseInt(e(538))/6+-parseInt(e(503))/7+-parseInt(e(539))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Mo extends ft.EditorUI{[Ro(528)];[Ro(501)];[Ro(529)];get[Ro(516)](){return this[Ro(528)]}constructor(e,i){const s=Ro;super(e),this[s(528)]=i,this[s(501)]=(0,ft.normalizeToolbarConfig)(e[s(535)][s(522)](s(513))),this[s(529)]=new t.ElementReplacer}get[Ro(511)](){const t=Ro;return this[t(516)][t(511)]}[Ro(537)](t){const e=Ro,i=this[e(498)],s=this[e(516)],n=i[e(540)][e(516)],r=s[e(502)],o=n[e(509)][e(524)]();r[e(536)]=o[e(505)],s[e(499)]();const a=r[e(511)];this[e(534)](r[e(536)],a),s[e(502)][e(520)](e(526)).to(this[e(504)]),n[e(532)](a),this[e(529)][e(497)](t,this[e(511)]),this[e(515)](),this[e(512)](e(531))}[Ro(517)](){const t=Ro;super[t(517)]();const e=this[t(516)],i=this[t(498)][t(540)][t(516)];this[t(529)][t(530)](),i[t(525)](e[t(502)][t(536)]),e[t(517)]()}[Ro(515)](){const t=Ro,e=this[t(516)];e[t(507)][t(520)](t(519)).to(this[t(504)],t(526)),e[t(507)][t(541)]=e[t(511)],e[t(507)][t(520)](t(527)).to(this,t(514),(({top:t})=>t)),e[t(513)][t(518)](this[t(501)],this[t(500)]),this[t(523)](e[t(513)])}}var Do=i(161),Eo={attributes:{"data-cke":!0}};Eo.setAttributes=wt(),Eo.insert=kt().bind(null,"head"),Eo.domAPI=gt(),Eo.insertStyleElement=It();pt()(Do.A,Eo);Do.A&&Do.A.locals&&Do.A.locals;var Co=Fo;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=396]})(t,e)}function Lo(){var t=["render","content","add","25628nulCfh","692802BeHqKB","top","editable","shouldToolbarGroupWhenFull","toolbar","7028112ZcFwCv","1493454XGuibo","stickyPanel","main","861xIgHbd","1923045PXSGCm","9gubXPS","_editable","18612WxUypk","39LHDWAU","13171070QfnKZh"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(471022===parseInt(e(412))/1+-parseInt(e(398))/2+parseInt(e(406))/3*(parseInt(e(411))/4)+parseInt(e(402))/5+parseInt(e(405))/6*(-parseInt(e(401))/7)+-parseInt(e(397))/8+parseInt(e(403))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends ft.BoxedEditorUIView{[Co(404)];[Co(399)];[Co(396)];get[Co(414)](){return this[Co(404)]}constructor(t,e,i={}){var s=Co;super(t),this[s(399)]=new ft.StickyPanelView(t),this[s(396)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(415)]}),this[s(404)]=new ft.InlineEditableUIView(t,e)}[Co(408)](){var t=Co;super[t(408)](),this[t(399)][t(409)][t(410)](this[t(396)]),this[t(413)][t(410)](this[t(399)]),this[t(400)][t(410)](this[t(414)])}}const Po=Wo;function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=495]})(t,e)}function zo(){const t=["editing","ready","sourceElement","view","520ockKIR","init","3759xScWHJ","25135tSPUxo","4ZEiLHB","111524eBnyaL","updateSourceElement","data","fire","config","create","get","model","10VCATyv","destroy","document","1176WDHwgY","locale","initPlugins","57960fYCWpT","_ui","150018vKFaFk","initialData","690evPJJz","31193916gHnqmh","createRoot","23358DCwahW"];return(zo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(628105===parseInt(e(499))/1*(-parseInt(e(500))/2)+-parseInt(e(498))/3*(parseInt(e(512))/4)+parseInt(e(519))/5*(-parseInt(e(522))/6)+parseInt(e(501))/7*(-parseInt(e(496))/8)+parseInt(e(515))/9+parseInt(e(509))/10*(parseInt(e(517))/11)+parseInt(e(520))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,Z.ElementApiMixin)(Z.Editor)){[Po(516)];get ui(){return this[Po(516)]}constructor(t,e){const i=Po;super(e),this[i(525)]=t,this[i(508)][i(511)][i(521)]();const s=new jo(this[i(513)],this[i(523)][i(495)],{shouldToolbarGroupWhenFull:!0});this[i(516)]=new Mo(this,s)}[Po(510)](){const t=Po;return this[t(502)](),this.ui[t(510)](),super[t(510)]()}static async[Po(506)](t,e){const i=Po,s=new this(t,e);return await s[i(514)](),await s.ui[i(497)](t),await s[i(503)][i(497)](s[i(505)][i(507)](i(518))||""),s[i(504)](i(524)),s}}const Ho=$o;function Uo(){const t=["commands","_enhanceCloseRevisionViewerCallback","remove","_closeRevisionViewer","setSelection","isAttached","isReadOnly","isPremiumPlugin","RestrictedEditingMode","enableReadOnlyMode","removeMarker","isAnonymous","init","join","3612375WdjHBq","66SsSnpv","_restoreRevision","result","disableReadOnlyMode","removeSelectionAttribute","saveRevision","getRevisions","update","set","create","push","addUser","fromCharCode","creator","editor","revision-history-viewer-opened","addRoot","from","RevisionHistoryUI","isOpen","parse","Users","RevisionViewerIntegration","getUser","hide","insert","isOfficialPlugin","200SCoTWB","pluginName","data","restrictedEditingException","refreshPositioning","uiLanguage","toJSON","PaginationLookup","users","_getRevisionViewerEditorConfig","roots","$graveyard","then","Dialog","revisionHistory.closeRevisionViewerCallback","style","_showRevisionViewer","locale","fromVersion","RevisionsRepository","exitToEditing","get","Autosave","_update","requires","getAttributeKeys","error","display","revisionHistory.restoreRevisionCallback","showRevisionViewerCallback","long","model","revisionHistory.requireRevisionName","destroy","2WTTrAj","keys","isReady","27475QBTdWC","1300116SWeLYs","5icOVdh","markers","getRevisionData","document","1236590WtLUzq","_enhanceShowRevisionViewerCallback","define","143624LGzTFm","translations","setAttribute","lazyRoots","3585306pmSxus","1489017FXmSBy","isEnabled","RevisionTracker","end","getRevisionRootsAttributes","revisionHistory.viewerContainer","revisionHistory.showRevisionViewerCallback","createRangeIn","enqueueChange","includes","numeric","bind","toVersion","refreshVisibility","name","map","RevisionViewer","addRevisionData","none","_viewerEditor","RevisionHistory","toLocaleTimeString","catch","config","_recalculatePageBreaks","getRoot","has","getMarkersGroup","getRevision","closeRevisionViewerCallback","revisionHistory.editorContainer","changesNavigation","toolbar","Restored","restoreRevision","plugins","_cleanUp","block","indexOf","createdAt","toLocaleDateString","rootName","Annotations","revisionHistory","repository","revisionHistory.viewerEditorElement","adapter","detachRoot","selection","removeAttribute","save","revision-history-missing-configuration","change"];return(Uo=function(){return t})()}function $o(t,e){const i=Uo();return($o=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(358511===parseInt(e(497))/1+parseInt(e(631))/2*(-parseInt(e(502))/3)+-parseInt(e(489))/4+-parseInt(e(490))/5*(-parseInt(e(501))/6)+parseInt(e(488))/7*(parseInt(e(597))/8)+-parseInt(e(569))/9+parseInt(e(494))/10*(parseInt(e(570))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);const Bo=[Ho(588),Ho(563)];class qo extends Z.Plugin{[Ho(572)];static get[Ho(598)](){return Ho(592)}static get[Ho(596)](){return!0}static get[Ho(562)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(517)]((t=>String[e(582)](t)))[e(568)]("")}super(t),this[e(572)]=e(505),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends Z.Plugin{[Ho(521)];static get[Ho(598)](){return Ho(522)}static get[Ho(596)](){return!0}static get[Ho(562)](){return!0}static get[Ho(621)](){return[nt,Et]}constructor(e){const i=Ho;if(super(e),!this[i(584)][i(525)][i(618)](i(545)))throw new t.CKEditorError(i(553),this);this[i(521)]=null,this[i(584)][i(525)][i(496)](i(508),(t=>this[i(613)]({...t,translations:this[i(584)][i(614)][i(498)]}))),this[i(584)][i(525)][i(496)](i(611),(t=>this[i(558)](t))),this[i(584)][i(525)][i(496)](i(625),(t=>this[i(571)](t))),this[i(584)][i(525)][i(496)](i(629),!1),this[i(495)](),this[i(556)]()}set[Ho(548)](t){const e=Ho;this[e(584)][e(537)][e(618)](e(504))[e(548)]=t}get[Ho(548)](){const t=Ho;return this[t(584)][t(537)][t(618)](t(504))[t(548)]}[Ho(519)](t){const e=Ho;return this[e(584)][e(537)][e(618)](e(504))[e(519)](t)}[Ho(530)](t){const e=Ho;return this[e(584)][e(537)][e(618)](e(616))[e(530)](t)}[Ho(576)](t){const e=Ho;return this[e(584)][e(537)][e(618)](e(616))[e(576)](t||{toJSON:!1})}[Ho(606)](){const e=Ho,i=this[e(584)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(537)][e(618)](e(504)),r=i[e(537)][e(618)](e(591))[e(605)];return s[e(534)]=[e(617),e(536),e(533)],delete s[e(500)],s[e(537)][e(580)](qo,Qt,ke,class extends Z.Plugin{static get[e(621)](){return[Qt,e(591)]}[e(567)](){const s=e,o=this[s(584)][s(537)][s(618)](s(591));for(const t of r)t[s(566)]||o[s(593)](t.id)||o[s(581)](t);const a=n[s(546)][s(576)]();let c=null;const u=this[s(584)][s(537)][s(618)](s(518));u[s(548)]=n[s(548)],u[s(513)](s(503)).to(n),this[s(584)][s(555)][s(618)](s(536))[s(513)](s(503)).to(i,s(561),(t=>!t));for(const e of a){const i=null===e[s(583)];if(i&&e[s(514)]===e[s(615)])continue;const r=e[s(603)]();u[s(519)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(620)](r,o);else if(!o){const e=a[u(603)]();e.id=(0,t.uid)(),n[u(575)](e,a[u(514)])[u(609)]((t=>{c=t}))}}else e[u(620)](r,o)}))}}},No),s}[Ho(495)](){const t=Ho,e=this[t(584)][t(525)][t(618)](t(545))[t(626)];this[t(584)][t(525)][t(578)](t(508),(async()=>{const i=t;this[i(584)][i(564)](i(585));const s=this[i(584)][i(537)][i(618)](i(504));if(this[i(584)][i(537)][i(528)](i(619))){const t=this[i(584)][i(537)][i(618)](i(619));await t[i(552)]()}else await s[i(577)]();if(this[i(584)][i(537)][i(528)](i(604))&&this[i(584)][i(537)][i(618)](i(604))[i(526)](),this[i(584)][i(537)][i(528)](i(610))){const t=this[i(584)][i(537)][i(618)](i(610));t[i(589)]&&t[i(594)]()}const n=this[i(606)]();return e(n)[i(609)]((t=>{const e=i;return this[e(521)]=t,this[e(584)][e(537)][e(528)](e(544))&&this[e(584)][e(537)][e(618)](e(544))[e(515)](),t}))[i(524)]((t=>(console[i(623)](t),this[i(584)][i(573)](i(585)),null)))}))}[Ho(556)](){const t=Ho,e=this[t(584)][t(525)][t(618)](t(545))[t(531)];this[t(584)][t(525)][t(578)](t(611),(()=>(this[t(584)][t(537)][t(528)](t(604))&&this[t(584)][t(537)][t(618)](t(604))[t(526)](),this[t(521)][t(537)][t(618)](t(518))[t(538)](),e(this[t(521)])[t(609)]((()=>{const e=t;if(this[e(584)][e(573)](e(585)),this[e(521)]=null,this[e(584)][e(537)][e(528)](e(544))){const t=this[e(584)][e(537)][e(618)](e(544));t[e(515)](),t[e(601)]()}})))))}[Ho(613)](t){const e=Ho,i=this[e(584)][e(525)][e(618)](e(532)),s=this[e(584)][e(525)][e(618)](e(507)),n=this[e(584)][e(525)][e(618)](e(547));return Zo[e(579)](n,t)[e(609)]((t=>(s[e(612)][e(624)]=e(539),i[e(612)][e(624)]=e(520),t)))}[Ho(558)](t){const e=Ho,i=this[e(584)][e(525)][e(618)](e(532));return this[e(584)][e(525)][e(618)](e(507))[e(612)][e(624)]=e(520),i[e(612)][e(624)]="",t[e(630)]()}async[Ho(571)](t){const e=Ho,i=this[e(584)],s=this[e(521)][e(537)][e(618)](e(518)),n=i[e(537)][e(618)](e(504)),r=s[e(546)][e(530)](t);let o,a,c;try{o=await s[e(492)](r),a=await s[e(506)](r)}catch(t){return void console[e(623)](t)}i[e(628)][e(554)]((t=>{const s=e;for(const e of Array[s(587)](i[s(628)][s(491)][s(529)](s(600))))t[s(565)](e)})),s[e(487)]=!1,i[e(628)][e(510)]((t=>{const s=e;t[s(559)](null),t[s(574)](i[s(628)][s(493)][s(550)][s(622)]());const n=Object[s(486)](o);for(const e of i[s(628)][s(493)][s(607)])s(608)!=e[s(543)]&&e[s(560)]()&&!n[s(511)](e[s(543)])&&t[s(549)](e);for(const e of n){let n=i[s(628)][s(493)][s(527)](e);n&&n[s(560)]()||(n=t[s(586)](e));const r=a[e],c=Object[s(486)](r),u=o[e];for(const e of n[s(622)]())c[s(511)](e)||t[s(551)](e,n);for(const i of c)t[s(499)](i,a[e][i],n);t[s(557)](t[s(509)](n)),t[s(595)](i[s(599)][s(590)](u,n),n,0)}}));const u=J(i[e(614)],e(535));return c=r[e(516)]?-1==r[e(516)][e(540)](u)?u+": "+r[e(516)]:r[e(516)]:u+": "+r[e(541)][e(542)](i[e(614)][e(602)],{month:e(627),day:e(512)})+", "+r[e(541)][e(523)](i[e(614)][e(602)],{hour:e(512),minute:e(512)}),await n[e(575)]({name:c}),s[e(487)]=!0,i[e(525)][e(618)](e(545))[e(531)]()}}function Jo(){var t=["36yrcVlH","415832pLRgad","233PiBzoD","1205004jeoemO","14kikCsp","817844eNEbaL","1330700CDBhYb","1225975IpuChl","367389Gdflqm","2906xAoLVi"];return(Jo=function(){return t})()}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=160]})(t,e)}!function(t){for(var e=Go,i=t();;)try{if(692224===-parseInt(e(169))/1*(-parseInt(e(166))/2)+-parseInt(e(165))/3+-parseInt(e(162))/4+parseInt(e(164))/5+-parseInt(e(160))/6+parseInt(e(161))/7*(parseInt(e(168))/8)+parseInt(e(167))/9*(parseInt(e(163))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|