@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250214.0 → 0.0.0-nightly-20250215.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 +10 -10
- 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 n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>qi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Gi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const x=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var O=Object.prototype.toString;const T=function(t){return O.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?x(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).test(F(t))};const q=function(t,e){return null==t?void 0:t[e]};const H=function(t,e){var i=q(t,e);return $(i)?i:void 0};const B=H(k,"Map");const Y=H(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=H(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var xt=Object.prototype,Ot=xt.hasOwnProperty,Tt=xt.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&Ot.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var qt=$t&&$t.isTypedArray;const Ht=qt?zt(qt):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&Ht(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const xe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const Oe=function(t){return xe(t,ie,ke)};const Te=function(t){return xe(t,ae,Ie)};const Ne=H(k,"DataView");const Ae=H(k,"Promise");const Re=H(k,"Set");const Me=H(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ae&&Ue(Ae.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const qe=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const He=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new He(e).set(new He(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=qe(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:Oe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,xi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const Oi=xi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return At(t)?t:bi(t,e)?[t]:Oi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=$i();return(Zi=function(t,e){return i[t-=188]})(t,e)}function $i(){const t=["set","map","setAttribute","diffData","removeAttribute","180bTcHLW","creatorId","6IyHCax","38262ePqKyH","attributes","283607xszvMj","name","2037550tRaTBk","_update","14tkQtui","22OEoFvt","fromVersion","createdAt","creator","2623080RzjCkr","fire","152466IgAskY","2239317ZlbxGW","toJSON","toVersion","2929880VbyRFm","30dFrfzi","authors","authorsIds","setName"];return($i=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(382257===-parseInt(e(205))/1+parseInt(e(216))/2+-parseInt(e(203))/3*(-parseInt(e(200))/4)+-parseInt(e(207))/5*(parseInt(e(202))/6)+-parseInt(e(209))/7*(-parseInt(e(190))/8)+-parseInt(e(217))/9*(parseInt(e(191))/10)+-parseInt(e(210))/11*(-parseInt(e(214))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class qi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(213)]=e[i(213)]||null,this[i(192)]=e[i(192)]||[],this[i(198)]=e[i(198)]||null,this[i(189)]=e[i(189)]||0,this[i(211)]=e[i(211)]||0,this[i(195)](i(206),e[i(206)]||""),this[i(195)](i(212),e[i(212)]||new Date),this[i(195)](i(204),e[i(204)]||{})}[Ui(194)](t){this[Ui(208)]({name:t})}[Ui(197)](t,e){const i=Ui,n=vi(this[i(204)]);Ci(n,t,e),this[i(208)]({attributes:n})}[Ui(199)](t){const e=Ui,i=vi(this[e(204)]);Wi(i,t),this[e(208)]({attributes:i})}[Ui(208)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(206),i(212),i(198),i(192),i(204),i(189),i(211),i(201)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(192)]&&(r[i(193)]=r[i(192)][i(196)]((t=>t.id)),delete r[i(192)]),this[i(215)](i(208),r,e))}[Ui(188)](){const t=Ui;return{id:this.id,name:this[t(206)],creatorId:this[t(213)]?this[t(213)].id:null,authorsIds:this[t(192)][t(196)]((t=>t.id)),diffData:this[t(198)],createdAt:this[t(212)],attributes:this[t(204)],fromVersion:this[t(211)],toVersion:this[t(189)]}}}var Hi=i(782),Bi=i(211),Yi=i(783);const Ji=Ki;!function(t){const e=Ki,i=t();for(;;)try{if(800653===parseInt(e(354))/1*(parseInt(e(366))/2)+-parseInt(e(368))/3+-parseInt(e(332))/4+-parseInt(e(350))/5*(parseInt(e(329))/6)+parseInt(e(367))/7+parseInt(e(339))/8+parseInt(e(344))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xi);class Gi extends Hi.Plugin{static get[Ji(345)](){return[Bi.Users]}static get[Ji(336)](){return Ji(327)}static get[Ji(357)](){return!0}static get[Ji(369)](){return!0}get[Ji(365)](){const t=Ji;return this[t(317)][t(365)]}constructor(e){const i=Ji;super(e),this[i(317)]=new t.Collection}[Ji(358)](){!async function(e){const i=k([101,110,117,55,52,48,115,74,116,109,106,105,57,104,118,99,75,82,112,72,85,89,113,66,77,56,88,67,108,76,51,100,83,121,49,54,69,120,78,71,119,65,97,73,114,50,98,53,107,84,81,80,86,90,111,68,122,70,87,79,103,102]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(361)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([101]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ki;return t[e(349)]((t=>String[e(323)](t)))[e(333)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1739491200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(337)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(348)](t){const e=Ji,i=this[e(364)][e(346)][e(351)](e(342));return new qi({id:t.id,name:t[e(335)],creator:t[e(362)]?i[e(328)](t[e(362)]):null,diffData:t[e(338)]||t[e(324)],authors:t[e(356)][e(349)]((t=>i[e(328)](t))),createdAt:new Date(t[e(316)]),attributes:t[e(318)],fromVersion:t[e(360)],toVersion:t[e(343)]})}[Ji(340)](t,e=0){const i=Ji;this[i(317)][i(353)](t,e)}[Ji(320)](t){const e=Ji;return this[e(317)][e(351)](t)}[Ji(325)](t={toJSON:!1}){const e=Ji,i=Array[e(359)](this[e(317)]);return i[e(363)](),t[e(326)]?i[e(349)]((t=>t[e(326)]())):i}[Ji(321)](t){const e=Ji;return this[e(317)][e(321)](t)}[Ji(352)](t){const e=Ji,[,i]=this[e(355)](t,{direction:e(341)});return i}[Ji(331)](t){const e=Ji,[,i]=this[e(355)](t,{direction:e(322)});return i}[Ji(330)](t){const e=Ji,i=[];for(const n of this[e(355)](t[e(319)]))if(i[e(334)](n),n.id===t[e(347)])break;return i}*[Ji(355)](t,{direction:e=Ji(341),filter:i=()=>!0}={}){const n=Ji,r=n(341)===e?1:-1;let s=this[n(317)][n(351)](t),o=this[n(321)](s);for(yield s;s;){if(o+=r,s=this[n(320)](o),!s)return;i(s)&&(yield s)}}}function Ki(t,e){const i=Xi();return(Ki=function(t,e){return i[t-=316]})(t,e)}function Xi(){const t=["add","2111YURwjd","getRevisionsIterator","authorsIds","isOfficialPlugin","afterInit","from","fromVersion","isNaN","creatorId","reverse","editor","length","586aUYjxX","3667825CBseQB","1456320CZnWgy","isPremiumPlugin","createdAt","_revisions","attributes","newRevisionId","getRevision","getIndex","later","fromCharCode","data","getRevisions","toJSON","RevisionsRepository","getUser","10806JjZbcK","getRevisionsInDiff","getLaterVisibleRevision","5843912Duiuqr","join","push","name","pluginName","href","diffData","9295064hNfwXt","addRevision","earlier","Users","toVersion","12234591jxABOk","requires","plugins","oldRevisionId","createRevision","map","2545hCIclV","get","getEarlierVisibleRevision"];return(Xi=function(){return t})()}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new He(t),new He(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=Oe(t),c=a.length;if(c!=Oe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||Ht(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)};function _n(t,e){const i=xn();return(_n=function(t,e){return i[t-=275]})(t,e)}const In=_n;!function(t){const e=_n,i=t();for(;;)try{if(470827===-parseInt(e(293))/1+-parseInt(e(533))/2*(parseInt(e(389))/3)+parseInt(e(347))/4*(parseInt(e(561))/5)+parseInt(e(283))/6+parseInt(e(335))/7+parseInt(e(577))/8*(parseInt(e(526))/9)+parseInt(e(492))/10*(-parseInt(e(494))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};function xn(){const t=["_copyMarkers","_makeIdsRoot","vid_end","_savedMetaData","getLatestVersion","position","_handleSplitOperation","getCurrentRevisionId","stringify","featureNotAllowed","getChildren","getWalker","attributesAfter","_handleRootOperation","targetPosition","forEach","_baseRootsAttributes","creatorId","elementStart","children","Initial revision","graveyardPosition","revisionHistoryLicenseKeyInvalid","toModel","from","marker","_saveMetaData","sourcePosition","view","model","buildRevisionData","_isAttached","_isInit","_addPendingAction","reverse","key","merge","revision-end","howMany","paragraph","keys","domainLimit","useFillerType","diffData","revisionHistoryLicenseKeyExpired","processor","createPositionBefore","insert","root","1880BcqhMk","fromVersion","26345FlkAJR","attributesBefore","parse","finally","string","createPositionAt","has","collaboration.channelId","path","$graveyard","range","markers","getOperations","getRevisionDocumentData","includes","editing","getTime","sort","_bufferUpdate","$text","_createCurrentRevision","version","_fixPosition","createRangeIn","isEqual","_touchedRoots","_baseRoots","revisionHistoryLicenseKeyValid","initial","define","marked","config","389727dZhXmW","RevisionTracker","_getFromVersion","_cloneOperation","isReady","length","remove","16070oKkgMk","RealTimeCollaborationClient","map","data-revision-","_appendChild","childCount","_operations","authors","isOfficialPlugin","push","destroy","deletion","sendBufferedUpdates","values","createdAt","_clone","Empty document","clear","start","isAdd","addRevisionData","insertions","nodes","getAttributes","initialData","revision-start","expired","reinsert","92145djmXGi","revisionHistoryLicenseKeyNotAllowed","vid","find","_source","splitPosition","roots","_fixOperation","getData","deletions","update","rootsAttributes","conversion","_removeMetaData","element","_authorId","8kKwSEA","afterInit","plugins","getAncestors","RevisionsRepository","detachRoot","size","userId","revision:","_removePendingAction","_diffRootsAttributes","NEGATIVE_INFINITY","getNodeByPath","toView","isEnabled","editor-initial-data-replaced-with-revision-data","tableCell","_licenseKeyCheckInterval","_removeRevisionMarkers","repository","setRevisionData","_createInitialRevision","ready","_setAttribute","offsetSize","document","attachChange","filter","1077390qNBkGn","dataToMarker","default","addRevision","createPositionFromPath","revisionHistoryLicenseKeyEvaluationLimit","then","resolve","documentFragment","_getVidAttributeName","166567bFnoIZ","_handleMarkerOperation","_continueCurrentRevision","nodeAfter","_revisionId","history","_execute","init","loadState","_touched","baseVersion","_baseIdsRoots","saveRevision","previousPosition","_initialRevisionId","isPremiumPlugin","getRevisionRootsAttributes","_bufferedUpdates","getMovedRangeStart","affectsData","shift","Users","getTransformedByOperation","authorsIds","split","PendingActions","text","hasContent","_transformMarkers","_update","_loadState","_diffRoots","_getPreviousFrom","PENDING_ACTION_REVISION_HISTORY","attributes","evaluationLimit","_touchedMarkers","setSource","_revisionDataBuilder","editor","createRange","createRevision","5459034qNVFNE","elementEnd","vid_start","revisionHistoryLicenseKeyDomainLimit","for","insertion","_calculateMetaData","_makeRevision","_findInsertionIndex","getUser","_setConversion","_generateTape","144sBKJaM","rootName","data","getRootNames","pluginName","offset","_handleRootAttributeOperation","end","_loadedStateData","_lastFrom","_markChanges","revisionHistoryLicenseKeyUsageLimit","startsWith","_applyOperations","getIndex","_getState","_handleOperation","toVersion","_loadRevisionData","newRange","_isPendingUpdate","_replaceEditorDataWithRevisionData","removeRootAttribute","revisionHistoryLicenseKeyTrialLimit","getAttribute","_prepareViewToSave","fromEntries","getRevision","licenseKey","_lastTo","some","_getViewJson","addRoot","clone","stickiness","changeRootAttribute","_handleMergeOperation","RevisionHistory","set","invalid","_fixRange","source","216WkxRaM","type","_getBaseVids","revision","getRevisions","max","_startingRevisionId","getRange","_processRootBeforeSave","markerToData","_handleMoveOperation","usageLimit","updateRevisions","_insertChild","trim","newValue","keepParagraph","locale","isAttached","getOperation","add","bind","_makeModelFromViewString","reInit","trialLimit","createPositionAfter","insertionPosition","oldRange","_markers","getChild","_idsRoots","_pendingAction","toData","getRoot","_createFromRanges","delete","currentRevision","name","requires","_handleInsertOperation","adapter","parent","_reset","item","revisionHistory.resumeUnsavedRevision","addRootAttribute","slice","_startingVersion","_showLicenseError","move","creator","get","upcast","dataDowncast"];return(xn=function(){return t})()}class On extends Hi.Plugin{static get[In(351)](){return In(527)}static get[In(541)](){return!0}static get[In(308)](){return!0}static get[In(427)](){return[Bi.Users,Gi,Hi.PendingActions]}constructor(e){const i=In;super(e),this[i(429)]=null,this[i(425)]=null,this[i(331)]=new Nn(this[i(332)]),this[i(307)]=this[i(332)][i(525)][i(440)](i(501))||i(522),this[i(310)]=new Map,this[i(355)]=null;const n=(0,t.uid)();this[i(565)]={history:this[i(332)][i(472)][i(280)][i(298)],getLatestVersion:()=>Promise[i(290)](this[i(332)][i(472)][i(280)][i(515)]),getCurrentRevisionId:()=>n},this[i(385)](i(530),!1),this[i(385)](i(591),!0),this[i(385)](i(367),!1),this[i(332)][i(525)][i(523)](i(433),!0),this[i(332)][i(573)][i(339)](i(441))[i(284)]({view:i(392)})}[In(300)](){const t=In;this[t(596)]=this[t(332)][t(579)][t(440)](t(581)),this[t(345)](),this[t(332)][t(349)].on(t(277),(()=>{const e=t,i=this[e(596)][e(374)](0),n=i&&null===i[e(439)]?i:null;if(this[e(295)]=!!n&&this[e(332)][e(525)][e(440)](e(433)),this[e(332)][e(579)][e(500)](e(534))){const t=this[e(565)][e(450)](),r=this[e(596)][e(374)](t);if(r)this[e(436)]=r[e(493)],this[e(295)]=!1;else{const t=this[e(565)][e(298)][e(539)][e(564)]((t=>!t[e(475)])),r=t?t[e(303)]:this[e(565)][e(298)][e(515)];i?(i[e(364)]<r&&i[e(322)]({toVersion:r}),this[e(295)]?(this[e(565)][e(450)]=()=>n.id,this[e(436)]=n[e(493)]):(this[e(436)]=i[e(364)],this[e(295)]=!1)):(this[e(436)]=r,this[e(295)]=!1)}}else n&&(this[e(332)][e(472)][e(280)][e(298)][e(515)]=Math[e(394)](n[e(364)],this[e(332)][e(472)][e(280)][e(298)][e(515)]),n[e(493)]===n[e(364)]?(0!==n[e(493)]&&(this[e(565)][e(450)]=()=>n.id),this[e(295)]=!1):this[e(295)]&&(this[e(565)][e(450)]=()=>n.id,this[e(436)]=n[e(493)])),this[e(295)]||(this[e(436)]=this[e(332)][e(472)][e(280)][e(515)]);this[e(331)][e(300)](this[e(565)][e(298)]),this[e(276)](this[e(436)]),this[e(514)](this[e(436)]),this[e(429)]&&this[e(545)]()})),this[t(410)](t(530)).to(this,t(367),(t=>!t)),this[t(375)]=this[t(332)][t(525)][t(440)](t(375));const e=this[t(332)];this[t(594)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(521)==s||i(465)==s||i(487)==s||i(338)==s||i(562)==s||i(288)==s||i(370)==s||i(358)==s){delete e[r],n=s,clearInterval(this[i(594)]),this[i(594)]=void 0;break}}i(465)==n&&e[i(437)](i(386)),i(487)==n&&e[i(437)](i(559)),i(338)==n&&e[i(437)](i(484)),i(562)==n&&e[i(437)](i(452),i(384)),i(288)==n&&e[i(437)](i(328)),i(370)==n&&e[i(437)](i(413)),i(358)==n&&e[i(437)](i(400))}),1e3)}async[In(578)](){const t=In;if(this[t(596)][t(531)]>0){const e=this[t(596)][t(374)](0),i=await this[t(507)](e),n=await this[t(309)](e);this[t(368)](i,n)}}[In(543)](){const t=In;super[t(543)](),this[t(594)]&&clearInterval(this[t(594)])}[In(330)](t){this[In(565)]=t}async[In(571)](){const t=In,e=await this[t(565)][t(447)]();if(e>this[t(425)][t(364)]){await this[t(323)]();const i=this[t(473)]({revision:this[t(425)],to:e});i[t(540)]=i[t(316)][t(535)]((e=>this[t(332)][t(579)][t(440)](t(314))[t(344)](e))),this[t(425)][t(322)](i)}}async[In(323)](){const t=In;this[t(295)]&&!this[t(355)]&&(await this[t(365)](this[t(425)]),this[t(331)][t(301)](this[t(425)]),this[t(355)]={fromVersion:this[t(425)][t(493)],authors:this[t(425)][t(540)][t(435)]()})}async[In(305)](e={},i=null){const n=In,r=[];await this[n(323)](),this[n(295)]=!1,i>this[n(425)][n(364)]&&(i=null),null===i&&(i=await this[n(565)][n(447)]());const s=this[n(528)](i),o=this[n(473)]({from:s,to:i});if(this[n(425)][n(364)]<i){const t=this[n(473)]({revision:this[n(425)],from:i,to:i});t[n(540)]=[],t[n(316)]=[],t.id=this[n(425)].id,this[n(425)][n(322)](t,!0),delete t[n(540)],r[n(542)](t)}e[n(460)]=this[n(332)][n(579)][n(440)](n(314)).me.id,e[n(426)]=e[n(426)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(553)](e);r[n(542)](e);const c=this[n(596)][n(361)](a);if(0!==c){const t=this[n(596)][n(374)](c-1);if(t[n(493)]!==i){const s=this[n(331)][n(569)](i,t[n(364)]),o={id:t.id,diffData:s[n(486)],authorsIds:s[n(316)],authors:s[n(316)][n(535)]((t=>this[n(332)][n(579)][n(440)](n(314))[n(344)](t))),fromVersion:i};t===this[n(425)]&&(o[n(547)]=new Date(e[n(547)][n(510)]()+10)),t[n(322)](o,!0),delete o[n(540)],r[n(542)](o)}}if(this[n(429)]){for(const t of r)this[n(512)](t.id,t,!0);this[n(545)]()}return a}[In(553)](t){const e=In,i=this[e(596)][e(334)](t);return this[e(429)]&&i.on(e(322),((t,i,n)=>{const r=e;n||(this[r(512)](i.id,i,!0),this[r(545)]())})),this[e(596)][e(286)](i,this[e(343)](i)),i}async[In(507)](t){const e=In;await this[e(365)](t);const i={};for(const n in t[e(486)]){if(t[e(486)][n][e(281)]&&!t[e(486)][n][e(281)][e(407)])continue;const r=this[e(595)](JSON[e(496)](t[e(486)][n][e(554)])),s=this[e(332)][e(509)][e(471)][e(280)],o=new Yi.ViewDocumentFragment(s,r[e(535)]((t=>Tn(t,this[e(332)]))));this[e(332)][e(349)][e(488)][e(485)](e(524)),i[n]=this[e(332)][e(349)][e(488)][e(421)](o),this[e(332)][e(349)][e(488)][e(485)](e(285))}return i}async[In(309)](t){const e=In;await this[e(365)](t);const i={};for(const n in t[e(486)])t[e(486)][n][e(281)]&&!t[e(486)][n][e(281)][e(407)]||(i[n]=t[e(486)][n][e(455)]||{});return i}[In(545)](){const t=In;if(0===this[t(310)][t(583)])return;if(this[t(367)])return;let e=Array[t(467)](this[t(310)][t(546)]());this[t(310)][t(550)]();for(let i=0;i<e[t(531)];i++){const n=e[i];let r=!1;for(const e of Object[t(483)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(282)]((t=>null!==t)),!e[t(531)])return;for(let i=0;i<e[t(531)];i++){const n=e[i];void 0!==n[t(493)]&&void 0===n[t(364)]&&(n[t(364)]=this[t(596)][t(374)](n.id)[t(364)]),void 0!==n[t(364)]&&void 0===n[t(493)]&&(n[t(493)]=this[t(596)][t(374)](n.id)[t(493)])}const i=this[t(332)][t(525)][t(440)](t(501));this[t(367)]=!0,this[t(476)](),this[t(429)][t(401)](e,i)[t(497)]((()=>{this[t(367)]=!1}))[t(289)]((e=>{const i=t;if(e)for(const t of e)this[i(275)]({id:t.id,createdAt:t[i(547)]});this[i(586)](),this[i(545)]()}))}[In(368)](e,i){const n=In;let r=this[n(332)][n(525)][n(440)](n(557)),s=this[n(332)][n(525)][n(440)](n(572));if(void 0===r){r={};for(const t of this[n(332)][n(472)][n(280)][n(350)]())r[t]=""}if(n(498)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(332)][n(472)][n(280)][n(350)]())s[t]={}}let o=!1;const a=Object[n(483)](r),c=Object[n(483)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(403)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(483)](s[t])[n(531)]>0){o=!0;break}}o||(o=c[n(377)]((t=>!this[n(332)][n(472)][n(280)][n(422)](t)))),o&&(0,t.logWarning)(n(592),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(332)][n(525)][n(385)](n(557),e),this[n(332)][n(525)][n(385)](n(572),i)}[In(476)](){const t=In;if(!this[t(420)]){const e=this[t(332)][t(579)][t(440)](t(318));this[t(420)]=e[t(409)](Qi(this[t(332)][t(406)],t(326)))}}[In(586)](){const t=In;this[t(420)]&&(this[t(332)][t(579)][t(440)](t(318))[t(532)](this[t(420)]),this[t(420)]=null)}[In(343)](t){const e=In,i=this[e(596)][e(393)]();i[e(477)]();let n=0;for(;n<i[e(531)];){const r=i[n];if(r===this[e(425)]){n++;continue}if(r.id===this[e(307)])break;const s=t[e(364)]-r[e(364)]||t[e(493)]-r[e(493)];if(s>0)break;if(s<0)n++;else{if(!t[e(439)]&&r[e(439)])break;if(r[e(439)]||!t[e(439)]){if(t[e(547)]>r[e(547)])break;n++}else n++}}return n}[In(275)](t){const e=In,i=this[e(596)][e(374)](t.id);if(t[e(547)]&&(t[e(547)]=new Date(t[e(547)])),t[e(316)]){const i=this[e(332)][e(579)][e(440)](e(314));t[e(540)]=t[e(316)][e(535)]((t=>i[e(344)](t)))}i[e(322)](t,!0)}[In(473)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(493)],i=null!==i?i:t[n(364)];const r=this[n(331)][n(569)](e,i),s={diffData:r[n(486)],authorsIds:r[n(316)],fromVersion:e,toVersion:i};if(!t||i!==t[n(364)]){const t=i-1,e=this[n(565)][n(298)][n(408)](t);s[n(547)]=e&&e[n(547)]||new Date}if(this[n(355)]&&e===this[n(355)][n(493)])for(const t of this[n(355)][n(540)])s[n(316)][n(508)](t.id)||s[n(316)][n(542)](t.id);return s}[In(365)](t){const e=In;if(!t||t[e(486)])return Promise[e(290)]();{const i=this[e(332)][e(525)][e(440)](e(501));return this[e(429)][e(374)]({channelId:i,revisionId:t.id})[e(289)]((i=>{const n=e;t[n(486)]=i[n(486)]}))}}[In(512)](t,e,i){const n=In;if(this[n(310)][n(500)](t)){const r=this[n(310)][n(440)](t);e=i?{...r,...e}:{...e,...r}}this[n(310)][n(385)](t,e)}[In(528)](t){const e=In,i=this[e(596)][e(393)]();i[e(477)](),i[e(313)]();const n=i[e(564)]((i=>i[e(364)]<=t))[e(364)];return n<this[e(436)]?this[e(436)]:n}[In(276)](t){const e=In,i=this[e(596)][e(374)](this[e(596)][e(531)]-1);if(i)this[e(307)]=i.id;else{const i=!this[e(332)][e(472)][e(280)][e(567)][e(564)]((t=>this[e(332)][e(472)][e(320)](t))),n=this[e(332)][e(579)][e(440)](e(314)).me.id,r=Qi(this[e(332)][e(406)],e(i?549:463));this[e(342)]({from:t,to:t,id:this[e(307)],name:r,creatorId:n})}}[In(514)](t){const e=In,i=this[e(565)][e(450)]();this[e(425)]=this[e(596)][e(374)](i),this[e(425)]||(this[e(425)]=this[e(342)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(342)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(473)]({from:e,to:i});o[s(426)]=t,o[s(460)]=n,o.id=r;const a=this[s(553)](o);return this[s(429)]&&this[s(512)](o.id,o,!0),a}[In(345)](){const t=In;this[t(332)][t(573)][t(339)](t(442))[t(398)]({model:t(392)})}[In(595)](t){const e=In;return(t=t[e(282)]((t=>!t[e(426)]||e(558)!==t[e(426)]&&e(480)!==t[e(426)])))[e(458)]((t=>{const i=e;i(498)!=typeof t&&(t[i(462)]=this[i(595)](t[i(462)]),t[i(327)]=t[i(327)][i(282)]((t=>!t[0][i(359)](i(536)))))})),t}}function Tn(t,e){const i=In,n=e[i(509)][i(471)][i(280)];if(i(498)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(462)][i(535)]((t=>Tn(t,e)));return new(Sn[t[i(390)]]||Yi.ViewElement)(n,t[i(426)],t[i(327)],r)}}class Nn{constructor(t){const e=In;this[e(332)]=t,this[e(446)]=new Map,this[e(356)]=-1,this[e(376)]=-1,this[e(417)]=new Map,this[e(324)]=new Map,this[e(587)]=new Map,this[e(520)]=new Map,this[e(459)]=new Map,this[e(419)]=new Map,this[e(304)]=new Map,this[e(302)]=new Map,this[e(329)]=new Map,this[e(519)]=new Map,this[e(297)]=1}[In(300)](t){const e=In;this[e(388)]=t;const i=new Map,n=new Map,r=this[e(332)][e(472)][e(280)][e(567)][e(535)]((t=>t[e(348)]));for(const t of r){const r=this[e(332)][e(472)][e(280)][e(422)](t),s=An(r);i[e(385)](t,s),n[e(385)](t,Object[e(373)](r[e(556)]()))}const s=Array[e(467)](this[e(332)][e(472)][e(505)])[e(535)]((t=>[t[e(426)],t[e(396)]()])),o=this[e(388)][e(515)];this[e(469)](o,i,s,n),this[e(395)]=this[e(297)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(385)](t,i),c[e(385)](t,{})}this[e(469)](Number[e(588)],a,[],c)}[In(569)](t,e){const i=In;if(this[i(356)]===t&&this[i(376)]<=e)this[i(446)][i(583)]>1&&this[i(574)](this[i(376)]),this[i(360)](this[i(376)],e,!0);else{if(!this[i(446)][i(500)](t)){const e=this[i(325)](t);this[i(341)](e,t,!1)}this[i(341)](t,e,!0)}return this[i(356)]=t,this[i(376)]=e,this[i(362)]()}[In(301)](t){const e=In;this[e(431)](),this[e(356)]=t[e(493)],this[e(376)]=t[e(364)];for(const i in t[e(486)]){const n=t[e(486)][i][e(281)],r=vi(t[e(486)][i][e(495)])||{},s=this[e(411)](t[e(486)][i][e(570)]);s[e(348)]=i,s[e(474)]=!n||!n[e(407)],s[e(407)]=()=>s[e(474)],this[e(520)][e(385)](i,s),this[e(459)][e(385)](i,r),n&&this[e(519)][e(385)](i,n);const o=this[e(444)](s);this[e(304)][e(385)](i,o);for(const[t,i]of s[e(505)]){if(!t[e(359)](e(585)))continue;const n=t[e(317)](":")[2];for(const t of i[e(454)]({singleCharacters:!0})){const i=this[e(292)](t),r=e(336)==t[e(390)]?t[e(306)][e(502)][e(435)](0,-1):t[e(306)][e(502)],s=o[e(589)](r)[e(371)](i);this[e(302)][e(385)](s,{userId:n})}}}this[e(395)]=this[e(297)];const i=[...Array(this[e(297)])[e(483)]()][e(435)](1)[e(282)]((t=>!this[e(302)][e(500)](t)));let n=0;const r=new Map;for(const s in t[e(486)]){const o=t[e(486)][s][e(281)],a=vi(t[e(486)][s][e(455)])||{},c=this[e(411)](t[e(486)][s][e(554)]);c[e(348)]=s,c[e(474)]=!o||o[e(407)],c[e(407)]=()=>c[e(474)],this[e(324)][e(385)](s,c),this[e(587)][e(385)](s,a);const u=this[e(444)](c,Number[e(588)]);this[e(419)][e(385)](s,u),r[e(385)](s,c[e(407)]()?a:{});for(const[t,i]of c[e(505)]){if(!t[e(359)](e(585)))continue;const n=t[e(317)](":")[2];for(const t of i[e(454)]({singleCharacters:!0})){const i=this[e(292)](t),r=this[e(297)]++,s=e(336)==t[e(390)]?t[e(306)][e(502)][e(435)](0,-1):t[e(306)][e(502)];u[e(589)](s)[e(278)](i,r),this[e(302)][e(385)](r,{userId:n})}}for(const t of this[e(332)][e(472)][e(517)](c)[e(454)]({singleCharacters:!0})){const r=this[e(292)](t),s=e(336)==t[e(390)]?t[e(306)][e(502)][e(435)](0,-1):t[e(306)][e(502)],o=u[e(589)](s);o[e(371)](r)>0||o[e(278)](r,i[n++])}for(const[t,i]of c[e(505)])t[e(359)](e(585))||this[e(417)][e(385)](t,i)}const s=Rn(e(503));this[e(520)][e(385)](e(503),s),this[e(304)][e(385)](e(503),this[e(444)](s,1));const o=Rn(e(503));this[e(324)][e(385)](e(503),o),this[e(419)][e(385)](e(503),this[e(444)](o,1));const a=Array[e(467)](this[e(324)])[e(535)]((([t,e])=>[t,An(e)]));this[e(469)](this[e(376)],a,this[e(417)],r)}[In(411)](t){const e=In,i=JSON[e(496)](t),n=this[e(332)][e(509)][e(471)][e(280)],r=new Yi.ViewDocumentFragment(n,i[e(535)]((t=>Tn(t,this[e(332)]))));return this[e(332)][e(349)][e(466)](r)}[In(469)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(385)](t,{start:e[r(551)][r(380)](),end:e[r(354)][r(380)](),rootName:e[r(491)][r(348)]});this[r(446)][r(385)](t,{roots:s,markers:a,rootsAttributes:o})}[In(574)](t){const e=In;this[e(446)][e(424)](t)}[In(412)](){const t=In;this[t(431)](),this[t(356)]=-1,this[t(376)]=-1,this[t(446)][t(550)](),this[t(300)](this[t(388)])}[In(431)](){const t=In;this[t(302)][t(550)](),this[t(329)][t(550)](),this[t(519)][t(550)](),this[t(324)][t(550)](),this[t(587)][t(550)](),this[t(520)][t(550)](),this[t(459)][t(550)](),this[t(419)][t(550)](),this[t(304)][t(550)](),this[t(417)][t(550)](),this[t(297)]=1,this[t(395)]=this[t(297)]}[In(444)](t,e=null){const i=In;let n=null;t.is(i(291))||(n=new Yi.Element(t[i(426)],{vid_start:null===e?this[i(297)]++:e++}));const r=[];for(const n of t[i(453)]())if(n.is(i(575))){r[i(542)](this[i(444)](n,e));const t=r[r[i(531)]-1];null!==e&&(e=t.is(i(575),i(513))?t[i(371)](i(563))+1:t[i(371)](i(445))+1)}else for(let t=0;t<n[i(279)];t++)r[i(542)](new Yi.Element(i(513),{vid:null===e?this[i(297)]++:e++}));if(t.is(i(291))){const e=Rn(t[i(348)]);return e[i(402)](0,r),e}return n[i(278)](i(445),null===e?this[i(297)]++:e++),n[i(402)](0,r),n}[In(341)](t,e,i){const n=In;this[n(431)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(446)][n(440)](t);this[n(520)]=new Map(r),this[n(459)]=new Map(vi(o));for(const[t,e]of this[n(520)])if(n(503)!==t&&(this[n(324)][n(385)](t,An(e)),this[n(587)]=new Map(vi(o)),i)){const i=this[n(297)];this[n(419)][n(385)](t,this[n(444)](e)),this[n(304)][n(385)](t,this[n(444)](e,i))}this[n(395)]=this[n(297)],this[n(324)][n(385)](n(503),An(this[n(520)][n(440)](n(503)))),i&&this[n(419)][n(385)](n(503),this[n(444)](this[n(520)][n(440)](n(503))));for(const[t,e]of s){const i=this[n(520)][n(440)](e[n(348)]),r=this[n(324)][n(440)](e[n(348)]),s=new Yi.Range(this[n(516)](e[n(551)],i),this[n(516)](e[n(354)],i)),o=this[n(387)](s,r);i[n(505)][n(385)](t,s),this[n(417)][n(385)](t,o)}this[n(360)](t,e,i)}[In(360)](t,e,i){const n=In;for(const r of this[n(388)][n(506)](t,e))this[n(363)](r,i);for(const t of this[n(324)][n(546)]())t[n(505)][n(550)]();for(const[t,e]of this[n(417)])this[n(324)][n(440)](e[n(491)][n(348)])[n(505)][n(385)](t,e[n(380)]());const r=new Map,s=new Map;for(const[t,e]of this[n(324)])r[n(385)](t,An(e)),s[n(385)](t,this[n(587)][n(440)](t));this[n(469)](e,r,this[n(417)],s)}[In(325)](t){const e=In,i=Array[e(467)](this[e(446)][e(483)]());i[e(511)](((t,e)=>t-e)),i[e(477)]();for(const e of i)if(e<t)return e;return Number[e(588)]}[In(443)](t,e){const i=In,n=Array[i(467)](e[i(505)])[i(535)]((([e,n])=>[e,this[i(387)](n,t)]));t[i(505)]=new Map(n)}[In(321)](t){const e=In;for(const i of this[e(417)][e(546)]()){const n=i[e(315)](t),r=Yi.Range[e(423)](n);i[e(551)]=r[e(551)],i[e(354)]=r[e(354)]}}[In(363)](t,e){const i=In;if(i(379)!=t[i(390)]&&i(582)!=t[i(390)]){if(i(490)==t[i(390)]){const n=t[i(448)][i(491)][i(348)];this[i(324)][i(500)](n)||(this[i(324)][i(385)](n,Rn(n,!0)),this[i(587)][i(385)](n,{}),e&&this[i(419)][i(385)](n,Rn(n,!0)))}else{if(i(434)==t[i(390)]||i(369)==t[i(390)]||i(382)==t[i(390)])return void this[i(353)](t);i(468)==t[i(390)]&&this[i(294)](t)}if(i(468)!==t[i(390)]){const e=this[i(529)](t,this[i(324)]);e[i(299)](),this[i(321)](e)}if(e)switch(t[i(390)]){case i(490):this[i(428)](t);break;case i(438):case i(532):case i(560):this[i(399)](t);break;case i(479):this[i(383)](t);break;case i(317):this[i(449)](t)}}else this[i(456)](t,e)}[In(529)](t,e){const i=In,n=t[i(380)]();return n[i(576)]=t[i(576)],this[i(568)](n,e),n}[In(391)](t){const e=In;return t[e(535)]((t=>{const i=e,n=this[i(292)](t);return Number(t[i(432)][i(371)](n))}))}[In(346)](t,e){const i=In;if(t.is(i(575),i(513)))e[i(542)]({item:t,type:i(319)});else{t.is(i(575))&&e[i(542)]({item:t,type:i(461)});for(const n of t[i(453)]())this[i(346)](n,e);t.is(i(575))&&e[i(542)]({item:t,type:i(336)})}return e}[In(362)](){const t=In,e=new Map(this[t(302)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(520)][t(483)](),...this[t(324)][t(483)]()]);a[t(424)](t(503));for(const e of a){const i=this[t(324)][t(440)](e)||Rn(e,!1),n=this[t(520)][t(440)](e)||Rn(e,!1);i[t(407)]()||n[t(407)]()?(r[t(554)][e]=An(i),r[t(570)][e]=An(n),this[t(443)](r[t(570)][e],n),this[t(443)](r[t(554)][e],i),s[t(554)][e]=this[t(346)](this[t(419)][t(440)](e),[]),s[t(570)][e]=this[t(346)](this[t(304)][t(440)](e)||Rn(e,!1),[])):a[t(424)](e)}for(const r of a){const o=s[t(554)][r];for(const r of o){const s=this[t(292)](r),o=r[t(432)][t(371)](s);i[t(424)](o),o>=this[t(395)]&&n[t(385)](o,e[t(440)](o))}}for(const r of a){const a=s[t(554)][r],c=this[t(391)](s[t(570)][r]);let u=0;for(const r of a){const s=this[t(292)](r),a=r[t(432)][t(371)](s);if(!n[t(500)](a)&&!o[t(500)](a))if(i[t(500)](a))u++;else{if(a!=c[u]){const n=e[t(440)](a)||e[t(440)](c[u]);for(;a!=c[u];)i[t(500)](c[u])||(o[t(385)](c[u],n),e[t(385)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(554)][e];for(const e of r){const r=this[t(292)](e),s=e[t(432)][t(371)](r);if(o[t(500)](s)){const e=o[t(440)](s);i[t(500)](s)||i[t(385)](s,{...e}),n[t(385)](s,{...e})}}}for(const e of i[t(483)]())e>=this[t(395)]&&i[t(424)](e);const c=new Map;for(const e of a){let r=s[t(554)][e];for(const e of r)if(e[t(432)].is(t(575),t(593))){const i=this[t(292)](e),r=e[t(432)][t(371)](i);if(n[t(500)](r)){const i=e[t(432)][t(430)][t(430)][t(371)](t(337)),s=c[t(440)](i)||new Set;s[t(409)](n[t(440)](r)[t(584)]),c[t(385)](i,s)}}r=s[t(570)][e];for(const e of r)if(e[t(432)].is(t(575),t(593))){const n=this[t(292)](e),r=e[t(432)][t(371)](n);if(i[t(500)](r)){const n=e[t(432)][t(430)][t(430)][t(371)](t(337)),s=c[t(440)](n)||new Set;s[t(409)](i[t(440)](r)[t(584)]),c[t(385)](n,s)}}for(const e of c[t(483)]())(n[t(500)](e)||i[t(500)](e))&&c[t(424)](e)}for(const e of a){const r=s[t(554)][e];let o=null,a=null;for(const e of r){const r=this[t(292)](e),s=e[t(432)][t(371)](r),u=c[t(440)](s);u&&t(461)==e[t(390)]&&(o=Array[t(467)](u)[0],a=e[t(432)][t(371)](t(445))),o&&(i[t(385)](s,{userId:o}),n[t(385)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(570)][e],a=r[t(554)][e];for(const{userId:e}of this[t(329)][t(546)]())null!==e&&l[t(409)](e);for(const{userId:e}of this[t(519)][t(546)]())null!==e&&l[t(409)](e);this[t(357)](a,s[t(554)][e],n,t(340),l),this[t(357)](o,s[t(570)][e],i,t(544),l),u[e]={insertions:this[t(372)](a),deletions:this[t(372)](o),attachChange:this[t(519)][t(440)](e)||null,attributesBefore:vi(this[t(459)][t(440)](e))||{},attributesAfter:vi(this[t(587)][t(440)](e))}}return{diffData:u,authorsIds:Array[t(467)](l)}}[In(397)](t){const e=In;for(const[,i]of t[e(505)]){const t=i[e(551)][e(580)]()[e(282)]((t=>e(593)==t[e(426)]));for(const i of t)1==i[e(538)]&&i[e(418)](0).is(e(575),e(482))&&i[e(418)](0)[e(278)](e(405),!0)}}[In(372)](t){const e=In;this[e(397)](t);const i=this[e(332)][e(349)][e(590)](t,{}),n=Array[e(467)](i[e(453)]())[e(535)]((t=>this[e(378)](t)));return JSON[e(451)](n)}[In(378)](t){const e=In;if(t.is(e(513)))return t[e(349)];{const i=t;return{type:Object[e(483)](Sn)[e(564)]((e=>t instanceof Sn[e])),name:i[e(426)],attributes:Array[e(467)](i[e(556)]()),children:Array[e(467)](i[e(453)]())[e(535)]((t=>this[e(378)](t)))}}}[In(357)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(332)][s(472)];for(let n=0;n<e[s(531)];n++){const r=this[s(292)](e[n]),c=e[n][s(432)][s(371)](r),h=i[s(440)](c),d=n==e[s(531)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(584)]!=o[s(584)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(584)],d=l(585)+n+":"+h+":"+c++,f=u[l(333)](i,a);t[l(505)][l(385)](d,f),null!==h&&r[l(409)](h)}}[In(292)](t){const e=In;switch(t[e(390)]){case e(461):return e(337);case e(336):return e(445);default:return e(563)}}[In(568)](t,e){const i=In;t[i(303)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(440)](r[i(491)][i(348)]);t[n]=this[i(516)](r,s)}if(r instanceof Yi.Range){const s=e[i(440)](r[i(491)][i(348)]);t[n]=this[i(387)](r,s)}i(491)===n&&(t[i(491)]=e[i(440)](t[i(491)][i(348)]))}}[In(387)](t,e){const i=In;return this[i(332)][i(472)][i(333)](this[i(516)](t[i(551)],e),this[i(516)](t[i(354)],e))}[In(516)](t,e){const i=In;return this[i(332)][i(472)][i(287)](e,t[i(502)],t[i(381)])}[In(428)](t){const e=In,i=this[e(419)][e(440)](t[e(448)][e(491)][e(348)]),n=this[e(516)](t[e(448)],i),r=null===t[e(576)]?null:t[e(576)]||this[e(332)][e(579)][e(440)](e(314)).me.id,s=n[e(430)],o=this[e(297)],a=[];for(const i of t[e(555)])if(i.is(e(575)))a[e(542)](this[e(444)](i));else for(let t=0;t<i[e(279)];t++)a[e(542)](new Yi.Element(e(513),{vid:this[e(297)]++}));const c=this[e(297)];for(let t=o;t<c;t++)this[e(302)][e(385)](t,{userId:r});s[e(402)](n[e(352)],a)}[In(399)](t){const e=In;(t=this[e(529)](t,this[e(419)]))[e(299)]();const i=null===t[e(576)]?null:t[e(576)]||this[e(332)][e(579)][e(440)](e(314)).me.id,n=t[e(311)](),r=n[e(430)],s=n[e(352)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(418)](e);s.is(a(575),a(513))?n[a(385)](s[a(371)](a(563)),{userId:i}):(n[a(385)](s[a(371)](a(337)),{userId:i}),t(n,s,0,s[a(538)]),n[a(385)](s[a(371)](a(445)),{userId:i}))}}(this[e(302)],r,s,s+t[e(481)])}[In(383)](t){const e=In,i=null===(t=this[e(529)](t,this[e(419)]))[e(576)]?null:t[e(576)]||this[e(332)][e(579)][e(440)](e(314)).me.id,n=t[e(457)][e(430)],r=t[e(470)][e(430)],s=n[e(371)](e(445)),o=r[e(371)](e(337));n[e(278)](e(445),r[e(371)](e(445))),r[e(278)](e(445),s),this[e(302)][e(385)](o,{userId:i}),this[e(302)][e(385)](s,{userId:i}),t[e(299)]()}[In(449)](t){const e=In,i=null===(t=this[e(529)](t,this[e(419)]))[e(576)]?null:t[e(576)]||this[e(332)][e(579)][e(440)](e(314)).me.id,n=t[e(464)],r=t[e(566)][e(430)];t[e(299)]();const s=r[e(371)](e(445)),o=t[e(415)][e(296)];if(n){const t=o[e(371)](e(445)),n=r[e(371)](e(445));r[e(278)](e(445),t),o[e(278)](e(445),n),this[e(302)][e(385)](r[e(371)](e(445)),{userId:i}),this[e(302)][e(385)](o[e(371)](e(337)),{userId:i})}else{const t=this[e(297)]++,n=this[e(297)]++;r[e(278)](e(445),t),o[e(278)](e(337),n),o[e(278)](e(445),s),this[e(302)][e(385)](t,{userId:i}),this[e(302)][e(385)](n,{userId:i})}}[In(294)](t){const e=In;if(!t[e(312)])return;const i=(t=this[e(529)](t,this[e(324)]))[e(416)]?t[e(416)][e(491)]:null,n=t[e(366)]?t[e(366)][e(491)]:null;i&&this[e(417)][e(424)](t[e(426)]),n&&this[e(417)][e(385)](t[e(426)],t[e(366)][e(380)]());const r=null===t[e(576)]?null:t[e(576)]||this[e(332)][e(579)][e(440)](e(314)).me.id,s=t[e(426)];if(!this[e(329)][e(500)](s))return void this[e(329)][e(385)](s,{range:t[e(416)],userId:r});const o=this[e(329)][e(440)](s),a=o[e(504)],c=t[e(366)];null==a&&null==c||a&&c&&a[e(518)](c)?this[e(329)][e(424)](t[e(426)]):o[e(584)]=r}[In(456)](t,e){const i=In;this[i(324)][i(500)](t[i(348)])?this[i(324)][i(440)](t[i(348)])[i(474)]=t[i(552)]:(this[i(324)][i(385)](t[i(348)],Rn(t[i(348)],!0)),this[i(587)][i(385)](t[i(348)],{}),e&&this[i(419)][i(385)](t[i(348)],Rn(t[i(348)],!0)));const n=null===t[i(576)]?null:t[i(576)]||this[i(332)][i(579)][i(440)](i(314)).me.id,r=this[i(519)][i(440)](t[i(348)]);r&&r[i(584)]===n?this[i(519)][i(424)](t[i(348)]):this[i(519)][i(385)](t[i(348)],{userId:n,isAttached:t[i(552)]})}[In(353)](t){const e=In,i=this[e(587)][e(440)](t[e(491)][e(348)]);null===t[e(404)]?delete i[t[e(478)]]:i[t[e(478)]]=t[e(404)]}}function An(t){const e=In,i=Rn(t[e(348)],t[e(407)]());for(const n of t[e(453)]()){const t=n[e(548)](!0);i[e(537)](t)}return i}function Rn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(348)]=t,n[i(474)]=e,n[i(407)]=()=>n[i(474)],n}function Mn(t,e,i){const n=In,r=n(336)==t[n(390)]?i[n(499)](t[n(432)],n(354)):i[n(489)](t[n(432)]);return i[n(287)](e,r[n(502)],r[n(381)])}function En(t,e,i){const n=In,r=n(461)==t[n(390)]?i[n(499)](t[n(432)],0):i[n(414)](t[n(432)]);return i[n(287)](e,r[n(502)],r[n(381)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),qn={attributes:{"data-cke":!0}};qn.setAttributes=Wn(),qn.insert=Pn().bind(null,"head"),qn.domAPI=Fn(),qn.insertStyleElement=Zn();Cn()($n.A,qn);$n.A&&$n.A.locals&&$n.A.locals;var Hn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(Hn.A,Bn);Hn.A&&Hn.A.locals&&Hn.A.locals;const Yn=Jn;function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=122]})(t,e)}function Gn(){const t=["input","render","revisionName","arrowup","revisionNameInputView","form","ck-responsive-form","arrowdown","errorText","1687gvCUax","arrowright","extendTemplate","trim","arrowleft","stopPropagation","locale","focus","151472NIfwNw","ck-revision-history-save-revision-form","element","reset","9ilYeBo","4452810dIXQFy","set","revisionNameInputValue","listenTo","1688qKWxkJ","fieldView","220","87013RlNcfY","focusTracker","label","value","setTemplate","774660canilb","60868pLDeJN","335772YSVlbQ","24UkyBAg","keystrokes","Name of the revision","add","optional","_createRevisionNameInput"];return(Gn=function(){return t})()}!function(t){const e=Jn,i=t();for(;;)try{if(174779===parseInt(e(137))/1+-parseInt(e(125))/2+parseInt(e(145))/3*(-parseInt(e(143))/4)+-parseInt(e(142))/5+-parseInt(e(144))/6+parseInt(e(160))/7*(parseInt(e(134))/8)+parseInt(e(129))/9*(parseInt(e(130))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends Vn.View{constructor(e,i){const n=Jn;super(e),this[n(138)]=new t.FocusTracker,this[n(146)]=new t.KeystrokeHandler,this[n(131)](n(132),""),this[n(155)]=this[n(150)](i),this[n(141)]({tag:n(156),attributes:{class:["ck",n(126),n(157)],tabindex:"-1"},children:[this[n(155)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(152)](){const t=Yn;super[t(152)](),(0,Vn.submitHandler)({view:this}),this[t(138)][t(148)](this[t(155)][t(127)]),this[t(146)][t(133)](this[t(127)]);const e=e=>e[t(122)]();this[t(146)][t(131)](t(161),e),this[t(146)][t(131)](t(164),e),this[t(146)][t(131)](t(154),e),this[t(146)][t(131)](t(158),e)}[Yn(124)](){const t=Yn;this[t(155)][t(124)]()}get[Yn(153)](){const t=Yn;return this[t(155)][t(135)][t(127)][t(140)][t(163)]()}set[Yn(153)](t){const e=Yn;this[e(155)][e(135)][e(127)][e(140)]=t[e(163)]()}[Yn(128)](){const t=Yn;this[t(155)][t(135)][t(127)][t(140)]="",this[t(155)][t(159)]=null}[Yn(150)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(123)],Vn.createLabeledInputText),n=i[e(135)];n[e(162)]({attributes:{maxlength:e(136)}});let r=Qi(this[e(123)],e(147));return!t&&(r+=" ("+Qi(this[e(123)],e(149))+")"),i[e(139)]=r,n.on(e(151),(()=>{const t=e;this[t(132)]=n[t(127)][t(140)][t(163)]()})),i}}const Xn=tr;function Qn(){const t=["isEnabled","show","_showDialog","requires","isReadOnly","revisionHistory","Save current revision","6pamZeW","3427949AMisjU","submit","render","ck-button-action","get","_registerMenuComponent","delegate","items","61208LhFqko","editing","config","revisionHistory.requireRevisionName","isPremiumPlugin","locale","addMany","buttonView","children","errorText","revisionNameInputView","saveRevision","isReady","isOfficialPlugin","showRevisionViewerCallback","set","role","Revision history","bind","hide","history","execute","focus","revisionName","componentFactory","392760EVEfNB","plugins","init","menu","398103DIionx","view","menuitem","1267096jxDpca","Open revision history","menuBar:revisionHistory","1276055MlPini","Cancel","isOpen","Accept","panelView","_createSaveRevisionFormView","reset","RevisionHistoryUI","add","editor","pluginName","14634414VqOWnA","Dialog","The revision name cannot be empty.","RevisionTracker","_saveRevisionFormView","revisionSave","6kndqJK"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(263954===-parseInt(e(428))/1+parseInt(e(386))/2*(-parseInt(e(432))/3)+parseInt(e(403))/4+-parseInt(e(369))/5*(parseInt(e(394))/6)+-parseInt(e(395))/7+parseInt(e(366))/8+parseInt(e(380))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends Hi.Plugin{static get[Xn(379)](){return Xn(376)}static get[Xn(416)](){return!0}static get[Xn(407)](){return!0}static get[Xn(390)](){return[On]}[Xn(430)](){const t=Xn,e=this[t(378)],i=e[t(429)][t(399)](t(383));e.ui[t(427)][t(377)](t(392),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(373)][r(411)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(421)](r(387)).to(i,r(415),i,r(387),e,r(391),((t,e,i)=>t&&e&&!i)),s[r(410)][r(418)]({icon:Hi.icons[r(423)],label:Qi(n,r(420)),tooltip:!0}),u[r(418)]({label:Qi(n,r(393)),withText:!0,role:r(365)}),u[r(421)](r(387)).to(i,r(415),i,r(387),e,r(391),((t,e,i)=>t&&e&&!i)),u.on(r(424),(()=>this[r(389)]())),h[r(418)]({label:Qi(n,r(367)),withText:!0,role:r(365)}),h[r(421)](r(387)).to(i,r(415),e,r(391),((t,e)=>t&&!e)),h.on(r(424),(()=>{const t=r;e[t(405)][t(399)](t(392))[t(417)](),s[t(371)]=!1,e[t(404)][t(364)][t(425)]()})),c[r(411)][r(377)](u),l[r(411)][r(377)](h),a[r(419)]=r(431),a[r(402)][r(409)]([c,l]),o[r(377)](a),s})),e.ui[t(427)][t(377)](t(368),(()=>this[t(400)]()))}[Xn(400)](){const t=Xn,e=this[t(378)],i=e[t(408)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(410)][t(418)]({icon:Hi.icons[t(423)],label:Qi(i,t(420))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(418)]({label:Qi(i,t(393))}),o[t(401)](t(424)).to(n),o.on(t(424),(()=>{this[t(389)]()})),s[t(411)][t(377)](o),r[t(402)][t(377)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(418)]({label:Qi(i,t(367))}),c[t(401)](t(424)).to(n),c.on(t(424),(()=>{const i=t;e[i(405)][i(399)](i(392))[i(417)]()})),a[t(411)][t(377)](c),r[t(402)][t(377)](a),n[t(373)][t(411)][t(377)](r),n}[Xn(389)](){const t=Xn,e=this[t(378)],i=e[t(408)],n=e[t(429)][t(399)](t(381)),r=e[t(429)][t(399)](t(383));function s(r){const s=t;e[s(405)][s(399)](s(406))&&""===r[s(426)]?r[s(413)][s(412)]=Qi(i,s(382)):(e[s(429)][s(399)](On)[s(414)]({name:r[s(426)]}),n[s(422)]())}this[t(384)]||(this[t(374)](),this[t(384)].on(t(396),(()=>s(this[t(384)])))),this[t(384)][t(375)](),n[t(388)]({id:t(385),title:Qi(i,t(393)),isModal:!0,content:this[t(384)],actionButtons:[{label:Qi(e[t(408)],t(370)),withText:!0,onExecute:()=>n[t(422)]()},{label:Qi(e[t(408)],t(372)),class:t(398),withText:!0,onCreate(i){const n=t;i[n(421)](n(387)).to(r,n(415),r,n(387),e,n(391),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(384)])}]})}[Xn(374)](){const t=Xn,e=this[t(378)],i=e[t(408)];this[t(384)]=new Kn(i,e[t(405)][t(399)](t(406))),this[t(384)][t(397)]()}}const ir=rr;function nr(){const t=["add","author","div","changeId","6567320uOGLBK","4884sqlKvw","data","Added by","14QjvvFG","12461760WJbnpE","11543eMSSUd","setTemplate","element","1810955DTGrjV","bindTemplate","type","set","ck-revision-change__","239667jdIIPu","name","8096aPfylE","24BgwqwQ","113410DXrTFL","ck-annotation","span","focus","ck-revision-change","2375166EqQLpB","_model","Suggested by","Removed by","isSuggestion","ck-revision-change__label"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(902963===parseInt(e(362))/1*(-parseInt(e(385))/2)+parseInt(e(371))/3+-parseInt(e(381))/4+-parseInt(e(390))/5*(-parseInt(e(365))/6)+parseInt(e(387))/7*(-parseInt(e(364))/8)+-parseInt(e(386))/9+-parseInt(e(366))/10*(-parseInt(e(382))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends Vn.View{constructor(t,e){const i=rr;super(t),this[i(372)]=e,this[i(380)]=e.id;const n=this[i(391)],r=Qi(t,e[i(383)][i(375)]?i(373):i(377)==e[i(392)]?i(384):i(374));this[i(393)](i(392),e[i(392)]),this[i(388)]({tag:i(379),attributes:{class:[i(367),i(370),n.to(i(392),(t=>i(394)+t))],tabindex:-1},children:[{tag:i(368),children:[{tag:i(368),attributes:{class:[i(376)]},children:[{text:r}]},{text:" "+e[i(378)][i(363)]}]}]})}[ir(369)](){const t=ir;this[t(389)][t(369)]()}}var or=cr;function ar(){var t=["40450bWPxAP","65730gMQCBa","2012643rGiMpa","126OZBXtt","rootName","2504exODVh","data","384spXvgc","10574720ywjRXf","set","4PSHAja","createdAt","4696237mNIpmU","2123bOCznc","author","149217aAqsVh","type","toJSON"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=374]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(733978===parseInt(e(388))/1*(-parseInt(e(386))/2)+parseInt(e(378))/3*(-parseInt(e(391))/4)+-parseInt(e(382))/5*(-parseInt(e(384))/6)+parseInt(e(375))/7+parseInt(e(389))/8+-parseInt(e(383))/9+parseInt(e(381))/10*(-parseInt(e(376))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ar);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(377)]=e[i(377)],this[i(379)]=e[i(379)],this[i(387)]=e[i(387)]||{},this[i(385)]=e[i(385)],this[i(390)](i(374),e[i(374)])}[or(380)](){var t=or;return{id:this.id,authorId:this[t(377)].id,type:this[t(379)],data:this[t(387)],createdAt:this[t(374)]}}}const lr=dr;function hr(){const t=["newRevisionId","90pClyVa","1660491MAgqIz","add","697552JPANLn","2853785kQkwos","96915KWzlnq","changes","97312rWsuZU","313436qAzLMy","_setChanges","oldRevisionId","4114856EVaSbx"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(322580===-parseInt(e(304))/1+-parseInt(e(305))/2+parseInt(e(298))/3+parseInt(e(300))/4+parseInt(e(301))/5+parseInt(e(297))/6*(-parseInt(e(302))/7)+-parseInt(e(308))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(296)]=e,this[n(307)]=i,this[n(303)]=new t.Collection}[lr(306)](t){const e=lr;for(const i of t)this[e(303)][e(299)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=_r();return(yr=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(893550===parseInt(e(332))/1*(-parseInt(e(399))/2)+parseInt(e(307))/3+-parseInt(e(483))/4+parseInt(e(305))/5+-parseInt(e(317))/6+-parseInt(e(487))/7*(parseInt(e(389))/8)+parseInt(e(573))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_r);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends Hi.Plugin{static get[vr(523)](){return vr(402)}static get[vr(430)](){return!0}static get[vr(489)](){return!0}static get[vr(393)](){return[Bi.Users,Vn.ContextualBalloon,Gi]}constructor(t){const e=vr;super(t),this[e(271)]=this[e(544)][e(278)][e(259)](e(512)),this[e(351)](e(564),null),this[e(351)](e(467),null),this[e(493)]=null,this[e(351)](e(282),null),this[e(351)](e(474),!1),this[e(351)](e(505),!0),this.on(e(331),((t,i,n)=>{const r=e;this[r(564)]=null,this[r(467)]=null,this[r(544)][r(425)][r(261)][r(557)]((t=>{const e=r;for(const i of this[e(544)][e(425)][e(261)][e(321)][e(289)])n?t[e(266)](e(319),i):t[e(362)](e(319),i)}))})),this[e(551)](e(298)).to(this,e(564),(t=>null!==t)),this[e(551)](e(405)).to(this,e(474),this,e(282),this,e(564),((t,i,n)=>t&&n?i[e(293)][e(370)](n):0)),this[e(551)](e(380)).to(this,e(474),this,e(282),((t,i)=>t?i[e(293)][e(264)]:0)),this[e(469)]=null,this[e(334)]=new Map,this[e(440)]=null,this[e(532)]=this[e(544)][e(278)][e(259)](Vn.ContextualBalloon)}[vr(441)](){const t=vr,e=this[t(544)],i=new Ir(e,{direction:t(320)}),n=new Ir(e,{direction:t(255)});e[t(284)][t(349)](t(404),i),e[t(284)][t(349)](t(406),n),e[t(284)][t(349)](t(454),new wr(e)),this.on(t(352),(()=>{const e=t;i[e(530)](),n[e(530)]()})),this[t(283)](),this[t(356)](),e[t(498)](t(466)),e[t(278)][t(528)](t(443))&&e[t(278)][t(259)](t(443))[t(497)](t(466))}async[vr(347)](t){const e=vr;await this[e(272)](t);const i={};for(const n in t[e(461)]){if(t[e(461)][n][e(582)]&&!t[e(461)][n][e(582)][e(552)])continue;const r=this[e(256)](JSON[e(355)](t[e(461)][n][e(490)])),s=this[e(544)][e(425)][e(261)][e(321)],o=new Yi.ViewDocumentFragment(s,r[e(276)]((t=>this[e(476)](t))));this[e(544)][e(394)][e(455)][e(381)](e(586)),i[n]=this[e(544)][e(394)][e(455)][e(546)](o),this[e(544)][e(394)][e(455)][e(381)](e(531))}return i}async[vr(437)](t){const e=vr;await this[e(272)](t);const i={};for(const n in t[e(461)])t[e(461)][n][e(582)]&&!t[e(461)][n][e(582)][e(552)]||(i[n]=t[e(461)][n][e(376)]||{});return i}[vr(256)](t){const e=vr;return(t=t[e(310)]((t=>!t[e(417)]||e(386)!==t[e(417)]&&e(344)!==t[e(417)])))[e(323)]((t=>{const i=e;i(468)!=typeof t&&(t[i(365)]=this[i(256)](t[i(365)]),t[i(326)]=t[i(326)][i(310)]((t=>!t[0][i(457)](i(540)))))})),t}async[vr(562)](t,e,i=!1){const n=vr;if(!this[n(505)])return;const r=this[n(282)],s=this[n(271)],o=n(468)==typeof t?s[n(554)](t):t,a=n(468)==typeof e?s[n(554)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(282)]&&this[n(282)][n(488)]===c&&this[n(282)][n(263)]===u)return Promise[n(339)]();this[n(474)]=!1,this[n(467)]=null,this[n(564)]=null,this[n(282)]=new fr(c,u);const l=this[n(547)](o,a,!0)[n(276)]((t=>this[n(272)](t)));return l[n(343)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(588)](l)[n(387)]((()=>{const t=n;if(!this[t(505)])return;this[t(408)]();const e=this[t(336)](c,u);for(const i of e[t(293)])this[t(334)][t(351)](i.id,i);this[t(544)][t(412)][t(308)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(544)][n(412)][n(321)][n(432)]())i[n(262)](t);for(const t of Object[n(537)](e[n(412)])){const r=i[n(464)](t);for(const s of Object[n(537)](e[n(326)][t]))i[n(433)](s,e[n(326)][t][s],r);i[n(363)](e[n(412)][t],r,0)}})),this[t(282)][t(503)](this[t(514)](e[t(293)])),this[t(474)]=!0}))[n(578)]((t=>{const e=n;console[e(292)](t),this[e(408)](),r&&(this[e(282)]=r),this[e(474)]=!0}))}[vr(563)](t,e){const i=vr,n=this[i(271)][i(416)](t);return n.on(i(287),((t,i,r)=>e(i,r,n))),this[i(271)][i(508)](n),n}[vr(272)](t){const e=vr;if(!t||t[e(461)])return Promise[e(339)]();{const i=this[e(544)][e(302)][e(259)](e(477));return this[e(440)][e(554)]({channelId:i,revisionId:t.id})[e(387)]((i=>{const n=e;t[n(287)]({diffData:i[n(461)]},!0)}))}}[vr(408)](){const t=vr;this[t(564)]=null,this[t(294)](),this[t(469)]&&this[t(469)][t(496)](),this[t(469)]=null,this[t(334)][t(309)](),this[t(544)][t(412)][t(308)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(544)][i(412)][i(321)][i(432)]())e[i(262)](t)}))}[vr(514)](t){const e=vr,i=[],n=new Map;for(const t of this[e(544)][e(412)][e(321)][e(432)]()){const r=this[e(544)][e(425)][e(261)][e(524)](t);if(!r)continue;const s=r[e(574)]()[e(504)](0);s&&(i[e(343)](t),n[e(351)](t,s))}return i[e(585)](((t,i)=>{const r=e,s=n[r(259)](t),o=n[r(259)](i);return s.y-o.y||s.x-o.x})),(t=t[e(310)]((t=>i[e(525)](t[e(290)]))))[e(585)](((t,n)=>i[e(533)](t[e(290)])-i[e(533)](n[e(290)]))),t}[vr(407)](t){const e=vr,i=Array[e(359)](t[e(436)])[e(310)]((([t,i])=>t[e(457)](e(291))&&!i[e(346)])),n=Array[e(359)](this[e(544)][e(412)][e(342)](t)[e(397)]({singleCharacters:!0}));if(0!=i[e(264)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(471)](":");if(r[e(299)][e(568)](t[e(445)])&&i[e(543)](),(t[e(439)][e(568)](r[e(565)])||t[e(439)][e(280)](r[e(565)]))&&(e(277)==s?t[e(403)]={userId:o}:e(254)==s&&(t[e(448)]={userId:o})),0==i[e(264)])break}return n}[vr(480)](t){const e=vr,i=new Map;for(let n=0;n<t[e(264)];n++)e(388)===t[n][e(260)]?(t[n][e(504)][e(418)]=n,t[n][e(504)][e(297)]=n):(e(572)===t[n][e(260)]?t[n][e(504)][e(418)]=n:e(516)===t[n][e(260)]&&(t[n][e(504)][e(297)]=n),i[e(351)](t[n].id,n));for(const n of i[e(491)]())e(572)===t[n][e(260)]?t[n][e(504)][e(297)]=i[e(259)](t[n][e(335)]):e(516)===t[n][e(260)]&&(t[n][e(504)][e(418)]=i[e(259)](t[n][e(335)]))}[vr(545)](t){const e=vr;for(let i=0;i<t[e(264)];i++){if(e(572)===t[i][e(260)])t[i][e(504)][e(418)]=i;else if(e(516)===t[i][e(260)]){t[i][e(504)][e(297)]=i;const n=t[i][e(504)][e(418)];t[n][e(335)]=t[i].id,t[i][e(335)]=t[n].id}else t[i][e(504)][e(418)]=i,t[i][e(504)][e(297)]=i,t[i][e(335)]=null;t[i][e(548)]||(t[i][e(548)]=[],t[i][e(450)]=[])}}[vr(519)](t,e){const i=vr,n=t[i(310)]((t=>!t[i(403)]));for(let t=0;t<e[i(264)];t++)e[t][i(403)]&&(n[t][i(403)]=e[t][i(403)])}[vr(472)](t){const e=vr,i=JSON[e(355)](t),n=this[e(544)][e(425)][e(261)][e(321)],r=new Yi.ViewDocumentFragment(n,i[e(276)]((t=>this[e(476)](t))));return this[e(544)][e(394)][e(481)](r)}[vr(476)](t){const e=vr,i=this[e(544)][e(425)][e(261)][e(321)];if(e(468)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(365)][e(276)]((t=>this[e(476)](t)));return new(gr[t[e(260)]]||Yi.ViewElement)(i,t[e(417)],t[e(326)],n)}}[vr(336)](t,e=null){const i=vr,n=this[i(271)][i(554)](t),r=e?this[i(271)][i(554)](e):null,s=this[i(547)](n,r),o=s[s[i(264)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(264)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(537)](e[i(461)]))if(e[i(461)][t][i(582)]){const n=e[i(461)][t][i(582)];n[i(552)]?(u[i(349)](t),l[i(528)](t)&&l[i(259)](t)[i(378)]==n[i(378)]?l[i(303)](t):l[i(351)](t,n)):l[i(528)](t)?(u[i(303)](t),l[i(303)](t)):(u[i(349)](t),l[i(351)](t,n))}else u[i(349)](t)}for(const t of u){const e=l[i(528)](t)&&!l[i(259)](t)[i(552)];let n=e?s[i(264)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(461)][t]){const n=e?o[i(461)][t][i(566)]:o[i(461)][t][i(376)];c[i(326)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(412)]={};for(const e of t[i(395)])a[i(351)](e.id,e);for(const e of u){const n=t[i(461)][e]?t[i(461)][e][i(490)]:"[]",r=t[i(461)][e]?t[i(461)][e][i(390)]:"[]";t[i(412)][e]={insertions:this[i(472)](n),deletions:this[i(472)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(359)](n[i(412)][t][i(490)][i(436)])[i(310)]((([t])=>!t[i(457)](i(291)))));let h=0;for(const o of s){const s=this[i(407)](o[i(412)][t][i(490)]);o==n?(e=s,r=e[i(264)],e[i(323)]((t=>{t.id=h++})),this[i(545)](e)):this[i(519)](e,s);const a=e[i(310)]((t=>!t[i(403)]))[i(276)]((t=>t.id));let c=0;const l=this[i(407)](o[i(412)][t][i(390)]);l[i(323)]((t=>{t[i(448)]?t.id=r++:t.id=a[c++]})),this[i(545)](l),this[i(330)](e,i(403)),this[i(330)](l,i(448)),o==n&&this[i(518)](e,u),e=this[i(435)](e,l),this[i(480)](e),this[i(330)](e,i(448))}e=e[i(310)]((t=>!(t[i(403)]&&t[i(448)])));const d=new Map(o[i(412)][t][i(390)][i(436)]),f=new Set(u[i(537)]());for(const t of d[i(537)]())f[i(303)](t);this[i(479)](e,f),this[i(422)](e),e=this[i(312)](e),e=this[i(542)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(377)](e,a,t);c[i(412)][t]=m;const v=l[i(259)](t);if(v){const e=a[i(259)](v[i(378)]),n=new ur({author:e,type:v[i(552)]?i(349):i(429),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(535)](n),c[i(326)][t][i(314)]=n.id}c[i(293)]=c[i(293)][i(577)](p)}return c}[vr(518)](t,e){const i=vr;for(let n=0;n<t[i(264)];n++)for(const[r,s]of e)s[i(565)][i(568)](t[n][i(439)])&&t[n][i(548)][i(343)](r),s[i(299)][i(568)](t[n][i(445)])&&t[n][i(450)][i(343)](r)}[vr(435)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(264)]||s<e[i(264)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(343)](o);else if(a[i(448)]&&o[i(403)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(502)](t,r,e,s);n=n[i(577)](o),r=a,s=c}else a[i(448)]?(s++,n[i(343)](a)):(r++,n[i(343)](o))}return n}[vr(479)](t,e){const i=vr,n=[];for(let o=0;o<t[i(264)];o++){for(let s=0;s<t[o][i(548)][i(264)];s++){const a=t[o][i(548)][s];if(!e[i(528)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(368)!=c||i(277)!=u&&i(254)!=u||(n[i(535)]({type:u,name:a,userId:l}),t[o][i(548)][i(538)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(450)][i(264)];s++){const a=t[o][i(450)][s];if(!e[i(528)](a))continue;const{group:c,type:u}=r(a);if(i(368)!=c||i(277)!=u&&i(254)!=u)continue;t[o][i(450)][i(538)](s,1),s--;const l=n[i(382)]((t=>t[i(417)]==a));l>-1&&n[i(538)](l,1)}}function r(t){const e=i,n=t[e(471)](":");return{group:n[0],type:n[1],subType:n[e(264)]>=5?n[2]:null,id:n[e(264)]<5?n[2]:n[3],authorId:n[e(264)]<5?n[3]:n[4],markerCount:6==n[e(264)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(264)];i++){if(t[e(403)]&&e(277)==n[i][e(260)])return t[e(447)]=n[i],void delete t[e(403)];if(!t[e(403)]&&!t[e(448)]&&e(254)==n[i][e(260)])return void(t[e(374)]=n[i])}}}[vr(330)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(351)](o.id,n);for(let n=0;n<t[i(264)];n++){if(i(448)==e&&t[n][i(403)]||i(403)==e&&t[n][i(448)])continue;if(i(388)==t[n][i(260)]){t[n][i(324)]=0;continue}const r=s[i(259)](t[n][i(335)]),o=s[i(259)](t[n].id);t[n][i(324)]=r-o}}[vr(547)](t,e,i=!1){const n=vr,r=[];let s=this[n(271)][n(370)](t),o=this[n(271)][n(370)](e);for(-1==o&&(o=this[n(271)][n(369)][n(264)],i=!1);s<o;)r[n(343)](this[n(271)][n(554)](s)),s++;return i&&r[n(343)](this[n(271)][n(554)](s)),r}[vr(502)](t,e,i,n){const r=vr,s=this[r(544)][r(412)][r(281)];let o=e;for(;t[o]&&t[o][r(403)];)o++;let a=n;for(;i[a]&&i[a][r(448)];)a++;u(t,e,o),u(i,n,a);const c=i[r(258)](n,a)[r(577)](t[r(258)](e,o));return c[r(585)](((t,e)=>t[r(434)]!=e[r(434)]?t[r(434)]-e[r(434)]:t[r(550)]!=e[r(550)]?t[r(550)]-e[r(550)]:t[r(324)]!=e[r(324)]?e[r(324)]-t[r(324)]:!!t[r(403)]!=!!e[r(403)]?-1==t[r(434)]||0==t[r(434)]?t[r(403)]?-1:1:t[r(403)]?1:-1:t[r(511)]-e[r(511)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(470)],c=!0;for(let r=e;r<i;r++)if(s[n(465)](t[r][n(504)])||(c=!1),t[r][n(504)][n(418)]<e&&(o=r),t[r][n(504)][n(297)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(434)]=r<=o?-1:r<a?0:1,t[r][n(511)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(324)]?t[i][n(550)]=u:(u++,t[i][n(550)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(434)]&&(t[r][n(550)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(324)]?t[e][n(550)]=u:(u--,t[e][n(550)]=u,u--)}}[vr(422)](t){const e=vr,i=new Map,n=this[e(544)][e(412)][e(281)];for(let r=1;r<t[e(264)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(388)==c[e(260)])continue;if(c[e(260)]!=u[e(260)])continue;if(!n[e(584)](u[e(504)])||n[e(553)](u[e(504)]))continue;if(!n[e(584)](c[e(504)])||n[e(553)](c[e(504)]))continue;if((t[r][e(403)]||t[r][e(447)])&&t[r-1][e(448)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(448)]||!t[r-1][e(403)]&&!t[r-1][e(447)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(550)]==o[e(550)],h=Math[e(569)](s[e(550)])<Math[e(569)](o[e(550)])&&0==o[e(324)];(l||h)&&(i[e(351)](o.id,s.id),t[e(538)](a,1),r--,s[e(403)]=!1)}for(let n=0;n<t[e(264)];n++)i[e(528)](t[n][e(335)])&&(t[n][e(335)]=i[e(259)](t[n][e(335)]))}[vr(312)](t){const e=vr,i=new Set(t[e(276)]((t=>t.id)));for(let n=0;n<t[e(264)];n++)i[e(528)](t[n][e(335)])||0==t[n][e(324)]||(t[n][e(413)]=!0);return t[e(310)]((t=>!t[e(413)]))}[vr(542)](t){const e=vr,i=new Set;for(let n=0;n<t[e(264)];n++){if(i[e(528)](t[n].id)&&t[n][e(448)]&&(t[n][e(413)]=!0),t[n][e(413)])continue;if(0==t[n][e(324)])continue;if(e(572)!=t[n][e(260)])continue;if(null==t[n][e(335)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(335)];)e(572)==t[r][e(260)]?s++:e(516)==t[r][e(260)]&&s--,r++;if(0!=s)if(t[n][e(448)])t[n][e(413)]=!0;else for(;r!=n;)t[r][e(448)]&&0!=t[r][e(324)]&&(t[r][e(413)]=!0,i[e(349)](t[r][e(335)])),r--}return t[e(310)]((t=>!t[e(413)]))}[vr(401)](t){const e=vr,i=this[e(544)][e(412)][e(281)];for(let n=0;n<t[e(264)];n++){if(!(t[n][e(403)]||t[n][e(447)]||t[n][e(448)]||t[n][e(374)]))continue;if(0==t[n][e(324)])continue;const r=t[n][e(504)];i[e(584)](r)||i[e(553)](r)||(t[n][e(403)]&&delete t[n][e(403)],t[n][e(447)]&&delete t[n][e(447)],t[n][e(374)]&&delete t[n][e(374)],t[n][e(448)]&&(t[n][e(413)]=!0))}return t[e(310)]((t=>!t[e(413)]))}[vr(377)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(544)][n(412)],c=a[n(281)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(264)];e++)if(n(572)===t[e][n(260)]){t[e][n(439)]=a[n(385)](r,f);const i=new Yi.Element(t[e][n(504)][n(417)],t[e][n(504)][n(559)]());u[0][n(288)](i),f[n(343)](0),u[n(535)](i),t[e][n(445)]=a[n(385)](r,f)}else n(516)===t[e][n(260)]?(u[n(543)](),t[e][n(439)]=a[n(385)](r,f),f[n(328)](),f[f[n(264)]-1]++,t[e][n(445)]=a[n(385)](r,f)):(t[e][n(439)]=a[n(385)](r,f),d?d[n(318)]+=t[e][n(504)][n(394)]:d=new Yi.Text(t[e][n(504)][n(394)],t[e][n(504)][n(559)]()),t[e+1]&&n(388)===t[e+1][n(260)]&&v(d,t[e+1][n(504)])||(u[0][n(288)](d),d=null),f[f[n(264)]-1]+=t[e][n(504)][n(475)],t[e][n(445)]=a[n(385)](r,f));for(let e=0;e<t[n(264)];e++){const i=t[e][n(439)],r=t[e][n(445)];for(const r of t[e][n(548)])o[n(351)](r,{start:i,end:null});m(n(374),e,i,r),m(n(447),e,i,r),m(n(448),e,i,r),m(n(403),e,i,r);for(const i of t[e][n(450)])o[n(259)](i)[n(299)]=r}for(const[t,e]of o){const i=this[n(544)][n(412)][n(521)](e[n(565)],e[n(299)]);r[n(436)][n(351)](t,i)}return s[n(585)](((t,e)=>{const i=n,s=r[i(436)][i(259)](i(291)+t.id),o=r[i(436)][i(259)](i(291)+e.id);return s[i(565)][i(295)](o[i(565)])?-1:s[i(565)][i(280)](o[i(565)])?1:s[i(299)][i(295)](o[i(299)])?-1:s[i(299)][i(280)](o[i(299)])?1:i(349)===t[i(260)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(378)]:null,d=i===t[o(264)]-1,f=h[e][0],m=c[o(442)](t[i][o(504)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(299)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(378)]!==u&&(l[e][o(299)]=r,f&&f[o(378)]===l[e][o(378)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(572)!==t[i][o(260)]||f&&f[o(378)]===u||h[e][o(535)]({userId:u,object:t[i][o(504)],change:l[e]}),o(516)===t[i][o(260)]&&f&&f[o(286)]===t[i][o(504)]&&(h[e][o(543)](),l[e]=f[o(557)])),l[e]&&d&&(l[e][o(299)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(504)],f=a[h(281)][h(584)](d)&&!a[h(281)][h(553)](d),m=t[h(492)]==o[h(400)]&&o[h(534)];if(f&&m)return;const p=a[h(521)](t,o),v=e[h(259)](u),y=new ur({author:v,type:h(403)==l||h(447)==l?h(349):h(429),data:{isSuggestion:h(447)==l||h(374)==l},createdAt:new Date,rootName:i});s[h(343)](y),r[h(436)][h(351)](h(291)+y.id,p)}function v(t,e){const i=n,r=t[i(559)](),s=e[i(559)]();for(const t of r){if(t[1]!==e[i(315)](t[0]))return!1;s[i(529)]()}return s[i(529)]()[i(576)]}}[vr(283)](){const t=vr;this[t(544)][t(267)][t(313)](t(279))[t(415)]({view:t(513)}),this[t(544)][t(267)][t(313)](t(484))[t(580)]({model:t(513),view:e=>{const i=t,n=e[i(306)][i(471)](":")[1],r=this[i(275)](n);if(!r)return null;const s=i(349)==r[i(260)]?i(277):i(254),o=[i(541),i(451)+s];return r[i(394)][i(500)]&&o[i(343)](i(451)+s+i(419)),this[i(564)]==r&&o[i(343)](i(495)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(544)][t(267)][t(313)](t(279))[t(349)]((e=>{const i=t;e.on(i(371),((t,e,n)=>{const r=i,s=e[r(444)][r(499)](0);if(!s||!s.is(r(463),r(325)))return;if(!n[r(520)][r(485)](s,{attributes:[r(353),r(449)]}))return;const o=e[r(253)][r(565)][r(492)];n[r(285)][r(433)](r(353),s[r(315)](r(353)),o),n[r(285)][r(433)](r(449),s[r(315)](r(449)),o)}),{priority:i(549)})})),this[t(544)][t(267)][t(313)](t(279))[t(349)]((e=>{const i=t;e.on(i(463),((t,e,n)=>{const r=i;if(!n[r(520)][r(485)](e[r(444)],{attributes:[r(353),r(449)]}))return;if(e[r(253)][r(346)])return;const s=e[r(253)][r(565)][r(492)];s[r(438)](r(353))||s[r(438)](r(300))||(n[r(285)][r(433)](r(353),e[r(444)][r(315)](r(353)),s),n[r(285)][r(433)](r(449),e[r(444)][r(315)](r(449)),s))}),{priority:i(549)})})),this[t(544)][t(267)][t(313)](t(279))[t(340)]({view:{name:t(396),attributes:{vid:!0}},model:{key:t(300),value:e=>e[t(315)](t(300))}}),this[t(544)][t(412)][t(281)].on(t(367),((e,[,i])=>{const n=t;[n(353),n(449),n(300)][n(525)](i)&&(e[n(494)]=!0,e[n(459)]())}),{priority:t(556)}),this[t(544)][t(267)][t(313)](t(296))[t(349)]((e=>{const i=t;e.on(i(398),((t,e,n)=>{const r=i;if(" "!=e[r(504)][r(394)]||e[r(504)][r(400)][r(583)]>1)return;if(!n[r(520)][r(485)](e[r(504)],t[r(417)]))return;const s=n[r(285)],o=n[r(486)][r(364)](e[r(337)]);s[r(478)](o,s[r(350)](r(396)))}))})),this[t(544)][t(267)][t(313)](t(296))[t(411)]({model:t(513)}),this[t(544)][t(425)][t(348)].on(t(526),function(e){const i=t,n=e[i(278)][i(259)](i(402));return(t,r,s)=>{const o=i,a=r[o(306)][o(471)](":")[1],c=n[o(275)](a);if(!c)return null;const u=o(349)==c[o(260)]?o(471):o(358);if(!s[o(520)][o(338)](r[o(269)],t[o(417)]))return;const l=r[o(269)][o(397)](),h=r[o(269)][o(565)],d=e[o(412)][o(281)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(504)];p=p||d[o(301)](e);const i=s[o(486)][o(515)](e);if(i&&i[o(458)](o(560)))return;o(516)==t[o(260)]&&d[o(584)](e)&&!d[o(553)](e)&&(e[o(575)]||h[o(570)]?f&&f[o(400)]==e||(f=e,y(t[o(439)]),v=!0):m=m||t[o(439)])}function y(t){const e=o,i=s[e(285)][e(274)](e(396),{class:e(451)+u}),a=s[e(486)][e(427)](t);c[e(394)][e(500)]&&s[e(285)][e(362)](e(451)+u+e(419),i),n[e(564)]==c&&s[e(285)][e(362)](e(495),i),s[e(285)][e(363)](a,i),s[e(486)][e(420)](i,r[e(306)])}p||v||!m||y(m)}}(this[t(544)]),{priority:t(316)}),this[t(544)][t(425)][t(348)].on(t(268),((e,i,n)=>{const r=t,s=n[r(486)][r(453)](i[r(306)]);if(s)for(const t of s)(t[r(322)](r(372))||t[r(322)](r(462)))&&(n[r(486)][r(360)](t,i[r(306)]),n[r(285)][r(429)](t))}),{priority:t(316)}),this[t(544)][t(425)][t(348)].on(t(526),((e,i,n)=>{const r=t,s=i[r(306)][r(471)](":")[1],o=this[r(275)](s);if(!o)return null;const a=r(349)==o[r(260)]?r(471):r(358);if(n[r(520)][r(338)](i[r(269)],e[r(417)]))for(const t of i[r(269)][r(456)]()){if(!t.is(r(463),r(428)))continue;const e=n[r(285)][r(274)](r(396),{class:r(451)+a}),s=n[r(486)][r(427)](this[r(544)][r(412)][r(446)](t));o[r(394)][r(500)]&&n[r(285)][r(362)](r(451)+a+r(419),e),this[r(564)]==o&&n[r(285)][r(362)](r(495),e),n[r(285)][r(363)](s,e),n[r(486)][r(420)](e,i[r(306)])}}),{priority:t(316)}),this[t(544)][t(412)][t(321)].on(t(557),(()=>{const e=t;this[e(544)][e(425)][e(261)][e(557)]((t=>{const i=e;for(const e of this[i(544)][i(412)][i(321)][i(432)]()){const n=this[i(544)][i(412)][i(321)][i(426)](e),r=this[i(544)][i(425)][i(261)][i(321)][i(426)](e);if(r){const e=n[i(315)](i(314));if(t[i(273)](i(304),r),t[i(266)](i(409),r),t[i(266)](i(555),r),t[i(266)](i(536),r),e){const n=this[i(275)](e);if(!n)return null;t[i(433)](i(304),e,r),t[i(362)](i(373)+n[i(260)],r),this[i(564)]==n&&t[i(362)](i(536),r)}}}}))})),this[t(544)][t(267)][t(313)](t(279))[t(415)]({view:t(452),model:e=>t(414)+e,converterPriority:t(556)}),this[t(544)][t(267)][t(313)](t(279))[t(415)]({view:t(345),model:e=>t(558)+e,converterPriority:t(556)}),this[t(544)][t(267)][t(313)](t(296))[t(411)]({model:t(368),view:e=>({name:t(357)+e,group:t(368)}),converterPriority:t(556)}),this[t(544)][t(267)][t(313)](t(484))[t(580)]({model:t(368),view:e=>{const i=t,n=e[i(306)][i(471)](":")[1];return i(277)!=n&&i(254)!=n?null:{classes:[i(510),i(561)+n]}}}),this[t(544)][t(425)][t(348)].on(t(473),br(this[t(544)],t(358)),{priority:t(316)}),this[t(544)][t(425)][t(348)].on(t(587),br(this[t(544)],t(471)),{priority:t(316)}),this[t(544)][t(425)][t(348)].on(t(375),((e,i,n)=>{const r=t,s=n[r(486)][r(453)](i[r(306)]);if(s)for(const t of s)t.is(r(539))&&(n[r(486)][r(360)](t,i[r(306)]),n[r(285)][r(429)](t))}),{priority:t(316)})}[vr(275)](t){const e=vr;return this[e(334)][e(259)](t)}[vr(522)](t){const e=vr;return this[e(469)]&&this[e(469)][e(496)](),this[e(469)]=new sr(this[e(544)][e(431)],t),this[e(469)]}[vr(356)](){const t=vr;this[t(544)][t(412)][t(321)][t(527)][t(410)](t(513)),this.on(t(460),((e,i,n,r)=>{const s=t;r&&this[s(532)][s(429)](r),n&&(this[s(532)][s(349)]({view:n,stackId:s(391),position:{target:()=>{const t=s,e=this[t(544)][t(425)],i=this[t(275)](n[t(329)]);let r;if(i[t(394)][t(581)]){const n=e[t(261)][t(524)](i[t(290)]);r=Array[t(359)](n[t(574)]())}else{const i=this[t(544)][t(412)][t(436)][t(259)](t(291)+n[t(329)]);r=Array[t(359)](e[t(486)][t(453)](i[t(417)]))[t(276)]((i=>e[t(261)][t(501)][t(421)](i)))[t(276)]((e=>Array[t(359)](e[t(574)]())))[t(423)]()}return this[t(493)]&&r[t(366)]((e=>e[t(506)]-3<=this[t(493)].y&&e[t(265)]+3>=this[t(493)].y&&e[t(311)]-3<=this[t(493)].x&&e[t(579)]+3>=this[t(493)].x))||r[0]}}}),this[s(532)][s(257)](s(391)))})),this.on(t(392),((e,i,n,r)=>{const s=t;this[s(467)]=n?this[s(522)](n):null,this[s(544)][s(412)][s(557)]((()=>{const t=s,e=this[t(544)][t(425)];r&&(r[t(394)][t(581)]?e[t(261)][t(557)]((i=>{const n=t;i[n(266)](n(536),e[n(261)][n(321)][n(426)](r[n(290)]))})):e[t(509)](t(291)+r.id)),n&&(n[t(394)][t(581)]?e[t(261)][t(557)]((i=>{const r=t;i[r(362)](r(536),e[r(261)][r(321)][r(426)](n[r(290)]))})):e[t(509)](t(291)+n.id))}))})),this[t(379)](this[t(544)][t(425)][t(261)][t(321)],t(252),((e,i)=>{const n=t;if(this[n(564)])return;const r=this[n(567)](i[n(361)]),s=this[n(334)][n(259)](r);s?(this[n(493)]={x:i[n(383)].x,y:i[n(383)].y},this[n(467)]=this[n(522)](s)):(this[n(493)]=null,this[n(467)]=null)})),this[t(379)](this[t(544)][t(425)][t(261)][t(321)],t(354),((e,i)=>{const n=t,r=this[n(567)](i[n(361)]),s=this[n(334)][n(259)](r);s?(this[n(493)]={x:i[n(383)].x,y:i[n(383)].y},s===this[n(564)]?this[n(532)][n(341)]():this[n(564)]=s):(this[n(493)]=null,this[n(564)]=null)}))}[vr(567)](t){const e=vr;do{const i=t[e(315)](e(304));if(i)return i;t=t[e(400)]}while(t);return null}[vr(294)](){const t=vr;this[t(544)][t(412)][t(557)]((e=>{const i=t;for(const t of this[i(544)][i(412)][i(436)])e[i(270)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(520)][s(338)](n[s(269)],i[s(417)]))return;const o=n[s(269)][s(397)](),a=n[s(269)][s(565)],c=t[s(412)][s(281)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(504)];h=h||c[s(301)](e);const i=r[s(486)][s(515)](e);if(i&&i[s(458)](s(560)))return;s(516)==t[s(260)]&&c[s(584)](e)&&!c[s(553)](e)&&(e[s(575)]||a[s(570)]?u&&u[s(400)]==e||(u=e,f(t[s(439)]),d=!0):l=l||t[s(439)])}function f(t){const i=s,o=r[i(486)][i(427)](t),a=r[i(285)][i(274)](i(396),{class:i(561)+e});r[i(285)][i(363)](o,a),r[i(486)][i(420)](a,n[i(306)])}h||d||!l||f(l)}}class wr extends Hi.Command{constructor(t){const e=vr;super(t);const i=t[e(278)][e(259)](kr);this[e(327)]=!1,this[e(379)](i,e(424),(()=>this[e(530)]())),this[e(379)](i,e(331),(()=>this[e(530)]()))}[vr(507)](){const t=vr,e=this[t(544)],i=e[t(278)][t(259)](kr),n=i[t(474)]?i[t(282)][t(488)]:null;e[t(302)][t(259)](t(384))[t(333)](n)}[vr(530)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(544)][t(278)][t(259)](kr),s=r&&n[t(482)](r[t(488)]);this[t(505)]=e&&i&&Boolean(s)}}function _r(){const t=["editor","_processTape","toData","_getRevisionsRange","markersStart","low","level","bind","isAttached","isLimit","getRevision","ck-revision-history-root-remove","highest","change","revision-suggestion:","getAttributes","addHighlight","ck-suggestion-preview-marker-","compare","addRevisionData","activeChange","start","attributesBefore","_findChangeIdFromDomTarget","isEqual","abs","isAtEnd","_step","elementStart","18377973DtlpDI","getClientRects","nextSibling","done","concat","catch","right","markerToHighlight","isOnRoot","attachChange","maxOffset","isBlock","sort","marked","addMarker:revision-suggestion:insertion","all","mouseover","modelRange","deletion","forward","_removeRevisionMarkers","showStack","slice","get","type","view","detachRoot","oldRevisionId","length","bottom","removeClass","conversion","removeMarker:revision","markerRange","removeMarker","repository","loadRevisionData","removeAttribute","createUIElement","_getChangeFromId","map","insertion","plugins","upcast","isAfter","schema","diff","_setConversion","commands","writer","object","_update","_appendChild","roots","rootName","revision:","error","changes","_cleanMarkers","isBefore","dataDowncast","endIndex","isNavigationMode","end","vid","isContent","config","delete","data-change-id","5684660HIRSsr","markerName","1551738izZdcC","enqueueChange","clear","filter","left","_removeMissingPairs","for","revisionHistoryAttachChange","getAttribute","high","3817020wKuVKz","_data","ck-editor__editable__overlay","backward","document","hasClass","forEach","distance","code","attributes","affectsData","pop","changeId","_setDistance","change:isEnabled","3aJtonF","restoreRevisionCallback","_changeIdToChange","pairId","_getDiff","range","test","resolve","elementToAttribute","updatePosition","createRangeIn","push","revision-end","suggestion","isCollapsed","getRevisionData","downcastDispatcher","add","createAttributeElement","set","change:numberOfChanges","vid_start","mousedown","parse","_initInteractions","suggestion:","merge","from","unbindElementFromMarkerName","target","addClass","insert","toViewRange","children","find","checkAttribute","revision-suggestion","_revisions","getIndex","element:pre","ck-suggestion-marker-split","ck-revision-history-root-","isRemoveSuggestion","removeMarker:revision-suggestion","attributesAfter","_makeModelFromTape","userId","listenTo","numberOfChanges","useFillerType","findIndex","domEvent","revisionHistory","createPositionFromPath","revision-start","then","text","531992MlMWJb","deletions","revisionHistoryLabel","change:activeChange","requires","data","authors","span","getWalker","attribute:vid","819538iFncNP","parent","_removeUnsupportedChanges","RevisionViewer","isAdded","showPreviousChange","currentChangeNumber","showNextChange","_makeTape","_cleanUp","ck-revision-history-root-add","observeMarkers","markerToData","model","isIncorrect","revision-comment:","dataToMarker","createRevision","name","startIndex","-new","bindElementToMarker","mapViewToDom","_fixObsoleteTags","flat","change:isReady","editing","getRoot","toViewPosition","softBreak","remove","isOfficialPlugin","locale","getRootNames","setAttribute","side","_joinTapes","markers","getRevisionRootsAttributes","hasAttribute","previousPosition","adapter","init","isObject","WidgetToolbarRepository","viewItem","nextPosition","createPositionBefore","isAddSuggestion","isRemoved","vid_end","markersEnd","ck-suggestion-marker-","comment","markerNameToElements","restoreRevision","processor","getItems","startsWith","getCustomProperty","stop","change:activeView","diffData","ck-suggestion-marker-merge","element","addRoot","isInline","revision-viewer","activeView","string","_changeView","POSITIVE_INFINITY","split","_makeModelFromViewString","addMarker:revision-suggestion:deletion","isReady","offsetSize","_getViewObj","collaboration.channelId","wrap","_markSuggestions","_refreshStartEndIndex","toModel","getLaterVisibleRevision","3482596KHGJdE","editingDowncast","consume","mapper","7nJAwMp","newRevisionId","isPremiumPlugin","insertions","values","nodeAfter","_activeViewTarget","return","ck-suggestion-marker--active","destroy","forceDisabled","enableReadOnlyMode","getChild","isSuggestion","domConverter","_threeWayMerge","_setChanges","item","isEnabled","top","execute","addRevision","reconvertMarker","ck-suggestion-preview-marker","index","RevisionsRepository","revision","_sortAndFilterDiffChanges","toViewElement","elementEnd","first","_markMarkers","_markInsertions","consumable","createRange","_getViewForChange","pluginName","getDomRoot","includes","addMarker:revision","selection","has","next","refresh","default","_balloon","indexOf","isAtStart","unshift","ck-revision-history-root--active","keys","splice","uiElement","data-revision-","ck-suggestion-marker","_markMismatchedRemovedTags","shift"];return(_r=function(){return t})()}class Ir extends Hi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(278)][i(259)](kr);this[i(327)]=!1,this[i(571)]=i(255)===e?1:-1,this[i(379)](n,i(424),(()=>this[i(530)]())),this[i(379)](n,i(331),(()=>this[i(530)]())),this[i(379)](n,i(392),(()=>this[i(530)]()))}[vr(507)](){const e=vr,i=this[e(544)],n=i[e(278)][e(259)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(564)]=r?n[e(282)][e(293)][e(259)](s+this[e(571)]):n[e(282)][e(293)][e(517)],n[e(564)][e(394)][e(581)])o=i[e(425)][e(261)][e(524)](n[e(564)][e(290)]);else{const t=i[e(412)][e(436)][e(259)](e(291)+n[e(564)].id);o=(0,Bi.getMarkerDomElement)(i[e(425)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(530)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(544)][t(278)][t(259)](kr);this[t(505)]=!!(s&&r&&n)&&(!e||(1===this[t(571)]?i<n-1:i>0))}}var Sr=i(528),xr={attributes:{"data-cke":!0}};xr.setAttributes=Wn(),xr.insert=Pn().bind(null,"head"),xr.domAPI=Fn(),xr.insertStyleElement=Zn();Cn()(Sr.A,xr);Sr.A&&Sr.A.locals&&Sr.A.locals;function Or(){const t=["numberOfChanges","setTemplate","EDIT_X_OF_Y_REVISIONS","execute","ck-revision-history-ui__changes-navigation__wrapper","136tuNatV","Show previous change","_isStatusLabelVisible","637736pZgFts","16wmRLgO","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","193403pgujiU","fire","347790HebBtG","isReady","2YKyzUp","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","set","bindTemplate","isEnabled","isBackwardNavigationEnabled","95365ARTaQq","backward","26964GxwkcI","isNavigationMode","10JIqWnF","forward","66RdiAoV","Show next change","13XSzkDb","Total","span","ck-revision-history-ui__changes-navigation__navigation","42429jsKYrK","No changes","div","Loading...","bind","9162576qkirlX","_statusText","ck-hidden","currentChangeNumber","ck-revision-history-ui__changes-navigation"];return(Or=function(){return t})()}function Tr(t,e){const i=Or();return(Tr=function(t,e){return i[t-=244]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(153711===-parseInt(e(278))/1*(-parseInt(e(271))/2)+-parseInt(e(244))/3+parseInt(e(263))/4*(-parseInt(e(269))/5)+parseInt(e(284))/6*(-parseInt(e(267))/7)+parseInt(e(259))/8*(-parseInt(e(280))/9)+parseInt(e(282))/10*(-parseInt(e(262))/11)+-parseInt(e(249))/12*(-parseInt(e(286))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Or);class Nr extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(275)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(274)](e(281),!1),this[e(274)](e(270),!1),this[e(274)](e(252),0),this[e(274)](e(254),0),this[e(274)](e(264),!1),this[e(274)](e(277),!1),this[e(248)](e(261)).to(this,e(270),this,e(254),((t,e)=>t&&e>0)),this[e(248)](e(250)).to(this,e(270),this,e(252),this,e(254),this,e(281),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(247));if(!r)return Qi(t,o(245));const a=Qi(t,o(273),r);return s?Qi(t,o(272),[n+1,r]):a})),n[e(274)]({label:Qi(t,e(260)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(274)]({label:Qi(t,e(285)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(248)](e(276)).to(this,e(277)),r[e(248)](e(276)).to(this,e(264)),n.on(e(257),(()=>this[e(268)](e(257),e(279)))),r.on(e(257),(()=>this[e(268)](e(257),e(283)))),this[e(255)]({tag:e(246),attributes:{class:["ck",e(266),e(253)]},children:[{tag:e(288),attributes:{class:[e(258)]},children:[{tag:e(288),attributes:{class:[e(265),i.if(e(261),e(251),(t=>!t))]},children:[{text:i.to(e(281),(i=>i?Qi(t,e(256))+": ":Qi(t,e(287))+": "))}]},{text:i.to(e(250))}]},new Vn.ToolbarSeparatorView,{tag:e(246),attributes:{class:[e(289)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Er(){const t=["7hgJHCq","4930836OUgFQv","document","change","3589636ZFdbyo","pluginName","removeClass","RevisionViewerLoadingOverlay","show","addClass","3787665TCltfT","isOfficialPlugin","isPremiumPlugin","ck-editor__editable__loading-overlay","view","editor","2925032tockpi","roots","4057230hoosie","37468744shLjDY","editing","hide","1153287nODYLc"];return(Er=function(){return t})()}function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=247]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(799684===-parseInt(e(252))/1+-parseInt(e(269))/2+parseInt(e(263))/3+-parseInt(e(257))/4+-parseInt(e(248))/5+-parseInt(e(254))/6*(parseInt(e(253))/7)+parseInt(e(249))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(266);class Cr extends Hi.Plugin{static get[Mr(258)](){return Mr(260)}static get[Mr(264)](){return!0}static get[Mr(265)](){return!0}[Mr(261)](){const t=Mr,e=this[t(268)][t(250)][t(267)];e[t(256)]((i=>{const n=t;for(const t of e[n(255)][n(247)])i[n(262)](Dr,t)}))}[Mr(251)](){const t=Mr,e=this[t(268)][t(250)][t(267)];e[t(256)]((i=>{const n=t;for(const t of e[n(255)][n(247)])i[n(259)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=438]})(t,e)}function Lr(){const t=["bind","8172065wmDWMv","showPreviousChange","get","Back to editing","showNextChange","isNavigationMode","plugins","add","isPremiumPlugin","isEnabled","hide","isBackwardNavigationEnabled","Restore this revision","show","12422331PBffgu","revisionHistory","change:isReady","isForwardNavigationEnabled","init","requires","exitToEditing","listenTo","numberOfChanges","pluginName","18GWRWnD","3ximkkm","isOfficialPlugin","set","commands","1647506kouKui","forward","componentFactory","isReady","RevisionViewerUI","3192716yeoYAW","execute","changesNavigation","config","8fOsXrs","6818qCLkeb","ck-revision-history-ui__back-to-editing","1938205wGMFSa","undo","currentChangeNumber","editor","restoreRevision","closeRevisionViewerCallback","6905390FvvFxL","148cZRuJM"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(797641===-parseInt(e(453))/1*(-parseInt(e(444))/2)+-parseInt(e(480))/3*(-parseInt(e(439))/4)+parseInt(e(446))/5*(parseInt(e(479))/6)+parseInt(e(484))/7*(-parseInt(e(443))/8)+-parseInt(e(469))/9+parseInt(e(452))/10+-parseInt(e(455))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends Hi.Plugin{static get[jr(478)](){return jr(438)}static get[jr(481)](){return!0}static get[jr(463)](){return!0}static get[jr(474)](){return[kr,Cr]}[jr(473)](){const t=jr,e=this[t(449)],i=e[t(461)][t(457)](kr),n=e[t(461)][t(457)](Cr);e.ui[t(486)][t(462)](t(475),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(482)]({label:Qi(i,n(458)),icon:Hi.icons[n(447)],withText:!0,tooltip:!0,class:n(445)}),this[n(476)](r,n(440),(()=>{const t=n;e[t(442)][t(457)](t(470))[t(451)]()})),r})),e.ui[t(486)][t(462)](t(450),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(482)]({label:Qi(i,n(467)),withText:!0,tooltip:!0}),r[n(454)](n(464)).to(e[n(483)][n(457)](n(450))),this[n(476)](r,n(440),(()=>e[n(440)](n(450)))),r})),e.ui[t(486)][t(462)](t(441),(n=>{const r=t,s=new Nr(n),o=e[r(483)][r(457)](r(456)),a=e[r(483)][r(457)](r(459));return s[r(454)](r(466)).to(o,r(464)),s[r(454)](r(472)).to(a,r(464)),s[r(454)](r(487),r(448),r(477),r(460)).to(i),this[r(476)](s,r(440),((t,i)=>{const n=r;e[n(440)](n(485)===i?n(459):n(456))})),s})),n[t(468)](),i.on(t(471),((e,i,r)=>{const s=t;r?n[s(465)]():n[s(468)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=$r;function Zr(){const t=["114DzrATv","3748257eJNHXH","2078622cstnSS","input","ck-tooltip_multi-line","element","5YTRqGD","fieldView","3397564yAVBaJ","clientWidth","1hXJfBZ","985744pvtDjY","scrollWidth","span","destroy","ck-revision-history-sidebar__revision-name","12enDpcu","Enter the revision name","set","placeholder","listenTo","10uEUOiz","_updateTooltipText","_tooltipString","5900587hIXEbc","1322526IEAonc","extendTemplate","_resizeObserver","75873ACeSdK","Revision name","value","bindTemplate","render"];return(Zr=function(){return t})()}function $r(t,e){const i=Zr();return($r=function(t,e){return i[t-=317]})(t,e)}!function(t){const e=$r,i=t();for(;;)try{if(464269===parseInt(e(340))/1*(-parseInt(e(322))/2)+parseInt(e(332))/3+-parseInt(e(338))/4*(parseInt(e(336))/5)+parseInt(e(330))/6*(parseInt(e(325))/7)+parseInt(e(341))/8+parseInt(e(331))/9*(parseInt(e(318))/10)+parseInt(e(321))/11*(parseInt(e(346))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class qr extends Vn.LabeledFieldView{constructor(t,e){const i=$r;super(t,e),this[i(324)]=null;const n=this[i(328)];this[i(348)]({label:Qi(t,i(326)),_tooltipString:""}),this[i(337)][i(349)]=Qi(t,i(347)),this[i(323)]({tag:i(343),attributes:{class:[i(345)],"data-cke-tooltip-text":n.to(i(320)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(334)}})}[Ur(329)](){const e=Ur;super[e(329)](),this[e(324)]=new t.ResizeObserver(this[e(337)][e(335)],(()=>this[e(319)]())),this[e(317)](this[e(337)],e(333),(()=>this[e(319)]()))}[Ur(344)](){const t=Ur;super[t(344)](),this[t(324)]&&this[t(324)][t(344)]()}[Ur(319)](){const t=Ur,e=this[t(337)][t(335)];this[t(320)]=e[t(342)]>e[t(339)]&&e[t(327)]||""}}var Hr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(Hr.A,Br);Hr.A&&Hr.A.locals&&Hr.A.locals;function Yr(t,e){const i=Gr();return(Yr=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Yr,i=t();for(;;)try{if(616696===parseInt(e(230))/1*(parseInt(e(224))/2)+parseInt(e(225))/3+parseInt(e(237))/4*(parseInt(e(221))/5)+-parseInt(e(235))/6+-parseInt(e(229))/7*(-parseInt(e(222))/8)+-parseInt(e(220))/9*(parseInt(e(223))/10)+-parseInt(e(241))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gr);class Jr extends Vn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Vn.IconView;r[n(236)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(234)});const s=["ck",n(232)];i&&s[n(227)](n(233));const o=[{tag:n(238),attributes:{class:["ck",n(240)],title:Qi(t,n(i?226:228))},children:[r,e[n(239)]]}];this[n(231)]({tag:"li",attributes:{class:s},children:o})}}function Gr(){const t=["setTemplate","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","3416340rdNsmA","set","5188EHUGMG","span","name","ck-revision-history-sidebar__revision-author__name","9418189PfoWsy","27Himaik","4235OWHnSb","2144RddSzu","1053730MFbquY","1820886CGoofK","104310FKrSoD","Revision creator","push","Revision author","8218MxAyPT","1xaQdWn"];return(Gr=function(){return t})()}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=356]})(t,e)}function Xr(){var t=["52ccwpAd","numeric","10JYEHRE","2274VAlxuK","33627121gvqdij","long","toLocaleDateString","70911NlPtTk","4721262iBMREz","98144ShfnMc","5808166EGcNcA","4521930pfvLbK","369JCorkp","toLocaleTimeString","201EryHWP"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(502796===-parseInt(e(360))/1*(-parseInt(e(364))/2)+-parseInt(e(368))/3*(-parseInt(e(361))/4)+parseInt(e(357))/5+parseInt(e(369))/6+parseInt(e(356))/7+parseInt(e(370))/8*(parseInt(e(358))/9)+parseInt(e(363))/10*(-parseInt(e(365))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=115]})(t,e)}function is(){const t=["Show more items","first","map","ck-on","1644MmQXVI","stopPropagation","children","class","change:isActionsDropdownOpen","menu","2725356OnayNl","16062WMkiNq","11nNPQFF","_action","184JTgXcJ","action","model","find","25675pcpdXv","732acndiF","menuitem","isEnabled","27348190fqHegt","Compare against selected","threeVerticalDots","bindTemplate","name","add","6803325HTuBKc","52079JZpZNf","panelPosition","Name this revision","isOpen","source","function","isActionsDropdownOpen","extendTemplate","ck-revision-history-sidebar__revision__actions","listenTo","bind","items","listView","button","Restore this revision","set","85379JzEWud","isReady","isVisible","locale","execute","buttonView"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(726348===parseInt(e(161))/1+parseInt(e(142))/2+-parseInt(e(143))/3*(parseInt(e(151))/4)+parseInt(e(150))/5*(-parseInt(e(136))/6)+parseInt(e(126))/7*(-parseInt(e(146))/8)+-parseInt(e(160))/9+-parseInt(e(154))/10*(-parseInt(e(144))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["5556OFJzpr","creator","isSelected","unshift","fieldView","listenTo","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from","uiLanguage","closest","extendTemplate","highlight","10722iRpNNo","change","setName","_createdAtFormatted","set","isActionsDropdownOpen","45PNMgfz","22561YaXoug","ck-revision-history-sidebar__actions_dropdown_open","length","ck-revision-history-sidebar__revision__controls-wrapper","value","220","authors","isEnabled","fire","3319hIGMKH","ck-revision-history-sidebar__revision__date","element","ck-reset","2157022gdabgh","8SwWTSn","ck-revision-history-sidebar__revision","isHighlighted","revisionActionsView","render","revisionNameView","span","deselect",".ck-thread__remove-confirm","select","_requireRevisionName","filter","isReady","srcElement","_revision","createdAt","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision_highlighted","2370qqgvig","isConfirm","1270536FYgqtV","unhighlight","110030MLlyVs","map","873jNcFSi","bind","54770EnKIqr","ck-disabled","ck-revision-history-sidebar__revision_selected","setTemplate","ck-revision-history-sidebar__revision-wrapper","bindTemplate","name"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(427350===-parseInt(e(227))/1+-parseInt(e(254))/2*(parseInt(e(217))/3)+-parseInt(e(252))/4+parseInt(e(250))/5*(parseInt(e(211))/6)+parseInt(e(231))/7*(parseInt(e(232))/8)+-parseInt(e(256))/9*(parseInt(e(258))/10)+parseInt(e(218))/11*(parseInt(e(265))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(263)],a=function(t,e){const i=s,n=Array[i(273)](e[i(224)])[i(243)]((t=>t!=e[i(266)]));return e[i(266)]&&n[i(268)](e[i(266)]),n[i(255)]((n=>new Jr(t,n,n==e[i(266)])))}(e,i);this.id=i.id,this[s(246)]=i,this[s(242)]=r,this[s(257)](s(264),s(247)).to(i),this[s(257)](s(214)).to(this,s(247),(t=>{return i=e[s(274)],(n=t)[(r=Kr)(367)](i,{month:r(366),day:r(362)})+", "+n[r(359)](i,{hour:r(362),minute:r(362)});var i,n,r})),this[s(215)](s(267),!1),this[s(215)](s(234),!1),this[s(215)](s(216),!1),this[s(215)](s(244),!1),this[s(215)](s(225),!1),this[s(237)]=new qr(e,Vn.createLabeledInputText),this[s(237)][s(269)][s(276)]({attributes:{maxlength:s(223)}}),this[s(237)][s(269)][s(257)](s(222)).to(this,s(264),(t=>t||this[s(214)])),this[s(237)][s(257)](s(225)).to(this,s(267),this,s(225),((t,e)=>t&&e)),this[s(235)]=n&&n[s(220)]?function(e,i){const n=es,r=e[n(157)],s=e[n(129)],o=(0,Vn.createDropdown)(s);o[n(162)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(129)],r={"Compare against selected":Qi(n,i(155)),"Name this revision":Qi(n,i(163)),"Restore this revision":Qi(n,i(124))};return e[i(134)]((t=>{const e=i,n=r[t[e(158)]];return n&&n!==t[e(158)]&&(t[e(158)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(123),model:new Vn.ViewModel({label:t[r(158)],class:t[r(139)],withText:!0,role:r(152),_action:t[r(147)]})};i[r(148)][r(120)](r(153)).to(e,r(116),(i=>r(115)!=typeof t[r(153)]||!i||t[r(153)](e))),o[r(159)](i)}return o}(e,i);return e[n(120)](n(116)).to(o,n(164)),o[n(131)][n(125)]({label:Qi(s,n(132)),tooltip:!0,tooltipPosition:"sw",icon:Hi.icons[n(156)]}),o[n(117)]({attributes:{class:[n(118),r.if(n(116),n(135))]},on:{click:r.to((t=>t[n(137)]()))}}),o.on(n(130),(t=>{const i=n;e[i(127)]&&i(115)==typeof t[i(165)][i(145)]&&t[i(165)][i(145)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(141)}),o[n(119)](e,n(140),((t,r,s)=>{const a=n;if(s)for(const t of o[a(122)][a(121)]){const n=t[a(138)][a(133)],r=i[a(149)]((t=>t[a(147)]===n[a(145)]))[a(128)];t[a(128)]=void 0===r||r(e)}})),o}(this,n):"",this[s(235)]&&this[s(235)][s(257)](s(225)).to(this),this[s(261)]({tag:s(271),attributes:{class:["ck",s(230),s(262),o.if(s(251),s(272))]},children:[{tag:s(271),attributes:{class:["ck",s(230),s(233),o.if(s(225),s(259),(t=>!t)),o.if(s(267),s(260)),o.if(s(234),s(249)),o.if(s(216),s(219))]},children:[this[s(237)],{tag:s(238),attributes:{class:["ck",s(228)]},children:[{text:o.to(s(214))}]},{tag:s(271),attributes:{class:["ck",s(221)]},children:[{tag:"ul",attributes:{class:["ck",s(248)]},children:a}]},this[s(235)]],on:{click:o.to((t=>{const e=s;t[e(245)][e(275)](e(240))||this[e(244)]&&this[e(225)]&&this[e(226)](e(241),{id:this.id})}))}}]})}[ss(236)](){const t=ss;super[t(236)]();const e=this[t(237)][t(269)][t(229)];this[t(270)](e,t(212),(()=>{const i=t;this[i(242)]&&!e[i(222)]||this[i(226)](i(213),{id:this.id,name:e[i(222)]}),e[i(222)]||(e[i(222)]=this[i(264)]?this[i(264)]:this[i(214)])}))}[ss(241)](){this[ss(267)]=!0}[ss(239)](){this[ss(267)]=!1}[ss(277)](){this[ss(234)]=!0}[ss(253)](){this[ss(234)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},xs={hour:ys,minute:ys},Os={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let qs={};const Hs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},qs={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,qs[n]||(qs[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),qs[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=Hs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&qo()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||Oo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||Oo.defaultNumberingSystem,c=i||Oo.defaultOutputCalendar,u=Jo(n)||Oo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ho()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?$s.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,xo=null;class Oo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,$s.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return xo}static set defaultWeekSettings(t){xo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=$o(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function $o(t){return"number"==typeof t&&t%1==0}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ho(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return $o(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>Oo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],xa=["BC","AD"],Oa=["B","A"];function Ta(t){switch(t){case"narrow":return[...Oa];case"short":return[...xa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:xs,tt:Os,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function qa(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function Ha(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),qa,Ha,Ba),hc=Va(za,qa,Ha,Ba),dc=Va(Wa,qa,Ha,Ba),fc=Va(qa,Ha,Ba);const mc=Va(qa);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ea(Ua),yc=Va(qa,Ha,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],xc=Sc.slice(0).reverse();function Oc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of xc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return Oc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return Oc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return Oc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return Oc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),Oc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return Oc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),Oc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return Oc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.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:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.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 Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=Oo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,Oo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:qo(),localeWeek:Ho()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let $c=null;function qc(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Hc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=qc(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new Hc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter(($c||($c=wu.fromMillis(1555555555555)),$c)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=Oo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=Oo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||Oo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?Oo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,Oo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=Oo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=$o(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=$o(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return qc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(Oo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,Oo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Hc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return xs}static get TIME_WITH_SECONDS(){return Os}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=253]})(t,e)}function Su(){const t=["7JDgVow","toRelativeCalendar","day","monthLong","394678hlAItq","setLocale","fromJSDate","5471116Hmjnrm","1822670zGYcKS","101256UzmvYL","year","105235WmWfIc","startOf","local","weekdayLong","4760580lFgDnK","36yBzMEK","week","hasSame","2123385fibGMH","3JiabKB","minus","toJSDate","month"];return(Su=function(){return t})()}function xu(t,e){const i=Iu,n=wu[i(268)](t)[i(267)](e),r=wu[i(275)](),s=r[i(259)]({days:1})[i(274)](i(264));let o,a;return n[i(256)](r,i(264))?(o=n[i(274)](i(264))[i(260)](),a=n[i(263)]()):n[i(256)](s,i(264))?(o=s[i(260)](),a=n[i(263)]()):n[i(256)](r,i(255))?(o=n[i(274)](i(255))[i(260)](),a=n[i(276)]||""):n[i(256)](r,i(272))?(o=n[i(274)](i(261))[i(260)](),a=n[i(265)]||""):(o=n[i(274)](i(272))[i(260)](),a=String(n[i(272)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(692233===-parseInt(e(273))/1+-parseInt(e(266))/2+parseInt(e(258))/3*(parseInt(e(269))/4)+-parseInt(e(257))/5+parseInt(e(253))/6+parseInt(e(262))/7*(-parseInt(e(271))/8)+parseInt(e(254))/9*(-parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var Ou=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(Ou.A,Tu);Ou.A&&Ou.A.locals&&Ou.A.locals;const Nu=Au;function Au(t,e){const i=Ru();return(Au=function(t,e){return i[t-=350]})(t,e)}function Ru(){const t=["ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__label","4303LxMsTv","uiLanguage","locale","startDate","setTemplate","find","add","ck-revision-history-sidebar__time-period__revisions","setName","11gotDcx","remove","localizedPeriodName","5wJRkVo","87228KEWCWs","1448246BnMxwr","2bXzZYX","delegate","13244450xcUxEn","_requireRevisionName","42203MTwDEg","revisionViews","span","8BwyZAJ","addRevision","select","7956612BmNmeN","10074534SudYDf","_revisionActions","div","982503ElKBZL","removeRevision","1832IRMRhw","createCollection"];return(Ru=function(){return t})()}!function(t){const e=Au,i=t();for(;;)try{if(873970===-parseInt(e(382))/1*(parseInt(e(383))/2)+-parseInt(e(362))/3*(-parseInt(e(355))/4)+-parseInt(e(380))/5*(parseInt(e(359))/6)+parseInt(e(352))/7*(parseInt(e(364))/8)+parseInt(e(358))/9+parseInt(e(350))/10*(-parseInt(e(377))/11)+-parseInt(e(381))/12*(-parseInt(e(368))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Vn.View{constructor(t,e,i,n){const r=Au;super(t);const s=xu(e,this[r(370)][r(369)])[r(379)];this[r(371)]=e,this[r(353)]=this[r(365)](),this[r(360)]=i,this[r(351)]=n,this[r(353)][r(384)](r(357)).to(this),this[r(353)][r(384)](r(376)).to(this),this[r(372)]({tag:r(361),attributes:{class:["ck",r(366)]},children:[{tag:r(354),attributes:{class:["ck",r(367)]},children:[{text:s}]},{tag:r(361),attributes:{class:["ck",r(375)]},children:this[r(353)]}]})}[Nu(356)](t){const e=Nu,i=new cs(this[e(370)],t,this[e(360)],this[e(351)]);this[e(353)][e(374)](i)}[Nu(363)](t){const e=Nu,i=this[e(353)][e(373)]((e=>e.id===t.id));this[e(353)][e(378)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Zn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(){const t=["160483eAifNy","setTemplate","ck-reset_all","history","3218444VMmXNn","div","2418990qaSKDo","span","ck-revision-history-sidebar__header__label","Revision history","4668AWfIrX","7YsCIIz","2eBUFCm","1082565CSmwrb","2756312lKiBHY","content","ck-revision-history-sidebar__header","238410GfLpwQ","81MQtCWJ"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=245]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(473830===parseInt(e(255))/1+parseInt(e(248))/2*(-parseInt(e(246))/3)+parseInt(e(259))/4+-parseInt(e(249))/5+-parseInt(e(261))/6+parseInt(e(247))/7*(parseInt(e(250))/8)+-parseInt(e(254))/9*(parseInt(e(253))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(251)]=Hi.icons[e(258)],this[e(256)]({tag:e(260),attributes:{class:["ck",e(257),e(252)]},children:[i,{tag:e(262),attributes:{class:["ck",e(263)]},children:[Qi(t,e(245))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;function Pu(){const t=["get","div","revisionViews","map","setName","_addRevision","595476nPYsyV","add","_requireRevisionName","createdAt","revisionSelected","highlight","select","createCollection","set","find","locale","15MxKwIM","selectRevision","timePeriodViews","render","addRevision","2102610koLjlx","_getTimePeriodViewByStartDate","ck-revision-history-sidebar","ck-rounded-corners","1448909uePDyH","deselect","unhighlight","1503174JGlKFD","isEnabled","bindTemplate","222939oYYEra","_revisions","removeRevision","_revisionActions","some","ck-revision-history-sidebar__timeline","uiLanguage","_removeRevision","setTemplate","ck-reset","fire","delegate","revisionSetName","3321EBFcVP","81224qYJsvD","ck-disabled","getTime","4184uZBYfh","startDate","flat","remove","highlightRevisions"];return(Pu=function(){return t})()}const zu=Wu;function Wu(t,e){const i=Pu();return(Wu=function(t,e){return i[t-=196]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(237904===-parseInt(e(198))/1+-parseInt(e(226))/2+-parseInt(e(237))/3*(-parseInt(e(212))/4)+parseInt(e(242))/5+parseInt(e(249))/6+-parseInt(e(246))/7+-parseInt(e(215))/8*(-parseInt(e(211))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pu);class Uu extends Vn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(197)];this[r(239)]=this[r(233)](),this[r(239)][r(209)](r(232)).to(this),this[r(239)][r(209)](r(224)).to(this),this[r(199)]=e,this[r(201)]=i,this[r(228)]=n,this.on(r(232),((t,e)=>{const i=r;this[i(208)](i(230),e)})),this.on(r(224),((t,e)=>{const i=r;this[i(208)](i(210),e)})),this[r(234)](r(196),!1),this[r(206)]({tag:r(221),attributes:{class:["ck",r(207),r(245),r(244)]},children:[new ju(t),{tag:r(221),attributes:{class:["ck",r(203),s.if(r(196),r(213),(t=>!t))]},children:this[r(239)]}]})}[zu(240)](){const t=zu;super[t(240)]();for(const e of this[t(199)])this[t(225)](e);this[t(199)].on(t(227),((e,i)=>{this[t(225)](i)})),this[t(199)].on(t(218),((e,i)=>{this[t(205)](i)}))}get[zu(222)](){const t=zu;return this[t(239)][t(223)]((e=>e[t(222)][t(223)]((t=>t))))[t(217)]()}[zu(238)](t){const e=zu;for(const i of this[e(222)])t&&t.id===i.id?i[e(232)]():i[e(247)]()}[zu(219)](t){const e=zu;for(const i of this[e(222)])t[e(202)]((({id:t})=>t===i.id))?i[e(231)]():i[e(248)]()}[zu(225)](t){const e=zu,i=xu(t[e(229)],this[e(236)][e(204)])[e(216)];let n=this[e(239)][e(220)](0);n&&n[e(216)][e(214)]()===i[e(214)]()||(n=new Mu(this[e(236)],i,this[e(201)],this[e(228)]),this[e(239)][e(227)](n)),n[e(241)](t)}[zu(205)](t){const e=zu,i=xu(t[e(229)],this[e(236)][e(204)])[e(216)];this[e(243)](i)[e(200)](t)}[zu(243)](t){const e=zu;return this[e(239)][e(235)]((i=>i[e(216)][e(214)]()===t[e(214)]()))}}const Zu=Hu;!function(t){const e=Hu,i=t();for(;;)try{if(817197===-parseInt(e(434))/1+parseInt(e(407))/2+parseInt(e(406))/3*(-parseInt(e(393))/4)+-parseInt(e(441))/5+-parseInt(e(439))/6*(-parseInt(e(462))/7)+-parseInt(e(451))/8*(parseInt(e(413))/9)+parseInt(e(419))/10*(parseInt(e(404))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class $u extends Hi.Plugin{static get[Zu(453)](){return Zu(430)}static get[Zu(450)](){return!0}static get[Zu(459)](){return!0}static get[Zu(411)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(456)]=t[e(415)][e(461)](kr),this[e(455)]=this[e(456)][e(408)],this[e(391)]=null}[Zu(452)](){const t=Zu,e=this[t(455)][t(460)],i=this[t(444)](),n=this[t(424)][t(443)][t(461)](t(385));this[t(391)]=new Uu(this[t(424)][t(394)],e,i,this[t(424)][t(443)][t(461)](t(458))),this[t(391)].on(t(392),this[t(387)][t(432)](this)),this[t(391)].on(t(380),this[t(400)][t(432)](this)),this[t(391)][t(432)](t(442)).to(this[t(456)]),this[t(391)][t(381)].on(t(448),((e,i)=>{const n=t;i[n(440)].on(n(448),((t,e)=>{const i=n;e[i(432)](i(442),i(384)).to(this[i(456)])}))})),this[t(391)][t(396)](),this[t(416)](this[t(424)][t(435)],t(395),this[t(446)][t(432)](this)),this[t(416)](this[t(456)],t(436),this[t(438)][t(432)](this)),n[t(402)](this[t(391)][t(398)])}[Zu(420)](){const t=Zu;this[t(391)][t(398)][t(429)](),this[t(391)][t(420)]()}[Zu(446)](){const t=Zu,e=this[t(455)][t(399)](0);if(e){const i=this[t(455)][t(428)](e.id);this[t(456)][t(414)](e,i)}}[Zu(387)](t,e){const i=Zu,n=this[i(455)][i(399)](e.id),r=this[i(455)][i(428)](n.id);this[i(456)][i(414)](n,r)}[Zu(400)](t,e){const i=Zu;this[i(455)][i(399)](e.id)[i(421)](e[i(383)])}[Zu(438)](t,e,i){const n=Zu,r=this[n(455)][n(445)](i);r[n(382)]>2?(this[n(391)][n(405)](r),this[n(391)][n(397)](null)):(this[n(391)][n(405)]([]),this[n(391)][n(397)](r[0]))}[Zu(444)](){const t=Zu,e=this[t(424)],i=$u[t(426)],n=e[t(443)][t(461)](t(423))||$u[t(388)];if(n[t(382)])return n[t(422)]((n=>{const r=t,s=r(454)==typeof n?Object[r(463)]({},i[n]):n;return s[r(389)]=s[r(389)][r(432)](this,e),s[r(433)]&&(s[r(433)]=s[r(433)][r(432)](this,e)),s}))}}function qu(){const t=["10RBrteA","destroy","setName","map","revisionHistory.revisionActions","editor","diff","availableRevisionActions","getIndex","getEarlierVisibleRevision","remove","RevisionsSidebar","nameRevision","bind","isVisible","1531213xegXgR","data","change:diff","revisionHistory","_handleDiffChange","6ixspUz","revisionViews","7329995HwyZZh","isEnabled","config","_createRevisionActions","getRevisionsInDiff","_handleEditorDataReady","select","add","Name this revision","isOfficialPlugin","2221896xKCNWk","init","pluginName","string","_revisionsRepository","_revisionViewer","Restore this revision","revisionHistory.requireRevisionName","isPremiumPlugin","_revisions","get","7025585KJeozE","assign","revisionSetName","timePeriodViews","length","name","isReady","revisionHistory.viewerSidebarContainer","isSelected","_handleRevisionSelected","defaultRevisionActions","action","restoreRevision","_sidebarView","revisionSelected","48rRTTeq","locale","ready","render","selectRevision","element","getRevision","_handleRevisionSetName","Compare against selected","appendChild","newRevisionId","50397897TheNHV","highlightRevisions","178521YpwTnj","108318LBspQw","repository","compareAgainstSelected","focus","requires","getLaterVisibleRevision","36xtMnfa","compare","plugins","listenTo","restoreRevisionCallback","fieldView"];return(qu=function(){return t})()}function Hu(t,e){const i=qu();return(Hu=function(t,e){return i[t-=380]})(t,e)}$u[Zu(388)]=[Zu(409),Zu(390),Zu(431)],$u[Zu(426)]={compareAgainstSelected:{name:Zu(401),action:({plugins:t},e)=>{const i=Zu,n=t[i(461)](kr),r=n[i(408)];let s=n[i(425)][i(403)],o=e.id;r[i(427)](s)>r[i(427)](o)&&([s,o]=[o,s]),n[i(414)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(461)](kr);return!(n[i(408)][i(445)](n[i(425)])[i(382)]>2||e[i(386)])}},restoreRevision:{name:Zu(457),action:(t,{id:e})=>{const i=Zu;t[i(443)][i(461)](i(437))[i(417)](e)},isVisible:({plugins:t},e)=>!!t[Zu(461)](kr)[Zu(408)][Zu(412)](e.id)},nameRevision:{name:Zu(449),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(461)](kr),s=r[n(408)][n(428)](e);r[n(414)](e,s),i[n(410)](),i[n(418)][n(447)]()}}};const Bu=$u,Yu=Ju;function Ju(t,e){const i=Ku();return(Ju=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(801335===-parseInt(e(389))/1*(parseInt(e(384))/2)+-parseInt(e(387))/3*(-parseInt(e(377))/4)+parseInt(e(399))/5*(-parseInt(e(397))/6)+-parseInt(e(371))/7+-parseInt(e(417))/8+-parseInt(e(409))/9+parseInt(e(388))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Gu extends Vn.EditorUI{get[Yu(381)](){return this[Yu(415)]}constructor(e,i){const n=Yu;super(e),this[n(415)]=i,this[n(403)]=(0,Vn.normalizeToolbarConfig)(e[n(394)][n(390)](n(414))),this[n(407)]=new t.ElementReplacer}get[Yu(375)](){const t=Yu;return this[t(381)][t(375)]}[Yu(412)](t){const e=Yu,i=this[e(392)],n=this[e(381)],r=i[e(378)][e(381)],s=n[e(411)],o=r[e(380)][e(400)]();s[e(402)]=o[e(393)],n[e(382)]();const a=s[e(375)];this[e(404)](s[e(402)],a),n[e(411)][e(396)](e(401)).to(this[e(413)]),r[e(383)](a),this[e(407)][e(385)](t,this[e(375)]),this[e(374)](),this[e(386)](e(416))}[Yu(379)](){const t=Yu;super[t(379)]();const e=this[t(381)],i=this[t(392)][t(378)][t(381)];this[t(407)][t(372)](),i[t(398)](e[t(411)][t(402)]),e[t(379)]()}[Yu(374)](){const t=Yu,e=this[t(381)];e[t(395)][t(396)](t(406)).to(this[t(413)],t(401)),e[t(395)][t(373)]=e[t(375)],e[t(395)][t(396)](t(391)).to(this,t(376),(({top:t})=>t)),e[t(414)][t(405)](this[t(403)],this[t(408)]),this[t(410)](e[t(414)])}}function Ku(){const t=["getRoot","isFocused","name","_toolbarConfig","setEditableElement","fillFromConfig","isActive","_elementReplacer","componentFactory","2096667kRGASK","addToolbar","editable","init","focusTracker","toolbar","_view","ready","5895696RkplCL","6960772ijxBEb","restore","limiterElement","_initToolbar","element","viewportOffset","164888yLXHGn","editing","destroy","document","view","render","attachDomRoot","11496aBDbLr","replace","fire","33PkUWMO","47844500kXczGL","217uqnJEl","get","viewportTopOffset","editor","rootName","config","stickyPanel","bind","60dsuWDO","detachDomRoot","612460OEHQCU"];return(Ku=function(){return t})()}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;function tl(t,e){var i=el();return(tl=function(t,e){return i[t-=104]})(t,e)}function el(){var t=["add","22393LXCRVb","_editable","6375IAQoJb","3656430ADXwsK","4303952LKloZS","toolbar","content","10588865LyhacQ","16717014nWPRbX","112GEQyQM","top","render","4839932nrHQFz","1350mgCVRw","editable","main","shouldToolbarGroupWhenFull","stickyPanel"];return(el=function(){return t})()}var il=tl;!function(t){for(var e=tl,i=t();;)try{if(782717===-parseInt(e(118))/1*(-parseInt(e(108))/2)+parseInt(e(121))/3+-parseInt(e(111))/4+-parseInt(e(120))/5*(parseInt(e(112))/6)+-parseInt(e(106))/7+-parseInt(e(122))/8+parseInt(e(107))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[il(113)](){return this[il(119)]}constructor(t,e,i={}){var n=il;super(t),this[n(116)]=new Vn.StickyPanelView(t),this[n(104)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(115)]}),this[n(119)]=new Vn.InlineEditableUIView(t,e)}[il(110)](){var t=il;super[t(110)](),this[t(116)][t(105)][t(117)](this[t(104)]),this[t(109)][t(117)](this[t(116)]),this[t(114)][t(117)](this[t(113)])}}function rl(t,e){const i=al();return(rl=function(t,e){return i[t-=366]})(t,e)}const sl=rl;!function(t){const e=rl,i=t();for(;;)try{if(615910===-parseInt(e(369))/1*(-parseInt(e(381))/2)+-parseInt(e(371))/3+parseInt(e(377))/4*(-parseInt(e(388))/5)+-parseInt(e(386))/6*(-parseInt(e(378))/7)+-parseInt(e(370))/8+-parseInt(e(391))/9+parseInt(e(390))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(al);class ol extends((0,Hi.ElementApiMixin)(Hi.Editor)){get ui(){return this[rl(384)]}constructor(t,e){const i=rl;super(e),this[i(394)]=t,this[i(385)][i(368)][i(373)]();const n=new nl(this[i(387)],this[i(372)][i(379)],{shouldToolbarGroupWhenFull:!0});this[i(384)]=new Gu(this,n)}[sl(366)](){const t=sl;return this[t(389)](),this.ui[t(366)](),super[t(366)]()}static async[sl(367)](t,e){const i=sl,n=new this(t,e);return await n[i(382)](),await n.ui[i(375)](t),await n[i(383)][i(375)](n[i(380)][i(392)](i(376))||""),n[i(393)](i(374)),n}}function al(){const t=["sourceElement","destroy","create","document","1oRKurI","3715160lSFtXR","2088003DbtVhF","editing","createRoot","ready","init","initialData","16QMVXDR","7VuJwOS","view","config","332932GmpBrn","initPlugins","data","_ui","model","1662894EaNbgZ","locale","538045kLVnQk","updateSourceElement","29092110XygjrS","10314756rJPSDW","get","fire"];return(al=function(){return t})()}function cl(t,e){const i=ll();return(cl=function(t,e){return i[t-=139]})(t,e)}const ul=cl;function ll(){const t=["1160073pRotZs","fromVersion","isReadOnly","64498gQTpiZ","RevisionViewer","toolbar","isAnonymous","RevisionViewerIntegration","model","getRevisions","result","requires","commands","_cleanUp","70vteork","revisionHistory.restoreRevisionCallback","_enhanceShowRevisionViewerCallback","getRevisionData","bind","Dialog","adapter","RevisionTracker","disableReadOnlyMode","RevisionHistory","_showRevisionViewer","uiLanguage","revisionHistory","revisionHistory.viewerEditorElement","setAttribute","save","PaginationLookup","removeSelectionAttribute","indexOf","getRevision","enqueueChange","revisionHistory.editorContainer","isOpen","toLocaleDateString","isReady","saveRevision","exitToEditing","closeRevisionViewerCallback","document","addRoot","338295sSEDAm","revisionHistory.requireRevisionName","config","restrictedEditingException","_viewerEditor","end","restoreRevision","RevisionsRepository","detachRoot","revision-history-missing-configuration","map","roots","name","858456qTpefr","toLocaleTimeString","push","destroy","get","insert","getRevisionRootsAttributes","style","error","plugins","getUser","keys","16zvUWbK","then","Restored","rootName","data","set","_update","createdAt","block","users","84yBwOcL","$graveyard","_enhanceCloseRevisionViewerCallback","from","createRangeIn","_closeRevisionViewer","revisionHistory.showRevisionViewerCallback","define","showRevisionViewerCallback","update","149534reCPQZ","isOfficialPlugin","parse","revisionHistory.viewerContainer","RestrictedEditingMode","removeMarker","_restoreRevision","refreshVisibility","init","none","catch","toJSON","isAttached","Autosave","changesNavigation","355832zAxoci","remove","display","RevisionHistoryUI","creator","getAttributeKeys","selection","hide","translations","repository","addRevisionData","includes","Users","enableReadOnlyMode","isEnabled","8ijUmBw","getMarkersGroup","lazyRoots","has","editor","pluginName","42355uYwcPK","create","fromCharCode","refreshPositioning","isPremiumPlugin","revisionHistory.closeRevisionViewerCallback","numeric","removeAttribute","setSelection","long","revision-history-viewer-opened","join","_getRevisionViewerEditorConfig","markers","toVersion","change","getRoot","addUser","Annotations","_recalculatePageBreaks","locale"];return(ll=function(){return t})()}!function(t){const e=cl,i=t();for(;;)try{if(205633===parseInt(e(162))/1+-parseInt(e(222))/2+parseInt(e(175))/3+parseInt(e(237))/4*(-parseInt(e(243))/5)+-parseInt(e(197))/6*(-parseInt(e(267))/7)+parseInt(e(187))/8*(-parseInt(e(264))/9)+-parseInt(e(278))/10*(parseInt(e(207))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[ul(225),ul(211)];class dl extends Hi.Plugin{static get[ul(242)](){return ul(271)}static get[ul(208)](){return!0}static get[ul(247)](){return!0}constructor(t){const e=ul;function i(t){const e=cl;return t[e(172)]((t=>String[e(245)](t)))[e(254)]("")}super(t),this[e(274)]=e(167),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 fl extends Hi.Plugin{static get[ul(242)](){return ul(141)}static get[ul(208)](){return!0}static get[ul(247)](){return!0}static get[ul(275)](){return[On,er]}constructor(e){const i=ul;if(super(e),!this[i(241)][i(164)][i(179)](i(144)))throw new t.CKEditorError(i(171),this);this[i(166)]=null,this[i(241)][i(164)][i(204)](i(203),(t=>this[i(142)]({...t,translations:this[i(241)][i(263)][i(230)]}))),this[i(241)][i(164)][i(204)](i(248),(t=>this[i(202)](t))),this[i(241)][i(164)][i(204)](i(279),(t=>this[i(213)](t))),this[i(241)][i(164)][i(204)](i(163),!1),this[i(280)](),this[i(199)]()}set[ul(284)](t){const e=ul;this[e(241)][e(184)][e(179)](e(139))[e(284)]=t}get[ul(284)](){const t=ul;return this[t(241)][t(184)][t(179)](t(139))[t(284)]}[ul(232)](t){const e=ul;return this[e(241)][e(184)][e(179)](e(139))[e(232)](t)}[ul(151)](t){const e=ul;return this[e(241)][e(184)][e(179)](e(169))[e(151)](t)}[ul(273)](t){const e=ul;return this[e(241)][e(184)][e(179)](e(169))[e(273)](t||{toJSON:!1})}[ul(255)](){const e=ul,i=this[e(241)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(184)][e(179)](e(139)),s=i[e(184)][e(179)](e(234))[e(196)];return n[e(269)]=[e(158),e(168),e(221)],delete n[e(239)],n[e(184)][e(177)](dl,kr,Pr,class extends Hi.Plugin{static get[e(275)](){return[kr,e(234)]}[e(215)](){const n=e,o=this[n(241)][n(184)][n(179)](n(234));for(const t of s)t[n(270)]||o[n(185)](t.id)||o[n(260)](t);const a=r[n(231)][n(273)]();let c=null;const u=this[n(241)][n(184)][n(179)](n(268));u[n(284)]=r[n(284)],u[n(282)](n(236)).to(r),this[n(241)][n(276)][n(179)](n(168))[n(282)](n(236)).to(i,n(266),(t=>!t));for(const e of a){const i=null===e[n(226)];if(i&&e[n(257)]===e[n(265)])continue;const s=e[n(218)]();u[n(232)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(193)](s,o);else if(!o){const e=a[u(218)]();e.id=(0,t.uid)(),r[u(157)](e,a[u(257)])[u(188)]((t=>{c=t}))}}else e[u(193)](s,o)}))}}},Bu),n}[ul(280)](){const t=ul,e=this[t(241)][t(164)][t(179)](t(144))[t(205)];this[t(241)][t(164)][t(192)](t(203),(async()=>{const i=t;this[i(241)][i(235)](i(253));const n=this[i(241)][i(184)][i(179)](i(139));if(this[i(241)][i(184)][i(240)](i(220))){const t=this[i(241)][i(184)][i(179)](i(220));await t[i(147)]()}else await n[i(206)]();if(this[i(241)][i(184)][i(240)](i(148))&&this[i(241)][i(184)][i(179)](i(148))[i(262)](),this[i(241)][i(184)][i(240)](i(283))){const t=this[i(241)][i(184)][i(179)](i(283));t[i(154)]&&t[i(229)]()}const r=this[i(255)]();return e(r)[i(188)]((t=>{const e=i;return this[e(166)]=t,this[e(241)][e(184)][e(240)](e(261))&&this[e(241)][e(184)][e(179)](e(261))[e(214)](),t}))[i(217)]((t=>(console[i(183)](t),this[i(241)][i(140)](i(253)),null)))}))}[ul(199)](){const t=ul,e=this[t(241)][t(164)][t(179)](t(144))[t(159)];this[t(241)][t(164)][t(192)](t(248),(()=>(this[t(241)][t(184)][t(240)](t(148))&&this[t(241)][t(184)][t(179)](t(148))[t(262)](),this[t(166)][t(184)][t(179)](t(268))[t(277)](),e(this[t(166)])[t(188)]((()=>{const e=t;if(this[e(241)][e(140)](e(253)),this[e(166)]=null,this[e(241)][e(184)][e(240)](e(261))){const t=this[e(241)][e(184)][e(179)](e(261));t[e(214)](),t[e(246)]()}})))))}[ul(142)](t){const e=ul,i=this[e(241)][e(164)][e(179)](e(153)),n=this[e(241)][e(164)][e(179)](e(210)),r=this[e(241)][e(164)][e(179)](e(145));return ol[e(244)](r,t)[e(188)]((t=>(n[e(182)][e(224)]=e(195),i[e(182)][e(224)]=e(216),t)))}[ul(202)](t){const e=ul,i=this[e(241)][e(164)][e(179)](e(153));return this[e(241)][e(164)][e(179)](e(210))[e(182)][e(224)]=e(216),i[e(182)][e(224)]="",t[e(178)]()}async[ul(213)](t){const e=ul,i=this[e(241)],n=this[e(166)][e(184)][e(179)](e(268)),r=i[e(184)][e(179)](e(139)),s=n[e(231)][e(151)](t);let o,a,c;try{o=await n[e(281)](s),a=await n[e(181)](s)}catch(t){return void console[e(183)](t)}i[e(272)][e(258)]((t=>{const n=e;for(const e of Array[n(200)](i[n(272)][n(256)][n(238)](n(165))))t[n(212)](e)})),n[e(156)]=!1,i[e(272)][e(152)]((t=>{const n=e;t[n(251)](null),t[n(149)](i[n(272)][n(160)][n(228)][n(227)]());const r=Object[n(186)](o);for(const e of i[n(272)][n(160)][n(173)])n(198)!=e[n(190)]&&e[n(219)]()&&!r[n(233)](e[n(190)])&&t[n(170)](e);for(const e of r){let r=i[n(272)][n(160)][n(259)](e);r&&r[n(219)]()||(r=t[n(161)](e));const s=a[e],c=Object[n(186)](s),u=o[e];for(const e of r[n(227)]())c[n(233)](e)||t[n(250)](e,r);for(const i of c)t[n(146)](i,a[e][i],r);t[n(223)](t[n(201)](r)),t[n(180)](i[n(191)][n(209)](u,r),r,0)}}));const u=Qi(i[e(263)],e(189));return c=s[e(174)]?-1==s[e(174)][e(150)](u)?u+": "+s[e(174)]:s[e(174)]:u+": "+s[e(194)][e(155)](i[e(263)][e(143)],{month:e(252),day:e(249)})+", "+s[e(194)][e(176)](i[e(263)][e(143)],{hour:e(249),minute:e(249)}),await r[e(157)]({name:c}),n[e(156)]=!0,i[e(164)][e(179)](e(144))[e(159)]()}}function ml(){var t=["1544769KTmFcX","24niqjnI","120098gFhjJW","3alIKbN","147WodKXC","4115125IbUKxT","862166vLmtjs","420hwZnKt","1315228rBrDVr","428072vDYfGY","208176WYXezp"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=230]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(927903===parseInt(e(240))/1+-parseInt(e(238))/2*(parseInt(e(235))/3)+-parseInt(e(230))/4+parseInt(e(237))/5+-parseInt(e(231))/6*(parseInt(e(236))/7)+parseInt(e(233))/8*(parseInt(e(232))/9)+parseInt(e(239))/10*(-parseInt(e(234))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Ki,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,Z=z.hasOwnProperty,U=RegExp("^"+W.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(t)?U:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=Q,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zt=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ut=Zt&&Zt.exports===Wt&&y.process;const Ht=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Me),Ze=A;(Ne&&Ze(new Ne(new ArrayBuffer(1)))!=je||B&&Ze(new B)!=Ee||Ae&&Ze(Ae.resolve())!=Ve||Re&&Ze(new Re)!=De||Me&&Ze(new Me)!=Ce)&&(Ze=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return Ce}return e});const Ue=Ze;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ue(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ue(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ue(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=118]})(t,e)}const Ui=Zi;function Hi(){const t=["toVersion","18txlOdC","map","fromVersion","toJSON","creatorId","fire","6kByebS","_update","creator","createdAt","authors","setName","setAttribute","8mBCjBa","authorsIds","39221GQEMFf","attributes","4741hoJGgH","3010QCLiwZ","238273ZvTuYx","155601QJxmFS","895599jmmPyB","8hSWrCs","name","set","201370ycwrOq","1046700Oyzfgi","removeAttribute","diffData"];return(Hi=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(134094===parseInt(e(124))/1*(parseInt(e(145))/2)+parseInt(e(129))/3+parseInt(e(131))/4*(-parseInt(e(134))/5)+parseInt(e(139))/6*(parseInt(e(128))/7)+-parseInt(e(122))/8*(parseInt(e(130))/9)+parseInt(e(127))/10*(parseInt(e(126))/11)+-parseInt(e(135))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(147)]=e[i(147)]||null,this[i(119)]=e[i(119)]||[],this[i(137)]=e[i(137)]||null,this[i(138)]=e[i(138)]||0,this[i(141)]=e[i(141)]||0,this[i(133)](i(132),e[i(132)]||""),this[i(133)](i(118),e[i(118)]||new Date),this[i(133)](i(125),e[i(125)]||{})}[Ui(120)](t){this[Ui(146)]({name:t})}[Ui(121)](t,e){const i=Ui,n=vi(this[i(125)]);Ci(n,t,e),this[i(146)]({attributes:n})}[Ui(136)](t){const e=Ui,i=vi(this[e(125)]);Wi(i,t),this[e(146)]({attributes:i})}[Ui(146)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(132),i(118),i(137),i(119),i(125),i(138),i(141),i(143)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(119)]&&(r[i(123)]=r[i(119)][i(140)]((t=>t.id)),delete r[i(119)]),this[i(144)](i(146),r,e))}[Ui(142)](){const t=Ui;return{id:this.id,name:this[t(132)],creatorId:this[t(147)]?this[t(147)].id:null,authorsIds:this[t(119)][t(140)]((t=>t.id)),diffData:this[t(137)],createdAt:this[t(118)],attributes:this[t(125)],fromVersion:this[t(141)],toVersion:this[t(138)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Qi();return(Gi=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Gi,i=t();for(;;)try{if(134859===parseInt(e(502))/1+parseInt(e(537))/2+parseInt(e(523))/3+parseInt(e(539))/4*(-parseInt(e(524))/5)+parseInt(e(497))/6+parseInt(e(501))/7*(-parseInt(e(503))/8)+-parseInt(e(533))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qi);class Ki extends qi.Plugin{static get[Ji(541)](){return[Bi.Users]}static get[Ji(516)](){return Ji(505)}static get[Ji(540)](){return!0}static get[Ji(515)](){return!0}get[Ji(509)](){const t=Ji;return this[t(525)][t(509)]}constructor(e){const i=Ji;super(e),this[i(525)]=new t.Collection}[Ji(549)](){!async function(e){const i=k([77,113,50,52,55,57,83,106,68,89,73,84,70,51,98,104,72,78,85,80,76,112,109,101,108,90,82,110,120,117,105,79,81,118,49,53,69,67,122,116,71,88,100,111,86,66,103,54,56,119,75,74,48,121,114,97,99,107,115,102,65,87]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(538)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([77]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(535)]((t=>String[e(534)](t)))[e(536)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1739577600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(510)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(500)](t){const e=Ji,i=this[e(522)][e(542)][e(520)](e(547));return new $i({id:t.id,name:t[e(527)],creator:t[e(517)]?i[e(544)](t[e(517)]):null,diffData:t[e(543)]||t[e(518)],authors:t[e(499)][e(535)]((t=>i[e(544)](t))),createdAt:new Date(t[e(512)]),attributes:t[e(532)],fromVersion:t[e(514)],toVersion:t[e(528)]})}[Ji(504)](t,e=0){const i=Ji;this[i(525)][i(530)](t,e)}[Ji(511)](t){const e=Ji;return this[e(525)][e(520)](t)}[Ji(507)](t={toJSON:!1}){const e=Ji,i=Array[e(548)](this[e(525)]);return i[e(513)](),t[e(546)]?i[e(535)]((t=>t[e(546)]())):i}[Ji(526)](t){const e=Ji;return this[e(525)][e(526)](t)}[Ji(531)](t){const e=Ji,[,i]=this[e(521)](t,{direction:e(496)});return i}[Ji(508)](t){const e=Ji,[,i]=this[e(521)](t,{direction:e(498)});return i}[Ji(545)](t){const e=Ji,i=[];for(const n of this[e(521)](t[e(529)]))if(i[e(519)](n),n.id===t[e(506)])break;return i}*[Ji(521)](t,{direction:e=Ji(496),filter:i=()=>!0}={}){const n=Ji,r=n(496)===e?1:-1;let s=this[n(525)][n(520)](t),o=this[n(526)](s);for(yield s;s;){if(o+=r,s=this[n(511)](o),!s)return;i(s)&&(yield s)}}}function Qi(){const t=["getLaterVisibleRevision","length","href","getRevision","createdAt","reverse","fromVersion","isPremiumPlugin","pluginName","creatorId","data","push","get","getRevisionsIterator","editor","297906GGNPvO","5ohXsZv","_revisions","getIndex","name","toVersion","newRevisionId","add","getEarlierVisibleRevision","attributes","2765475JIyKZt","fromCharCode","map","join","247158LiLyMZ","isNaN","820804ilpdud","isOfficialPlugin","requires","plugins","diffData","getUser","getRevisionsInDiff","toJSON","Users","from","afterInit","earlier","1420770gQxNyX","later","authorsIds","createRevision","28etPdhK","195731oQfBBQ","16144rHdEFp","addRevision","RevisionsRepository","oldRevisionId","getRevisions"];return(Qi=function(){return t})()}function Xi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ue(t),u=a?vn:Ue(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Tn();return(In=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(196267===-parseInt(e(690))/1*(-parseInt(e(565))/2)+parseInt(e(595))/3+-parseInt(e(574))/4+-parseInt(e(709))/5*(-parseInt(e(611))/6)+-parseInt(e(694))/7+-parseInt(e(663))/8+-parseInt(e(507))/9*(-parseInt(e(501))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tn);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(468)](){return _n(520)}static get[_n(722)](){return!0}static get[_n(547)](){return!0}static get[_n(624)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(543)]=null,this[i(426)]=null,this[i(553)]=new Nn(this[i(425)]),this[i(654)]=this[i(425)][i(673)][i(463)](i(617))||i(738),this[i(447)]=new Map,this[i(502)]=null;const n=(0,t.uid)();this[i(475)]={history:this[i(425)][i(696)][i(675)][i(729)],getLatestVersion:()=>Promise[i(714)](this[i(425)][i(696)][i(675)][i(602)]),getCurrentRevisionId:()=>n},this[i(562)](i(628),!1),this[i(562)](i(685),!0),this[i(562)](i(607),!1),this[i(425)][i(673)][i(703)](i(627),!0),this[i(425)][i(476)][i(732)](i(706))[i(686)]({view:i(649)})}[_n(589)](){const t=_n;this[t(530)]=this[t(425)][t(695)][t(463)](t(454)),this[t(524)](),this[t(425)][t(645)].on(t(481),(()=>{const e=t,i=this[e(530)][e(662)](0),n=i&&null===i[e(473)]?i:null;if(this[e(533)]=!!n&&this[e(425)][e(673)][e(463)](e(627)),this[e(425)][e(695)][e(593)](e(634))){const t=this[e(475)][e(719)](),r=this[e(530)][e(662)](t);if(r)this[e(710)]=r[e(619)],this[e(533)]=!1;else{const t=this[e(475)][e(729)][e(569)][e(626)]((t=>!t[e(584)])),r=t?t[e(517)]:this[e(475)][e(729)][e(602)];i?(i[e(478)]<r&&i[e(536)]({toVersion:r}),this[e(533)]?(this[e(475)][e(719)]=()=>n.id,this[e(710)]=n[e(619)]):(this[e(710)]=i[e(478)],this[e(533)]=!1)):(this[e(710)]=r,this[e(533)]=!1)}}else n&&(this[e(425)][e(696)][e(675)][e(729)][e(602)]=Math[e(669)](n[e(478)],this[e(425)][e(696)][e(675)][e(729)][e(602)]),n[e(619)]===n[e(478)]?(0!==n[e(619)]&&(this[e(475)][e(719)]=()=>n.id),this[e(533)]=!1):this[e(533)]&&(this[e(475)][e(719)]=()=>n.id,this[e(710)]=n[e(619)])),this[e(533)]||(this[e(710)]=this[e(425)][e(696)][e(675)][e(602)]);this[e(553)][e(589)](this[e(475)][e(729)]),this[e(512)](this[e(710)]),this[e(435)](this[e(710)]),this[e(543)]&&this[e(572)]()})),this[t(620)](t(628)).to(this,t(607),(t=>!t)),this[t(494)]=this[t(425)][t(673)][t(463)](t(494));const e=this[t(425)];this[t(560)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(491)==s||i(681)==s||i(647)==s||i(442)==s||i(489)==s||i(664)==s||i(648)==s||i(730)==s){delete e[r],n=s,clearInterval(this[i(560)]),this[i(560)]=void 0;break}}i(681)==n&&e[i(680)](i(521)),i(647)==n&&e[i(680)](i(432)),i(442)==n&&e[i(680)](i(452)),i(489)==n&&e[i(680)](i(600),i(741)),i(664)==n&&e[i(680)](i(564)),i(648)==n&&e[i(680)](i(529)),i(730)==n&&e[i(680)](i(651))}),1e3)}async[_n(482)](){const t=_n;if(this[t(530)][t(504)]>0){const e=this[t(530)][t(662)](0),i=await this[t(586)](e),n=await this[t(554)](e);this[t(737)](i,n)}}[_n(457)](){const t=_n;super[t(457)](),this[t(560)]&&clearInterval(this[t(560)])}[_n(588)](t){this[_n(475)]=t}async[_n(525)](){const t=_n,e=await this[t(475)][t(477)]();if(e>this[t(426)][t(478)]){await this[t(424)]();const i=this[t(568)]({revision:this[t(426)],to:e});i[t(490)]=i[t(445)][t(495)]((e=>this[t(425)][t(695)][t(463)](t(687))[t(539)](e))),this[t(426)][t(536)](i)}}async[_n(424)](){const t=_n;this[t(533)]&&!this[t(502)]&&(await this[t(683)](this[t(426)]),this[t(553)][t(711)](this[t(426)]),this[t(502)]={fromVersion:this[t(426)][t(619)],authors:this[t(426)][t(490)][t(455)]()})}async[_n(522)](e={},i=null){const n=_n,r=[];await this[n(424)](),this[n(533)]=!1,i>this[n(426)][n(478)]&&(i=null),null===i&&(i=await this[n(475)][n(477)]());const s=this[n(500)](i),o=this[n(568)]({from:s,to:i});if(this[n(426)][n(478)]<i){const t=this[n(568)]({revision:this[n(426)],from:i,to:i});t[n(490)]=[],t[n(445)]=[],t.id=this[n(426)].id,this[n(426)][n(536)](t,!0),delete t[n(490)],r[n(449)](t)}e[n(631)]=this[n(425)][n(695)][n(463)](n(687)).me.id,e[n(548)]=e[n(548)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(700)](e);r[n(449)](e);const c=this[n(530)][n(582)](a);if(0!==c){const t=this[n(530)][n(662)](c-1);if(t[n(619)]!==i){const s=this[n(553)][n(578)](i,t[n(478)]),o={id:t.id,diffData:s[n(644)],authorsIds:s[n(445)],authors:s[n(445)][n(495)]((t=>this[n(425)][n(695)][n(463)](n(687))[n(539)](t))),fromVersion:i};t===this[n(426)]&&(o[n(670)]=new Date(e[n(670)][n(513)]()+10)),t[n(536)](o,!0),delete o[n(490)],r[n(449)](o)}}if(this[n(543)]){for(const t of r)this[n(601)](t.id,t,!0);this[n(572)]()}return a}[_n(700)](t){const e=_n,i=this[e(530)][e(616)](t);return this[e(543)]&&i.on(e(536),((t,i,n)=>{const r=e;n||(this[r(601)](i.id,i,!0),this[r(572)]())})),this[e(530)][e(528)](i,this[e(551)](i)),i}async[_n(586)](t){const e=_n;await this[e(683)](t);const i={};for(const n in t[e(644)]){if(t[e(644)][n][e(668)]&&!t[e(644)][n][e(668)][e(511)])continue;const r=this[e(538)](JSON[e(537)](t[e(644)][n][e(486)])),s=this[e(425)][e(492)][e(599)][e(675)],o=new Yi.ViewDocumentFragment(s,r[e(495)]((t=>xn(t,this[e(425)]))));this[e(425)][e(645)][e(637)][e(496)](e(526)),i[n]=this[e(425)][e(645)][e(637)][e(441)](o),this[e(425)][e(645)][e(637)][e(496)](e(532))}return i}async[_n(554)](t){const e=_n;await this[e(683)](t);const i={};for(const n in t[e(644)])t[e(644)][n][e(668)]&&!t[e(644)][n][e(668)][e(511)]||(i[n]=t[e(644)][n][e(702)]||{});return i}[_n(572)](){const t=_n;if(0===this[t(447)][t(550)])return;if(this[t(607)])return;let e=Array[t(676)](this[t(447)][t(590)]());this[t(447)][t(531)]();for(let i=0;i<e[t(504)];i++){const n=e[i];let r=!1;for(const e of Object[t(567)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(515)]((t=>null!==t)),!e[t(504)])return;for(let i=0;i<e[t(504)];i++){const n=e[i];void 0!==n[t(619)]&&void 0===n[t(478)]&&(n[t(478)]=this[t(530)][t(662)](n.id)[t(478)]),void 0!==n[t(478)]&&void 0===n[t(619)]&&(n[t(619)]=this[t(530)][t(662)](n.id)[t(619)])}const i=this[t(425)][t(673)][t(463)](t(617));this[t(607)]=!0,this[t(597)](),this[t(543)][t(439)](e,i)[t(682)]((()=>{this[t(607)]=!1}))[t(493)]((e=>{const i=t;if(e)for(const t of e)this[i(427)]({id:t.id,createdAt:t[i(670)]});this[i(684)](),this[i(572)]()}))}[_n(737)](e,i){const n=_n;let r=this[n(425)][n(673)][n(463)](n(622)),s=this[n(425)][n(673)][n(463)](n(638));if(void 0===r){r={};for(const t of this[n(425)][n(696)][n(675)][n(736)]())r[t]=""}if(n(716)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(425)][n(696)][n(675)][n(736)]())s[t]={}}let o=!1;const a=Object[n(567)](r),c=Object[n(567)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(549)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(567)](s[t])[n(504)]>0){o=!0;break}}o||(o=c[n(576)]((t=>!this[n(425)][n(696)][n(675)][n(429)](t)))),o&&(0,t.logWarning)(n(726),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(425)][n(673)][n(562)](n(622),e),this[n(425)][n(673)][n(562)](n(638),i)}[_n(597)](){const t=_n;if(!this[t(672)]){const e=this[t(425)][t(695)][t(463)](t(615));this[t(672)]=e[t(717)](Xi(this[t(425)][t(659)],t(691)))}}[_n(684)](){const t=_n;this[t(672)]&&(this[t(425)][t(695)][t(463)](t(615))[t(469)](this[t(672)]),this[t(672)]=null)}[_n(551)](t){const e=_n,i=this[e(530)][e(724)]();i[e(471)]();let n=0;for(;n<i[e(504)];){const r=i[n];if(r===this[e(426)]){n++;continue}if(r.id===this[e(654)])break;const s=t[e(478)]-r[e(478)]||t[e(619)]-r[e(619)];if(s>0)break;if(s<0)n++;else{if(!t[e(473)]&&r[e(473)])break;if(r[e(473)]||!t[e(473)]){if(t[e(670)]>r[e(670)])break;n++}else n++}}return n}[_n(427)](t){const e=_n,i=this[e(530)][e(662)](t.id);if(t[e(670)]&&(t[e(670)]=new Date(t[e(670)])),t[e(445)]){const i=this[e(425)][e(695)][e(463)](e(687));t[e(490)]=t[e(445)][e(495)]((t=>i[e(539)](t)))}i[e(536)](t,!0)}[_n(568)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(619)],i=null!==i?i:t[n(478)];const r=this[n(553)][n(578)](e,i),s={diffData:r[n(644)],authorsIds:r[n(445)],fromVersion:e,toVersion:i};if(!t||i!==t[n(478)]){const t=i-1,e=this[n(475)][n(729)][n(660)](t);s[n(670)]=e&&e[n(670)]||new Date}if(this[n(502)]&&e===this[n(502)][n(619)])for(const t of this[n(502)][n(490)])s[n(445)][n(598)](t.id)||s[n(445)][n(449)](t.id);return s}[_n(683)](t){const e=_n;if(!t||t[e(644)])return Promise[e(714)]();{const i=this[e(425)][e(673)][e(463)](e(617));return this[e(543)][e(662)]({channelId:i,revisionId:t.id})[e(493)]((i=>{const n=e;t[n(644)]=i[n(644)]}))}}[_n(601)](t,e,i){const n=_n;if(this[n(447)][n(593)](t)){const r=this[n(447)][n(463)](t);e=i?{...r,...e}:{...e,...r}}this[n(447)][n(562)](t,e)}[_n(500)](t){const e=_n,i=this[e(530)][e(724)]();i[e(471)](),i[e(718)]();const n=i[e(626)]((i=>i[e(478)]<=t))[e(478)];return n<this[e(710)]?this[e(710)]:n}[_n(512)](t){const e=_n,i=this[e(530)][e(662)](this[e(530)][e(504)]-1);if(i)this[e(654)]=i.id;else{const i=!this[e(425)][e(696)][e(675)][e(720)][e(626)]((t=>this[e(425)][e(696)][e(474)](t))),n=this[e(425)][e(695)][e(463)](e(687)).me.id,r=Xi(this[e(425)][e(659)],e(i?739:459));this[e(632)]({from:t,to:t,id:this[e(654)],name:r,creatorId:n})}}[_n(435)](t){const e=_n,i=this[e(475)][e(719)]();this[e(426)]=this[e(530)][e(662)](i),this[e(426)]||(this[e(426)]=this[e(632)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(632)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(568)]({from:e,to:i});o[s(548)]=t,o[s(631)]=n,o.id=r;const a=this[s(700)](o);return this[s(543)]&&this[s(601)](o.id,o,!0),a}[_n(524)](){const t=_n;this[t(425)][t(476)][t(732)](t(609))[t(693)]({model:t(649)})}[_n(538)](t){const e=_n;return(t=t[e(515)]((t=>!t[e(548)]||e(596)!==t[e(548)]&&e(488)!==t[e(548)])))[e(516)]((t=>{const i=e;i(716)!=typeof t&&(t[i(646)]=this[i(538)](t[i(646)]),t[i(510)]=t[i(510)][i(515)]((t=>!t[0][i(466)](i(498)))))})),t}}function xn(t,e){const i=_n,n=e[i(492)][i(599)][i(675)];if(i(716)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(646)][i(495)]((t=>xn(t,e)));return new(Sn[t[i(642)]]||Yi.ViewElement)(n,t[i(548)],t[i(510)],r)}}function Tn(){const t=["_startingVersion","loadState","_calculateMetaData","_makeModelFromViewString","resolve","$graveyard","string","add","shift","getCurrentRevisionId","roots","_prepareViewToSave","isOfficialPlugin","documentFragment","getRevisions","move","editor-initial-data-replaced-with-revision-data","item","_getVidAttributeName","history","revisionHistoryLicenseKeyUsageLimit","_getState","for","getTransformedByOperation","_copyMarkers","_handleRootAttributeOperation","getRootNames","_replaceEditorDataWithRevisionData","initial","Empty document","delete","RevisionHistory","childCount","_baseIdsRoots","_idsRoots","_loadState","editor","currentRevision","setRevisionData","_reset","getRoot","parent","position","expired","stringify","addRoot","_createCurrentRevision","_handleMoveOperation","NEGATIVE_INFINITY","_touchedRoots","updateRevisions","getMovedRangeStart","toData","revisionHistoryLicenseKeyDomainLimit","_handleSplitOperation","affectsData","authorsIds","getAttribute","_bufferedUpdates","nodes","push","_getPreviousFrom","offsetSize","domainLimit","_touchedMarkers","RevisionsRepository","slice","userId","destroy","_createFromRanges","Initial revision","sourcePosition","getAttributes","stickiness","get","source","changeRootAttribute","startsWith","revision:","pluginName","remove","tableCell","reverse","reinsert","creator","hasContent","_source","conversion","getLatestVersion","toVersion","elementEnd","_fixPosition","ready","afterInit","toView","_diffRoots","_saveMetaData","insertions","createPositionAt","revision-end","revisionHistoryLicenseKeyNotAllowed","authors","revisionHistoryLicenseKeyValid","editing","then","licenseKey","map","useFillerType","_isAttached","data-revision-","_revisionId","_getFromVersion","757720nrxiXe","_loadedStateData","deletions","length","_lastFrom","_lastTo","72nZgckZ","createRangeIn","keepParagraph","attributes","isAttached","_createInitialRevision","getTime","insertion","filter","forEach","baseVersion","targetPosition","_baseRoots","RevisionTracker","invalid","saveRevision","key","_setConversion","update","marked","getRange","addRevision","trialLimit","repository","clear","default","_continueCurrentRevision","_applyOperations","fromEntries","_update","parse","_removeRevisionMarkers","getUser","_insertChild","range","_cloneOperation","adapter","getChild","marker","getWalker","isPremiumPlugin","name","trim","size","_findInsertionIndex","_markChanges","_revisionDataBuilder","getRevisionRootsAttributes","offset","_transformMarkers","_makeIdsRoot","nodeAfter","_handleInsertOperation","_licenseKeyCheckInterval","createPositionAfter","set","end","evaluationLimit","2xfXlUx","getChildren","keys","buildRevisionData","_operations","_diffRootsAttributes","toModel","sendBufferedUpdates","reInit","1202972kNARRK","split","some","rootName","getData","elementStart","createRange","_processRootBeforeSave","getIndex","vid_start","_isInit","text","getRevisionDocumentData","createPositionFromPath","setSource","init","values","howMany","_authorId","has","path","735486NgjUYc","revision-start","_addPendingAction","includes","view","featureNotAllowed","_bufferUpdate","version","sort","getOperations","detachRoot","getAncestors","_isPendingUpdate","_handleRootOperation","dataDowncast","isAdd","6yUBcRd","merge","removeRootAttribute","_handleOperation","PendingActions","createRevision","collaboration.channelId","vid_end","fromVersion","bind","_getViewJson","initialData","element","requires","_setAttribute","find","revisionHistory.resumeUnsavedRevision","isReady","start","getNodeByPath","creatorId","_makeRevision","newValue","RealTimeCollaborationClient","newRange","_startingRevisionId","processor","rootsAttributes","$text","clone","_markers","type","_handleMergeOperation","diffData","data","children","revisionHistoryLicenseKeyExpired","revisionHistoryLicenseKeyTrialLimit","revision","markers","usageLimit","oldRange","root","_initialRevisionId","createPositionBefore","_fixRange","splitPosition","vid","locale","getOperation","_generateTape","getRevision","2832632SqZTMX","revisionHistoryLicenseKeyEvaluationLimit","addRootAttribute","previousPosition","attributesBefore","attachChange","max","createdAt","_baseRootsAttributes","_pendingAction","config","isEqual","document","from","_touched","_removeMetaData","_getBaseVids","_showLicenseError","revisionHistoryLicenseKeyInvalid","finally","_loadRevisionData","_removePendingAction","isEnabled","dataToMarker","Users","_fixOperation","insert","173631Mydgzx","PENDING_ACTION_REVISION_HISTORY","paragraph","markerToData","1444765xPVRpi","plugins","model","_savedMetaData","insertionPosition","deletion","addRevisionData","graveyardPosition","attributesAfter","define","_clone","_execute","upcast","_appendChild","_handleMarkerOperation","162575UewjxG"];return(Tn=function(){return t})()}class Nn{constructor(t){const e=_n;this[e(425)]=t,this[e(697)]=new Map,this[e(505)]=-1,this[e(506)]=-1,this[e(641)]=new Map,this[e(484)]=new Map,this[e(570)]=new Map,this[e(519)]=new Map,this[e(671)]=new Map,this[e(744)]=new Map,this[e(743)]=new Map,this[e(677)]=new Map,this[e(453)]=new Map,this[e(438)]=new Map,this[e(499)]=1}[_n(589)](t){const e=_n;this[e(464)]=t;const i=new Map,n=new Map,r=this[e(425)][e(696)][e(675)][e(720)][e(495)]((t=>t[e(577)]));for(const t of r){const r=this[e(425)][e(696)][e(675)][e(429)](t),s=An(r);i[e(562)](t,s),n[e(562)](t,Object[e(535)](r[e(461)]()))}const s=Array[e(676)](this[e(425)][e(696)][e(650)])[e(495)]((t=>[t[e(548)],t[e(527)]()])),o=this[e(464)][e(602)];this[e(485)](o,i,s,n),this[e(636)]=this[e(499)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(562)](t,i),c[e(562)](t,{})}this[e(485)](Number[e(437)],a,[],c)}[_n(578)](t,e){const i=_n;if(this[i(505)]===t&&this[i(506)]<=e)this[i(697)][i(550)]>1&&this[i(678)](this[i(506)]),this[i(534)](this[i(506)],e,!0);else{if(!this[i(697)][i(593)](t)){const e=this[i(450)](t);this[i(712)](e,t,!1)}this[i(712)](t,e,!0)}return this[i(505)]=t,this[i(506)]=e,this[i(731)]()}[_n(711)](t){const e=_n;this[e(428)](),this[e(505)]=t[e(619)],this[e(506)]=t[e(478)];for(const i in t[e(644)]){const n=t[e(644)][i][e(668)],r=vi(t[e(644)][i][e(667)])||{},s=this[e(713)](t[e(644)][i][e(503)]);s[e(577)]=i,s[e(497)]=!n||!n[e(511)],s[e(511)]=()=>s[e(497)],this[e(519)][e(562)](i,s),this[e(671)][e(562)](i,r),n&&this[e(438)][e(562)](i,n);const o=this[e(557)](s);this[e(743)][e(562)](i,o);for(const[t,i]of s[e(650)]){if(!t[e(466)](e(467)))continue;const n=t[e(575)](":")[2];for(const t of i[e(546)]({singleCharacters:!0})){const i=this[e(728)](t),r=e(479)==t[e(642)]?t[e(666)][e(594)][e(455)](0,-1):t[e(666)][e(594)],s=o[e(630)](r)[e(446)](i);this[e(677)][e(562)](s,{userId:n})}}}this[e(636)]=this[e(499)];const i=[...Array(this[e(499)])[e(567)]()][e(455)](1)[e(515)]((t=>!this[e(677)][e(593)](t)));let n=0;const r=new Map;for(const s in t[e(644)]){const o=t[e(644)][s][e(668)],a=vi(t[e(644)][s][e(702)])||{},c=this[e(713)](t[e(644)][s][e(486)]);c[e(577)]=s,c[e(497)]=!o||o[e(511)],c[e(511)]=()=>c[e(497)],this[e(484)][e(562)](s,c),this[e(570)][e(562)](s,a);const u=this[e(557)](c,Number[e(437)]);this[e(744)][e(562)](s,u),r[e(562)](s,c[e(511)]()?a:{});for(const[t,i]of c[e(650)]){if(!t[e(466)](e(467)))continue;const n=t[e(575)](":")[2];for(const t of i[e(546)]({singleCharacters:!0})){const i=this[e(728)](t),r=this[e(499)]++,s=e(479)==t[e(642)]?t[e(666)][e(594)][e(455)](0,-1):t[e(666)][e(594)];u[e(630)](s)[e(625)](i,r),this[e(677)][e(562)](r,{userId:n})}}for(const t of this[e(425)][e(696)][e(508)](c)[e(546)]({singleCharacters:!0})){const r=this[e(728)](t),s=e(479)==t[e(642)]?t[e(666)][e(594)][e(455)](0,-1):t[e(666)][e(594)],o=u[e(630)](s);o[e(446)](r)>0||o[e(625)](r,i[n++])}for(const[t,i]of c[e(650)])t[e(466)](e(467))||this[e(641)][e(562)](t,i)}const s=Rn(e(715));this[e(519)][e(562)](e(715),s),this[e(743)][e(562)](e(715),this[e(557)](s,1));const o=Rn(e(715));this[e(484)][e(562)](e(715),o),this[e(744)][e(562)](e(715),this[e(557)](o,1));const a=Array[e(676)](this[e(484)])[e(495)]((([t,e])=>[t,An(e)]));this[e(485)](this[e(506)],a,this[e(641)],r)}[_n(713)](t){const e=_n,i=JSON[e(537)](t),n=this[e(425)][e(492)][e(599)][e(675)],r=new Yi.ViewDocumentFragment(n,i[e(495)]((t=>xn(t,this[e(425)]))));return this[e(425)][e(645)][e(571)](r)}[_n(485)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(562)](t,{start:e[r(629)][r(640)](),end:e[r(563)][r(640)](),rootName:e[r(653)][r(577)]});this[r(697)][r(562)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(678)](t){const e=_n;this[e(697)][e(740)](t)}[_n(573)](){const t=_n;this[t(428)](),this[t(505)]=-1,this[t(506)]=-1,this[t(697)][t(531)](),this[t(589)](this[t(464)])}[_n(428)](){const t=_n;this[t(677)][t(531)](),this[t(453)][t(531)](),this[t(438)][t(531)](),this[t(484)][t(531)](),this[t(570)][t(531)](),this[t(519)][t(531)](),this[t(671)][t(531)](),this[t(744)][t(531)](),this[t(743)][t(531)](),this[t(641)][t(531)](),this[t(499)]=1,this[t(636)]=this[t(499)]}[_n(557)](t,e=null){const i=_n;let n=null;t.is(i(723))||(n=new Yi.Element(t[i(548)],{vid_start:null===e?this[i(499)]++:e++}));const r=[];for(const n of t[i(566)]())if(n.is(i(623))){r[i(449)](this[i(557)](n,e));const t=r[r[i(504)]-1];null!==e&&(e=t.is(i(623),i(639))?t[i(446)](i(658))+1:t[i(446)](i(618))+1)}else for(let t=0;t<n[i(451)];t++)r[i(449)](new Yi.Element(i(639),{vid:null===e?this[i(499)]++:e++}));if(t.is(i(723))){const e=Rn(t[i(577)]);return e[i(540)](0,r),e}return n[i(625)](i(618),null===e?this[i(499)]++:e++),n[i(540)](0,r),n}[_n(712)](t,e,i){const n=_n;this[n(428)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(697)][n(463)](t);this[n(519)]=new Map(r),this[n(671)]=new Map(vi(o));for(const[t,e]of this[n(519)])if(n(715)!==t&&(this[n(484)][n(562)](t,An(e)),this[n(570)]=new Map(vi(o)),i)){const i=this[n(499)];this[n(744)][n(562)](t,this[n(557)](e)),this[n(743)][n(562)](t,this[n(557)](e,i))}this[n(636)]=this[n(499)],this[n(484)][n(562)](n(715),An(this[n(519)][n(463)](n(715)))),i&&this[n(744)][n(562)](n(715),this[n(557)](this[n(519)][n(463)](n(715))));for(const[t,e]of s){const i=this[n(519)][n(463)](e[n(577)]),r=this[n(484)][n(463)](e[n(577)]),s=new Yi.Range(this[n(480)](e[n(629)],i),this[n(480)](e[n(563)],i)),o=this[n(656)](s,r);i[n(650)][n(562)](t,s),this[n(641)][n(562)](t,o)}this[n(534)](t,e,i)}[_n(534)](t,e,i){const n=_n;for(const r of this[n(464)][n(604)](t,e))this[n(614)](r,i);for(const t of this[n(484)][n(590)]())t[n(650)][n(531)]();for(const[t,e]of this[n(641)])this[n(484)][n(463)](e[n(653)][n(577)])[n(650)][n(562)](t,e[n(640)]());const r=new Map,s=new Map;for(const[t,e]of this[n(484)])r[n(562)](t,An(e)),s[n(562)](t,this[n(570)][n(463)](t));this[n(485)](e,r,this[n(641)],s)}[_n(450)](t){const e=_n,i=Array[e(676)](this[e(697)][e(567)]());i[e(603)](((t,e)=>t-e)),i[e(471)]();for(const e of i)if(e<t)return e;return Number[e(437)]}[_n(734)](t,e){const i=_n,n=Array[i(676)](e[i(650)])[i(495)]((([e,n])=>[e,this[i(656)](n,t)]));t[i(650)]=new Map(n)}[_n(556)](t){const e=_n;for(const i of this[e(641)][e(590)]()){const n=i[e(733)](t),r=Yi.Range[e(458)](n);i[e(629)]=r[e(629)],i[e(563)]=r[e(563)]}}[_n(614)](t,e){const i=_n;if(i(434)!=t[i(642)]&&i(605)!=t[i(642)]){if(i(689)==t[i(642)]){const n=t[i(431)][i(653)][i(577)];this[i(484)][i(593)](n)||(this[i(484)][i(562)](n,Rn(n,!0)),this[i(570)][i(562)](n,{}),e&&this[i(744)][i(562)](n,Rn(n,!0)))}else{if(i(665)==t[i(642)]||i(613)==t[i(642)]||i(465)==t[i(642)])return void this[i(735)](t);i(545)==t[i(642)]&&this[i(708)](t)}if(i(545)!==t[i(642)]){const e=this[i(542)](t,this[i(484)]);e[i(705)](),this[i(556)](e)}if(e)switch(t[i(642)]){case i(689):this[i(559)](t);break;case i(725):case i(469):case i(472):this[i(436)](t);break;case i(612):this[i(643)](t);break;case i(575):this[i(443)](t)}}else this[i(608)](t,e)}[_n(542)](t,e){const i=_n,n=t[i(640)]();return n[i(592)]=t[i(592)],this[i(688)](n,e),n}[_n(679)](t){const e=_n;return t[e(495)]((t=>{const i=e,n=this[i(728)](t);return Number(t[i(727)][i(446)](n))}))}[_n(661)](t,e){const i=_n;if(t.is(i(623),i(639)))e[i(449)]({item:t,type:i(585)});else{t.is(i(623))&&e[i(449)]({item:t,type:i(579)});for(const n of t[i(566)]())this[i(661)](n,e);t.is(i(623))&&e[i(449)]({item:t,type:i(479)})}return e}[_n(731)](){const t=_n,e=new Map(this[t(677)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(519)][t(567)](),...this[t(484)][t(567)]()]);a[t(740)](t(715));for(const e of a){const i=this[t(484)][t(463)](e)||Rn(e,!1),n=this[t(519)][t(463)](e)||Rn(e,!1);i[t(511)]()||n[t(511)]()?(r[t(486)][e]=An(i),r[t(503)][e]=An(n),this[t(734)](r[t(503)][e],n),this[t(734)](r[t(486)][e],i),s[t(486)][e]=this[t(661)](this[t(744)][t(463)](e),[]),s[t(503)][e]=this[t(661)](this[t(743)][t(463)](e)||Rn(e,!1),[])):a[t(740)](e)}for(const r of a){const o=s[t(486)][r];for(const r of o){const s=this[t(728)](r),o=r[t(727)][t(446)](s);i[t(740)](o),o>=this[t(636)]&&n[t(562)](o,e[t(463)](o))}}for(const r of a){const a=s[t(486)][r],c=this[t(679)](s[t(503)][r]);let u=0;for(const r of a){const s=this[t(728)](r),a=r[t(727)][t(446)](s);if(!n[t(593)](a)&&!o[t(593)](a))if(i[t(593)](a))u++;else{if(a!=c[u]){const n=e[t(463)](a)||e[t(463)](c[u]);for(;a!=c[u];)i[t(593)](c[u])||(o[t(562)](c[u],n),e[t(562)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(486)][e];for(const e of r){const r=this[t(728)](e),s=e[t(727)][t(446)](r);if(o[t(593)](s)){const e=o[t(463)](s);i[t(593)](s)||i[t(562)](s,{...e}),n[t(562)](s,{...e})}}}for(const e of i[t(567)]())e>=this[t(636)]&&i[t(740)](e);const c=new Map;for(const e of a){let r=s[t(486)][e];for(const e of r)if(e[t(727)].is(t(623),t(470))){const i=this[t(728)](e),r=e[t(727)][t(446)](i);if(n[t(593)](r)){const i=e[t(727)][t(430)][t(430)][t(446)](t(583)),s=c[t(463)](i)||new Set;s[t(717)](n[t(463)](r)[t(456)]),c[t(562)](i,s)}}r=s[t(503)][e];for(const e of r)if(e[t(727)].is(t(623),t(470))){const n=this[t(728)](e),r=e[t(727)][t(446)](n);if(i[t(593)](r)){const n=e[t(727)][t(430)][t(430)][t(446)](t(583)),s=c[t(463)](n)||new Set;s[t(717)](i[t(463)](r)[t(456)]),c[t(562)](n,s)}}for(const e of c[t(567)]())(n[t(593)](e)||i[t(593)](e))&&c[t(740)](e)}for(const e of a){const r=s[t(486)][e];let o=null,a=null;for(const e of r){const r=this[t(728)](e),s=e[t(727)][t(446)](r),u=c[t(463)](s);u&&t(579)==e[t(642)]&&(o=Array[t(676)](u)[0],a=e[t(727)][t(446)](t(618))),o&&(i[t(562)](s,{userId:o}),n[t(562)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(503)][e],a=r[t(486)][e];for(const{userId:e}of this[t(453)][t(590)]())null!==e&&l[t(717)](e);for(const{userId:e}of this[t(438)][t(590)]())null!==e&&l[t(717)](e);this[t(552)](a,s[t(486)][e],n,t(514),l),this[t(552)](o,s[t(503)][e],i,t(699),l),u[e]={insertions:this[t(721)](a),deletions:this[t(721)](o),attachChange:this[t(438)][t(463)](e)||null,attributesBefore:vi(this[t(671)][t(463)](e))||{},attributesAfter:vi(this[t(570)][t(463)](e))}}return{diffData:u,authorsIds:Array[t(676)](l)}}[_n(581)](t){const e=_n;for(const[,i]of t[e(650)]){const t=i[e(629)][e(606)]()[e(515)]((t=>e(470)==t[e(548)]));for(const i of t)1==i[e(742)]&&i[e(544)](0).is(e(623),e(692))&&i[e(544)](0)[e(625)](e(509),!0)}}[_n(721)](t){const e=_n;this[e(581)](t);const i=this[e(425)][e(645)][e(483)](t,{}),n=Array[e(676)](i[e(566)]())[e(495)]((t=>this[e(621)](t)));return JSON[e(433)](n)}[_n(621)](t){const e=_n;if(t.is(e(639)))return t[e(645)];{const i=t;return{type:Object[e(567)](Sn)[e(626)]((e=>t instanceof Sn[e])),name:i[e(548)],attributes:Array[e(676)](i[e(461)]()),children:Array[e(676)](i[e(566)]())[e(495)]((t=>this[e(621)](t)))}}}[_n(552)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(425)][s(696)];for(let n=0;n<e[s(504)];n++){const r=this[s(728)](e[n]),c=e[n][s(727)][s(446)](r),h=i[s(463)](c),d=n==e[s(504)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(456)]!=o[s(456)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(456)],d=l(467)+n+":"+h+":"+c++,f=u[l(580)](i,a);t[l(650)][l(562)](d,f),null!==h&&r[l(717)](h)}}[_n(728)](t){const e=_n;switch(t[e(642)]){case e(579):return e(583);case e(479):return e(618);default:return e(658)}}[_n(688)](t,e){const i=_n;t[i(517)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(463)](r[i(653)][i(577)]);t[n]=this[i(480)](r,s)}if(r instanceof Yi.Range){const s=e[i(463)](r[i(653)][i(577)]);t[n]=this[i(656)](r,s)}i(653)===n&&(t[i(653)]=e[i(463)](t[i(653)][i(577)]))}}[_n(656)](t,e){const i=_n;return this[i(425)][i(696)][i(580)](this[i(480)](t[i(629)],e),this[i(480)](t[i(563)],e))}[_n(480)](t,e){const i=_n;return this[i(425)][i(696)][i(587)](e,t[i(594)],t[i(462)])}[_n(559)](t){const e=_n,i=this[e(744)][e(463)](t[e(431)][e(653)][e(577)]),n=this[e(480)](t[e(431)],i),r=null===t[e(592)]?null:t[e(592)]||this[e(425)][e(695)][e(463)](e(687)).me.id,s=n[e(430)],o=this[e(499)],a=[];for(const i of t[e(448)])if(i.is(e(623)))a[e(449)](this[e(557)](i));else for(let t=0;t<i[e(451)];t++)a[e(449)](new Yi.Element(e(639),{vid:this[e(499)]++}));const c=this[e(499)];for(let t=o;t<c;t++)this[e(677)][e(562)](t,{userId:r});s[e(540)](n[e(555)],a)}[_n(436)](t){const e=_n;(t=this[e(542)](t,this[e(744)]))[e(705)]();const i=null===t[e(592)]?null:t[e(592)]||this[e(425)][e(695)][e(463)](e(687)).me.id,n=t[e(440)](),r=n[e(430)],s=n[e(555)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(544)](e);s.is(a(623),a(639))?n[a(562)](s[a(446)](a(658)),{userId:i}):(n[a(562)](s[a(446)](a(583)),{userId:i}),t(n,s,0,s[a(742)]),n[a(562)](s[a(446)](a(618)),{userId:i}))}}(this[e(677)],r,s,s+t[e(591)])}[_n(643)](t){const e=_n,i=null===(t=this[e(542)](t,this[e(744)]))[e(592)]?null:t[e(592)]||this[e(425)][e(695)][e(463)](e(687)).me.id,n=t[e(518)][e(430)],r=t[e(460)][e(430)],s=n[e(446)](e(618)),o=r[e(446)](e(583));n[e(625)](e(618),r[e(446)](e(618))),r[e(625)](e(618),s),this[e(677)][e(562)](o,{userId:i}),this[e(677)][e(562)](s,{userId:i}),t[e(705)]()}[_n(443)](t){const e=_n,i=null===(t=this[e(542)](t,this[e(744)]))[e(592)]?null:t[e(592)]||this[e(425)][e(695)][e(463)](e(687)).me.id,n=t[e(701)],r=t[e(657)][e(430)];t[e(705)]();const s=r[e(446)](e(618)),o=t[e(698)][e(558)];if(n){const t=o[e(446)](e(618)),n=r[e(446)](e(618));r[e(625)](e(618),t),o[e(625)](e(618),n),this[e(677)][e(562)](r[e(446)](e(618)),{userId:i}),this[e(677)][e(562)](o[e(446)](e(583)),{userId:i})}else{const t=this[e(499)]++,n=this[e(499)]++;r[e(625)](e(618),t),o[e(625)](e(583),n),o[e(625)](e(618),s),this[e(677)][e(562)](t,{userId:i}),this[e(677)][e(562)](n,{userId:i})}}[_n(708)](t){const e=_n;if(!t[e(444)])return;const i=(t=this[e(542)](t,this[e(484)]))[e(652)]?t[e(652)][e(653)]:null,n=t[e(635)]?t[e(635)][e(653)]:null;i&&this[e(641)][e(740)](t[e(548)]),n&&this[e(641)][e(562)](t[e(548)],t[e(635)][e(640)]());const r=null===t[e(592)]?null:t[e(592)]||this[e(425)][e(695)][e(463)](e(687)).me.id,s=t[e(548)];if(!this[e(453)][e(593)](s))return void this[e(453)][e(562)](s,{range:t[e(652)],userId:r});const o=this[e(453)][e(463)](s),a=o[e(541)],c=t[e(635)];null==a&&null==c||a&&c&&a[e(674)](c)?this[e(453)][e(740)](t[e(548)]):o[e(456)]=r}[_n(608)](t,e){const i=_n;this[i(484)][i(593)](t[i(577)])?this[i(484)][i(463)](t[i(577)])[i(497)]=t[i(610)]:(this[i(484)][i(562)](t[i(577)],Rn(t[i(577)],!0)),this[i(570)][i(562)](t[i(577)],{}),e&&this[i(744)][i(562)](t[i(577)],Rn(t[i(577)],!0)));const n=null===t[i(592)]?null:t[i(592)]||this[i(425)][i(695)][i(463)](i(687)).me.id,r=this[i(438)][i(463)](t[i(577)]);r&&r[i(456)]===n?this[i(438)][i(740)](t[i(577)]):this[i(438)][i(562)](t[i(577)],{userId:n,isAttached:t[i(610)]})}[_n(735)](t){const e=_n,i=this[e(570)][e(463)](t[e(653)][e(577)]);null===t[e(633)]?delete i[t[e(523)]]:i[t[e(523)]]=t[e(633)]}}function An(t){const e=_n,i=Rn(t[e(577)],t[e(511)]());for(const n of t[e(566)]()){const t=n[e(704)](!0);i[e(707)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(577)]=t,n[i(497)]=e,n[i(511)]=()=>n[i(497)],n}function Mn(t,e,i){const n=_n,r=n(479)==t[n(642)]?i[n(487)](t[n(727)],n(563)):i[n(655)](t[n(727)]);return i[n(587)](e,r[n(594)],r[n(462)])}function En(t,e,i){const n=_n,r=n(579)==t[n(642)]?i[n(487)](t[n(727)],0):i[n(561)](t[n(727)]);return i[n(587)](e,r[n(594)],r[n(462)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Zn=i(357),Un=i.n(Zn),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Un();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Un();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["Name of the revision","266483iiKZTT","3207mICssr","104inoyDj","stopPropagation","arrowup","7323102VXJrZG","revisionName","locale","ck-responsive-form","label","4hjEKmJ","ck-revision-history-save-revision-form","setTemplate","value","_createRevisionNameInput","arrowright","136414QSdlch","344dfvBqY","add","form","220","set","revisionNameInputView","revisionNameInputValue","errorText","focusTracker","trim","element","keystrokes","42746OLHMqX","arrowdown","optional","render","3350CqCnkf","4146900ryrsqE","input","fieldView","extendTemplate","arrowleft","2502672pQfrve","focus","listenTo","reset"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=333]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(444357===-parseInt(e(334))/1*(-parseInt(e(372))/2)+-parseInt(e(363))/3*(parseInt(e(335))/4)+parseInt(e(352))/5+parseInt(e(357))/6+-parseInt(e(362))/7*(parseInt(e(364))/8)+parseInt(e(367))/9+parseInt(e(351))/10*(-parseInt(e(347))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends Vn.View{constructor(e,i){const n=Gn;super(e),this[n(343)]=new t.FocusTracker,this[n(346)]=new t.KeystrokeHandler,this[n(339)](n(341),""),this[n(340)]=this[n(376)](i),this[n(374)]({tag:n(337),attributes:{class:["ck",n(373),n(370)],tabindex:"-1"},children:[this[n(340)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(350)](){const t=Yn;super[t(350)](),(0,Vn.submitHandler)({view:this}),this[t(343)][t(336)](this[t(340)][t(345)]),this[t(346)][t(359)](this[t(345)]);const e=e=>e[t(365)]();this[t(346)][t(339)](t(333),e),this[t(346)][t(339)](t(356),e),this[t(346)][t(339)](t(366),e),this[t(346)][t(339)](t(348),e)}[Yn(358)](){const t=Yn;this[t(340)][t(358)]()}get[Yn(368)](){const t=Yn;return this[t(340)][t(354)][t(345)][t(375)][t(344)]()}set[Yn(368)](t){const e=Yn;this[e(340)][e(354)][e(345)][e(375)]=t[e(344)]()}[Yn(360)](){const t=Yn;this[t(340)][t(354)][t(345)][t(375)]="",this[t(340)][t(342)]=null}[Yn(376)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(369)],Vn.createLabeledInputText),n=i[e(354)];n[e(355)]({attributes:{maxlength:e(338)}});let r=Xi(this[e(369)],e(361));return!t&&(r+=" ("+Xi(this[e(369)],e(349))+")"),i[e(371)]=r,n.on(e(353),(()=>{const t=e;this[t(341)]=n[t(345)][t(375)][t(344)]()})),i}}const Qn=Xn;function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=271]})(t,e)}function tr(){const t=["2OMtnye","ck-button-action","requires","_saveRevisionFormView","config","revisionNameInputView","plugins","isOfficialPlugin","init","get","isReadOnly","role","The revision name cannot be empty.","27138WOdpTk","130513Lmkneu","componentFactory","execute","RevisionTracker","pluginName","Open revision history","delegate","editor","add","children","387561XYTcih","show","addMany","items","panelView","Revision history","submit","menuitem","reset","locale","revisionHistory","4OLPWZZ","259vvXTBV","revisionSave","render","focus","Dialog","10dOSrxm","bind","1594664KGjFnF","isOpen","2115366LohJIN","set","editing","Save current revision","37908AZrqwk","history","_createSaveRevisionFormView","isEnabled","menu","isReady","1024995rNBHeZ","saveRevision","Accept","menuBar:revisionHistory","revisionHistory.requireRevisionName","_showDialog","buttonView","hide","isPremiumPlugin","_registerMenuComponent","revisionName","Cancel","view","showRevisionViewerCallback","errorText","RevisionHistoryUI"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(115465===-parseInt(e(275))/1*(parseInt(e(332))/2)+-parseInt(e(285))/3+-parseInt(e(296))/4*(-parseInt(e(316))/5)+parseInt(e(274))/6*(parseInt(e(297))/7)+parseInt(e(304))/8+-parseInt(e(310))/9+parseInt(e(302))/10*(-parseInt(e(306))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(279)](){return Qn(331)}static get[Qn(339)](){return!0}static get[Qn(324)](){return!0}static get[Qn(334)](){return[On]}[Qn(340)](){const t=Qn,e=this[t(282)],i=e[t(338)][t(341)](t(278));e.ui[t(276)][t(283)](t(295),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(289)][r(284)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(303)](r(313)).to(i,r(315),i,r(313),e,r(271),((t,e,i)=>t&&e&&!i)),s[r(322)][r(307)]({icon:qi.icons[r(311)],label:Xi(n,r(290)),tooltip:!0}),u[r(307)]({label:Xi(n,r(309)),withText:!0,role:r(292)}),u[r(303)](r(313)).to(i,r(315),i,r(313),e,r(271),((t,e,i)=>t&&e&&!i)),u.on(r(277),(()=>this[r(321)]())),h[r(307)]({label:Xi(n,r(280)),withText:!0,role:r(292)}),h[r(303)](r(313)).to(i,r(315),e,r(271),((t,e)=>t&&!e)),h.on(r(277),(()=>{const t=r;e[t(336)][t(341)](t(295))[t(329)](),s[t(305)]=!1,e[t(308)][t(328)][t(300)]()})),c[r(284)][r(283)](u),l[r(284)][r(283)](h),a[r(272)]=r(314),a[r(288)][r(287)]([c,l]),o[r(283)](a),s})),e.ui[t(276)][t(283)](t(319),(()=>this[t(325)]()))}[Qn(325)](){const t=Qn,e=this[t(282)],i=e[t(294)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(322)][t(307)]({icon:qi.icons[t(311)],label:Xi(i,t(290))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(307)]({label:Xi(i,t(309))}),o[t(281)](t(277)).to(n),o.on(t(277),(()=>{this[t(321)]()})),s[t(284)][t(283)](o),r[t(288)][t(283)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(307)]({label:Xi(i,t(280))}),c[t(281)](t(277)).to(n),c.on(t(277),(()=>{const i=t;e[i(336)][i(341)](i(295))[i(329)]()})),a[t(284)][t(283)](c),r[t(288)][t(283)](a),n[t(289)][t(284)][t(283)](r),n}[Qn(321)](){const t=Qn,e=this[t(282)],i=e[t(294)],n=e[t(338)][t(341)](t(301)),r=e[t(338)][t(341)](t(278));function s(r){const s=t;e[s(336)][s(341)](s(320))&&""===r[s(326)]?r[s(337)][s(330)]=Xi(i,s(273)):(e[s(338)][s(341)](On)[s(317)]({name:r[s(326)]}),n[s(323)]())}this[t(335)]||(this[t(312)](),this[t(335)].on(t(291),(()=>s(this[t(335)])))),this[t(335)][t(293)](),n[t(286)]({id:t(298),title:Xi(i,t(309)),isModal:!0,content:this[t(335)],actionButtons:[{label:Xi(e[t(294)],t(327)),withText:!0,onExecute:()=>n[t(323)]()},{label:Xi(e[t(294)],t(318)),class:t(333),withText:!0,onCreate(i){const n=t;i[n(303)](n(313)).to(r,n(315),r,n(313),e,n(271),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(335)])}]})}[Qn(312)](){const t=Qn,e=this[t(282)],i=e[t(294)];this[t(335)]=new Kn(i,e[t(336)][t(341)](t(320))),this[t(335)][t(299)]()}}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=129]})(t,e)}const nr=ir;function rr(){const t=["focus","span","set","12eQeQTg","bindTemplate","1396280CbVWTH","ck-revision-change","250145Osugzg","11773530JvLQZS","data","787689YNdfIP","setTemplate","Added by","changeId","ck-revision-change__label","ck-annotation","isSuggestion","42nRboxs","_model","name","Suggested by","type","ck-revision-change__","305792FCouBS","div","author","Removed by","add","425713TEUQxu","136864xaJNQq","element"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(220038===-parseInt(e(130))/1+-parseInt(e(131))/2+parseInt(e(136))/3*(-parseInt(e(156))/4)+parseInt(e(140))/5*(-parseInt(e(150))/6)+-parseInt(e(143))/7+parseInt(e(138))/8+parseInt(e(141))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Vn.View{constructor(t,e){const i=ir;super(t),this[i(151)]=e,this[i(146)]=e.id;const n=this[i(137)],r=Xi(t,e[i(142)][i(149)]?i(153):i(129)==e[i(154)]?i(145):i(159));this[i(135)](i(154),e[i(154)]),this[i(144)]({tag:i(157),attributes:{class:[i(148),i(139),n.to(i(154),(t=>i(155)+t))],tabindex:-1},children:[{tag:i(134),children:[{tag:i(134),attributes:{class:[i(147)]},children:[{text:r}]},{text:" "+e[i(158)][i(152)]}]}]})}[nr(133)](){const t=nr;this[t(132)][t(133)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=448]})(t,e)}function cr(){var t=["28AiDTyM","147993MqxTKw","createdAt","toJSON","2079126giQuOA","99phAEwL","data","2939488ZinylY","rootName","21fJCTKw","727422DeJwld","set","author","412310BbCVxg","2QDusXj","62420pFgTbF","type","4007988oIOEfI"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(347739===parseInt(e(448))/1+parseInt(e(461))/2*(-parseInt(e(451))/3)+-parseInt(e(465))/4*(-parseInt(e(462))/5)+parseInt(e(457))/6*(parseInt(e(456))/7)+parseInt(e(454))/8+parseInt(e(464))/9+parseInt(e(460))/10*(-parseInt(e(452))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(459)]=e[i(459)],this[i(463)]=e[i(463)],this[i(453)]=e[i(453)]||{},this[i(455)]=e[i(455)],this[i(458)](i(449),e[i(449)])}[or(450)](){var t=or;return{id:this.id,authorId:this[t(459)].id,type:this[t(463)],data:this[t(453)],createdAt:this[t(449)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=105]})(t,e)}function dr(){const t=["1341dealRz","74510wqXZcw","519lunHdV","newRevisionId","5MrGHBC","add","4098204wLkMOq","oldRevisionId","_setChanges","1568004oZgtKO","1152145RLeiRI","7639842BvOCKe","6878KJqFeh","changes","10714312WecFDq"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(769917===parseInt(e(108))/1+-parseInt(e(110))/2*(parseInt(e(115))/3)+parseInt(e(107))/4+-parseInt(e(117))/5*(-parseInt(e(119))/6)+-parseInt(e(109))/7+parseInt(e(112))/8+-parseInt(e(113))/9*(parseInt(e(114))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(116)]=e,this[n(105)]=i,this[n(111)]=new t.Collection}[lr(106)](t){const e=lr;for(const i of t)this[e(111)][e(118)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Un();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=459]})(t,e)}function gr(){const t=["init","isLimit","createUIElement","getRevision","find","add","_changeView","attributesAfter","isAfter","code","consume","default","conversion","ck-editor__editable__overlay","toData","newRevisionId","_markMarkers","remove","change:activeView","createRevision","observeMarkers","markerToHighlight","editor","pop","pairId","_makeTape","error","maxOffset","ck-suggestion-marker-","getRevisionRootsAttributes","toViewElement","type","isReady","attachChange","values","markersEnd","_makeModelFromViewString","deletion","_threeWayMerge","_update","right","concat","execute","markerNameToElements","text","_markInsertions","isAttached","isRemoved","changes","unshift","RevisionsRepository","unbindElementFromMarkerName","adapter","length","all","schema","roots","top","hasClass","revisionHistoryAttachChange","_setConversion","enqueueChange","isOfficialPlugin","_markMismatchedRemovedTags","clear","ck-suggestion-marker-merge","setAttribute","forward","POSITIVE_INFINITY","startIndex","compare","config","isIncorrect","element","3yDHrit","uiElement","showNextChange","end","_setChanges","4Ijvrwa","loadRevisionData","deletions","attributes","getChild","set","authors","isPremiumPlugin","selection","addRoot","675319sSVCoO","_getViewObj","view","offsetSize","element:pre","locale","level","change:activeChange","collaboration.channelId","WidgetToolbarRepository","_changeIdToChange","addMarker:revision","_getViewForChange","ck-suggestion-preview-marker","return","item","_initInteractions","has","insert","isEnabled","createPositionFromPath","target","removeMarker","isOnRoot","ck-revision-history-root-remove","stop","mouseover","commands","currentChangeNumber","getAttributes","processor","ck-revision-history-root-add","numberOfChanges","consumable","startsWith","downcastDispatcher","revision-comment:","mapper","domConverter","_findChangeIdFromDomTarget","3482960AIpZYd","_removeRevisionMarkers","ck-revision-history-root--active","_activeViewTarget","45490POGcxl","isSuggestion","editingDowncast","mousedown","markerToData","oldRevisionId","vid_end","comment","removeMarker:revision","ck-suggestion-marker--active","writer","ck-suggestion-marker-split","data","low","shift","name","_cleanUp","useFillerType","checkAttribute","requires","toViewPosition","softBreak","mapViewToDom","hasAttribute","_sortAndFilterDiffChanges","children","attributesBefore","document","reconvertMarker","affectsData","isCollapsed","done","addHighlight","destroy","side","model","for","getRevisionData","revisionHistoryLabel","enableReadOnlyMode","isContent","userId","range","restoreRevisionCallback","diff","markersStart","isAtStart","nodeAfter","elementStart","markers","forceDisabled","change:isReady","resolve","distance","addRevisionData","includes","_cleanMarkers","_refreshStartEndIndex","revision-suggestion:","then","getLaterVisibleRevision","ck-suggestion-preview-marker-","createRangeIn","change:isEnabled","isBlock","dataToMarker","isObject","slice","bind","wrap","getRootNames","ck-suggestion-marker","showStack","keys","dataDowncast","index","first","toModel","50snKfod","getClientRects","activeChange","getIndex","ck-revision-history-root-","addMarker:revision-suggestion:insertion","_getChangeFromId","merge","nextPosition","activeView","getAttribute","editing","revision:","revision-viewer","abs","2372953jWUhug","isAtEnd","high","data-revision-","pluginName","addRevision","markerName","isRemoveSuggestion","RevisionViewer","filter","test","change:numberOfChanges","revision-suggestion","markerRange","modelRange","_appendChild","attribute:vid","vid_start","nextSibling","marked","_setDistance","updatePosition","start","get","refresh","delete","showPreviousChange","endIndex","backward","parent","addClass","left","elementEnd","data-change-id","_processTape","getItems","forEach","suggestion","isInline","createPositionBefore","_balloon","vid","insertion","isNavigationMode","restoreRevision","revision-start","flat","highest","revision","toViewRange","_revisions","218798pHhZRB","addMarker:revision-suggestion:deletion","_markSuggestions","getRoot","changeId","next","domEvent","isBefore","_joinTapes","sort","_removeUnsupportedChanges","_fixObsoleteTags","revisionHistory","9FtBObt","diffData","-new","from","rootName","detachRoot","elementToAttribute","splice","object","createRange","push","upcast","_getRevisionsRange","removeClass","isAddSuggestion","map","removeMarker:revision-suggestion","indexOf","getWalker","_step","isEqual","findIndex","split","catch","previousPosition","viewItem","_makeModelFromTape","revision-end","plugins","string","getDomRoot","listenTo","repository","isAdded","change","_getDiff","_removeMissingPairs","removeAttribute","bottom","getCustomProperty","bindElementToMarker","createAttributeElement","span","4434534EikwZN","3160437UaKDcf","parse","suggestion:","_data","insertions"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(452215===parseInt(e(797))/1+-parseInt(e(646))/2*(-parseInt(e(782))/3)+-parseInt(e(787))/4*(parseInt(e(502))/5)+parseInt(e(702))/6+parseInt(e(703))/7+-parseInt(e(498))/8*(parseInt(e(659))/9)+parseInt(e(580))/10*(-parseInt(e(595))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(599)](){return vr(603)}static get[vr(770)](){return!0}static get[vr(794)](){return!0}static get[vr(521)](){return[Bi.Users,Vn.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(691)]=this[e(730)][e(687)][e(618)](e(758)),this[e(792)](e(582),null),this[e(792)](e(589),null),this[e(501)]=null,this[e(792)](e(546),null),this[e(792)](e(740),!1),this[e(792)](e(477),!0),this.on(e(565),((t,i,n)=>{const r=e;this[r(582)]=null,this[r(589)]=null,this[r(730)][r(591)][r(460)][r(693)]((t=>{const e=r;for(const i of this[e(730)][e(591)][e(460)][e(529)][e(764)])n?t[e(672)](e(721),i):t[e(625)](e(721),i)}))})),this[e(570)](e(638)).to(this,e(582),(t=>null!==t)),this[e(570)](e(486)).to(this,e(740),this,e(546),this,e(582),((t,i,n)=>t&&n?i[e(756)][e(583)](n):0)),this[e(570)](e(490)).to(this,e(740),this,e(546),((t,i)=>t?i[e(756)][e(761)]:0)),this[e(714)]=null,this[e(468)]=new Map,this[e(760)]=null,this[e(635)]=this[e(730)][e(687)][e(618)](Vn.ContextualBalloon)}[vr(708)](){const t=vr,e=this[t(730)],i=new Ir(e,{direction:t(623)}),n=new Ir(e,{direction:t(775)});e[t(485)][t(713)](t(621),i),e[t(485)][t(713)](t(784),n),e[t(485)][t(713)](t(639),new _r(e)),this.on(t(606),(()=>{const e=t;i[e(619)](),n[e(619)]()})),this[t(768)](),this[t(474)](),e[t(541)](t(593)),e[t(687)][t(475)](t(467))&&e[t(687)][t(618)](t(467))[t(552)](t(593))}async[vr(539)](t){const e=vr;await this[e(788)](t);const i={};for(const n in t[e(660)]){if(t[e(660)][n][e(741)]&&!t[e(660)][n][e(741)][e(754)])continue;const r=this[e(499)](JSON[e(704)](t[e(660)][n][e(707)])),s=this[e(730)][e(591)][e(460)][e(529)],o=new Yi.ViewDocumentFragment(s,r[e(674)]((t=>this[e(459)](t))));this[e(730)][e(514)][e(488)][e(519)](e(614)),i[n]=this[e(730)][e(514)][e(488)][e(722)](o),this[e(730)][e(514)][e(488)][e(519)](e(719))}return i}async[vr(737)](t){const e=vr;await this[e(788)](t);const i={};for(const n in t[e(660)])t[e(660)][n][e(741)]&&!t[e(660)][n][e(741)][e(754)]||(i[n]=t[e(660)][n][e(715)]||{});return i}[vr(499)](t){const e=vr;return(t=t[e(604)]((t=>!t[e(517)]||e(640)!==t[e(517)]&&e(686)!==t[e(517)])))[e(631)]((t=>{const i=e;i(688)!=typeof t&&(t[i(527)]=this[i(499)](t[i(527)]),t[i(790)]=t[i(790)][i(604)]((t=>!t[0][i(492)](i(598)))))})),t}async[vr(778)](t,e,i=!1){const n=vr;if(!this[n(477)])return;const r=this[n(546)],s=this[n(691)],o=n(688)==typeof t?s[n(711)](t):t,a=n(688)==typeof e?s[n(711)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(546)]&&this[n(546)][n(723)]===c&&this[n(546)][n(507)]===u)return Promise[n(554)]();this[n(740)]=!1,this[n(589)]=null,this[n(582)]=null,this[n(546)]=new fr(c,u);const l=this[n(671)](o,a,!0)[n(674)]((t=>this[n(788)](t)));return l[n(669)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(762)](l)[n(561)]((()=>{const t=n;if(!this[t(477)])return;this[t(518)]();const e=this[t(694)](c,u);for(const i of e[t(756)])this[t(468)][t(792)](i.id,i);this[t(730)][t(537)][t(769)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(730)][n(537)][n(529)][n(572)]())i[n(664)](t);for(const t of Object[n(575)](e[n(537)])){const r=i[n(796)](t);for(const s of Object[n(575)](e[n(790)][t]))i[n(774)](s,e[n(790)][t][s],r);i[n(476)](e[n(537)][t],r,0)}})),this[t(546)][t(786)](this[t(526)](e[t(756)])),this[t(740)]=!0}))[n(682)]((t=>{const e=n;console[e(734)](t),this[e(518)](),r&&(this[e(546)]=r),this[e(740)]=!0}))}[vr(556)](t,e){const i=vr,n=this[i(691)][i(727)](t);return n.on(i(747),((t,i,r)=>e(i,r,n))),this[i(691)][i(600)](n),n}[vr(788)](t){const e=vr;if(!t||t[e(660)])return Promise[e(554)]();{const i=this[e(730)][e(779)][e(618)](e(466));return this[e(760)][e(711)]({channelId:i,revisionId:t.id})[e(561)]((i=>{const n=e;t[n(747)]({diffData:i[n(660)]},!0)}))}}[vr(518)](){const t=vr;this[t(582)]=null,this[t(558)](),this[t(714)]&&this[t(714)][t(535)](),this[t(714)]=null,this[t(468)][t(772)](),this[t(730)][t(537)][t(769)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(730)][i(537)][i(529)][i(572)]())e[i(664)](t)}))}[vr(526)](t){const e=vr,i=[],n=new Map;for(const t of this[e(730)][e(537)][e(529)][e(572)]()){const r=this[e(730)][e(591)][e(460)][e(689)](t);if(!r)continue;const s=r[e(581)]()[e(473)](0);s&&(i[e(669)](t),n[e(792)](t,s))}return i[e(655)](((t,i)=>{const r=e,s=n[r(618)](t),o=n[r(618)](i);return s.y-o.y||s.x-o.x})),(t=t[e(604)]((t=>i[e(557)](t[e(663)]))))[e(655)](((t,n)=>i[e(676)](t[e(663)])-i[e(676)](n[e(663)]))),t}[vr(733)](t){const e=vr,i=Array[e(662)](t[e(551)])[e(604)]((([t,i])=>t[e(492)](e(592))&&!i[e(532)])),n=Array[e(662)](this[e(730)][e(537)][e(564)](t)[e(677)]({singleCharacters:!0}));if(0!=i[e(761)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(681)](":");if(r[e(785)][e(679)](t[e(588)])&&i[e(516)](),(t[e(683)][e(679)](r[e(617)])||t[e(683)][e(716)](r[e(617)]))&&(e(637)==s?t[e(692)]={userId:o}:e(745)==s&&(t[e(755)]={userId:o})),0==i[e(761)])break}return n}[vr(559)](t){const e=vr,i=new Map;for(let n=0;n<t[e(761)];n++)e(752)===t[n][e(739)]?(t[n][e(473)][e(777)]=n,t[n][e(473)][e(622)]=n):(e(550)===t[n][e(739)]?t[n][e(473)][e(777)]=n:e(627)===t[n][e(739)]&&(t[n][e(473)][e(622)]=n),i[e(792)](t[n].id,n));for(const n of i[e(742)]())e(550)===t[n][e(739)]?t[n][e(473)][e(622)]=i[e(618)](t[n][e(732)]):e(627)===t[n][e(739)]&&(t[n][e(473)][e(777)]=i[e(618)](t[n][e(732)]))}[vr(629)](t){const e=vr;for(let i=0;i<t[e(761)];i++){if(e(550)===t[i][e(739)])t[i][e(473)][e(777)]=i;else if(e(627)===t[i][e(739)]){t[i][e(473)][e(622)]=i;const n=t[i][e(473)][e(777)];t[n][e(732)]=t[i].id,t[i][e(732)]=t[n].id}else t[i][e(473)][e(777)]=i,t[i][e(473)][e(622)]=i,t[i][e(732)]=null;t[i][e(547)]||(t[i][e(547)]=[],t[i][e(743)]=[])}}[vr(753)](t,e){const i=vr,n=t[i(604)]((t=>!t[i(692)]));for(let t=0;t<e[i(761)];t++)e[t][i(692)]&&(n[t][i(692)]=e[t][i(692)])}[vr(744)](t){const e=vr,i=JSON[e(704)](t),n=this[e(730)][e(591)][e(460)][e(529)],r=new Yi.ViewDocumentFragment(n,i[e(674)]((t=>this[e(459)](t))));return this[e(730)][e(514)][e(579)](r)}[vr(459)](t){const e=vr,i=this[e(730)][e(591)][e(460)][e(529)];if(e(688)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(527)][e(674)]((t=>this[e(459)](t)));return new(kr[t[e(739)]]||Yi.ViewElement)(i,t[e(517)],t[e(790)],n)}}[vr(694)](t,e=null){const i=vr,n=this[i(691)][i(711)](t),r=e?this[i(691)][i(711)](e):null,s=this[i(671)](n,r),o=s[s[i(761)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(761)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(575)](e[i(660)]))if(e[i(660)][t][i(741)]){const n=e[i(660)][t][i(741)];n[i(754)]?(u[i(713)](t),l[i(475)](t)&&l[i(618)](t)[i(543)]==n[i(543)]?l[i(620)](t):l[i(792)](t,n)):l[i(475)](t)?(u[i(620)](t),l[i(620)](t)):(u[i(713)](t),l[i(792)](t,n))}else u[i(713)](t)}for(const t of u){const e=l[i(475)](t)&&!l[i(618)](t)[i(754)];let n=e?s[i(761)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(660)][t]){const n=e?o[i(660)][t][i(528)]:o[i(660)][t][i(715)];c[i(790)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(537)]={};for(const e of t[i(793)])a[i(792)](e.id,e);for(const e of u){const n=t[i(660)][e]?t[i(660)][e][i(707)]:"[]",r=t[i(660)][e]?t[i(660)][e][i(789)]:"[]";t[i(537)][e]={insertions:this[i(744)](n),deletions:this[i(744)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(662)](n[i(537)][t][i(707)][i(551)])[i(604)]((([t])=>!t[i(492)](i(592)))));let h=0;for(const o of s){const s=this[i(733)](o[i(537)][t][i(707)]);o==n?(e=s,r=e[i(761)],e[i(631)]((t=>{t.id=h++})),this[i(629)](e)):this[i(753)](e,s);const a=e[i(604)]((t=>!t[i(692)]))[i(674)]((t=>t.id));let c=0;const l=this[i(733)](o[i(537)][t][i(789)]);l[i(631)]((t=>{t[i(755)]?t.id=r++:t.id=a[c++]})),this[i(629)](l),this[i(615)](e,i(692)),this[i(615)](l,i(755)),o==n&&this[i(724)](e,u),e=this[i(654)](e,l),this[i(559)](e),this[i(615)](e,i(755))}e=e[i(604)]((t=>!(t[i(692)]&&t[i(755)])));const d=new Map(o[i(537)][t][i(789)][i(551)]),f=new Set(u[i(575)]());for(const t of d[i(575)]())f[i(620)](t);this[i(648)](e,f),this[i(657)](e),e=this[i(695)](e),e=this[i(771)](e),e=this[i(656)](e);const{root:m,changes:p}=this[i(685)](e,a,t);c[i(537)][t]=m;const v=l[i(618)](t);if(v){const e=a[i(618)](v[i(543)]),n=new ur({author:e,type:v[i(754)]?i(713):i(725),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(757)](n),c[i(790)][t][i(767)]=n.id}c[i(756)]=c[i(756)][i(749)](p)}return c}[vr(724)](t,e){const i=vr;for(let n=0;n<t[i(761)];n++)for(const[r,s]of e)s[i(617)][i(679)](t[n][i(683)])&&t[n][i(547)][i(669)](r),s[i(785)][i(679)](t[n][i(588)])&&t[n][i(743)][i(669)](r)}[vr(654)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(761)]||s<e[i(761)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(669)](o);else if(a[i(755)]&&o[i(692)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(746)](t,r,e,s);n=n[i(749)](o),r=a,s=c}else a[i(755)]?(s++,n[i(669)](a)):(r++,n[i(669)](o))}return n}[vr(648)](t,e){const i=vr,n=[];for(let o=0;o<t[i(761)];o++){for(let s=0;s<t[o][i(547)][i(761)];s++){const a=t[o][i(547)][s];if(!e[i(475)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(607)!=c||i(637)!=u&&i(745)!=u||(n[i(757)]({type:u,name:a,userId:l}),t[o][i(547)][i(666)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(743)][i(761)];s++){const a=t[o][i(743)][s];if(!e[i(475)](a))continue;const{group:c,type:u}=r(a);if(i(607)!=c||i(637)!=u&&i(745)!=u)continue;t[o][i(743)][i(666)](s,1),s--;const l=n[i(680)]((t=>t[i(517)]==a));l>-1&&n[i(666)](l,1)}}function r(t){const e=i,n=t[e(681)](":");return{group:n[0],type:n[1],subType:n[e(761)]>=5?n[2]:null,id:n[e(761)]<5?n[2]:n[3],authorId:n[e(761)]<5?n[3]:n[4],markerCount:6==n[e(761)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(761)];i++){if(t[e(692)]&&e(637)==n[i][e(739)])return t[e(673)]=n[i],void delete t[e(692)];if(!t[e(692)]&&!t[e(755)]&&e(745)==n[i][e(739)])return void(t[e(602)]=n[i])}}}[vr(615)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(792)](o.id,n);for(let n=0;n<t[i(761)];n++){if(i(755)==e&&t[n][i(692)]||i(692)==e&&t[n][i(755)])continue;if(i(752)==t[n][i(739)]){t[n][i(555)]=0;continue}const r=s[i(618)](t[n][i(732)]),o=s[i(618)](t[n].id);t[n][i(555)]=r-o}}[vr(671)](t,e,i=!1){const n=vr,r=[];let s=this[n(691)][n(583)](t),o=this[n(691)][n(583)](e);for(-1==o&&(o=this[n(691)][n(645)][n(761)],i=!1);s<o;)r[n(669)](this[n(691)][n(711)](s)),s++;return i&&r[n(669)](this[n(691)][n(711)](s)),r}[vr(746)](t,e,i,n){const r=vr,s=this[r(730)][r(537)][r(763)];let o=e;for(;t[o]&&t[o][r(692)];)o++;let a=n;for(;i[a]&&i[a][r(755)];)a++;u(t,e,o),u(i,n,a);const c=i[r(569)](n,a)[r(749)](t[r(569)](e,o));return c[r(655)](((t,e)=>t[r(536)]!=e[r(536)]?t[r(536)]-e[r(536)]:t[r(464)]!=e[r(464)]?t[r(464)]-e[r(464)]:t[r(555)]!=e[r(555)]?e[r(555)]-t[r(555)]:!!t[r(692)]!=!!e[r(692)]?-1==t[r(536)]||0==t[r(536)]?t[r(692)]?-1:1:t[r(692)]?1:-1:t[r(577)]-e[r(577)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(776)],c=!0;for(let r=e;r<i;r++)if(s[n(633)](t[r][n(473)])||(c=!1),t[r][n(473)][n(777)]<e&&(o=r),t[r][n(473)][n(622)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(536)]=r<=o?-1:r<a?0:1,t[r][n(577)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(555)]?t[i][n(464)]=u:(u++,t[i][n(464)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(536)]&&(t[r][n(464)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(555)]?t[e][n(464)]=u:(u--,t[e][n(464)]=u,u--)}}[vr(657)](t){const e=vr,i=new Map,n=this[e(730)][e(537)][e(763)];for(let r=1;r<t[e(761)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(752)==c[e(739)])continue;if(c[e(739)]!=u[e(739)])continue;if(!n[e(566)](u[e(473)])||n[e(709)](u[e(473)]))continue;if(!n[e(566)](c[e(473)])||n[e(709)](c[e(473)]))continue;if((t[r][e(692)]||t[r][e(673)])&&t[r-1][e(755)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(755)]||!t[r-1][e(692)]&&!t[r-1][e(673)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(464)]==o[e(464)],h=Math[e(594)](s[e(464)])<Math[e(594)](o[e(464)])&&0==o[e(555)];(l||h)&&(i[e(792)](o.id,s.id),t[e(666)](a,1),r--,s[e(692)]=!1)}for(let n=0;n<t[e(761)];n++)i[e(475)](t[n][e(732)])&&(t[n][e(732)]=i[e(618)](t[n][e(732)]))}[vr(695)](t){const e=vr,i=new Set(t[e(674)]((t=>t.id)));for(let n=0;n<t[e(761)];n++)i[e(475)](t[n][e(732)])||0==t[n][e(555)]||(t[n][e(780)]=!0);return t[e(604)]((t=>!t[e(780)]))}[vr(771)](t){const e=vr,i=new Set;for(let n=0;n<t[e(761)];n++){if(i[e(475)](t[n].id)&&t[n][e(755)]&&(t[n][e(780)]=!0),t[n][e(780)])continue;if(0==t[n][e(555)])continue;if(e(550)!=t[n][e(739)])continue;if(null==t[n][e(732)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(732)];)e(550)==t[r][e(739)]?s++:e(627)==t[r][e(739)]&&s--,r++;if(0!=s)if(t[n][e(755)])t[n][e(780)]=!0;else for(;r!=n;)t[r][e(755)]&&0!=t[r][e(555)]&&(t[r][e(780)]=!0,i[e(713)](t[r][e(732)])),r--}return t[e(604)]((t=>!t[e(780)]))}[vr(656)](t){const e=vr,i=this[e(730)][e(537)][e(763)];for(let n=0;n<t[e(761)];n++){if(!(t[n][e(692)]||t[n][e(673)]||t[n][e(755)]||t[n][e(602)]))continue;if(0==t[n][e(555)])continue;const r=t[n][e(473)];i[e(566)](r)||i[e(709)](r)||(t[n][e(692)]&&delete t[n][e(692)],t[n][e(673)]&&delete t[n][e(673)],t[n][e(602)]&&delete t[n][e(602)],t[n][e(755)]&&(t[n][e(780)]=!0))}return t[e(604)]((t=>!t[e(780)]))}[vr(685)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(730)][n(537)],c=a[n(763)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(761)];e++)if(n(550)===t[e][n(739)]){t[e][n(683)]=a[n(478)](r,f);const i=new Yi.Element(t[e][n(473)][n(517)],t[e][n(473)][n(487)]());u[0][n(610)](i),f[n(669)](0),u[n(757)](i),t[e][n(588)]=a[n(478)](r,f)}else n(627)===t[e][n(739)]?(u[n(516)](),t[e][n(683)]=a[n(478)](r,f),f[n(731)](),f[f[n(761)]-1]++,t[e][n(588)]=a[n(478)](r,f)):(t[e][n(683)]=a[n(478)](r,f),d?d[n(706)]+=t[e][n(473)][n(514)]:d=new Yi.Text(t[e][n(473)][n(514)],t[e][n(473)][n(487)]()),t[e+1]&&n(752)===t[e+1][n(739)]&&v(d,t[e+1][n(473)])||(u[0][n(610)](d),d=null),f[f[n(761)]-1]+=t[e][n(473)][n(461)],t[e][n(588)]=a[n(478)](r,f));for(let e=0;e<t[n(761)];e++){const i=t[e][n(683)],r=t[e][n(588)];for(const r of t[e][n(547)])o[n(792)](r,{start:i,end:null});m(n(602),e,i,r),m(n(673),e,i,r),m(n(755),e,i,r),m(n(692),e,i,r);for(const i of t[e][n(743)])o[n(618)](i)[n(785)]=r}for(const[t,e]of o){const i=this[n(730)][n(537)][n(668)](e[n(617)],e[n(785)]);r[n(551)][n(792)](t,i)}return s[n(655)](((t,e)=>{const i=n,s=r[i(551)][i(618)](i(592)+t.id),o=r[i(551)][i(618)](i(592)+e.id);return s[i(617)][i(653)](o[i(617)])?-1:s[i(617)][i(716)](o[i(617)])?1:s[i(785)][i(653)](o[i(785)])?-1:s[i(785)][i(716)](o[i(785)])?1:i(713)===t[i(739)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(543)]:null,d=i===t[o(761)]-1,f=h[e][0],m=c[o(568)](t[i][o(473)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(785)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(543)]!==u&&(l[e][o(785)]=r,f&&f[o(543)]===l[e][o(543)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(550)!==t[i][o(739)]||f&&f[o(543)]===u||h[e][o(757)]({userId:u,object:t[i][o(473)],change:l[e]}),o(627)===t[i][o(739)]&&f&&f[o(667)]===t[i][o(473)]&&(h[e][o(516)](),l[e]=f[o(693)])),l[e]&&d&&(l[e][o(785)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(473)],f=a[h(763)][h(566)](d)&&!a[h(763)][h(709)](d),m=t[h(549)]==o[h(624)]&&o[h(548)];if(f&&m)return;const p=a[h(668)](t,o),v=e[h(618)](u),y=new ur({author:v,type:h(692)==l||h(673)==l?h(713):h(725),data:{isSuggestion:h(673)==l||h(602)==l},createdAt:new Date,rootName:i});s[h(669)](y),r[h(551)][h(792)](h(592)+y.id,p)}function v(t,e){const i=n,r=t[i(487)](),s=e[i(487)]();for(const t of r){if(t[1]!==e[i(590)](t[0]))return!1;s[i(651)]()}return s[i(651)]()[i(533)]}}[vr(768)](){const t=vr;this[t(730)][t(720)][t(538)](t(670))[t(567)]({view:t(643)}),this[t(730)][t(720)][t(538)](t(504))[t(729)]({model:t(643),view:e=>{const i=t,n=e[i(601)][i(681)](":")[1],r=this[i(586)](n);if(!r)return null;const s=i(713)==r[i(739)]?i(637):i(745),o=[i(573),i(736)+s];return r[i(514)][i(503)]&&o[i(669)](i(736)+s+i(661)),this[i(582)]==r&&o[i(669)](i(511)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(730)][t(720)][t(538)](t(670))[t(713)]((e=>{const i=t;e.on(i(462),((t,e,n)=>{const r=i,s=e[r(684)][r(791)](0);if(!s||!s.is(r(781),r(717)))return;if(!n[r(491)][r(718)](s,{attributes:[r(612),r(508)]}))return;const o=e[r(609)][r(617)][r(549)];n[r(512)][r(774)](r(612),s[r(590)](r(612)),o),n[r(512)][r(774)](r(508),s[r(590)](r(508)),o)}),{priority:i(515)})})),this[t(730)][t(720)][t(538)](t(670))[t(713)]((e=>{const i=t;e.on(i(781),((t,e,n)=>{const r=i;if(!n[r(491)][r(718)](e[r(684)],{attributes:[r(612),r(508)]}))return;if(e[r(609)][r(532)])return;const s=e[r(609)][r(617)][r(549)];s[r(525)](r(612))||s[r(525)](r(636))||(n[r(512)][r(774)](r(612),e[r(684)][r(590)](r(612)),s),n[r(512)][r(774)](r(508),e[r(684)][r(590)](r(508)),s))}),{priority:i(515)})})),this[t(730)][t(720)][t(538)](t(670))[t(665)]({view:{name:t(701),attributes:{vid:!0}},model:{key:t(636),value:e=>e[t(590)](t(636))}}),this[t(730)][t(537)][t(763)].on(t(520),((e,[,i])=>{const n=t;[n(612),n(508),n(636)][n(557)](i)&&(e[n(472)]=!0,e[n(483)]())}),{priority:t(642)}),this[t(730)][t(720)][t(538)](t(576))[t(713)]((e=>{const i=t;e.on(i(611),((t,e,n)=>{const r=i;if(" "!=e[r(473)][r(514)]||e[r(473)][r(624)][r(735)]>1)return;if(!n[r(491)][r(718)](e[r(473)],t[r(517)]))return;const s=n[r(512)],o=n[r(495)][r(644)](e[r(544)]);s[r(571)](o,s[r(700)](r(701)))}))})),this[t(730)][t(720)][t(538)](t(576))[t(506)]({model:t(643)}),this[t(730)][t(591)][t(493)].on(t(469),function(e){const i=t,n=e[i(687)][i(618)](i(603));return(t,r,s)=>{const o=i,a=r[o(601)][o(681)](":")[1],c=n[o(586)](a);if(!c)return null;const u=o(713)==c[o(739)]?o(681):o(587);if(!s[o(491)][o(605)](r[o(608)],t[o(517)]))return;const l=r[o(608)][o(677)](),h=r[o(608)][o(617)],d=e[o(537)][o(763)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(473)];p=p||d[o(542)](e);const i=s[o(495)][o(738)](e);if(i&&i[o(698)](o(534)))return;o(627)==t[o(739)]&&d[o(566)](e)&&!d[o(709)](e)&&(e[o(613)]||h[o(596)]?f&&f[o(624)]==e||(f=e,y(t[o(683)]),v=!0):m=m||t[o(683)])}function y(t){const e=o,i=s[e(512)][e(710)](e(701),{class:e(736)+u}),a=s[e(495)][e(522)](t);c[e(514)][e(503)]&&s[e(512)][e(625)](e(736)+u+e(661),i),n[e(582)]==c&&s[e(512)][e(625)](e(511),i),s[e(512)][e(476)](a,i),s[e(495)][e(699)](i,r[e(601)])}p||v||!m||y(m)}}(this[t(730)]),{priority:t(597)}),this[t(730)][t(591)][t(493)].on(t(510),((e,i,n)=>{const r=t,s=n[r(495)][r(751)](i[r(601)]);if(s)for(const t of s)(t[r(766)](r(513))||t[r(766)](r(773)))&&(n[r(495)][r(759)](t,i[r(601)]),n[r(512)][r(725)](t))}),{priority:t(597)}),this[t(730)][t(591)][t(493)].on(t(469),((e,i,n)=>{const r=t,s=i[r(601)][r(681)](":")[1],o=this[r(586)](s);if(!o)return null;const a=r(713)==o[r(739)]?r(681):r(587);if(n[r(491)][r(605)](i[r(608)],e[r(517)]))for(const t of i[r(608)][r(630)]()){if(!t.is(r(781),r(523)))continue;const e=n[r(512)][r(710)](r(701),{class:r(736)+a}),s=n[r(495)][r(522)](this[r(730)][r(537)][r(634)](t));o[r(514)][r(503)]&&n[r(512)][r(625)](r(736)+a+r(661),e),this[r(582)]==o&&n[r(512)][r(625)](r(511),e),n[r(512)][r(476)](s,e),n[r(495)][r(699)](e,i[r(601)])}}),{priority:t(597)}),this[t(730)][t(537)][t(529)].on(t(693),(()=>{const e=t;this[e(730)][e(591)][e(460)][e(693)]((t=>{const i=e;for(const e of this[i(730)][i(537)][i(529)][i(572)]()){const n=this[i(730)][i(537)][i(529)][i(649)](e),r=this[i(730)][i(591)][i(460)][i(529)][i(649)](e);if(r){const e=n[i(590)](i(767));if(t[i(696)](i(628),r),t[i(672)](i(489),r),t[i(672)](i(482),r),t[i(672)](i(500),r),e){const n=this[i(586)](e);if(!n)return null;t[i(774)](i(628),e,r),t[i(625)](i(584)+n[i(739)],r),this[i(582)]==n&&t[i(625)](i(500),r)}}}}))})),this[t(730)][t(720)][t(538)](t(670))[t(567)]({view:t(509),model:e=>t(494)+e,converterPriority:t(642)}),this[t(730)][t(720)][t(538)](t(670))[t(567)]({view:t(632),model:e=>t(560)+e,converterPriority:t(642)}),this[t(730)][t(720)][t(538)](t(576))[t(506)]({model:t(607),view:e=>({name:t(705)+e,group:t(607)}),converterPriority:t(642)}),this[t(730)][t(720)][t(538)](t(504))[t(729)]({model:t(607),view:e=>{const i=t,n=e[i(601)][i(681)](":")[1];return i(637)!=n&&i(745)!=n?null:{classes:[i(471),i(563)+n]}}}),this[t(730)][t(591)][t(493)].on(t(647),wr(this[t(730)],t(587)),{priority:t(597)}),this[t(730)][t(591)][t(493)].on(t(585),wr(this[t(730)],t(681)),{priority:t(597)}),this[t(730)][t(591)][t(493)].on(t(675),((e,i,n)=>{const r=t,s=n[r(495)][r(751)](i[r(601)]);if(s)for(const t of s)t.is(r(783))&&(n[r(495)][r(759)](t,i[r(601)]),n[r(512)][r(725)](t))}),{priority:t(597)})}[vr(586)](t){const e=vr;return this[e(468)][e(618)](t)}[vr(470)](t){const e=vr;return this[e(714)]&&this[e(714)][e(535)](),this[e(714)]=new sr(this[e(730)][e(463)],t),this[e(714)]}[vr(474)](){const t=vr;this[t(730)][t(537)][t(529)][t(795)][t(728)](t(643)),this.on(t(726),((e,i,n,r)=>{const s=t;r&&this[s(635)][s(725)](r),n&&(this[s(635)][s(713)]({view:n,stackId:s(540),position:{target:()=>{const t=s,e=this[t(730)][t(591)],i=this[t(586)](n[t(650)]);let r;if(i[t(514)][t(481)]){const n=e[t(460)][t(689)](i[t(663)]);r=Array[t(662)](n[t(581)]())}else{const i=this[t(730)][t(537)][t(551)][t(618)](t(592)+n[t(650)]);r=Array[t(662)](e[t(495)][t(751)](i[t(517)]))[t(674)]((i=>e[t(460)][t(496)][t(524)](i)))[t(674)]((e=>Array[t(662)](e[t(581)]())))[t(641)]()}return this[t(501)]&&r[t(712)]((e=>e[t(765)]-3<=this[t(501)].y&&e[t(697)]+3>=this[t(501)].y&&e[t(626)]-3<=this[t(501)].x&&e[t(748)]+3>=this[t(501)].x))||r[0]}}}),this[s(635)][s(574)](s(540)))})),this.on(t(465),((e,i,n,r)=>{const s=t;this[s(589)]=n?this[s(470)](n):null,this[s(730)][s(537)][s(693)]((()=>{const t=s,e=this[t(730)][t(591)];r&&(r[t(514)][t(481)]?e[t(460)][t(693)]((i=>{const n=t;i[n(672)](n(500),e[n(460)][n(529)][n(649)](r[n(663)]))})):e[t(530)](t(592)+r.id)),n&&(n[t(514)][t(481)]?e[t(460)][t(693)]((i=>{const r=t;i[r(625)](r(500),e[r(460)][r(529)][r(649)](n[r(663)]))})):e[t(530)](t(592)+n.id))}))})),this[t(690)](this[t(730)][t(591)][t(460)][t(529)],t(484),((e,i)=>{const n=t;if(this[n(582)])return;const r=this[n(497)](i[n(479)]),s=this[n(468)][n(618)](r);s?(this[n(501)]={x:i[n(652)].x,y:i[n(652)].y},this[n(589)]=this[n(470)](s)):(this[n(501)]=null,this[n(589)]=null)})),this[t(690)](this[t(730)][t(591)][t(460)][t(529)],t(505),((e,i)=>{const n=t,r=this[n(497)](i[n(479)]),s=this[n(468)][n(618)](r);s?(this[n(501)]={x:i[n(652)].x,y:i[n(652)].y},s===this[n(582)]?this[n(635)][n(616)]():this[n(582)]=s):(this[n(501)]=null,this[n(582)]=null)}))}[vr(497)](t){const e=vr;do{const i=t[e(590)](e(628));if(i)return i;t=t[e(624)]}while(t);return null}[vr(558)](){const t=vr;this[t(730)][t(537)][t(693)]((e=>{const i=t;for(const t of this[i(730)][i(537)][i(551)])e[i(480)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(491)][s(605)](n[s(608)],i[s(517)]))return;const o=n[s(608)][s(677)](),a=n[s(608)][s(617)],c=t[s(537)][s(763)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(473)];h=h||c[s(542)](e);const i=r[s(495)][s(738)](e);if(i&&i[s(698)](s(534)))return;s(627)==t[s(739)]&&c[s(566)](e)&&!c[s(709)](e)&&(e[s(613)]||a[s(596)]?u&&u[s(624)]==e||(u=e,f(t[s(683)]),d=!0):l=l||t[s(683)])}function f(t){const i=s,o=r[i(495)][i(522)](t),a=r[i(512)][i(710)](i(701),{class:i(563)+e});r[i(512)][i(476)](o,a),r[i(495)][i(699)](a,n[i(601)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(687)][e(618)](br);this[e(531)]=!1,this[e(690)](i,e(553),(()=>this[e(619)]())),this[e(690)](i,e(565),(()=>this[e(619)]()))}[vr(750)](){const t=vr,e=this[t(730)],i=e[t(687)][t(618)](br),n=i[t(740)]?i[t(546)][t(723)]:null;e[t(779)][t(618)](t(658))[t(545)](n)}[vr(619)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(730)][t(687)][t(618)](br),s=r&&n[t(562)](r[t(723)]);this[t(477)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(687)][i(618)](br);this[i(531)]=!1,this[i(678)]=i(775)===e?1:-1,this[i(690)](n,i(553),(()=>this[i(619)]())),this[i(690)](n,i(565),(()=>this[i(619)]())),this[i(690)](n,i(465),(()=>this[i(619)]()))}[vr(750)](){const e=vr,i=this[e(730)],n=i[e(687)][e(618)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(582)]=r?n[e(546)][e(756)][e(618)](s+this[e(678)]):n[e(546)][e(756)][e(578)],n[e(582)][e(514)][e(481)])o=i[e(591)][e(460)][e(689)](n[e(582)][e(663)]);else{const t=i[e(537)][e(551)][e(618)](e(592)+n[e(582)].id);o=(0,Bi.getMarkerDomElement)(i[e(591)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(619)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(730)][t(687)][t(618)](br);this[t(477)]=!!(s&&r&&n)&&(!e||(1===this[t(678)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Un();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["2061045xdMhYr","set","NUMBER_OF_CHANGES","324628rxmYrv","35092GfZOHf","isReady","1182960MpJwMm","numberOfChanges","fire","Loading...","10YQdhCe","isEnabled","ck-revision-history-ui__changes-navigation__wrapper","3666410MyQdJk","ck-hidden","execute","_statusText","bind","X_OF_Y_CHANGES","7251687mRSypv","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","_isStatusLabelVisible","setTemplate","24bQcCeQ","span","backward","Show previous change","div","ck-revision-history-ui__changes-navigation__navigation","Show next change","No changes","isForwardNavigationEnabled","12UnbazP","Total","ck-revision-history-ui__changes-navigation__label","5863968baTgLQ","ck-revision-history-ui__changes-navigation","currentChangeNumber","isNavigationMode","11KzloTe","forward","isBackwardNavigationEnabled","36twsarH","bindTemplate"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(500744===parseInt(e(249))/1*(parseInt(e(258))/2)+parseInt(e(252))/3*(-parseInt(e(257))/4)+parseInt(e(260))/5+-parseInt(e(245))/6+-parseInt(e(254))/7*(-parseInt(e(278))/8)+-parseInt(e(273))/9*(-parseInt(e(264))/10)+parseInt(e(267))/11*(parseInt(e(242))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(253)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(255)](e(248),!1),this[e(255)](e(259),!1),this[e(255)](e(247),0),this[e(255)](e(261),0),this[e(255)](e(241),!1),this[e(255)](e(251),!1),this[e(271)](e(276)).to(this,e(259),this,e(261),((t,e)=>t&&e>0)),this[e(271)](e(270)).to(this,e(259),this,e(247),this,e(261),this,e(248),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(263));if(!r)return Xi(t,o(240));const a=Xi(t,o(256),r);return s?Xi(t,o(272),[n+1,r]):a})),n[e(255)]({label:Xi(t,e(281)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(255)]({label:Xi(t,e(239)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(271)](e(265)).to(this,e(251)),r[e(271)](e(265)).to(this,e(241)),n.on(e(269),(()=>this[e(262)](e(269),e(280)))),r.on(e(269),(()=>this[e(262)](e(269),e(250)))),this[e(277)]({tag:e(282),attributes:{class:["ck",e(275),e(246)]},children:[{tag:e(279),attributes:{class:[e(266)]},children:[{tag:e(279),attributes:{class:[e(244),i.if(e(276),e(268),(t=>!t))]},children:[{text:i.to(e(248),(i=>i?Xi(t,e(274))+": ":Xi(t,e(243))+": "))}]},{text:i.to(e(270))}]},new Vn.ToolbarSeparatorView,{tag:e(282),attributes:{class:[e(238)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Un();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Vr;function Er(){const t=["26412cXUOse","2752434pHNzAE","removeClass","5594MpOgwA","document","editor","ck-editor__editable__loading-overlay","isOfficialPlugin","roots","10wGRtGg","view","7aHZyhz","RevisionViewerLoadingOverlay","pluginName","hide","show","addClass","16910kychrC","10069656oJGTxP","change","editing","4147vFuuvo","396840aYDneF","15KHTbTF","693nNfMfC","isPremiumPlugin","1679244FbVwwR"];return(Er=function(){return t})()}function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(940464===-parseInt(e(304))/1*(parseInt(e(296))/2)+-parseInt(e(289))/3*(parseInt(e(288))/4)+parseInt(e(302))/5*(parseInt(e(294))/6)+parseInt(e(292))/7+parseInt(e(284))/8+parseInt(e(290))/9*(-parseInt(e(283))/10)+-parseInt(e(287))/11*(parseInt(e(293))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(299);class Cr extends qi.Plugin{static get[Mr(279)](){return Mr(278)}static get[Mr(300)](){return!0}static get[Mr(291)](){return!0}[Mr(281)](){const t=Mr,e=this[t(298)][t(286)][t(303)];e[t(285)]((i=>{const n=t;for(const t of e[n(297)][n(301)])i[n(282)](Dr,t)}))}[Mr(280)](){const t=Mr,e=this[t(298)][t(286)][t(303)];e[t(285)]((i=>{const n=t;for(const t of e[n(297)][n(301)])i[n(295)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=157]})(t,e)}function Lr(){const t=["Back to editing","2152NLwqCa","isPremiumPlugin","show","133310PpQBsk","1945748obFJBP","2476436yebpdz","pluginName","add","3uxvAGK","requires","commands","listenTo","restoreRevision","exitToEditing","997862UmffGE","undo","isReady","isNavigationMode","isOfficialPlugin","Restore this revision","numberOfChanges","forward","showPreviousChange","revisionHistory","set","bind","isEnabled","currentChangeNumber","plugins","isForwardNavigationEnabled","2885085ZAdFZj","49095nydoYl","change:isReady","hide","execute","isBackwardNavigationEnabled","RevisionViewerUI","showNextChange","get","init","config","closeRevisionViewerCallback","ck-revision-history-ui__back-to-editing","editor","componentFactory","changesNavigation","778290fBgxGj"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(313327===parseInt(e(194))/1+-parseInt(e(157))/2+parseInt(e(199))/3*(-parseInt(e(196))/4)+-parseInt(e(173))/5+parseInt(e(189))/6+parseInt(e(195))/7+parseInt(e(191))/8*(parseInt(e(174))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(197)](){return jr(179)}static get[jr(161)](){return!0}static get[jr(192)](){return!0}static get[jr(200)](){return[br,Cr]}[jr(182)](){const t=jr,e=this[t(186)],i=e[t(171)][t(181)](br),n=e[t(171)][t(181)](Cr);e.ui[t(187)][t(198)](t(204),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(167)]({label:Xi(i,n(190)),icon:qi.icons[n(158)],withText:!0,tooltip:!0,class:n(185)}),this[n(202)](r,n(177),(()=>{const t=n;e[t(183)][t(181)](t(166))[t(184)]()})),r})),e.ui[t(187)][t(198)](t(203),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(167)]({label:Xi(i,n(162)),withText:!0,tooltip:!0}),r[n(168)](n(169)).to(e[n(201)][n(181)](n(203))),this[n(202)](r,n(177),(()=>e[n(177)](n(203)))),r})),e.ui[t(187)][t(198)](t(188),(n=>{const r=t,s=new Nr(n),o=e[r(201)][r(181)](r(165)),a=e[r(201)][r(181)](r(180));return s[r(168)](r(178)).to(o,r(169)),s[r(168)](r(172)).to(a,r(169)),s[r(168)](r(159),r(170),r(163),r(160)).to(i),this[r(202)](s,r(177),((t,i)=>{const n=r;e[n(177)](n(164)===i?n(180):n(165))})),s})),n[t(193)](),i.on(t(175),((e,i,r)=>{const s=t;r?n[s(176)]():n[s(193)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Un();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Zr=Ur;function Ur(t,e){const i=Hr();return(Ur=function(t,e){return i[t-=402]})(t,e)}function Hr(){const t=["22264RSDImU","bindTemplate","7821462GNFzPS","Enter the revision name","9ExuXiM","_tooltipString","scrollWidth","_resizeObserver","54uPqnCC","84880UkVtON","ck-revision-history-sidebar__revision-name","1074786wHdbge","Revision name","element","span","ck-tooltip_multi-line","11315484NpygJD","placeholder","clientWidth","5396270UzsAYm","_updateTooltipText","set","fieldView","value","35pVhkxU","listenTo","render","244kryXiA","5tYPUne","extendTemplate","input","destroy","3310GGrrSN"];return(Hr=function(){return t})()}!function(t){const e=Ur,i=t();for(;;)try{if(378183===parseInt(e(412))/1*(-parseInt(e(417))/2)+-parseInt(e(426))/3*(parseInt(e(418))/4)+parseInt(e(413))/5*(-parseInt(e(429))/6)+-parseInt(e(409))/7*(parseInt(e(427))/8)+-parseInt(e(422))/9*(parseInt(e(404))/10)+parseInt(e(420))/11+parseInt(e(434))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(425)]=null;const n=this[i(419)];this[i(406)]({label:Xi(t,i(430)),_tooltipString:""}),this[i(407)][i(402)]=Xi(t,i(421)),this[i(414)]({tag:i(432),attributes:{class:[i(428)],"data-cke-tooltip-text":n.to(i(423)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(433)}})}[Zr(411)](){const e=Zr;super[e(411)](),this[e(425)]=new t.ResizeObserver(this[e(407)][e(431)],(()=>this[e(405)]())),this[e(410)](this[e(407)],e(415),(()=>this[e(405)]()))}[Zr(416)](){const t=Zr;super[t(416)](),this[t(425)]&&this[t(425)][t(416)]()}[Zr(405)](){const t=Zr,e=this[t(407)][t(431)];this[t(423)]=e[t(424)]>e[t(403)]&&e[t(408)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Un();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=472]})(t,e)}function Jr(){const t=["12eJyVjl","ck-revision-history-sidebar__revision-author__name","Revision author","133434MsjzND","0 0 11 10","296JYYvaT","setTemplate","13fBgLKf","ck-revision-history-sidebar__revision-author_creator","Revision creator","5hzdymW","9283285OjnOaA","span","88XNeABH","921lNDglF","ck-revision-history-sidebar__revision-author","set","344302qZQnSJ","push","11401040xGCWzf","673DgsSqm","380HrkqMa","name","3843210jrvVXT","16476aJZrBj"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(730835===parseInt(e(487))/1*(parseInt(e(472))/2)+parseInt(e(481))/3*(parseInt(e(491))/4)+parseInt(e(477))/5*(-parseInt(e(490))/6)+parseInt(e(484))/7*(parseInt(e(480))/8)+parseInt(e(495))/9*(-parseInt(e(488))/10)+parseInt(e(478))/11*(parseInt(e(492))/12)+parseInt(e(474))/13*(-parseInt(e(486))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Vn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Vn.IconView;r[n(483)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(496)});const s=["ck",n(482)];i&&s[n(485)](n(475));const o=[{tag:n(479),attributes:{class:["ck",n(493)],title:Xi(t,n(i?476:494))},children:[r,e[n(489)]]}];this[n(473)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Qr();return(Kr=function(t,e){return i[t-=174]})(t,e)}function Qr(){var t=["21313259HaXVfF","170PNBOux","numeric","397076AMXRzQ","6853091RwAhYp","6SPgnvO","11314bCbFEv","toLocaleDateString","32436mlLGps","long","6EcCWuh","toLocaleTimeString","6408088TunHYh","785445pUGJQw","680TbuiIq"];return(Qr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(553182===-parseInt(e(179))/1*(parseInt(e(184))/2)+parseInt(e(183))/3*(-parseInt(e(181))/4)+parseInt(e(176))/5*(-parseInt(e(188))/6)+parseInt(e(182))/7+-parseInt(e(175))/8+-parseInt(e(186))/9*(parseInt(e(177))/10)+parseInt(e(178))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Un();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=395]})(t,e)}function is(){const t=["bindTemplate","function","listenTo","menu","stopPropagation","12UuOHct","108IFeVvm","source","children","class","1517467puPGfS","isActionsDropdownOpen","ck-on","232005HeDZWC","panelPosition","4MHNhnm","90jKcbhS","isVisible","4818242FeYIip","4821713OriLxD","listView","Show more items","buttonView","89150nRbQic","bind","model","change:isActionsDropdownOpen","isEnabled","items","55050QMOgKo","Name this revision","map","find","threeVerticalDots","set","menuitem","name","first","8IPnGNy","ck-revision-history-sidebar__revision__actions","action","execute","2571vOptWO","Restore this revision","button","isReady","isOpen","add","Compare against selected","extendTemplate","locale","1412AjNDug","_action"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(244001===-parseInt(e(441))/1*(-parseInt(e(443))/2)+-parseInt(e(417))/3*(parseInt(e(426))/4)+parseInt(e(398))/5*(-parseInt(e(444))/6)+-parseInt(e(438))/7*(-parseInt(e(413))/8)+-parseInt(e(434))/9*(-parseInt(e(404))/10)+parseInt(e(446))/11+parseInt(e(433))/12*(-parseInt(e(447))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Un();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;function ss(){const t=["srcElement","unshift","change","_requireRevisionName","ck-revision-history-sidebar__revision_highlighted","filter","from","_revision","set","map","ck-revision-history-sidebar__revision_selected","creator","name","createdAt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","extendTemplate","978425sxWvUM","revisionNameView","fire","ck-revision-history-sidebar__revision-wrapper","ck-reset","listenTo","isSelected","129636gsecdo","isReady","isEnabled","span","highlight","setTemplate","ck-disabled","220","element","ck-revision-history-sidebar__revision__date","bind","ck-revision-history-sidebar__revision__controls-wrapper","isActionsDropdownOpen","1020976lmontt","bindTemplate","value","828225nCfIiW",".ck-thread__remove-confirm","closest","22492116SUTKQb","125zpNjkY","length","6447456JdqXju","isConfirm","select","setName","deselect","ck-revision-history-sidebar__revision","uiLanguage","_createdAtFormatted","fieldView","revisionActionsView","div","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__actions_dropdown_open","unhighlight","isHighlighted","3126402RWGZMA","18JRITbJ","render"];return(ss=function(){return t})()}const os=as;function as(t,e){const i=ss();return(as=function(t,e){return i[t-=192]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(533309===-parseInt(e(211))/1+-parseInt(e(208))/2+-parseInt(e(232))/3+-parseInt(e(195))/4*(parseInt(e(215))/5)+parseInt(e(233))/6*(parseInt(e(252))/7)+parseInt(e(217))/8+parseInt(e(214))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ss);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(209)],a=function(t,e){const i=s,n=Array[i(241)](e[i(250)])[i(240)]((t=>t!=e[i(246)]));return e[i(246)]&&n[i(236)](e[i(246)]),n[i(244)]((n=>new Gr(t,n,n==e[i(246)])))}(e,i);this.id=i.id,this[s(242)]=i,this[s(238)]=r,this[s(205)](s(247),s(248)).to(i),this[s(205)](s(224)).to(this,s(248),(t=>{return i=e[s(223)],(n=t)[(r=Kr)(185)](i,{month:r(187),day:r(180)})+", "+n[r(174)](i,{hour:r(180),minute:r(180)});var i,n,r})),this[s(243)](s(194),!1),this[s(243)](s(231),!1),this[s(243)](s(207),!1),this[s(243)](s(196),!1),this[s(243)](s(197),!1),this[s(253)]=new $r(e,Vn.createLabeledInputText),this[s(253)][s(225)][s(251)]({attributes:{maxlength:s(202)}}),this[s(253)][s(225)][s(205)](s(210)).to(this,s(247),(t=>t||this[s(224)])),this[s(253)][s(205)](s(197)).to(this,s(194),this,s(197),((t,e)=>t&&e)),this[s(226)]=n&&n[s(216)]?function(e,i){const n=es,r=e[n(428)],s=e[n(425)],o=(0,Vn.createDropdown)(s);o[n(442)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(425)],r={"Compare against selected":Xi(n,i(423)),"Name this revision":Xi(n,i(405)),"Restore this revision":Xi(n,i(418))};return e[i(406)]((t=>{const e=i,n=r[t[e(411)]];return n&&n!==t[e(411)]&&(t[e(411)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(419),model:new Vn.ViewModel({label:t[r(411)],class:t[r(437)],withText:!0,role:r(410),_action:t[r(415)]})};i[r(400)][r(399)](r(402)).to(e,r(439),(i=>r(429)!=typeof t[r(402)]||!i||t[r(402)](e))),o[r(422)](i)}return o}(e,i);return e[n(399)](n(439)).to(o,n(421)),o[n(397)][n(409)]({label:Xi(s,n(396)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(408)]}),o[n(424)]({attributes:{class:[n(414),r.if(n(439),n(440))]},on:{click:r.to((t=>t[n(432)]()))}}),o.on(n(416),(t=>{const i=n;e[i(420)]&&i(429)==typeof t[i(435)][i(427)]&&t[i(435)][i(427)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(431)}),o[n(430)](e,n(401),((t,r,s)=>{const a=n;if(s)for(const t of o[a(395)][a(403)]){const n=t[a(436)][a(412)],r=i[a(407)]((t=>t[a(415)]===n[a(427)]))[a(445)];t[a(445)]=void 0===r||r(e)}})),o}(this,n):"",this[s(226)]&&this[s(226)][s(205)](s(197)).to(this),this[s(200)]({tag:s(227),attributes:{class:["ck",s(192),s(255),o.if(s(218),s(249))]},children:[{tag:s(227),attributes:{class:["ck",s(192),s(222),o.if(s(197),s(201),(t=>!t)),o.if(s(194),s(245)),o.if(s(231),s(239)),o.if(s(207),s(229))]},children:[this[s(253)],{tag:s(198),attributes:{class:["ck",s(204)]},children:[{text:o.to(s(224))}]},{tag:s(227),attributes:{class:["ck",s(206)]},children:[{tag:"ul",attributes:{class:["ck",s(228)]},children:a}]},this[s(226)]],on:{click:o.to((t=>{const e=s;t[e(235)][e(213)](e(212))||this[e(196)]&&this[e(197)]&&this[e(254)](e(219),{id:this.id})}))}}]})}[os(234)](){const t=os;super[t(234)]();const e=this[t(253)][t(225)][t(203)];this[t(193)](e,t(237),(()=>{const i=t;this[i(238)]&&!e[i(210)]||this[i(254)](i(220),{id:this.id,name:e[i(210)]}),e[i(210)]||(e[i(210)]=this[i(247)]?this[i(247)]:this[i(224)])}))}[os(219)](){this[os(194)]=!0}[os(221)](){this[os(194)]=!1}[os(199)](){this[os(231)]=!0}[os(230)](){this[os(231)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Zs{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Us=null;class Hs extends Zs{static get instance(){return null===Us&&(Us=new Hs),Us}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Zs{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Zo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Zs{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Zs{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Zo(t)||null===t)return e;if(t instanceof Zs)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Uo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Zo(t.localWeekday)||!Zo(t.localWeekNumber)||!Zo(t.localWeekYear)){if(!Zo(t.weekday)||!Zo(t.weekNumber)||!Zo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Zo(t.localWeekday)||(t.weekday=t.localWeekday),Zo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Zo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Zo(t){return void 0===t}function Uo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Zo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Zo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Zo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Za=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Ua=RegExp(`(?: ${Za.source})?`);function Ha(t,e,i){const n=t[e];return Zo(n)?i:Qo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Va(za,$a,qa,Ba),dc=Va(Wa,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Ua),vc=Ea(Za),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Zo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Zo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Uo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Zo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Uo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Uo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(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 xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.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:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.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 Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Zc(t){return{regex:t,deser:([t])=>t}}const Uc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Zc(l);case"uu":return Zc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Zc(/[a-z_+-/]{1,256}?/i);case" ":return Zc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Zo(t.z)||(i=Ys.create(t.z)),Zo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Zo(t.q)||(t.M=3*(t.q-1)+1),Zo(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),Zo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Uc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Zo(t.year))r=xo.now();else{for(const e of du)Zo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Zo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Zo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Uo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Uo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Uo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Zo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Zo(r.ordinal),l=!Zo(r.year),h=!Zo(r.month)||!Zo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Zo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Xa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Zo(t)||Zo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Zo(e.weekYear)||!Zo(e.weekNumber)||!Zo(e.weekday),s=!Zo(e.ordinal),o=!Zo(e.year),a=!Zo(e.month)||!Zo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Zo(e.ordinal)?(l={...this.toObject(),...e},Zo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Zo(t)||Zo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Uo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Ou();return(Iu=function(t,e){return i[t-=137]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(141)](t)[i(148)](e),r=wu[i(154)](),s=r[i(142)]({days:1})[i(147)](i(159));let o,a;return n[i(153)](r,i(159))?(o=n[i(147)](i(159))[i(137)](),a=n[i(158)]()):n[i(153)](s,i(159))?(o=s[i(137)](),a=n[i(158)]()):n[i(153)](r,i(156))?(o=n[i(147)](i(156))[i(137)](),a=n[i(149)]||""):n[i(153)](r,i(143))?(o=n[i(147)](i(145))[i(137)](),a=n[i(138)]||""):(o=n[i(147)](i(143))[i(137)](),a=String(n[i(143)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["startOf","setLocale","weekdayLong","621ZcYTmZ","9220YvRYQJ","342560CmilGe","hasSame","local","7622190kwoWjN","week","30NKtdhu","toRelativeCalendar","day","toJSDate","monthLong","658624PYxiwL","374114QTtqFz","fromJSDate","minus","year","695DWRBas","month","119126EBFJJZ"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(298476===-parseInt(e(140))/1+parseInt(e(139))/2+parseInt(e(150))/3*(-parseInt(e(151))/4)+parseInt(e(144))/5*(-parseInt(e(157))/6)+parseInt(e(146))/7+-parseInt(e(152))/8+parseInt(e(155))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Un();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;function Nu(t,e){const i=Ru();return(Nu=function(t,e){return i[t-=325]})(t,e)}const Au=Nu;function Ru(){const t=["span","4sMxQEa","2307865cygagz","delegate","_revisionActions","select","addRevision","uiLanguage","_requireRevisionName","1998115AonfKj","removeRevision","createCollection","div","add","localizedPeriodName","26aZTCdg","setTemplate","setName","9566SiGVdV","locale","find","2151492ZjGVFG","ck-revision-history-sidebar__time-period","remove","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period__revisions","20142hapgaK","6000gedLxG","revisionViews","1512213YXsDll","2027264BlioHh","startDate"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(381205===parseInt(e(326))/1*(-parseInt(e(329))/2)+parseInt(e(340))/3+-parseInt(e(344))/4*(parseInt(e(352))/5)+-parseInt(e(332))/6+-parseInt(e(345))/7+-parseInt(e(341))/8+-parseInt(e(337))/9*(-parseInt(e(338))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Vn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Su(e,this[r(330)][r(350)])[r(325)];this[r(342)]=e,this[r(339)]=this[r(354)](),this[r(347)]=i,this[r(351)]=n,this[r(339)][r(346)](r(348)).to(this),this[r(339)][r(346)](r(328)).to(this),this[r(327)]({tag:r(355),attributes:{class:["ck",r(333)]},children:[{tag:r(343),attributes:{class:["ck",r(335)]},children:[{text:s}]},{tag:r(355),attributes:{class:["ck",r(336)]},children:this[r(339)]}]})}[Au(349)](t){const e=Au,i=new cs(this[e(330)],t,this[e(347)],this[e(351)]);this[e(339)][e(356)](i)}[Au(353)](t){const e=Au,i=this[e(339)][e(331)]((e=>e.id===t.id));this[e(339)][e(334)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Un();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(){const t=["1916632eJtZhh","145LBSmkR","ck-revision-history-sidebar__header__label","span","259846gIbZmM","history","ck-revision-history-sidebar__header","49660ggkUtv","ck-reset_all","setTemplate","8403912gsvnIq","content","592466wNwJsF","div","Revision history","255069vuBAJS","6DjyUKE","2213187ZSDNPs"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=456]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(689448===-parseInt(e(460))/1+parseInt(e(456))/2+parseInt(e(473))/3+parseInt(e(463))/4*(parseInt(e(457))/5)+-parseInt(e(472))/6*(parseInt(e(468))/7)+-parseInt(e(466))/8+parseInt(e(471))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(467)]=qi.icons[e(461)],this[e(465)]({tag:e(469),attributes:{class:["ck",e(464),e(462)]},children:[i,{tag:e(459),attributes:{class:["ck",e(458)]},children:[Xi(t,e(470))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Un();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["uiLanguage","_revisions","removeRevision","startDate","revisionViews","isEnabled","setTemplate","add","48zpqrNp","7821ASCTnA","ck-rounded-corners","setName","_addRevision","highlight","getTime","div","230CGlZUq","selectRevision","_removeRevision","ck-revision-history-sidebar","timePeriodViews","select","unhighlight","deselect","fire","flat","createCollection","addRevision","_requireRevisionName","_revisionActions","highlightRevisions","revisionSelected","find","revisionSetName","locale","2419558WIUQPl","remove","some","_getTimePeriodViewByStartDate","bindTemplate","createdAt","map","ck-disabled","3748kAwYpN","986630IIrKDw","3351jpoJcW","1784woWdbW","get","1620883prEUkj","delegate","547699WwxgmK","set","ck-reset","ck-revision-history-sidebar__timeline","5409726pCLppy","render"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(864803===-parseInt(e(312))/1+parseInt(e(297))/2+-parseInt(e(307))/3*(-parseInt(e(305))/4)+-parseInt(e(306))/5*(-parseInt(e(326))/6)+parseInt(e(316))/7+parseInt(e(308))/8*(parseInt(e(327))/9)+parseInt(e(334))/10*(-parseInt(e(310))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Zu extends Vn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(301)];this[r(338)]=this[r(344)](),this[r(338)][r(311)](r(339)).to(this),this[r(338)][r(311)](r(329)).to(this),this[r(319)]=e,this[r(291)]=i,this[r(290)]=n,this.on(r(339),((t,e)=>{const i=r;this[i(342)](i(293),e)})),this.on(r(329),((t,e)=>{const i=r;this[i(342)](i(295),e)})),this[r(313)](r(323),!1),this[r(324)]({tag:r(333),attributes:{class:["ck",r(314),r(328),r(337)]},children:[new ju(t),{tag:r(333),attributes:{class:["ck",r(315),s.if(r(323),r(304),(t=>!t))]},children:this[r(338)]}]})}[Pu(317)](){const t=Pu;super[t(317)]();for(const e of this[t(319)])this[t(330)](e);this[t(319)].on(t(325),((e,i)=>{this[t(330)](i)})),this[t(319)].on(t(298),((e,i)=>{this[t(336)](i)}))}get[Pu(322)](){const t=Pu;return this[t(338)][t(303)]((e=>e[t(322)][t(303)]((t=>t))))[t(343)]()}[Pu(335)](t){const e=Pu;for(const i of this[e(322)])t&&t.id===i.id?i[e(339)]():i[e(341)]()}[Pu(292)](t){const e=Pu;for(const i of this[e(322)])t[e(299)]((({id:t})=>t===i.id))?i[e(331)]():i[e(340)]()}[Pu(330)](t){const e=Pu,i=Su(t[e(302)],this[e(296)][e(318)])[e(321)];let n=this[e(338)][e(309)](0);n&&n[e(321)][e(332)]()===i[e(332)]()||(n=new Mu(this[e(296)],i,this[e(291)],this[e(290)]),this[e(338)][e(325)](n)),n[e(345)](t)}[Pu(336)](t){const e=Pu,i=Su(t[e(302)],this[e(296)][e(318)])[e(321)];this[e(300)](i)[e(320)](t)}[Pu(300)](t){const e=Pu;return this[e(338)][e(294)]((i=>i[e(321)][e(332)]()===t[e(332)]()))}}const Uu=$u;function Hu(){const t=["bind","select","revisionHistory.viewerSidebarContainer","4DAIUFi","config","restoreRevision","editor","3YNopqD","requires","isPremiumPlugin","appendChild","_handleRevisionSelected","newRevisionId","_sidebarView","map","availableRevisionActions","focus","_createRevisionActions","getIndex","nameRevision","length","revisionHistory","pluginName","isOfficialPlugin","assign","_revisionViewer","Restore this revision","highlightRevisions","revisionViews","element","diff","_handleRevisionSetName","RevisionsSidebar","revisionSelected","11312120GLfVpQ","5727222vnbjYl","listenTo","action","_handleDiffChange","getEarlierVisibleRevision","render","_handleEditorDataReady","locale","selectRevision","init","data","add","_revisionsRepository","get","compare","name","Compare against selected","isReady","repository","timePeriodViews","isVisible","remove","Name this revision","string","compareAgainstSelected","revisionSetName","fieldView","defaultRevisionActions","isEnabled","change:diff","revisionHistory.requireRevisionName","setName","ready","isSelected","getRevision","plugins","revisionHistory.revisionActions","207530wwLyMr","957376pqxhOJ","restoreRevisionCallback","1455294aqJcjR","1995159qfMOqA","destroy","getLaterVisibleRevision","_revisions","3136715iywDbO","getRevisionsInDiff"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(807969===parseInt(e(206))/1*(-parseInt(e(189))/2)+-parseInt(e(193))/3*(parseInt(e(202))/4)+parseInt(e(197))/5+parseInt(e(192))/6+parseInt(e(190))/7+parseInt(e(151))/8+-parseInt(e(152))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Uu(139)](){return Uu(149)}static get[Uu(140)](){return!0}static get[Uu(208)](){return!0}static get[Uu(207)](){return[br]}constructor(t){const e=Uu;super(t),this[e(142)]=t[e(187)][e(165)](br),this[e(164)]=this[e(142)][e(170)],this[e(212)]=null}[Uu(161)](){const t=Uu,e=this[t(164)][t(196)],i=this[t(216)](),n=this[t(205)][t(203)][t(165)](t(201));this[t(212)]=new Zu(this[t(205)][t(159)],e,i,this[t(205)][t(203)][t(165)](t(182))),this[t(212)].on(t(150),this[t(210)][t(199)](this)),this[t(212)].on(t(177),this[t(148)][t(199)](this)),this[t(212)][t(199)](t(180)).to(this[t(142)]),this[t(212)][t(171)].on(t(163),((e,i)=>{const n=t;i[n(145)].on(n(163),((t,e)=>{const i=n;e[i(199)](i(180),i(169)).to(this[i(142)])}))})),this[t(212)][t(157)](),this[t(153)](this[t(205)][t(162)],t(184),this[t(158)][t(199)](this)),this[t(153)](this[t(142)],t(181),this[t(155)][t(199)](this)),n[t(209)](this[t(212)][t(146)])}[Uu(194)](){const t=Uu;this[t(212)][t(146)][t(173)](),this[t(212)][t(194)]()}[Uu(158)](){const t=Uu,e=this[t(164)][t(186)](0);if(e){const i=this[t(164)][t(156)](e.id);this[t(142)][t(166)](e,i)}}[Uu(210)](t,e){const i=Uu,n=this[i(164)][i(186)](e.id),r=this[i(164)][i(156)](n.id);this[i(142)][i(166)](n,r)}[Uu(148)](t,e){const i=Uu;this[i(164)][i(186)](e.id)[i(183)](e[i(167)])}[Uu(155)](t,e,i){const n=Uu,r=this[n(164)][n(198)](i);r[n(137)]>2?(this[n(212)][n(144)](r),this[n(212)][n(160)](null)):(this[n(212)][n(144)]([]),this[n(212)][n(160)](r[0]))}[Uu(216)](){const t=Uu,e=this[t(205)],i=qu[t(214)],n=e[t(203)][t(165)](t(188))||qu[t(179)];if(n[t(137)])return n[t(213)]((n=>{const r=t,s=r(175)==typeof n?Object[r(141)]({},i[n]):n;return s[r(154)]=s[r(154)][r(199)](this,e),s[r(172)]&&(s[r(172)]=s[r(172)][r(199)](this,e)),s}))}}qu[Uu(179)]=[Uu(176),Uu(204),Uu(218)],qu[Uu(214)]={compareAgainstSelected:{name:Uu(168),action:({plugins:t},e)=>{const i=Uu,n=t[i(165)](br),r=n[i(170)];let s=n[i(147)][i(211)],o=e.id;r[i(217)](s)>r[i(217)](o)&&([s,o]=[o,s]),n[i(166)](s,o)},isVisible:({plugins:t},e)=>{const i=Uu,n=t[i(165)](br);return!(n[i(170)][i(198)](n[i(147)])[i(137)]>2||e[i(185)])}},restoreRevision:{name:Uu(143),action:(t,{id:e})=>{const i=Uu;t[i(203)][i(165)](i(138))[i(191)](e)},isVisible:({plugins:t},e)=>!!t[Uu(165)](br)[Uu(170)][Uu(195)](e.id)},nameRevision:{name:Uu(174),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Uu,r=t[n(165)](br),s=r[n(170)][n(156)](e);r[n(166)](e,s),i[n(215)](),i[n(178)][n(200)]()}}};const Bu=qu;function Yu(t,e){const i=Gu();return(Yu=function(t,e){return i[t-=212]})(t,e)}const Ju=Yu;function Gu(){const t=["77hMTrYe","fire","editor","268458JaRrKr","viewportOffset","toolbar","viewportTopOffset","detachDomRoot","get","_elementReplacer","replace","fillFromConfig","limiterElement","22564DoPJyh","view","editable","490gAtGxd","10fSyBvf","componentFactory","bind","document","7qLyjRz","10275200YmGBfX","3512142FiQZEX","attachDomRoot","ready","6793434GIofbK","rootName","render","isActive","isFocused","name","restore","491367uwrkDG","destroy","addToolbar","_view","focusTracker","_initToolbar","10tdeczu","getRoot","stickyPanel","editing","_toolbarConfig","init","element","config","4609188QFHfMP","setEditableElement"];return(Gu=function(){return t})()}!function(t){const e=Yu,i=t();for(;;)try{if(743867===parseInt(e(212))/1*(parseInt(e(248))/2)+-parseInt(e(242))/3+-parseInt(e(222))/4*(parseInt(e(225))/5)+parseInt(e(235))/6*(parseInt(e(230))/7)+parseInt(e(231))/8+-parseInt(e(232))/9*(-parseInt(e(226))/10)+parseInt(e(258))/11*(-parseInt(e(256))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends Vn.EditorUI{get[Ju(223)](){return this[Ju(245)]}constructor(e,i){const n=Ju;super(e),this[n(245)]=i,this[n(252)]=(0,Vn.normalizeToolbarConfig)(e[n(255)][n(217)](n(214))),this[n(218)]=new t.ElementReplacer}get[Ju(254)](){const t=Ju;return this[t(223)][t(254)]}[Ju(253)](t){const e=Ju,i=this[e(260)],n=this[e(223)],r=i[e(251)][e(223)],s=n[e(224)],o=r[e(229)][e(249)]();s[e(240)]=o[e(236)],n[e(237)]();const a=s[e(254)];this[e(257)](s[e(240)],a),n[e(224)][e(228)](e(239)).to(this[e(246)]),r[e(233)](a),this[e(218)][e(219)](t,this[e(254)]),this[e(247)](),this[e(259)](e(234))}[Ju(243)](){const t=Ju;super[t(243)]();const e=this[t(223)],i=this[t(260)][t(251)][t(223)];this[t(218)][t(241)](),i[t(216)](e[t(224)][t(240)]),e[t(243)]()}[Ju(247)](){const t=Ju,e=this[t(223)];e[t(250)][t(228)](t(238)).to(this[t(246)],t(239)),e[t(250)][t(221)]=e[t(254)],e[t(250)][t(228)](t(215)).to(this,t(213),(({top:t})=>t)),e[t(214)][t(220)](this[t(252)],this[t(227)]),this[t(244)](e[t(214)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Pn().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Un();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=377]})(t,e)}function il(){var t=["42VRMbxd","content","531296juQypF","40LUylMC","toolbar","25uRGwyy","15aekjLG","1229734OnUDoo","438192mNtqTn","436743dMaSwR","shouldToolbarGroupWhenFull","top","2031921BQmJcy","438978RPaihR","main","editable","9498sHfYrH","add","render","_editable","stickyPanel"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(209742===-parseInt(e(381))/1*(-parseInt(e(392))/2)+parseInt(e(385))/3+-parseInt(e(384))/4+parseInt(e(382))/5*(-parseInt(e(389))/6)+-parseInt(e(397))/7*(parseInt(e(378))/8)+parseInt(e(388))/9+-parseInt(e(379))/10*(-parseInt(e(383))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Vn.BoxedEditorUIView{get[tl(391)](){return this[tl(395)]}constructor(t,e,i={}){var n=tl;super(t),this[n(396)]=new Vn.StickyPanelView(t),this[n(380)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(386)]}),this[n(395)]=new Vn.InlineEditableUIView(t,e)}[tl(394)](){var t=tl;super[t(394)](),this[t(396)][t(377)][t(393)](this[t(380)]),this[t(387)][t(393)](this[t(396)]),this[t(390)][t(393)](this[t(391)])}}function rl(){const t=["document","ready","initPlugins","22tTGRJz","createRoot","locale","initialData","config","595cNpMmM","37495GtvCpa","data","4863576XSoynf","32zFtuSV","4907480YqdYNR","12938KREJXS","get","model","init","256TIcnBd","view","1395621dzhmTe","194898tIlysq","destroy","_ui","updateSourceElement","editing","222wdDJhk","fire","create","sourceElement","32ocYqbu"];return(rl=function(){return t})()}const sl=ol;function ol(t,e){const i=rl();return(ol=function(t,e){return i[t-=158]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(321291===parseInt(e(161))/1*(-parseInt(e(176))/2)+parseInt(e(183))/3+parseInt(e(180))/4*(-parseInt(e(171))/5)+-parseInt(e(188))/6*(-parseInt(e(170))/7)+-parseInt(e(174))/8*(-parseInt(e(182))/9)+-parseInt(e(175))/10+parseInt(e(165))/11*(parseInt(e(173))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(185)]}constructor(t,e){const i=ol;super(e),this[i(160)]=t,this[i(178)][i(162)][i(166)]();const n=new nl(this[i(167)],this[i(187)][i(181)],{shouldToolbarGroupWhenFull:!0});this[i(185)]=new Ku(this,n)}[sl(184)](){const t=sl;return this[t(186)](),this.ui[t(184)](),super[t(184)]()}static async[sl(159)](t,e){const i=sl,n=new this(t,e);return await n[i(164)](),await n.ui[i(179)](t),await n[i(172)][i(179)](n[i(169)][i(177)](i(168))||""),n[i(158)](i(163)),n}}const cl=ul;function ul(t,e){const i=hl();return(ul=function(t,e){return i[t-=234]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(714124===-parseInt(e(239))/1+parseInt(e(371))/2+-parseInt(e(250))/3*(parseInt(e(379))/4)+parseInt(e(348))/5*(parseInt(e(360))/6)+parseInt(e(322))/7*(-parseInt(e(324))/8)+parseInt(e(353))/9*(parseInt(e(267))/10)+-parseInt(e(258))/11*(-parseInt(e(364))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hl);const ll=[cl(308),cl(333)];function hl(){const t=["_enhanceCloseRevisionViewerCallback","update","createdAt","has","_cleanUp","adapter","roots","fromVersion","destroy","commands","includes","getAttributeKeys","change","remove","push","createRangeIn","parse","long","revisionHistory.viewerEditorElement","config","detachRoot","revisionHistory.editorContainer","PaginationLookup","selection","revision-history-missing-configuration","isReadOnly","name","refreshPositioning","none","translations","enableReadOnlyMode","revisionHistory","Users","RevisionHistoryUI","_closeRevisionViewer","save","toVersion","RevisionsRepository","init","getRevisionData","isAttached","$graveyard","isOpen","bind","fromCharCode","revisionHistory.viewerContainer","result","364616idbouc","setAttribute","192eAvYur","RevisionHistory","RevisionViewer","showRevisionViewerCallback","getUser","Restored","creator","document","getRevision","RestrictedEditingMode","end","addRevisionData","isOfficialPlugin","_getRevisionViewerEditorConfig","join","restrictedEditingException","set","removeAttribute","display","requires","data","isAnonymous","lazyRoots","revisionHistory.requireRevisionName","175ZGusyZ","getRevisions","isEnabled","isPremiumPlugin","pluginName","24147CsssPY","plugins","changesNavigation","addUser","Annotations","numeric","RevisionTracker","207222xNaweJ","_enhanceShowRevisionViewerCallback","_update","RevisionViewerIntegration","100680OgLfBW","indexOf","error","restoreRevision","refreshVisibility","_restoreRevision","getRoot","770766rcmiPt","Autosave","Dialog","get","from","getRevisionRootsAttributes","rootName","uiLanguage","12tGRgEI","model","saveRevision","repository","insert","style","disableReadOnlyMode","761768BQtVKw","toolbar","define","revisionHistory.restoreRevisionCallback","markers","revisionHistory.closeRevisionViewerCallback","_viewerEditor","enqueueChange","editor","revision-history-viewer-opened","toLocaleTimeString","383271kHHrFb","revisionHistory.showRevisionViewerCallback","isReady","closeRevisionViewerCallback","keys","map","removeSelectionAttribute","then","407QdEKbF","catch","_recalculatePageBreaks","setSelection","_showRevisionViewer","block","exitToEditing","hide","users","4490JDxcYd","getMarkersGroup","addRoot","toLocaleDateString","create","toJSON","removeMarker","locale"];return(hl=function(){return t})()}class dl extends qi.Plugin{static get[cl(352)](){return cl(363)}static get[cl(336)](){return!0}static get[cl(351)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(255)]((t=>String[e(319)](t)))[e(338)]("")}super(t),this[e(321)]=e(334),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 fl extends qi.Plugin{static get[cl(352)](){return cl(325)}static get[cl(336)](){return!0}static get[cl(351)](){return!0}static get[cl(343)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(247)][i(294)][i(374)](i(306)))throw new t.CKEditorError(i(299),this);this[i(245)]=null,this[i(247)][i(294)][i(241)](i(251),(t=>this[i(262)]({...t,translations:this[i(247)][i(274)][i(304)]}))),this[i(247)][i(294)][i(241)](i(244),(t=>this[i(309)](t))),this[i(247)][i(294)][i(241)](i(242),(t=>this[i(369)](t))),this[i(247)][i(294)][i(241)](i(347),!1),this[i(361)](),this[i(275)]()}set[cl(280)](t){const e=cl;this[e(247)][e(354)][e(374)](e(359))[e(280)]=t}get[cl(280)](){const t=cl;return this[t(247)][t(354)][t(374)](t(359))[t(280)]}[cl(335)](t){const e=cl;return this[e(247)][e(354)][e(374)](e(359))[e(335)](t)}[cl(332)](t){const e=cl;return this[e(247)][e(354)][e(374)](e(312))[e(332)](t)}[cl(349)](t){const e=cl;return this[e(247)][e(354)][e(374)](e(312))[e(349)](t||{toJSON:!1})}[cl(337)](){const e=cl,i=this[e(247)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(354)][e(374)](e(359)),s=i[e(354)][e(374)](e(307))[e(266)];return n[e(240)]=[e(264),e(367),e(355)],delete n[e(346)],n[e(354)][e(289)](dl,br,Pr,class extends qi.Plugin{static get[e(343)](){return[br,e(307)]}[e(313)](){const n=e,o=this[n(247)][n(354)][n(374)](n(307));for(const t of s)t[n(345)]||o[n(328)](t.id)||o[n(356)](t);const a=r[n(235)][n(349)]();let c=null;const u=this[n(247)][n(354)][n(374)](n(326));u[n(280)]=r[n(280)],u[n(318)](n(350)).to(r),this[n(247)][n(284)][n(374)](n(367))[n(318)](n(350)).to(i,n(300),(t=>!t));for(const e of a){const i=null===e[n(330)];if(i&&e[n(311)]===e[n(282)])continue;const s=e[n(272)]();u[n(335)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(362)](s,o);else if(!o){const e=a[u(272)]();e.id=(0,t.uid)(),r[u(234)](e,a[u(311)])[u(257)]((t=>{c=t}))}}else e[u(362)](s,o)}))}}},Bu),n}[cl(361)](){const t=cl,e=this[t(247)][t(294)][t(374)](t(306))[t(327)];this[t(247)][t(294)][t(340)](t(251),(async()=>{const i=t;this[i(247)][i(305)](i(248));const n=this[i(247)][i(354)][i(374)](i(359));if(this[i(247)][i(354)][i(278)](i(372))){const t=this[i(247)][i(354)][i(374)](i(372));await t[i(310)]()}else await n[i(276)]();if(this[i(247)][i(354)][i(278)](i(297))&&this[i(247)][i(354)][i(374)](i(297))[i(260)](),this[i(247)][i(354)][i(278)](i(373))){const t=this[i(247)][i(354)][i(374)](i(373));t[i(317)]&&t[i(265)]()}const r=this[i(337)]();return e(r)[i(257)]((t=>{const e=i;return this[e(245)]=t,this[e(247)][e(354)][e(278)](e(357))&&this[e(247)][e(354)][e(374)](e(357))[e(368)](),t}))[i(259)]((t=>(console[i(366)](t),this[i(247)][i(238)](i(248)),null)))}))}[cl(275)](){const t=cl,e=this[t(247)][t(294)][t(374)](t(306))[t(253)];this[t(247)][t(294)][t(340)](t(244),(()=>(this[t(247)][t(354)][t(278)](t(297))&&this[t(247)][t(354)][t(374)](t(297))[t(260)](),this[t(245)][t(354)][t(374)](t(326))[t(279)](),e(this[t(245)])[t(257)]((()=>{const e=t;if(this[e(247)][e(238)](e(248)),this[e(245)]=null,this[e(247)][e(354)][e(278)](e(357))){const t=this[e(247)][e(354)][e(374)](e(357));t[e(368)](),t[e(302)]()}})))))}[cl(262)](t){const e=cl,i=this[e(247)][e(294)][e(374)](e(296)),n=this[e(247)][e(294)][e(374)](e(320)),r=this[e(247)][e(294)][e(374)](e(293));return al[e(271)](r,t)[e(257)]((t=>(n[e(237)][e(342)]=e(263),i[e(237)][e(342)]=e(303),t)))}[cl(309)](t){const e=cl,i=this[e(247)][e(294)][e(374)](e(296));return this[e(247)][e(294)][e(374)](e(320))[e(237)][e(342)]=e(303),i[e(237)][e(342)]="",t[e(283)]()}async[cl(369)](t){const e=cl,i=this[e(247)],n=this[e(245)][e(354)][e(374)](e(326)),r=i[e(354)][e(374)](e(359)),s=n[e(235)][e(332)](t);let o,a,c;try{o=await n[e(314)](s),a=await n[e(376)](s)}catch(t){return void console[e(366)](t)}i[e(380)][e(287)]((t=>{const n=e;for(const e of Array[n(375)](i[n(380)][n(243)][n(268)](n(339))))t[n(273)](e)})),n[e(252)]=!1,i[e(380)][e(246)]((t=>{const n=e;t[n(261)](null),t[n(256)](i[n(380)][n(331)][n(298)][n(286)]());const r=Object[n(254)](o);for(const e of i[n(380)][n(331)][n(281)])n(316)!=e[n(377)]&&e[n(315)]()&&!r[n(285)](e[n(377)])&&t[n(295)](e);for(const e of r){let r=i[n(380)][n(331)][n(370)](e);r&&r[n(315)]()||(r=t[n(269)](e));const s=a[e],c=Object[n(254)](s),u=o[e];for(const e of r[n(286)]())c[n(285)](e)||t[n(341)](e,r);for(const i of c)t[n(323)](i,a[e][i],r);t[n(288)](t[n(290)](r)),t[n(236)](i[n(344)][n(291)](u,r),r,0)}}));const u=Xi(i[e(274)],e(329));return c=s[e(301)]?-1==s[e(301)][e(365)](u)?u+": "+s[e(301)]:s[e(301)]:u+": "+s[e(277)][e(270)](i[e(274)][e(378)],{month:e(292),day:e(358)})+", "+s[e(277)][e(249)](i[e(274)][e(378)],{hour:e(358),minute:e(358)}),await r[e(234)]({name:c}),n[e(252)]=!0,i[e(294)][e(374)](e(306))[e(253)]()}}function ml(){var t=["492kdmQEK","2803900lRNBAf","100505eebcQU","1709000YEHfoQ","916821hBYhGu","479VSzCIF","4725LhODHt","926rvYIMG","24bvVyXW","1275232YRNhyU"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=364]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(125128===parseInt(e(372))/1*(parseInt(e(364))/2)+parseInt(e(373))/3*(parseInt(e(367))/4)+parseInt(e(369))/5*(-parseInt(e(365))/6)+parseInt(e(366))/7+-parseInt(e(370))/8+parseInt(e(371))/9+-parseInt(e(368))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|