@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250826.0 → 0.0.0-nightly-20250827.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +11 -11
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ea,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=216]})(t,e)}function Y(){const t=["5551860CjHQmP","name","5673857eNVrkd","fire","33195XBaBmt","diffData","attributes","1hqJIMy","removeAttribute","createdAt","map","creator","toJSON","model","setName","_update","setAttribute","869lwGRmR","fromVersion","authors","4rpxZFU","8pRNsUx","set","541066oqsiDH","2691828hHXUfi","toVersion","authorsIds","7701579XbZgBb","creatorId","26120BbevwD"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(500666===-parseInt(e(240))/1*(-parseInt(e(226))/2)+parseInt(e(227))/3+-parseInt(e(223))/4*(-parseInt(e(237))/5)+-parseInt(e(233))/6+-parseInt(e(235))/7+-parseInt(e(224))/8*(-parseInt(e(230))/9)+-parseInt(e(232))/10*(-parseInt(e(220))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(244)];[q(222)];[q(238)];[q(228)];[q(221)];[q(216)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(244)]=e[i(244)]||null,this[i(222)]=e[i(222)]||[],this[i(238)]=e[i(238)]||null,this[i(228)]=e[i(228)]||0,this[i(221)]=e[i(221)]||0,this[i(225)](i(234),e[i(234)]||""),this[i(225)](i(242),e[i(242)]||new Date),this[i(225)](i(239),e[i(239)]||{})}[q(217)](t){this[q(218)]({name:t})}[q(219)](t,e){const i=q,n=A(this[i(239)]);U(n,t,e),this[i(218)]({attributes:n})}[q(241)](t){const e=q,i=A(this[e(239)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(218)]({attributes:i})}[q(218)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(234),i(242),i(238),i(222),i(239),i(228),i(221),i(231)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(222)]&&(s[i(229)]=s[i(222)][i(243)](t=>t.id),delete s[i(222)]),this[i(236)](i(218),s,e))}[q(245)](){const t=q;return{id:this.id,name:this[t(234)],creatorId:this[t(244)]?this[t(244)].id:null,authorsIds:this[t(222)][t(243)](t=>t.id),diffData:this[t(238)],createdAt:this[t(242)],attributes:this[t(239)],fromVersion:this[t(221)],toVersion:this[t(228)]}}}var G=i(782),K=i(211),X=i(783);function Q(){const t=["attributes","isNaN","plugins","4144231Mgmkpv","add","afterInit","getRevisionsInDiff","fromVersion","from","oldRevisionId","addRevision","96CdYcWB","length","createdAt","755ZGefOv","isOfficialPlugin","reverse","getIndex","newRevisionId","later","getRevisionsIterator","createRevision","27064480dJBdcg","2533554siKfSC","getRevision","get","push","editor","requires","toVersion","18280OtSDEO","8FUuyFZ","data","RevisionsRepository","fromCharCode","diffData","650842ZOvzFE","Users","join","authorsIds","name","809964FRgzmn","isPremiumPlugin","creatorId","_revisions","getRevisions","toJSON","map","getUser","getLaterVisibleRevision","29046EeCrAO","pluginName","earlier","getEarlierVisibleRevision","href"];return(Q=function(){return t})()}const tt=et;function et(t,e){const i=Q();return(et=function(t,e){return i[t-=162]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(706115===-parseInt(e(198))/1+-parseInt(e(185))/2+-parseInt(e(173))/3*(-parseInt(e(192))/4)+-parseInt(e(176))/5*(parseInt(e(212))/6)+parseInt(e(165))/7+parseInt(e(193))/8*(-parseInt(e(203))/9)+parseInt(e(184))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends G.Plugin{[tt(206)];static get[tt(190)](){return[K.Users]}static get[tt(213)](){return tt(195)}static get[tt(177)](){return!0}static get[tt(204)](){return!0}get[tt(174)](){const t=tt;return this[t(206)][t(174)]}constructor(e){const i=tt;super(e),this[i(206)]=new t.Collection}[tt(167)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(163)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(209)](t=>String[e(196)](t))[e(200)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1756166400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(216)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(183)](t){const e=tt,i=this[e(189)][e(164)][e(187)](e(199));return new J({id:t.id,name:t[e(202)],creator:t[e(205)]?i[e(210)](t[e(205)]):null,diffData:t[e(197)]||t[e(194)],authors:t[e(201)][e(209)](t=>i[e(210)](t)),createdAt:new Date(t[e(175)]),attributes:t[e(162)],fromVersion:t[e(169)],toVersion:t[e(191)]})}[tt(172)](t,e=0){const i=tt;this[i(206)][i(166)](t,e)}[tt(186)](t){const e=tt;return this[e(206)][e(187)](t)}[tt(207)](t={toJSON:!1}){const e=tt,i=Array[e(170)](this[e(206)]);return i[e(178)](),t[e(208)]?i[e(209)](t=>t[e(208)]()):i}[tt(179)](t){const e=tt;return this[e(206)][e(179)](t)}[tt(215)](t){const e=tt,[,i]=this[e(182)](t,{direction:e(214)});return i}[tt(211)](t){const e=tt,[,i]=this[e(182)](t,{direction:e(181)});return i}[tt(168)](t){const e=tt,i=[];for(const n of this[e(182)](t[e(180)]))if(i[e(188)](n),n.id===t[e(171)])break;return i}*[tt(182)](t,{direction:e=tt(214),filter:i=()=>!0}={}){const n=tt,s=n(214)===e?1:-1;let r=this[n(206)][n(187)](t),o=this[n(179)](r);for(yield r;r;){if(o+=s,r=this[n(186)](o),!r)return;i(r)&&(yield r)}}}function nt(){const t=["isOfficialPlugin","collaboration.channelId","render","innerHTML","from","toData","insertions","pluginName","isAttached","_typeCharToViewClass","attributesAfter","isPremiumPlugin","processor","_setCustomProperty","_viewClassToTypeChar","revision-end","revision-start","attributes","useFillerType","data","name","data-revision-","diffData","document","string","startsWith","10969vWnufQ","attachChange","type","children","fillerOffset","2460174MVeQmV","domDocument","_appendChild","domChildrenToView","_getViewFromDiffObj","viewChildrenToDom","editing","parse","_getTypeCharForViewElement","domConverter","filter","div","3126rptQuq","7499745JvDrCj","customProperties","length","map","view","2776610LzXCOk","editor","htmlProcessor","config","getRevisionDocumentData","getRevisionRootsAttributes","getFillerOffset","append","4399070jpjsuh","RevisionHistoryUtils","getRevision","default","3853756FDOaIb","_removeRevisionMarkers","1aQeGTv","forEach","constructor","_makeModelFromViewString","get","loadRevisionData","100848TllLIj","childNodes","toModel","marked","8jEpOvk","createElement"];return(nt=function(){return t})()}const st=rt;function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(779060===-parseInt(e(514))/1*(-parseInt(e(520))/2)+-parseInt(e(557))/3+parseInt(e(512))/4+parseInt(e(508))/5+-parseInt(e(494))/6*(-parseInt(e(552))/7)+-parseInt(e(524))/8*(parseInt(e(495))/9)+-parseInt(e(500))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(533)](){return st(509)}static get[st(526)](){return!0}static get[st(537)](){return!0}[st(540)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(535)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(519)](t,e){const i=st;if(t[i(548)]||!e)return;const n=this[i(501)][i(503)][i(518)](i(527)),s=await e[i(510)]({channelId:n,revisionId:t.id});t[i(548)]=s[i(548)]}[st(504)](t){const e=st,i={};for(const n in t[e(548)]){if(t[e(548)][n][e(553)]&&!t[e(548)][n][e(553)][e(534)])continue;const s=this[e(513)](JSON[e(489)](t[e(548)][n][e(532)])),r=this[e(501)][e(488)][e(499)][e(549)],o=new X.ViewDocumentFragment(r,s[e(498)](t=>this[e(561)](t,!1)));this[e(501)][e(545)][e(538)][e(544)](e(523)),i[n]=this[e(501)][e(545)][e(538)][e(531)](o),this[e(501)][e(545)][e(538)][e(544)](e(511))}return i}[st(505)](t){const e=st,i={};for(const n in t[e(548)])t[e(548)][n][e(553)]&&!t[e(548)][n][e(553)][e(534)]||(i[n]=t[e(548)][n][e(536)]||{});return i}[st(490)](t){const e=st;return this[e(540)][e(518)](t[e(516)])}[st(561)](t,e){const i=st,n=this[i(501)][i(488)][i(499)][i(549)];if(i(550)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(554)]||"r"==t[i(554)]?[]:t[i(555)][i(498)](t=>this[i(561)](t,e));const o=this[i(535)][i(518)](t[i(554)])||X.ViewElement,a=this[i(501)][i(545)][i(502)][i(491)];if(s=new o(n,t[i(546)],t[i(543)],r),"u"==t[i(554)]&&t[i(555)][0]){const r=t[i(555)][0];if(s[i(528)]=function(t){const e=i,n=t[e(525)](e(493));return n[e(529)]=r,n[e(521)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(559)](s);const e=Array[i(530)](a[i(487)](t,{bind:!1})),r=a[i(558)][i(525)](i(493));r[i(507)](...e),s=Array[i(530)](a[i(560)](r))[0]}}else if("r"==t[i(554)]&&t[i(555)][0]){const r=t[i(555)][0];if(s[i(528)]=function(t){t[i(529)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(559)](s);const e=Array[i(530)](a[i(487)](t,{bind:!1})),r=a[i(558)][i(525)](i(493));r[i(507)](...e);const o=Array[i(530)](a[i(560)](r));o[i(497)]>1?s[i(559)](o):s=o[0]}}if(t[i(496)])for(const[e,n]of t[i(496)])s[i(539)](e,n);const c=void 0===t[i(556)]?null:t[i(556)];return null!==c&&(s[i(506)]=()=>c),s}}[st(517)](t){const e=st,i=JSON[e(489)](t),n=this[e(501)][e(488)][e(499)][e(549)],s=new X.ViewDocumentFragment(n,i[e(498)](t=>this[e(561)](t,!0)));return this[e(501)][e(545)][e(522)](s)}[st(513)](t){const e=st;return(t=t[e(492)](t=>!t[e(546)]||e(542)!==t[e(546)]&&e(541)!==t[e(546)]))[e(515)](t=>{const i=e;i(550)!=typeof t&&(t[i(555)]=this[i(513)](t[i(555)]),t[i(543)]=t[i(543)][i(492)](t=>!t[0][i(551)](i(547))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}function ft(t,e){const i=pt();return(ft=function(t,e){return i[t-=227]})(t,e)}const mt=ft;function pt(){const t=["_addPendingAction","howMany","loadState","vid_end","_transformMarkers","from","RevisionTracker","nodes","_getFromVersion","resolve","getTransformedByOperation","_licenseKeyCheckInterval","186970nZPrmI","add","addRootAttribute","rawElement","getLatestVersion","addRoot","outerHTML","attributesAfter","getAttribute","_pendingAction","_operations","getMovedRangeStart","editor-initial-data-replaced-with-revision-data","authors","update","path","isAttached","_startingVersion","createdAt","$text","_lastFrom","oldRange","documentFragment","_handleInsertOperation","_findInsertionIndex","isAdd","rootName","document","domDocument","getData","splitPosition","get","vid","affectsData","_loadState","stringify","_showLicenseError","revision","paragraph","uiElement","delete","_removeMetaData","_getTypeCharForViewElement","Users","117544tKOYLu","attributesBefore","revisionHistoryLicenseKeyEvaluationLimit","config","createPositionBefore","reverse","deletion","key","$comment","keys","loadRevisionData","remove","_touchedRoots","_baseRoots","fromEntries","locale","element","usageLimit","_authorId","removeRootAttribute","revisionHistoryLicenseKeyInvalid","offsetSize","for","addRevisionData","getOperation","map","_touchedMarkers","_clone","_fixRange","hasContent","_setAttribute","data","_fixPosition","_startingRevisionId","getChildren","_handleMoveOperation","_handleRootOperation","1428108aQylVh","_continueCurrentRevision","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyValid","PendingActions","_getViewJson","getIndex","_replaceEditorDataWithRevisionData","fillerOffset","getRevisions","createPositionFromPath","end","isPremiumPlugin","expired","_getState","offset","clone","_cloneOperation","userId","_baseRootsAttributes","revision:","_createInitialRevision","12mjwLzS","RevisionsRepository","getRevisionRootsAttributes","1353171xBHvJk","deletions","featureNotAllowed","_isAttached","roots","getChild","range","clear","_makeRevision","_applyOperations","createPositionAt","2110356oafISf","createElement","repository","define","parent","_copyMarkers","_initialRevisionId","collaboration.channelId","filter","_handleSplitOperation","tableCell","creatorId","_makeModelFromViewString","getTime","saveRevision","insertionPosition","markers","elementEnd","trialLimit","NEGATIVE_INFINITY","getAttributes","targetPosition","_revisionDataBuilder","_getPreviousFrom","children","setRevisionData","buildRevisionData","type","marker","sendBufferedUpdates","fromVersion","_handleRootAttributeOperation","_handleMarkerOperation","20UUFpnC","sort","changeRootAttribute","authorsIds","split","_revisionId","RevisionHistory","init","move","_removePendingAction","_markers","isOfficialPlugin","start","_idsRoots","_bufferedUpdates","some","licenseKey","_createFromRanges","_update","bind","sourcePosition","_getVidAttributeName","creator","_createCurrentRevision","length","nodeAfter","insertions","_isInit","getRevision","string","_makeIdsRoot","createRevision","trim","pluginName","vid_start","_prepareViewToSave","_appendChild","merge","_markChanges","toView","Empty document","_reset","source","find","revisionHistoryLicenseKeyUsageLimit","newRange","2623000TuOklM","_source","detachRoot","259yhmQSy","dataDowncast","dataToMarker","$graveyard","text","editor","position","RevisionHistoryUtils","toVersion","_bufferUpdate","_savedMetaData","stickiness","currentRevision","finally","createRange","_handleMergeOperation","_utils","_generateTape","_handleOperation","isEqual","createPositionAfter","revisionHistoryLicenseKeyTrialLimit","htmlProcessor","has","addRevision","version","history","initialData","PENDING_ACTION_REVISION_HISTORY","conversion","destroy","12hihOlA","getRange","_fixOperation","_touched","_getBaseVids","domainLimit","model","includes","getNodeByPath","revisionHistoryLicenseKeyNotAllowed","newValue","ready","_setConversion","_execute","getCurrentRevisionId","_calculateMetaData","plugins","attachChange","_insertChild","setSource","isReady","customProperties","baseVersion","31789rSdQES","revisionHistoryLicenseKeyExpired","name","root","_isPendingUpdate","afterInit","adapter","diffData","_baseIdsRoots","reinsert","requires","elementStart","domConverter","push","graveyardPosition","_diffRoots","getRevisionDocumentData","_processRootBeforeSave","getUser","_diffRootsAttributes","size","getFillerOffset","evaluationLimit","getAncestors","keepParagraph","upcast","isEnabled","then","invalid","getOperations","set","insertion","_saveMetaData","render","reInit","max","getCustomProperties","121dOzWsf","Initial revision","getWalker","rootsAttributes","values","item","_loadedStateData","slice","shift","revisionHistory.resumeUnsavedRevision","insert","childCount","getRootNames","initial","createRangeIn","RealTimeCollaborationClient","updateRevisions","getRoot","_lastTo","markerToData","innerHTML","previousPosition","startsWith"];return(pt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(357319===-parseInt(e(250))/1*(-parseInt(e(227))/2)+parseInt(e(428))/3+-parseInt(e(518))/4+-parseInt(e(322))/5*(-parseInt(e(425))/6)+parseInt(e(521))/7*(-parseInt(e(366))/8)+-parseInt(e(439))/9*(parseInt(e(472))/10)+parseInt(e(287))/11*(parseInt(e(403))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[mt(488)];[mt(321)];[mt(533)]=null;[mt(441)];[mt(256)]=null;[mt(461)];[mt(519)];[mt(445)];[mt(486)];[mt(537)];[mt(331)];[mt(404)];[mt(339)];[mt(293)];static get[mt(505)](){return mt(316)}static get[mt(483)](){return!0}static get[mt(415)](){return!0}static get[mt(260)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=mt;super(e),this[i(441)]=this[i(526)][i(243)][i(353)](i(426)),this[i(537)]=this[i(526)][i(243)][i(353)](i(528)),this[i(461)]=new gt(this[i(526)]),this[i(445)]=this[i(526)][i(369)][i(353)](i(446))||i(300),this[i(486)]=new Map,this[i(293)]=null;const n=(0,t.uid)();this[i(519)]={history:this[i(526)][i(233)][i(349)][i(547)],getLatestVersion:()=>Promise[i(319)](this[i(526)][i(233)][i(349)][i(546)]),getCurrentRevisionId:()=>n},this[i(280)](i(247),!1),this[i(280)](i(276),!0),this[i(280)](i(254),!1),this[i(526)][i(369)][i(442)](i(296),!0),this[i(526)][i(550)][i(388)](i(275))[i(523)]({view:i(359)})}[mt(479)](){const t=mt;this[t(239)](),this[t(526)][t(397)].on(t(238),()=>{const e=t,i=this[e(441)][e(500)](0),n=i&&null===i[e(494)]?i:null;if(this[e(404)]=!!n&&this[e(526)][e(369)][e(353)](e(296)),this[e(526)][e(243)][e(544)](e(302))){const t=this[e(519)][e(241)](),s=this[e(441)][e(500)](t);if(s)this[e(339)]=s[e(469)],this[e(404)]=!1;else{const t=this[e(519)][e(547)][e(332)][e(515)](t=>!t[e(499)]),s=t?t[e(249)]:this[e(519)][e(547)][e(546)];i?(i[e(529)]<s&&i[e(490)]({toVersion:s}),this[e(404)]?(this[e(519)][e(241)]=()=>n.id,this[e(339)]=n[e(469)]):(this[e(339)]=i[e(529)],this[e(404)]=!1)):(this[e(339)]=s,this[e(404)]=!1)}}else n&&(this[e(526)][e(233)][e(349)][e(547)][e(546)]=Math[e(285)](n[e(529)],this[e(526)][e(233)][e(349)][e(547)][e(546)]),n[e(469)]===n[e(529)]?(0!==n[e(469)]&&(this[e(519)][e(241)]=()=>n.id),this[e(404)]=!1):this[e(404)]&&(this[e(519)][e(241)]=()=>n.id,this[e(339)]=n[e(469)])),this[e(404)]||(this[e(339)]=this[e(526)][e(233)][e(349)][e(546)]);this[e(461)][e(479)](this[e(519)][e(547)]),this[e(424)](this[e(339)]),this[e(495)](this[e(339)]),this[e(256)]&&this[e(468)]()}),this[t(491)](t(247)).to(this,t(254),t=>!t),this[t(488)]=this[t(526)][t(369)][t(353)](t(488));const e=this[t(526)];this[t(321)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(406)==r||i(386)==r||i(251)==r||i(405)==r||i(236)==r||i(368)==r||i(542)==r||i(516)==r){delete e[s],n=r,clearInterval(this[i(321)]),this[i(321)]=void 0;break}}i(386)==n&&e[i(358)](i(278)),i(251)==n&&e[i(358)](i(416)),i(405)==n&&e[i(358)](i(232)),i(236)==n&&e[i(358)](i(430),i(478)),i(368)==n&&e[i(358)](i(272)),i(542)==n&&e[i(358)](i(457)),i(516)==n&&e[i(358)](i(383))},1e3)}async[mt(255)](){const t=mt;if(this[t(441)][t(496)]>0){const e=this[t(441)][t(500)](0),i=await this[t(266)](e),n=await this[t(427)](e);this[t(410)](i,n)}}[mt(551)](){const t=mt;super[t(551)](),this[t(321)]&&clearInterval(this[t(321)])}[mt(246)](t){this[mt(519)]=t}async[mt(336)](){const t=mt,e=await this[t(519)][t(326)]();if(e>this[t(533)][t(529)]){await this[t(356)]();const i=this[t(465)]({revision:this[t(533)],to:e});i[t(335)]=i[t(475)][t(391)](e=>this[t(526)][t(243)][t(353)](t(365))[t(268)](e)),this[t(533)][t(490)](i)}}async[mt(453)](e={},i=null){const n=mt,s=[];await this[n(356)](),this[n(404)]=!1,i>this[n(533)][n(529)]&&(i=null),null===i&&(i=await this[n(519)][n(326)]());const r=this[n(318)](i),o=this[n(465)]({from:r,to:i});if(this[n(533)][n(529)]<i){const t=this[n(465)]({revision:this[n(533)],from:i,to:i});t[n(335)]=[],t[n(475)]=[],t.id=this[n(533)].id,this[n(533)][n(490)](t,!0),delete t[n(335)],s[n(263)](t)}e[n(450)]=this[n(526)][n(243)][n(353)](n(365)).me.id,e[n(252)]=e[n(252)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(389)](e);s[n(263)](e);const c=this[n(441)][n(409)](a);if(0!==c){const t=this[n(441)][n(500)](c-1);if(t[n(469)]!==i){const r=this[n(461)][n(351)](i,t[n(529)]),o={id:t.id,diffData:r[n(257)],authorsIds:r[n(475)],authors:r[n(475)][n(391)](t=>this[n(526)][n(243)][n(353)](n(365))[n(268)](t)),fromVersion:i};t===this[n(533)]&&(o[n(340)]=new Date(e[n(340)][n(452)]()+10)),t[n(490)](o,!0),delete o[n(335)],s[n(263)](o)}}if(this[n(256)]){for(const t of s)this[n(530)](t.id,t,!0);this[n(468)]()}return a}[mt(389)](t){const e=mt,i=this[e(441)][e(503)](t);return this[e(256)]&&i.on(e(490),(t,i,n)=>{const s=e;n||(this[s(530)](i.id,i,!0),this[s(468)]())}),this[e(441)][e(545)](i,this[e(346)](i)),i}async[mt(266)](t){const e=mt;return await this[e(537)][e(376)](t,this[e(256)]),this[e(537)][e(266)](t)}async[mt(427)](t){const e=mt;return await this[e(537)][e(376)](t,this[e(256)]),this[e(537)][e(427)](t)}[mt(468)](){const t=mt;if(0===this[t(486)][t(270)])return;if(this[t(254)])return;let e=Array[t(315)](this[t(486)][t(291)]());this[t(486)][t(435)]();for(let i=0;i<e[t(496)];i++){const n=e[i];let s=!1;for(const e of Object[t(375)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(447)](t=>null!==t),!e[t(496)])return;for(let i=0;i<e[t(496)];i++){const n=e[i];void 0!==n[t(469)]&&void 0===n[t(529)]&&(n[t(529)]=this[t(441)][t(500)](n.id)[t(529)]),void 0!==n[t(529)]&&void 0===n[t(469)]&&(n[t(469)]=this[t(441)][t(500)](n.id)[t(469)])}const i=this[t(526)][t(369)][t(353)](t(446));this[t(254)]=!0,this[t(310)](),this[t(256)][t(303)](e,i)[t(534)](()=>{this[t(254)]=!1})[t(277)](e=>{const i=t;if(e)for(const t of e)this[i(464)]({id:t.id,createdAt:t[i(340)]});this[i(481)](),this[i(468)]()})}[mt(465)]({revision:t=null,from:e=null,to:i=null}){const n=mt;e=null!==e?e:t[n(469)],i=null!==i?i:t[n(529)];const s=this[n(461)][n(351)](e,i),r={diffData:s[n(257)],authorsIds:s[n(475)],fromVersion:e,toVersion:i};if(!t||i!==t[n(529)]){const t=i-1,e=this[n(519)][n(547)][n(390)](t);r[n(340)]=e&&e[n(340)]||new Date}if(this[n(293)]&&e===this[n(293)][n(469)])for(const t of this[n(293)][n(335)])r[n(475)][n(234)](t.id)||r[n(475)][n(263)](t.id);return r}[mt(530)](t,e,i){const n=mt;if(this[n(486)][n(544)](t)){const s=this[n(486)][n(353)](t);e=i?{...s,...e}:{...e,...s}}this[n(486)][n(280)](t,e)}[mt(464)](t){const e=mt,i=this[e(441)][e(500)](t.id);if(t[e(340)]&&(t[e(340)]=new Date(t[e(340)])),t[e(475)]){const i=this[e(526)][e(243)][e(353)](e(365));t[e(335)]=t[e(475)][e(391)](t=>i[e(268)](t))}i[e(490)](t,!0)}[mt(424)](t){const e=mt,i=this[e(441)][e(500)](this[e(441)][e(496)]-1);if(i)this[e(445)]=i.id;else{const i=!this[e(526)][e(233)][e(349)][e(432)][e(515)](t=>this[e(526)][e(233)][e(395)](t)),n=this[e(526)][e(243)][e(353)](e(365)).me.id,s=at(this[e(526)][e(381)],e(i?512:288));this[e(436)]({from:t,to:t,id:this[e(445)],name:s,creatorId:n})}}[mt(495)](t){const e=mt,i=this[e(519)][e(241)]();this[e(533)]=this[e(441)][e(500)](i),this[e(533)]||(this[e(533)]=this[e(436)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[mt(356)](){const t=mt;this[t(404)]&&!this[t(293)]&&(await this[t(537)][t(376)](this[t(533)],this[t(256)]),this[t(461)][t(312)](this[t(533)]),this[t(293)]={fromVersion:this[t(533)][t(469)],authors:this[t(533)][t(335)][t(294)]()})}[mt(410)](e,i){const n=mt;let s=this[n(526)][n(369)][n(353)](n(548)),r=this[n(526)][n(369)][n(353)](n(290));if(void 0===s){s={};for(const t of this[n(526)][n(233)][n(349)][n(299)]())s[t]=""}if(n(501)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(526)][n(233)][n(349)][n(299)]())r[t]={}}let o=!1;const a=Object[n(375)](s),c=Object[n(375)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(504)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(375)](r[t])[n(496)]>0){o=!0;break}}o||(o=c[n(487)](t=>!this[n(526)][n(233)][n(349)][n(304)](t))),o&&(0,t.logWarning)(n(334),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(526)][n(369)][n(280)](n(548),e),this[n(526)][n(369)][n(280)](n(290),i)}[mt(310)](){const t=mt;if(!this[t(331)]){const e=this[t(526)][t(243)][t(353)](t(407));this[t(331)]=e[t(323)](at(this[t(526)][t(381)],t(549)))}}[mt(481)](){const t=mt;this[t(331)]&&(this[t(526)][t(243)][t(353)](t(407))[t(377)](this[t(331)]),this[t(331)]=null)}[mt(346)](t){const e=mt,i=this[e(441)][e(412)]();i[e(371)]();let n=0;for(;n<i[e(496)];){const s=i[n];if(s===this[e(533)]){n++;continue}if(s.id===this[e(445)])break;const r=t[e(529)]-s[e(529)]||t[e(469)]-s[e(469)];if(r>0)break;if(r<0)n++;else{if(!t[e(494)]&&s[e(494)])break;if(s[e(494)]||!t[e(494)]){if(t[e(340)]>s[e(340)])break;n++}else n++}}return n}[mt(318)](t){const e=mt,i=this[e(441)][e(412)]();i[e(371)](),i[e(295)]();const n=i[e(515)](i=>i[e(529)]<=t)[e(529)];return n<this[e(339)]?this[e(339)]:n}[mt(436)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=mt,o=this[r(465)]({from:e,to:i});o[r(252)]=t,o[r(450)]=n,o.id=s;const a=this[r(389)](o);return this[r(256)]&&this[r(530)](o.id,o,!0),a}[mt(239)](){const t=mt;this[t(526)][t(550)][t(388)](t(522))[t(306)]({model:t(359)})}}class gt{[mt(526)];[mt(514)];[mt(531)];[mt(342)];[mt(305)];[mt(482)];[mt(265)];[mt(269)];[mt(379)];[mt(422)];[mt(485)];[mt(258)];[mt(230)];[mt(392)];[mt(378)];[mt(477)];[mt(399)];constructor(t){const e=mt;this[e(526)]=t,this[e(531)]=new Map,this[e(342)]=-1,this[e(305)]=-1,this[e(482)]=new Map,this[e(265)]=new Map,this[e(269)]=new Map,this[e(379)]=new Map,this[e(422)]=new Map,this[e(485)]=new Map,this[e(258)]=new Map,this[e(230)]=new Map,this[e(392)]=new Map,this[e(378)]=new Map,this[e(477)]=1}[mt(479)](t){const e=mt;this[e(514)]=t;const i=new Map,n=new Map,s=this[e(526)][e(233)][e(349)][e(432)][e(391)](t=>t[e(348)]);for(const t of s){const s=this[e(526)][e(233)][e(349)][e(304)](t),r=yt(s);i[e(280)](t,r),n[e(280)](t,Object[e(380)](s[e(459)]()))}const r=Array[e(315)](this[e(526)][e(233)][e(455)])[e(391)](t=>[t[e(252)],t[e(228)]()]),o=this[e(514)][e(546)];this[e(282)](o,i,r,n),this[e(399)]=this[e(477)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(280)](t,i),c[e(280)](t,{})}this[e(282)](Number[e(458)],a,[],c)}[mt(351)](t,e){const i=mt;if(this[i(342)]===t&&this[i(305)]<=e)this[i(531)][i(270)]>1&&this[i(363)](this[i(305)]),this[i(437)](this[i(305)],e,!0);else{if(!this[i(531)][i(544)](t)){const e=this[i(462)](t);this[i(242)](e,t,!1)}this[i(242)](t,e,!0)}return this[i(342)]=t,this[i(305)]=e,this[i(417)]()}[mt(312)](t){const e=mt,i=this[e(526)][e(243)][e(353)](e(528));this[e(513)](),this[e(342)]=t[e(469)],this[e(305)]=t[e(529)];for(const n in t[e(257)]){const s=t[e(257)][n][e(244)],r=A(t[e(257)][n][e(367)])||{},o=i[e(451)](t[e(257)][n][e(429)]);o[e(348)]=n,o[e(431)]=!s||!s[e(338)],o[e(338)]=()=>o[e(431)],this[e(379)][e(280)](n,o),this[e(422)][e(280)](n,r),s&&this[e(378)][e(280)](n,s);const a=this[e(502)](o);this[e(258)][e(280)](n,a);for(const[t,i]of o[e(455)]){if(!t[e(309)](e(423)))continue;const n=t[e(476)](":")[2];for(const t of i[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),s=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)],r=a[e(235)](s)[e(330)](i);this[e(230)][e(280)](r,{userId:n})}}}this[e(399)]=this[e(477)];const n=[...Array(this[e(477)])[e(375)]()][e(294)](1)[e(447)](t=>!this[e(230)][e(544)](t));let s=0;const r=new Map;for(const o in t[e(257)]){const a=t[e(257)][o][e(244)],c=A(t[e(257)][o][e(329)])||{},u=i[e(451)](t[e(257)][o][e(498)]);u[e(348)]=o,u[e(431)]=!a||a[e(338)],u[e(338)]=()=>u[e(431)],this[e(265)][e(280)](o,u),this[e(269)][e(280)](o,c);const l=this[e(502)](u,Number[e(458)]);this[e(485)][e(280)](o,l),r[e(280)](o,u[e(338)]()?c:{});for(const[t,i]of u[e(455)]){if(!t[e(309)](e(423)))continue;const n=t[e(476)](":")[2];for(const t of i[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),s=this[e(477)]++,r=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)];l[e(235)](r)[e(396)](i,s),this[e(230)][e(280)](s,{userId:n})}}for(const t of this[e(526)][e(233)][e(301)](u)[e(289)]({singleCharacters:!0})){const i=this[e(493)](t),r=e(456)==t[e(466)]?t[e(308)][e(337)][e(294)](0,-1):t[e(308)][e(337)],o=l[e(235)](r);o[e(330)](i)>0||o[e(396)](i,n[s++])}for(const[t,i]of u[e(455)])t[e(309)](e(423))||this[e(482)][e(280)](t,i)}const o=kt(e(524));this[e(379)][e(280)](e(524),o),this[e(258)][e(280)](e(524),this[e(502)](o,1));const a=kt(e(524));this[e(265)][e(280)](e(524),a),this[e(485)][e(280)](e(524),this[e(502)](a,1));const c=Array[e(315)](this[e(265)])[e(391)](([t,e])=>[t,yt(e)]);this[e(282)](this[e(305)],c,this[e(482)],r)}[mt(284)](){const t=mt;this[t(513)](),this[t(342)]=-1,this[t(305)]=-1,this[t(531)][t(435)](),this[t(479)](this[t(514)])}[mt(282)](t,e,i,n){const s=mt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(280)](t,{start:e[s(484)][s(419)](),end:e[s(414)][s(419)](),rootName:e[s(253)][s(348)]});this[s(531)][s(280)](t,{roots:r,markers:a,rootsAttributes:o})}[mt(363)](t){const e=mt;this[e(531)][e(362)](t)}[mt(513)](){const t=mt;this[t(230)][t(435)](),this[t(392)][t(435)](),this[t(378)][t(435)](),this[t(265)][t(435)](),this[t(269)][t(435)](),this[t(379)][t(435)](),this[t(422)][t(435)](),this[t(485)][t(435)](),this[t(258)][t(435)](),this[t(482)][t(435)](),this[t(477)]=1,this[t(399)]=this[t(477)]}[mt(502)](t,e=null){const i=mt;let n=null;t.is(i(344))||(n=new X.ModelElement(t[i(252)],{vid_start:null===e?this[i(477)]++:e++}));const s=[];for(const n of t[i(400)]())if(n.is(i(382))){s[i(263)](this[i(502)](n,e));const t=s[s[i(496)]-1];null!==e&&(e=t.is(i(382),i(341))?t[i(330)](i(354))+1:t[i(330)](i(313))+1)}else for(let t=0;t<n[i(387)];t++)s[i(263)](new X.ModelElement(i(341),{vid:null===e?this[i(477)]++:e++}));if(t.is(i(344))){const e=kt(t[i(348)]);return e[i(245)](0,s),e}return n[i(396)](i(313),null===e?this[i(477)]++:e++),n[i(245)](0,s),n}[mt(242)](t,e,i){const n=mt;this[n(513)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(531)][n(353)](t);this[n(379)]=new Map(s),this[n(422)]=new Map(A(o));for(const[t,e]of this[n(379)])if(n(524)!==t&&(this[n(265)][n(280)](t,yt(e)),this[n(269)]=new Map(A(o)),i)){const i=this[n(477)];this[n(485)][n(280)](t,this[n(502)](e)),this[n(258)][n(280)](t,this[n(502)](e,i))}this[n(399)]=this[n(477)],this[n(265)][n(280)](n(524),yt(this[n(379)][n(353)](n(524)))),i&&this[n(485)][n(280)](n(524),this[n(502)](this[n(379)][n(353)](n(524))));for(const[t,e]of r){const i=this[n(379)][n(353)](e[n(348)]),s=this[n(265)][n(353)](e[n(348)]),r=new X.ModelRange(this[n(398)](e[n(484)],i),this[n(398)](e[n(414)],i)),o=this[n(394)](r,s);i[n(455)][n(280)](t,r),this[n(482)][n(280)](t,o)}this[n(437)](t,e,i)}[mt(437)](t,e,i){const n=mt;for(const s of this[n(514)][n(279)](t,e))this[n(539)](s,i);for(const t of this[n(265)][n(291)]())t[n(455)][n(435)]();for(const[t,e]of this[n(482)])this[n(265)][n(353)](e[n(253)][n(348)])[n(455)][n(280)](t,e[n(419)]());const s=new Map,r=new Map;for(const[t,e]of this[n(265)])s[n(280)](t,yt(e)),r[n(280)](t,this[n(269)][n(353)](t));this[n(282)](e,s,this[n(482)],r)}[mt(462)](t){const e=mt,i=Array[e(315)](this[e(531)][e(375)]());i[e(473)]((t,e)=>t-e),i[e(371)]();for(const e of i)if(e<t)return e;return Number[e(458)]}[mt(444)](t,e){const i=mt,n=Array[i(315)](e[i(455)])[i(391)](([e,n])=>[e,this[i(394)](n,t)]);t[i(455)]=new Map(n)}[mt(314)](t){const e=mt;for(const i of this[e(482)][e(291)]()){const n=i[e(320)](t),s=X.ModelRange[e(489)](n);i[e(484)]=s[e(484)],i[e(414)]=s[e(414)]}}[mt(539)](t,e){const i=mt;if(i(327)!=t[i(466)]&&i(520)!=t[i(466)]){if(i(297)==t[i(466)]){const n=t[i(527)][i(253)][i(348)];this[i(265)][i(544)](n)||(this[i(265)][i(280)](n,kt(n,!0)),this[i(269)][i(280)](n,{}),e&&this[i(485)][i(280)](n,kt(n,!0)))}else{if(i(324)==t[i(466)]||i(385)==t[i(466)]||i(474)==t[i(466)])return void this[i(470)](t);i(467)==t[i(466)]&&this[i(471)](t)}if(i(467)!==t[i(466)]){const e=this[i(420)](t,this[i(265)]);e[i(240)](),this[i(314)](e)}if(e)switch(t[i(466)]){case i(297):this[i(345)](t);break;case i(480):case i(377):case i(259):this[i(401)](t);break;case i(509):this[i(536)](t);break;case i(476):this[i(448)](t)}}else this[i(402)](t,e)}[mt(420)](t,e){const i=mt,n=t[i(419)]();return n[i(384)]=t[i(384)],this[i(229)](n,e),n}[mt(231)](t){const e=mt;return t[e(391)](t=>{const i=e,n=this[i(493)](t);return Number(t[i(292)][i(330)](n))})}[mt(538)](t,e){const i=mt;if(t.is(i(382),i(341)))e[i(263)]({item:t,type:i(525)});else{t.is(i(382))&&e[i(263)]({item:t,type:i(261)});for(const n of t[i(400)]())this[i(538)](n,e);t.is(i(382))&&e[i(263)]({item:t,type:i(456)})}return e}[mt(417)](){const t=mt,e=new Map(this[t(230)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(379)][t(375)](),...this[t(265)][t(375)]()]);a[t(362)](t(524));for(const e of a){const i=this[t(265)][t(353)](e)||kt(e,!1),n=this[t(379)][t(353)](e)||kt(e,!1);i[t(338)]()||n[t(338)]()?(s[t(498)][e]=yt(i),s[t(429)][e]=yt(n),this[t(444)](s[t(429)][e],n),this[t(444)](s[t(498)][e],i),r[t(498)][e]=this[t(538)](this[t(485)][t(353)](e),[]),r[t(429)][e]=this[t(538)](this[t(258)][t(353)](e)||kt(e,!1),[])):a[t(362)](e)}for(const s of a){const o=r[t(498)][s];for(const s of o){const r=this[t(493)](s),o=s[t(292)][t(330)](r);i[t(362)](o),o>=this[t(399)]&&n[t(280)](o,e[t(353)](o))}}for(const s of a){const a=r[t(498)][s],c=this[t(231)](r[t(429)][s]);let u=0;for(const s of a){const r=this[t(493)](s),a=s[t(292)][t(330)](r);if(!n[t(544)](a)&&!o[t(544)](a))if(i[t(544)](a))u++;else{if(a!=c[u]){const n=e[t(353)](a)||e[t(353)](c[u]);for(;a!=c[u];)i[t(544)](c[u])||(o[t(280)](c[u],n),e[t(280)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(498)][e];for(const e of s){const s=this[t(493)](e),r=e[t(292)][t(330)](s);if(o[t(544)](r)){const e=o[t(353)](r);i[t(544)](r)||i[t(280)](r,{...e}),n[t(280)](r,{...e})}}}for(const e of i[t(375)]())e>=this[t(399)]&&i[t(362)](e);const c=new Map;for(const e of a){let s=r[t(498)][e];for(const e of s)if(e[t(292)].is(t(382),t(449))){const i=this[t(493)](e),s=e[t(292)][t(330)](i);if(n[t(544)](s)){const i=e[t(292)][t(443)][t(443)][t(330)](t(506)),r=c[t(353)](i)||new Set;r[t(323)](n[t(353)](s)[t(421)]),c[t(280)](i,r)}}s=r[t(429)][e];for(const e of s)if(e[t(292)].is(t(382),t(449))){const n=this[t(493)](e),s=e[t(292)][t(330)](n);if(i[t(544)](s)){const n=e[t(292)][t(443)][t(443)][t(330)](t(506)),r=c[t(353)](n)||new Set;r[t(323)](i[t(353)](s)[t(421)]),c[t(280)](n,r)}}for(const e of c[t(375)]())(n[t(544)](e)||i[t(544)](e))&&c[t(362)](e)}for(const e of a){const s=r[t(498)][e];let o=null,a=null;for(const e of s){const s=this[t(493)](e),r=e[t(292)][t(330)](s),u=c[t(353)](r);u&&t(261)==e[t(466)]&&(o=Array[t(315)](u)[0],a=e[t(292)][t(330)](t(313))),o&&(i[t(280)](r,{userId:o}),n[t(280)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(429)][e],a=s[t(498)][e];for(const{userId:e}of this[t(392)][t(291)]())null!==e&&l[t(323)](e);for(const{userId:e}of this[t(378)][t(291)]())null!==e&&l[t(323)](e);this[t(510)](a,r[t(498)][e],n,t(281),l),this[t(510)](o,r[t(429)][e],i,t(372),l),u[e]={insertions:this[t(507)](a),deletions:this[t(507)](o),attachChange:this[t(378)][t(353)](e)||null,attributesBefore:A(this[t(422)][t(353)](e))||{},attributesAfter:A(this[t(269)][t(353)](e))}}return{diffData:u,authorsIds:Array[t(315)](l)}}[mt(267)](t){const e=mt;for(const[,i]of t[e(455)]){const t=i[e(484)][e(273)]()[e(447)](t=>e(449)==t[e(252)]);for(const i of t)1==i[e(298)]&&i[e(433)](0).is(e(382),e(360))&&i[e(433)](0)[e(396)](e(274),!0)}}[mt(507)](t){const e=mt;this[e(267)](t);const i=this[e(526)][e(397)][e(511)](t,{}),n=Array[e(315)](i[e(400)]())[e(391)](t=>this[e(408)](t));return JSON[e(357)](n)}[mt(408)](t){const e=mt;if(t.is(e(341)))return t[e(397)];{const i=this[e(526)][e(243)][e(353)](e(528)),n=t,s=this[e(526)][e(397)][e(543)][e(262)],r={type:i[e(364)](n),name:n[e(252)],attributes:Array[e(315)](n[e(459)]()),children:Array[e(315)](n[e(400)]())[e(391)](t=>this[e(408)](t))};if(t.is(e(361))&&e(374)!=t[e(252)]){const i=t[e(283)](s[e(350)],s);r[e(463)][e(263)](i[e(328)])}else if(t.is(e(325))){const i=s[e(350)][e(440)](n[e(252)]);t[e(283)](i,s),r[e(463)][e(263)](i[e(307)])}const o=Array[e(315)](n[e(286)]());o[e(496)]>0&&(r[e(248)]=o);const a=n[e(271)]();return null!==a&&(r[e(411)]=a),r}}[mt(510)](t,e,i,n,s){const r=mt;let o=null,a=null,c=0;const u=this[r(526)][r(233)];for(let n=0;n<e[r(496)];n++){const s=this[r(493)](e[n]),c=e[n][r(292)][r(330)](s),h=i[r(353)](c),d=n==e[r(496)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(421)]!=o[r(421)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(421)],d=l(423)+n+":"+h+":"+c++,f=u[l(535)](i,a);t[l(455)][l(280)](d,f),null!==h&&s[l(323)](h)}}[mt(493)](t){const e=mt;switch(t[e(466)]){case e(261):return e(506);case e(456):return e(313);default:return e(354)}}[mt(229)](t,e){const i=mt;t[i(249)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(353)](s[i(253)][i(348)]);t[n]=this[i(398)](s,r)}if(s instanceof X.ModelRange){const r=e[i(353)](s[i(253)][i(348)]);t[n]=this[i(394)](s,r)}i(253)===n&&(t[i(253)]=e[i(353)](t[i(253)][i(348)]))}}[mt(394)](t,e){const i=mt;return this[i(526)][i(233)][i(535)](this[i(398)](t[i(484)],e),this[i(398)](t[i(414)],e))}[mt(398)](t,e){const i=mt;return this[i(526)][i(233)][i(413)](e,t[i(337)],t[i(532)])}[mt(345)](t){const e=mt,i=this[e(485)][e(353)](t[e(527)][e(253)][e(348)]),n=this[e(398)](t[e(527)],i),s=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,r=n[e(443)],o=this[e(477)],a=[];for(const i of t[e(317)])if(i.is(e(382)))a[e(263)](this[e(502)](i));else for(let t=0;t<i[e(387)];t++)a[e(263)](new X.ModelElement(e(341),{vid:this[e(477)]++}));const c=this[e(477)];for(let t=o;t<c;t++)this[e(230)][e(280)](t,{userId:s});r[e(245)](n[e(418)],a)}[mt(401)](t){const e=mt;(t=this[e(420)](t,this[e(485)]))[e(240)]();const i=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(333)](),s=n[e(443)],r=n[e(418)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(433)](e);r.is(a(382),a(341))?n[a(280)](r[a(330)](a(354)),{userId:i}):(n[a(280)](r[a(330)](a(506)),{userId:i}),t(n,r,0,r[a(298)]),n[a(280)](r[a(330)](a(313)),{userId:i}))}}(this[e(230)],s,r,r+t[e(311)])}[mt(536)](t){const e=mt,i=null===(t=this[e(420)](t,this[e(485)]))[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(460)][e(443)],s=t[e(492)][e(443)],r=n[e(330)](e(313)),o=s[e(330)](e(506));n[e(396)](e(313),s[e(330)](e(313))),s[e(396)](e(313),r),this[e(230)][e(280)](o,{userId:i}),this[e(230)][e(280)](r,{userId:i}),t[e(240)]()}[mt(448)](t){const e=mt,i=null===(t=this[e(420)](t,this[e(485)]))[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,n=t[e(264)],s=t[e(352)][e(443)];t[e(240)]();const r=s[e(330)](e(313)),o=t[e(454)][e(497)];if(n){const t=o[e(330)](e(313)),n=s[e(330)](e(313));s[e(396)](e(313),t),o[e(396)](e(313),n),this[e(230)][e(280)](s[e(330)](e(313)),{userId:i}),this[e(230)][e(280)](o[e(330)](e(506)),{userId:i})}else{const t=this[e(477)]++,n=this[e(477)]++;s[e(396)](e(313),t),o[e(396)](e(506),n),o[e(396)](e(313),r),this[e(230)][e(280)](t,{userId:i}),this[e(230)][e(280)](n,{userId:i})}}[mt(471)](t){const e=mt;if(!t[e(355)])return;const i=(t=this[e(420)](t,this[e(265)]))[e(343)]?t[e(343)][e(253)]:null,n=t[e(517)]?t[e(517)][e(253)]:null;i&&this[e(482)][e(362)](t[e(252)]),n&&this[e(482)][e(280)](t[e(252)],t[e(517)][e(419)]());const s=null===t[e(384)]?null:t[e(384)]||this[e(526)][e(243)][e(353)](e(365)).me.id,r=t[e(252)];if(!this[e(392)][e(544)](r))return void this[e(392)][e(280)](r,{range:t[e(343)],userId:s});const o=this[e(392)][e(353)](r),a=o[e(434)],c=t[e(517)];null==a&&null==c||a&&c&&a[e(540)](c)?this[e(392)][e(362)](t[e(252)]):o[e(421)]=s}[mt(402)](t,e){const i=mt;this[i(265)][i(544)](t[i(348)])?this[i(265)][i(353)](t[i(348)])[i(431)]=t[i(347)]:(this[i(265)][i(280)](t[i(348)],kt(t[i(348)],!0)),this[i(269)][i(280)](t[i(348)],{}),e&&this[i(485)][i(280)](t[i(348)],kt(t[i(348)],!0)));const n=null===t[i(384)]?null:t[i(384)]||this[i(526)][i(243)][i(353)](i(365)).me.id,s=this[i(378)][i(353)](t[i(348)]);s&&s[i(421)]===n?this[i(378)][i(362)](t[i(348)]):this[i(378)][i(280)](t[i(348)],{userId:n,isAttached:t[i(347)]})}[mt(470)](t){const e=mt,i=this[e(269)][e(353)](t[e(253)][e(348)]);null===t[e(237)]?delete i[t[e(373)]]:i[t[e(373)]]=t[e(237)]}}function yt(t){const e=mt,i=kt(t[e(348)],t[e(338)]());for(const n of t[e(400)]()){const t=n[e(393)](!0);i[e(508)](t)}return i}function kt(t,e=!0){const i=mt,n=new X.ModelDocumentFragment;return n[i(348)]=t,n[i(431)]=e,n[i(338)]=()=>n[i(431)],n}function bt(t,e,i){const n=mt,s=n(456)==t[n(466)]?i[n(438)](t[n(292)],n(414)):i[n(370)](t[n(292)]);return i[n(413)](e,s[n(337)],s[n(532)])}function wt(t,e,i){const n=mt,s=n(261)==t[n(466)]?i[n(438)](t[n(292)],0):i[n(541)](t[n(292)]);return i[n(413)](e,s[n(337)],s[n(532)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Vt=i(357),Et=i.n(Vt),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["3412dlPqbV","arrowup","8407959aUeQdF","focusTracker","locale","form","label","initializeCssTransitionDisablerMixin","2511912aDUWCe","_createRevisionNameInput","arrowright","set","fieldView","21533850kOacGw","trim","revisionName","setTemplate","element","value","arrowdown","Name of the revision","ck-responsive-form","keystrokes","focus","3195QWPTzO","760DIIIuz","add","revisionNameInputView","listenTo","92853HGRZKN","ck-revision-history-save-revision-form","errorText","arrowleft","stopPropagation","input","220","extendTemplate","revisionNameInputValue","28ZPHQsU","render","reset","95311pDQXqZ","2270964SceZoO","optional"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=500]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(804740===parseInt(e(502))/1*(-parseInt(e(543))/2)+-parseInt(e(503))/3+parseInt(e(505))/4*(parseInt(e(529))/5)+parseInt(e(513))/6+-parseInt(e(507))/7+parseInt(e(530))/8*(parseInt(e(534))/9)+parseInt(e(518))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(508)];[Lt(527)];[Lt(532)];constructor(e,i){const n=Lt;super(e),this[n(508)]=new t.FocusTracker,this[n(527)]=new t.KeystrokeHandler,this[n(516)](n(542),""),this[n(532)]=this[n(514)](i),this[n(521)]({tag:n(510),attributes:{class:["ck",n(535),n(526)],tabindex:"-1"},children:[this[n(532)]]}),this[n(512)]()}[Lt(500)](){const t=Lt;super[t(500)](),(0,It.submitHandler)({view:this}),this[t(508)][t(531)](this[t(532)][t(522)]),this[t(527)][t(533)](this[t(522)]);const e=e=>e[t(538)]();this[t(527)][t(516)](t(515),e),this[t(527)][t(516)](t(537),e),this[t(527)][t(516)](t(506),e),this[t(527)][t(516)](t(524),e)}[Lt(528)](){const t=Lt;this[t(532)][t(528)]()}get[Lt(520)](){const t=Lt;return this[t(532)][t(517)][t(522)][t(523)][t(519)]()}set[Lt(520)](t){const e=Lt;this[e(532)][e(517)][e(522)][e(523)]=t[e(519)]()}[Lt(501)](){const t=Lt;this[t(532)][t(517)][t(522)][t(523)]="",this[t(532)][t(536)]=null}[Lt(514)](t){const e=Lt,i=new It.LabeledFieldView(this[e(509)],It.createLabeledInputText),n=i[e(517)];n[e(541)]({attributes:{maxlength:e(540)}});let s=at(this[e(509)],e(525));return!t&&(s+=" ("+at(this[e(509)],e(504))+")"),i[e(511)]=s,n.on(e(539),()=>{const t=e;this[t(542)]=n[t(522)][t(523)][t(519)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=402]})(t,e)}const Ht=Ut;function Zt(){const t=["4663720uNLoIu","RevisionTracker","delegate","menuitem","errorText","ck-button-action","isPremiumPlugin","get","children","Open revision history","Accept","init","saveRevision","17252127lGIsgU","addMany","add","RevisionHistoryUI","config","menuBar:revisionHistory","Revision history","12oBhGUG","menu","plugins","revisionHistory.requireRevisionName","_createSaveRevisionFormView","execute","isReady","hide","requires","pluginName","isOfficialPlugin","revisionSave","Save current revision","set","revisionName","render","buttonView","role","showRevisionViewerCallback","Cancel","bind","Dialog","351866QeeXNB","590625HfARTB","4ZffLsP","isReadOnly","_showDialog","_saveRevisionFormView","The revision name cannot be empty.","locale","componentFactory","reset","282927dtsLwk","panelView","editor","revisionNameInputView","focus","editing","show","isEnabled","view","3654896ZHaaMP","17049oMwZMu","_registerMenuComponent","isOpen","items","submit","revisionHistory"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(471224===parseInt(e(416))/1+-parseInt(e(406))/2+-parseInt(e(426))/3*(-parseInt(e(408))/4)+-parseInt(e(432))/5+-parseInt(e(452))/6*(parseInt(e(407))/7)+-parseInt(e(425))/8+parseInt(e(445))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class $t extends G.Plugin{static get[Ht(461)](){return Ht(448)}static get[Ht(462)](){return!0}static get[Ht(438)](){return!0}static get[Ht(460)](){return[vt]}[Ht(411)];[Ht(443)](){const t=Ht,e=this[t(418)],i=e[t(454)][t(439)](t(433));e.ui[t(414)][t(447)](t(431),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(417)][s(440)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(404)](s(423)).to(i,s(458),i,s(423),e,s(409),(t,e,i)=>t&&e&&!i),r[s(468)][s(465)]({icon:_t.IconHistory,label:at(n,s(451)),tooltip:!0}),u[s(465)]({label:at(n,s(464)),withText:!0,role:s(435)}),u[s(404)](s(423)).to(i,s(458),i,s(423),e,s(409),(t,e,i)=>t&&e&&!i),u.on(s(457),()=>this[s(410)]()),h[s(465)]({label:at(n,s(441)),withText:!0,role:s(435)}),h[s(404)](s(423)).to(i,s(458),e,s(409),(t,e)=>t&&!e),h.on(s(457),()=>{const t=s;e[t(449)][t(439)](t(431))[t(402)](),r[t(428)]=!1,e[t(421)][t(424)][t(420)]()}),c[s(440)][s(447)](u),l[s(440)][s(447)](h),a[s(469)]=s(453),a[s(429)][s(446)]([c,l]),o[s(447)](a),r}),e.ui[t(414)][t(447)](t(450),()=>this[t(427)]())}[Ht(427)](){const t=Ht,e=this[t(418)],i=e[t(413)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(468)][t(465)]({icon:_t.IconHistory,label:at(i,t(451))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(465)]({label:at(i,t(464))}),o[t(434)](t(457)).to(n),o.on(t(457),()=>{this[t(410)]()}),r[t(440)][t(447)](o),s[t(429)][t(447)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(465)]({label:at(i,t(441))}),c[t(434)](t(457)).to(n),c.on(t(457),()=>{const i=t;e[i(449)][i(439)](i(431))[i(402)]()}),a[t(440)][t(447)](c),s[t(429)][t(447)](a),n[t(417)][t(440)][t(447)](s),n}[Ht(410)](){const t=Ht,e=this[t(418)],i=e[t(413)],n=e[t(454)][t(439)](t(405)),s=e[t(454)][t(439)](t(433));function r(s){const r=t;e[r(449)][r(439)](r(455))&&""===s[r(466)]?s[r(419)][r(436)]=at(i,r(412)):(e[r(454)][r(439)](vt)[r(444)]({name:s[r(466)]}),n[r(459)]())}this[t(411)]||(this[t(456)](),this[t(411)].on(t(430),()=>r(this[t(411)]))),this[t(411)][t(415)](),n[t(422)]({id:t(463),title:at(i,t(464)),isModal:!0,content:this[t(411)],actionButtons:[{label:at(e[t(413)],t(403)),withText:!0,onExecute:()=>n[t(459)]()},{label:at(e[t(413)],t(442)),class:t(437),withText:!0,onCreate(i){const n=t;i[n(404)](n(423)).to(s,n(458),s,n(423),e,n(409),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(411)])}]})}[Ht(456)](){const t=Ht,e=this[t(418)],i=e[t(413)];this[t(411)]=new Wt(i,e[t(449)][t(439)](t(455))),this[t(411)][t(467)]()}}const qt=Yt;function Bt(){const t=["span","131944wWjNEh","data","ck-revision-change__","ck-revision-change__label","bindTemplate","name","Suggested by","153516yhwBbX","ck-revision-change","author","764724iHEEgX","isSuggestion","ck-annotation","3jXzWzZ","450048mnFVJa","339731jKrfIl","set","_model","1813770PFprMq","add","Added by","Removed by","5dXDckQ","div","16JzMRYA","type","changeId","445660SBJTOi","element","setTemplate","focus"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(109016===parseInt(e(513))/1*(-parseInt(e(500))/2)+-parseInt(e(507))/3+parseInt(e(514))/4*(-parseInt(e(490))/5)+parseInt(e(510))/6+-parseInt(e(515))/7*(-parseInt(e(492))/8)+parseInt(e(518))/9+parseInt(e(495))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[qt(494)];[qt(517)];constructor(t,e){const i=qt;super(t),this[i(517)]=e,this[i(494)]=e.id;const n=this[i(504)],s=at(t,e[i(501)][i(511)]?i(506):i(519)==e[i(493)]?i(488):i(489));this[i(516)](i(493),e[i(493)]),this[i(497)]({tag:i(491),attributes:{class:[i(512),i(508),n.to(i(493),t=>i(502)+t)],tabindex:-1},children:[{tag:i(499),children:[{tag:i(499),attributes:{class:[i(503)]},children:[{text:s}]},{text:" "+e[i(509)][i(505)]}]}]})}[qt(498)](){const t=qt;this[t(496)][t(498)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=441]})(t,e)}var Kt=Gt;function Xt(){var t=["data","46CcdYBv","set","1232VUQtwS","rootName","createdAt","toJSON","8704848tVnKEy","961248NWZRGP","11755LYSNWO","14827txlehE","type","author","46641LXbABB","534hXwZJu","2095164KdyXGr","34074860SIdHAh"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(573624===parseInt(e(450))/1*(-parseInt(e(441))/2)+-parseInt(e(448))/3+parseInt(e(443))/4*(-parseInt(e(449))/5)+parseInt(e(454))/6*(-parseInt(e(453))/7)+-parseInt(e(447))/8+parseInt(e(455))/9+parseInt(e(456))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(452)];[Kt(451)];[Kt(457)];[Kt(444)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(452)]=e[i(452)],this[i(451)]=e[i(451)],this[i(457)]=e[i(457)]||{},this[i(444)]=e[i(444)],this[i(442)](i(445),e[i(445)])}[Kt(446)](){var t=Kt;return{id:this.id,authorId:this[t(452)].id,type:this[t(451)],data:this[t(457)],createdAt:this[t(445)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=364]})(t,e)}function ie(){const t=["2476795vESWGK","678986zMWzUt","add","_setChanges","7095420gzeIJK","changes","8BziuCr","oldRevisionId","18HROygz","10JFccty","newRevisionId","13015596ShkNUn","96942WmMPzs","461694eyRHnN","72uPFgpf","2820882VVvHVQ"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(522733===parseInt(e(372))/1*(-parseInt(e(368))/2)+-parseInt(e(375))/3+-parseInt(e(366))/4*(-parseInt(e(376))/5)+parseInt(e(373))/6+-parseInt(e(377))/7*(-parseInt(e(374))/8)+-parseInt(e(364))/9*(parseInt(e(369))/10)+parseInt(e(371))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(370)];[te(367)];[te(365)];constructor(e,i){const n=te;this[n(370)]=e,this[n(367)]=i,this[n(365)]=new t.Collection}[te(379)](t){const e=te;for(const i of t)this[e(365)][e(378)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=he();return(ae=function(t,e){return i[t-=133]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(992497===parseInt(e(228))/1+parseInt(e(166))/2+parseInt(e(157))/3+parseInt(e(449))/4*(parseInt(e(243))/5)+parseInt(e(396))/6+-parseInt(e(247))/7*(parseInt(e(203))/8)+-parseInt(e(196))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class ce extends G.Plugin{[oe(154)];[oe(258)]=null;[oe(270)];[oe(202)];[oe(375)];[oe(155)];[oe(293)];static get[oe(394)](){return oe(340)}static get[oe(339)](){return!0}static get[oe(451)](){return!0}static get[oe(419)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(154)]=this[e(133)][e(181)][e(368)](e(189)),this[e(270)]=this[e(133)][e(181)][e(368)](e(308)),this[e(454)](e(254),null),this[e(454)](e(294),null),this[e(202)]=null,this[e(454)](e(220),null),this[e(454)](e(215),!1),this[e(454)](e(423),!0),this.on(e(443),(t,i,n)=>{const s=e;this[s(254)]=null,this[s(294)]=null,this[s(133)][s(379)][s(212)][s(146)](t=>{const e=s;for(const i of this[e(133)][e(379)][e(212)][e(382)][e(248)])n?t[e(439)](e(179),i):t[e(362)](e(179),i)})}),this[e(302)](e(209)).to(this,e(254),t=>null!==t),this[e(302)](e(134)).to(this,e(215),this,e(220),this,e(254),(t,i,n)=>t&&n?i[e(255)][e(282)](n):0),this[e(302)](e(444)).to(this,e(215),this,e(220),(t,i)=>t?i[e(255)][e(441)]:0),this[e(375)]=null,this[e(155)]=new Map,this[e(293)]=this[e(133)][e(181)][e(368)](It.ContextualBalloon)}[oe(265)](){const t=oe,e=this[t(133)],i=new de(e,{direction:t(211)}),n=new de(e,{direction:t(216)});e[t(414)][t(369)](t(420),i),e[t(414)][t(369)](t(309),n),e[t(414)][t(369)](t(222),new le(e)),this.on(t(412),()=>{const e=t;i[e(230)](),n[e(230)]()}),this[t(401)](),this[t(183)](),e[t(244)](t(450)),e[t(181)][t(373)](t(388))&&e[t(181)][t(368)](t(388))[t(390)](t(450))}async[oe(251)](t){const e=oe;return await this[e(270)][e(266)](t,this[e(258)]),this[e(270)][e(251)](t)}async[oe(385)](t){const e=oe;return await this[e(270)][e(266)](t,this[e(258)]),this[e(270)][e(385)](t)}async[oe(448)](t,e,i=!1){const n=oe;if(!this[n(423)])return;const s=this[n(220)],r=this[n(154)],o=n(399)==typeof t?r[n(184)](t):t,a=n(399)==typeof e?r[n(184)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(220)]&&this[n(220)][n(140)]===c&&this[n(220)][n(353)]===u)return Promise[n(307)]();this[n(215)]=!1,this[n(294)]=null,this[n(254)]=null,this[n(220)]=new ne(c,u);const l=this[n(298)](o,a,!0)[n(328)](t=>this[n(270)][n(266)](t,this[n(258)]));return l[n(361)](new Promise(t=>{setTimeout(t,20)})),Promise[n(253)](l)[n(378)](()=>{const t=n;if(!this[t(423)])return;this[t(236)]();const e=this[t(145)](c,u);for(const i of e[t(255)])this[t(155)][t(454)](i.id,i);this[t(133)][t(233)][t(380)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(133)][n(233)][n(382)][n(188)]())i[n(421)](t);for(const t of Object[n(272)](e[n(233)])){const s=i[n(352)](t);for(const r of Object[n(272)](e[n(372)][t]))i[n(246)](r,e[n(372)][t][r],s);i[n(278)](e[n(233)][t],s,0)}}),this[t(220)][t(400)](this[t(331)](e[t(255)])),this[t(215)]=!0})[n(292)](t=>{const e=n;console[e(334)](t),this[e(236)](),s&&(this[e(220)]=s),this[e(215)]=!0})}[oe(283)](t,e){const i=oe,n=this[i(154)][i(327)](t);return n.on(i(285),(t,i,s)=>e(i,s,n)),this[i(154)][i(249)](n),n}[oe(236)](){const t=oe;this[t(254)]=null,this[t(389)](),this[t(375)]&&this[t(375)][t(432)](),this[t(375)]=null,this[t(155)][t(281)](),this[t(133)][t(233)][t(380)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(133)][i(233)][i(382)][i(188)]())e[i(421)](t)})}[oe(331)](t){const e=oe,i=[],n=new Map;for(const t of this[e(133)][e(233)][e(382)][e(188)]()){const s=this[e(133)][e(379)][e(212)][e(173)](t);if(!s)continue;const r=s[e(198)]()[e(303)](0);r&&(i[e(361)](t),n[e(454)](t,r))}return i[e(273)]((t,i)=>{const s=e,r=n[s(368)](t),o=n[s(368)](i);return r.y-o.y||r.x-o.x}),(t=t[e(171)](t=>i[e(409)](t[e(351)])))[e(273)]((t,n)=>i[e(260)](t[e(351)])-i[e(260)](n[e(351)])),t}[oe(325)](t){const e=oe,i=Array[e(175)](t[e(153)])[e(171)](([t,i])=>t[e(223)](e(376))&&!i[e(367)]),n=Array[e(175)](this[e(133)][e(233)][e(261)](t)[e(391)]({singleCharacters:!0}));if(0!=i[e(441)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(147)](":");if(s[e(431)][e(381)](t[e(242)])&&i[e(326)](),(t[e(348)][e(381)](s[e(306)])||t[e(348)][e(311)](s[e(306)]))&&(e(407)==r?t[e(289)]={userId:o}:e(241)==r&&(t[e(415)]={userId:o})),0==i[e(441)])break}return n}[oe(446)](t){const e=oe,i=new Map;for(let n=0;n<t[e(441)];n++)e(239)===t[n][e(453)]?(t[n][e(303)][e(318)]=n,t[n][e(303)][e(185)]=n):(e(354)===t[n][e(453)]?t[n][e(303)][e(318)]=n:e(276)===t[n][e(453)]&&(t[n][e(303)][e(185)]=n),i[e(454)](t[n].id,n));for(const n of i[e(435)]())e(354)===t[n][e(453)]?t[n][e(303)][e(185)]=i[e(368)](t[n][e(386)]):e(276)===t[n][e(453)]&&(t[n][e(303)][e(318)]=i[e(368)](t[n][e(386)]))}[oe(417)](t){const e=oe;for(let i=0;i<t[e(441)];i++){if(e(354)===t[i][e(453)])t[i][e(303)][e(318)]=i;else if(e(276)===t[i][e(453)]){t[i][e(303)][e(185)]=i;const n=t[i][e(303)][e(318)];t[n][e(386)]=t[i].id,t[i][e(386)]=t[n].id}else t[i][e(303)][e(318)]=i,t[i][e(303)][e(185)]=i,t[i][e(386)]=null;t[i][e(257)]||(t[i][e(257)]=[],t[i][e(225)]=[])}}[oe(267)](t,e){const i=oe,n=t[i(171)](t=>!t[i(289)]);for(let t=0;t<e[i(441)];t++)e[t][i(289)]&&(n[t][i(289)]=e[t][i(289)])}[oe(145)](t,e=null){const i=oe,n=this[i(154)][i(184)](t),s=e?this[i(154)][i(184)](e):null,r=this[i(298)](n,s),o=r[r[i(441)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(441)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(159)]))if(e[i(159)][t][i(264)]){const n=e[i(159)][t][i(264)];n[i(410)]?(u[i(369)](t),l[i(373)](t)&&l[i(368)](t)[i(341)]==n[i(341)]?l[i(240)](t):l[i(454)](t,n)):l[i(373)](t)?(u[i(240)](t),l[i(240)](t)):(u[i(369)](t),l[i(454)](t,n))}else u[i(369)](t)}for(const t of u){const e=l[i(373)](t)&&!l[i(368)](t)[i(410)];let n=e?r[i(441)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(159)][t]){const n=e?o[i(159)][t][i(322)]:o[i(159)][t][i(218)];c[i(372)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(233)]={};for(const e of t[i(371)])a[i(454)](e.id,e);for(const e of u){const n=t[i(159)][e]?t[i(159)][e][i(395)]:"[]",s=t[i(159)][e]?t[i(159)][e][i(360)]:"[]";t[i(233)][e]={insertions:this[i(270)][i(436)](n),deletions:this[i(270)][i(436)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(175)](n[i(233)][t][i(395)][i(153)])[i(171)](([t])=>!t[i(223)](i(376))));let h=0;for(const o of r){const r=this[i(325)](o[i(233)][t][i(395)]);o==n?(e=r,s=e[i(441)],e[i(214)](t=>{t.id=h++}),this[i(417)](e)):this[i(267)](e,r);const a=e[i(171)](t=>!t[i(289)])[i(328)](t=>t.id);let c=0;const l=this[i(325)](o[i(233)][t][i(360)]);l[i(214)](t=>{t[i(415)]?t.id=s++:t.id=a[c++]}),this[i(417)](l),this[i(438)](e,i(289)),this[i(438)](l,i(415)),o==n&&this[i(383)](e,u),e=this[i(299)](e,l),this[i(446)](e),this[i(438)](e,i(415))}e=e[i(171)](t=>!(t[i(289)]&&t[i(415)]));const d=new Map(o[i(233)][t][i(360)][i(153)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(240)](t);this[i(199)](e,f),this[i(162)](e),e=this[i(342)](e),e=this[i(404)](e),e=this[i(158)](e);const{root:m,changes:p}=this[i(161)](e,a,t);c[i(233)][t]=m;const v=l[i(368)](t);if(v){const e=a[i(368)](v[i(341)]),n=new Qt({author:e,type:v[i(410)]?i(369):i(149),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(304)](n),c[i(372)][t][i(359)]=n.id}c[i(255)]=c[i(255)][i(224)](p)}return c}[oe(383)](t,e){const i=oe;for(let n=0;n<t[i(441)];n++)for(const[s,r]of e)!r[i(367)]&&r[i(306)][i(381)](t[n][i(348)])&&t[n][i(257)][i(361)](s),r[i(431)][i(381)](t[n][i(242)])&&t[n][i(225)][i(361)](s)}[oe(299)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(441)]||r<e[i(441)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(361)](o);else if(a[i(415)]&&o[i(289)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(231)](t,s,e,r);n=n[i(224)](o),s=a,r=c}else a[i(415)]?(r++,n[i(361)](a)):(s++,n[i(361)](o))}return n}[oe(199)](t,e){const i=oe,n=[];for(let o=0;o<t[i(441)];o++){for(let r=0;r<t[o][i(257)][i(441)];r++){const a=t[o][i(257)][r];if(!e[i(373)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(424)!=c||i(407)!=u&&i(241)!=u||(n[i(304)]({type:u,name:a,userId:l}),t[o][i(257)][i(408)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(225)][i(441)];r++){const a=t[o][i(225)][r];if(!e[i(373)](a))continue;const{group:c,type:u}=s(a);if(i(424)!=c||i(407)!=u&&i(241)!=u)continue;t[o][i(225)][i(408)](r,1),r--;const l=n[i(205)](t=>t[i(227)]==a);l>-1&&n[i(408)](l,1)}}function s(t){const e=i,n=t[e(147)](":");return{group:n[0],type:n[1],subType:n[e(441)]>=5?n[2]:null,id:n[e(441)]<5?n[2]:n[3],authorId:n[e(441)]<5?n[3]:n[4],markerCount:6==n[e(441)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(441)];i++){if(t[e(289)]&&e(407)==n[i][e(453)]&&t[e(289)][e(341)]==n[i][e(341)])return t[e(370)]=n[i],void delete t[e(289)];if(!t[e(289)]&&!t[e(415)]&&e(241)==n[i][e(453)])return void(t[e(344)]=n[i])}}}[oe(438)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(454)](o.id,n);for(let n=0;n<t[i(441)];n++){if(i(415)==e&&t[n][i(289)]||i(289)==e&&t[n][i(415)])continue;if(i(239)==t[n][i(453)]){t[n][i(259)]=0;continue}const s=r[i(368)](t[n][i(386)]),o=r[i(368)](t[n].id);t[n][i(259)]=s-o}}[oe(298)](t,e,i=!1){const n=oe,s=[];let r=this[n(154)][n(282)](t),o=this[n(154)][n(282)](e);for(-1==o&&(o=this[n(154)][n(314)][n(441)],i=!1);r<o;)s[n(361)](this[n(154)][n(184)](r)),r++;return i&&s[n(361)](this[n(154)][n(184)](r)),s}[oe(231)](t,e,i,n){const s=oe,r=this[s(133)][s(233)][s(190)];let o=e;for(;t[o]&&t[o][s(289)];)o++;let a=n;for(;i[a]&&i[a][s(415)];)a++;u(t,e,o),u(i,n,a);const c=i[s(275)](n,a)[s(224)](t[s(275)](e,o));return c[s(273)]((t,e)=>t[s(139)]!=e[s(139)]?t[s(139)]-e[s(139)]:t[s(456)]!=e[s(456)]?t[s(456)]-e[s(456)]:t[s(259)]!=e[s(259)]?e[s(259)]-t[s(259)]:!!t[s(289)]!=!!e[s(289)]?-1==t[s(139)]||0==t[s(139)]?t[s(289)]?-1:1:t[s(289)]?1:-1:t[s(364)]-e[s(364)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(172)],c=!0;for(let s=e;s<i;s++)if(r[n(156)](t[s][n(303)])||(c=!1),t[s][n(303)][n(318)]<e&&(o=s),t[s][n(303)][n(185)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(139)]=s<=o?-1:s<a?0:1,t[s][n(364)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(259)]?t[i][n(456)]=u:(u++,t[i][n(456)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(139)]&&(t[s][n(456)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(259)]?t[e][n(456)]=u:(u--,t[e][n(456)]=u,u--)}}[oe(162)](t){const e=oe,i=new Map,n=this[e(133)][e(233)][e(190)];for(let s=1;s<t[e(441)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(239)==c[e(453)])continue;if(c[e(453)]!=u[e(453)])continue;if(!n[e(142)](u[e(303)])||n[e(445)](u[e(303)]))continue;if(!n[e(142)](c[e(303)])||n[e(445)](c[e(303)]))continue;if((t[s][e(289)]||t[s][e(370)])&&t[s-1][e(415)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(415)]||!t[s-1][e(289)]&&!t[s-1][e(370)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(456)]==o[e(456)],h=Math[e(295)](r[e(456)])<Math[e(295)](o[e(456)])&&0==o[e(259)];(l||h)&&(i[e(454)](o.id,r.id),t[e(408)](a,1),s--,r[e(289)]=!1)}for(let n=0;n<t[e(441)];n++)i[e(373)](t[n][e(386)])&&(t[n][e(386)]=i[e(368)](t[n][e(386)]))}[oe(342)](t){const e=oe,i=new Set(t[e(328)](t=>t.id));for(let n=0;n<t[e(441)];n++)i[e(373)](t[n][e(386)])||0==t[n][e(259)]||(t[n][e(406)]=!0);return t[e(171)](t=>!t[e(406)])}[oe(404)](t){const e=oe,i=new Set;for(let n=0;n<t[e(441)];n++){if(i[e(373)](t[n].id)&&t[n][e(415)]&&(t[n][e(406)]=!0),t[n][e(406)])continue;if(0==t[n][e(259)])continue;if(e(354)!=t[n][e(453)])continue;if(null==t[n][e(386)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(386)];)e(354)==t[s][e(453)]?r++:e(276)==t[s][e(453)]&&r--,s++;if(0!=r)if(t[n][e(415)])t[n][e(406)]=!0;else for(;s!=n;)t[s][e(415)]&&0!=t[s][e(259)]&&(t[s][e(406)]=!0,i[e(369)](t[s][e(386)])),s--}return t[e(171)](t=>!t[e(406)])}[oe(158)](t){const e=oe,i=this[e(133)][e(233)][e(190)];for(let n=0;n<t[e(441)];n++){if(!(t[n][e(289)]||t[n][e(370)]||t[n][e(415)]||t[n][e(344)]))continue;if(0==t[n][e(259)])continue;const s=t[n][e(303)];i[e(142)](s)||i[e(445)](s)||(t[n][e(289)]&&delete t[n][e(289)],t[n][e(370)]&&delete t[n][e(370)],t[n][e(344)]&&delete t[n][e(344)],t[n][e(415)]&&(t[n][e(406)]=!0))}return t[e(171)](t=>!t[e(406)])}[oe(161)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(133)][n(233)],c=a[n(190)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(441)];e++)if(n(354)===t[e][n(453)]){t[e][n(348)]=a[n(356)](s,f);const i=new X.ModelElement(t[e][n(303)][n(227)],t[e][n(303)][n(180)]());u[0][n(427)](i),f[n(361)](0),u[n(304)](i),t[e][n(242)]=a[n(356)](s,f)}else n(276)===t[e][n(453)]?(u[n(326)](),t[e][n(348)]=a[n(356)](s,f),f[n(138)](),f[f[n(441)]-1]++,t[e][n(242)]=a[n(356)](s,f)):(t[e][n(348)]=a[n(356)](s,f),d?d[n(374)]+=t[e][n(303)][n(137)]:d=new X.ModelText(t[e][n(303)][n(137)],t[e][n(303)][n(180)]()),t[e+1]&&n(239)===t[e+1][n(453)]&&v(d,t[e+1][n(303)])||(u[0][n(427)](d),d=null),f[f[n(441)]-1]+=t[e][n(303)][n(452)],t[e][n(242)]=a[n(356)](s,f));for(let e=0;e<t[n(441)];e++){const i=t[e][n(348)],s=t[e][n(242)];for(const s of t[e][n(257)])o[n(454)](s,{start:i,end:null});m(n(344),e,i,s),m(n(370),e,i,s),m(n(415),e,i,s),m(n(289),e,i,s);for(const i of t[e][n(225)]){const t=o[n(368)](i);t?t[n(431)]=s:o[n(454)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(133)][n(233)][n(337)](e[n(306)],e[n(431)]);s[n(153)][n(454)](t,i)}return r[n(273)]((t,e)=>{const i=n,r=s[i(153)][i(368)](i(376)+t.id),o=s[i(153)][i(368)](i(376)+e.id);return r[i(306)][i(429)](o[i(306)])?-1:r[i(306)][i(311)](o[i(306)])?1:r[i(431)][i(429)](o[i(431)])?-1:r[i(431)][i(311)](o[i(431)])?1:i(369)===t[i(453)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(341)]:null,d=i===t[o(441)]-1,f=h[e][0],m=c[o(324)](t[i][o(303)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(431)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(341)]!==u&&(l[e][o(431)]=s,f&&f[o(341)]===l[e][o(341)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(354)!==t[i][o(453)]||f&&f[o(341)]===u||h[e][o(304)]({userId:u,object:t[i][o(303)],change:l[e]}),o(276)===t[i][o(453)]&&f&&f[o(355)]===t[i][o(303)]&&(h[e][o(326)](),l[e]=f[o(146)])),l[e]&&d&&(l[e][o(431)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(303)],f=a[h(190)][h(142)](d)&&!a[h(190)][h(445)](d),m=t[h(430)]==o[h(235)]&&o[h(286)];if(f&&m)return;const p=a[h(337)](t,o),v=e[h(368)](u),g=new Qt({author:v,type:h(289)==l||h(370)==l?h(369):h(149),data:{isSuggestion:h(370)==l||h(344)==l},createdAt:new Date,rootName:i});r[h(361)](g),s[h(153)][h(454)](h(376)+g.id,p)}function v(t,e){const i=n,s=t[i(180)](),r=e[i(180)]();for(const t of s){if(t[1]!==e[i(176)](t[0]))return!1;r[i(165)]()}return r[i(165)]()[i(288)]}}[oe(401)](){const t=oe;this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(457)}),this[t(133)][t(197)][t(425)](t(320))[t(268)]({model:t(457),view:e=>{const i=t,n=e[i(200)][i(147)](":")[1],s=this[i(428)](n);if(!s)return null;const r=i(369)==s[i(453)]?i(407):i(241),o=[i(274),i(226)+r];return s[i(137)][i(403)]&&o[i(361)](i(226)+r+i(313)),this[i(254)]==s&&o[i(361)](i(192)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(133)][t(197)][t(425)](t(238))[t(369)](e=>{const i=t;e.on(i(413),(t,e,n)=>{const s=i,r=e[s(305)][s(426)](0);if(!r||!r.is(s(143),s(357)))return;if(!n[s(296)][s(256)](r,{attributes:[s(440),s(152)]}))return;const o=e[s(333)][s(306)][s(430)];n[s(345)][s(246)](s(440),r[s(176)](s(440)),o),n[s(345)][s(246)](s(152),r[s(176)](s(152)),o)},{priority:i(347)})}),this[t(133)][t(197)][t(425)](t(238))[t(369)](e=>{const i=t;e.on(i(143),(t,e,n)=>{const s=i;if(!n[s(296)][s(256)](e[s(305)],{attributes:[s(440),s(152)]}))return;if(e[s(333)][s(367)])return;const r=e[s(333)][s(306)][s(430)];r[s(164)](s(440))||r[s(164)](s(393))||(n[s(345)][s(246)](s(440),e[s(305)][s(176)](s(440)),r),n[s(345)][s(246)](s(152),e[s(305)][s(176)](s(152)),r))},{priority:i(347)})}),this[t(133)][t(197)][t(425)](t(238))[t(411)]({view:{name:t(245),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(176)](t(393))}}),this[t(133)][t(233)][t(190)].on(t(280),(e,[,i])=>{const n=t;[n(440),n(152),n(393)][n(409)](i)&&(e[n(402)]=!0,e[n(163)]())},{priority:t(387)}),this[t(133)][t(197)][t(425)](t(336))[t(369)](e=>{const i=t;e.on(i(174),(t,e,n)=>{const s=i;if(" "!=e[s(303)][s(137)]||e[s(303)][s(235)][s(277)]>1)return;if(!n[s(296)][s(256)](e[s(303)],t[s(227)]))return;const r=n[s(345)],o=n[s(150)][s(422)](e[s(319)]);r[s(349)](o,r[s(151)](s(245)))})}),this[t(133)][t(197)][t(425)](t(336))[t(217)]({model:t(457)}),this[t(133)][t(379)][t(447)].on(t(204),function(e){const i=t,n=e[i(181)][i(368)](i(340));return(t,s,r)=>{const o=i,a=s[o(200)][o(147)](":")[1],c=n[o(428)](a);if(!c)return null;const u=o(369)==c[o(453)]?o(147):o(194);if(!r[o(296)][o(398)](s[o(287)],t[o(227)]))return;const l=s[o(287)][o(391)](),h=s[o(287)][o(306)],d=e[o(233)][o(190)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(303)];p=p||d[o(329)](e);const i=r[o(150)][o(187)](e);if(i&&i[o(252)](o(363)))return;o(276)==t[o(453)]&&d[o(142)](e)&&!d[o(445)](e)&&(e[o(195)]||h[o(178)]?f&&f[o(235)]==e||(f=e,g(t[o(348)]),v=!0):m=m||t[o(348)])}function g(t){const e=o,i=r[e(345)][e(269)](e(245),{class:e(226)+u}),a=r[e(150)][e(201)](t);c[e(137)][e(403)]&&r[e(345)][e(362)](e(226)+u+e(313),i),n[e(254)]==c&&r[e(345)][e(362)](e(192),i),r[e(345)][e(278)](a,i),r[e(150)][e(433)](i,s[e(200)])}p||v||!m||g(m)}}(this[t(133)]),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(343),(e,i,n)=>{const s=t,r=n[s(150)][s(168)](i[s(200)]);if(r)for(const t of r)(t[s(182)](s(300))||t[s(182)](s(186)))&&(n[s(150)][s(177)](t,i[s(200)]),n[s(345)][s(149)](t))},{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(204),(e,i,n)=>{const s=t,r=i[s(200)][s(147)](":")[1],o=this[s(428)](r);if(!o)return null;const a=s(369)==o[s(453)]?s(147):s(194);if(n[s(296)][s(398)](i[s(287)],e[s(227)]))for(const t of i[s(287)][s(169)]()){if(!t.is(s(143),s(219)))continue;const e=n[s(345)][s(269)](s(245),{class:s(226)+a}),r=n[s(150)][s(201)](this[s(133)][s(233)][s(170)](t));o[s(137)][s(403)]&&n[s(345)][s(362)](s(226)+a+s(313),e),this[s(254)]==o&&n[s(345)][s(362)](s(192),e),n[s(345)][s(278)](r,e),n[s(150)][s(433)](e,i[s(200)])}},{priority:t(358)}),this[t(133)][t(233)][t(382)].on(t(146),()=>{const e=t;this[e(133)][e(379)][e(212)][e(146)](t=>{const i=e;for(const e of this[i(133)][i(233)][i(382)][i(188)]()){const n=this[i(133)][i(233)][i(382)][i(335)](e),s=this[i(133)][i(379)][i(212)][i(382)][i(335)](e);if(s){const e=n[i(176)](i(359));if(t[i(237)](i(144),s),t[i(439)](i(271),s),t[i(439)](i(434),s),t[i(439)](i(377),s),e){const n=this[i(428)](e);if(!n)return null;t[i(246)](i(144),e,s),t[i(362)](i(418)+n[i(453)],s),this[i(254)]==n&&t[i(362)](i(377),s)}}}})}),this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(330),model:e=>t(229)+e,converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(238))[t(148)]({view:t(232),model:e=>t(310)+e,converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(336))[t(217)]({model:t(424),view:e=>({name:t(365)+e,group:t(424)}),converterPriority:t(387)}),this[t(133)][t(197)][t(425)](t(320))[t(268)]({model:t(424),view:e=>{const i=t,n=e[i(200)][i(147)](":")[1];return i(407)!=n&&i(241)!=n?null:{classes:[i(323),i(136)+n]}}}),this[t(133)][t(379)][t(447)].on(t(141),ue(this[t(133)],t(194)),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(315),ue(this[t(133)],t(147)),{priority:t(358)}),this[t(133)][t(379)][t(447)].on(t(384),(e,i,n)=>{const s=t,r=n[s(150)][s(168)](i[s(200)]);if(r)for(const t of r)t.is(s(135))&&(n[s(150)][s(177)](t,i[s(200)]),n[s(345)][s(149)](t))},{priority:t(358)})}[oe(428)](t){const e=oe;return this[e(155)][e(368)](t)}[oe(193)](t){const e=oe;return this[e(375)]&&this[e(375)][e(432)](),this[e(375)]=new Jt(this[e(133)][e(291)],t),this[e(375)]}[oe(183)](){const t=oe;this[t(133)][t(233)][t(382)][t(160)][t(207)](t(457)),this.on(t(263),(e,i,n,s)=>{const r=t;s&&this[r(293)][r(149)](s),n&&(this[r(293)][r(369)]({view:n,stackId:r(213),position:{target:()=>{const t=r,e=this[t(133)][t(379)],i=this[t(428)](n[t(405)]);let s;if(i[t(137)][t(284)]){const n=e[t(212)][t(173)](i[t(351)]);s=Array[t(175)](n[t(198)]())}else{const i=this[t(133)][t(233)][t(153)][t(368)](t(376)+n[t(405)]);s=Array[t(175)](e[t(150)][t(168)](i[t(227)]))[t(328)](i=>e[t(212)][t(455)][t(338)](i))[t(328)](e=>Array[t(175)](e[t(198)]()))[t(206)]()}return this[t(202)]&&s[t(262)](e=>e[t(366)]-3<=this[t(202)].y&&e[t(317)]+3>=this[t(202)].y&&e[t(167)]-3<=this[t(202)].x&&e[t(312)]+3>=this[t(202)].x)||s[0]}}}),this[r(293)][r(350)](r(213)))}),this.on(t(321),(e,i,n,s)=>{const r=t;this[r(294)]=n?this[r(193)](n):null,this[r(133)][r(233)][r(146)](()=>{const t=r,e=this[t(133)][t(379)];s&&(s[t(137)][t(284)]?e[t(212)][t(146)](i=>{const n=t;i[n(439)](n(377),e[n(212)][n(382)][n(335)](s[n(351)]))}):e[t(234)](t(376)+s.id)),n&&(n[t(137)][t(284)]?e[t(212)][t(146)](i=>{const s=t;i[s(362)](s(377),e[s(212)][s(382)][s(335)](n[s(351)]))}):e[t(234)](t(376)+n.id))})}),this[t(437)](this[t(133)][t(379)][t(212)][t(382)],t(346),(e,i)=>{const n=t;if(this[n(254)])return;const s=this[n(416)](i[n(290)]),r=this[n(155)][n(368)](s);r?(this[n(202)]={x:i[n(210)].x,y:i[n(210)].y},this[n(294)]=this[n(193)](r)):(this[n(202)]=null,this[n(294)]=null)}),this[t(437)](this[t(133)][t(379)][t(212)][t(382)],t(250),(e,i)=>{const n=t,s=this[n(416)](i[n(290)]),r=this[n(155)][n(368)](s);r?(this[n(202)]={x:i[n(210)].x,y:i[n(210)].y},r===this[n(254)]?this[n(293)][n(221)]():this[n(254)]=r):(this[n(202)]=null,this[n(254)]=null)})}[oe(416)](t){const e=oe;do{const i=t[e(176)](e(144));if(i)return i;t=t[e(235)]}while(t);return null}[oe(389)](){const t=oe;this[t(133)][t(233)][t(146)](e=>{const i=t;for(const t of this[i(133)][i(233)][i(153)])e[i(191)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(296)][r(398)](n[r(287)],i[r(227)]))return;const o=n[r(287)][r(391)](),a=n[r(287)][r(306)],c=t[r(233)][r(190)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(303)];h=h||c[r(329)](e);const i=s[r(150)][r(187)](e);if(i&&i[r(252)](r(363)))return;r(276)==t[r(453)]&&c[r(142)](e)&&!c[r(445)](e)&&(e[r(195)]||a[r(178)]?u&&u[r(235)]==e||(u=e,f(t[r(348)]),d=!0):l=l||t[r(348)])}function f(t){const i=r,o=s[i(150)][i(201)](t),a=s[i(345)][i(269)](i(245),{class:i(136)+e});s[i(345)][i(278)](o,a),s[i(150)][i(433)](a,n[i(200)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(181)][e(368)](ce);this[e(397)]=!1,this[e(437)](i,e(301),()=>this[e(230)]()),this[e(437)](i,e(443),()=>this[e(230)]())}[oe(208)](){const t=oe,e=this[t(133)],i=e[t(181)][t(368)](ce),n=i[t(215)]?i[t(220)][t(140)]:null;e[t(279)][t(368)](t(332))[t(442)](n)}[oe(230)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(133)][t(181)][t(368)](ce),r=s&&n[t(392)](s[t(140)]);this[t(423)]=e&&i&&Boolean(r)}}function he(){const t=["changeId","isIncorrect","insertion","splice","includes","isAttached","elementToAttribute","change:numberOfChanges","element:pre","commands","isRemoved","_findChangeIdFromDomTarget","_processTape","ck-revision-history-root-","requires","showPreviousChange","detachRoot","toViewRange","isEnabled","revision-suggestion","for","getChild","_appendChild","_getChangeFromId","isBefore","nodeAfter","end","destroy","bindElementToMarker","ck-revision-history-root-remove","values","_makeModelFromViewString","listenTo","_setDistance","removeClass","vid_start","length","restoreRevisionCallback","change:isEnabled","numberOfChanges","isLimit","_refreshStartEndIndex","downcastDispatcher","compare","6124868BoIJYh","revision-viewer","isPremiumPlugin","offsetSize","type","set","domConverter","level","revision","editor","currentChangeNumber","uiElement","ck-suggestion-preview-marker-","data","pop","side","newRevisionId","addMarker:revision-suggestion:deletion","isBlock","element","data-change-id","_getDiff","change","split","dataToMarker","remove","mapper","createAttributeElement","vid_end","markers","repository","_changeIdToChange","isInline","725658FMyUuL","_removeUnsupportedChanges","diffData","selection","_makeModelFromTape","_fixObsoleteTags","stop","hasAttribute","next","1154844eYMvPu","left","markerNameToElements","getItems","createPositionBefore","filter","POSITIVE_INFINITY","getDomRoot","attribute:vid","from","getAttribute","unbindElementFromMarkerName","isAtEnd","ck-editor__editable__overlay","getAttributes","plugins","hasClass","_initInteractions","getRevision","endIndex","ck-suggestion-marker-merge","toViewElement","getRootNames","RevisionsRepository","schema","removeMarker","ck-suggestion-marker--active","_getViewForChange","merge","nextSibling","9586728awREIN","conversion","getClientRects","_markSuggestions","markerName","toViewPosition","_activeViewTarget","107984IZrtUY","addMarker:revision","findIndex","flat","observeMarkers","execute","isNavigationMode","domEvent","backward","view","revisionHistoryLabel","forEach","isReady","forward","markerToData","attributesAfter","softBreak","diff","updatePosition","restoreRevision","startsWith","concat","markersEnd","ck-suggestion-marker-","name","283099AxjoCX","revision-comment:","refresh","_threeWayMerge","suggestion","model","reconvertMarker","parent","_cleanUp","removeAttribute","upcast","text","delete","deletion","nextPosition","5wFzpRF","enableReadOnlyMode","span","setAttribute","770WwsRVu","roots","addRevision","mousedown","getRevisionDocumentData","getCustomProperty","all","activeChange","changes","consume","markersStart","adapter","distance","indexOf","createRangeIn","find","change:activeView","attachChange","init","loadRevisionData","_markInsertions","markerToHighlight","createUIElement","_utils","ck-revision-history-root-add","keys","sort","ck-suggestion-marker","slice","elementEnd","maxOffset","insert","config","checkAttribute","clear","getIndex","addRevisionData","isOnRoot","_update","isAtStart","markerRange","done","isAdded","target","locale","catch","_balloon","activeView","abs","consumable","first","_getRevisionsRange","_joinTapes","ck-suggestion-marker-split","change:isReady","bind","item","unshift","viewItem","start","resolve","RevisionHistoryUtils","showNextChange","revision-suggestion:","isAfter","right","-new","_revisions","addMarker:revision-suggestion:insertion","_step","bottom","startIndex","range","editingDowncast","change:activeChange","attributesBefore","ck-suggestion-preview-marker","isObject","_makeTape","shift","createRevision","map","isContent","comment","_sortAndFilterDiffChanges","revisionHistory","modelRange","error","getRoot","dataDowncast","createRange","mapViewToDom","isOfficialPlugin","RevisionViewer","userId","_removeMissingPairs","removeMarker:revision","isRemoveSuggestion","writer","mouseover","low","previousPosition","wrap","showStack","rootName","addRoot","oldRevisionId","elementStart","object","createPositionFromPath","code","high","revisionHistoryAttachChange","deletions","push","addClass","addHighlight","index","suggestion:","top","isCollapsed","get","add","isAddSuggestion","authors","attributes","has","_data","_changeView","revision:","ck-revision-history-root--active","then","editing","enqueueChange","isEqual","document","_markMarkers","removeMarker:revision-suggestion","getRevisionRootsAttributes","pairId","highest","WidgetToolbarRepository","_cleanMarkers","forceDisabled","getWalker","getLaterVisibleRevision","vid","pluginName","insertions","5453070CEFfSZ","affectsData","test","string","_setChanges","_setConversion","return","isSuggestion","_markMismatchedRemovedTags"];return(he=function(){return t})()}class de extends G.Command{[oe(316)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(181)][i(368)](ce);this[i(397)]=!1,this[i(316)]=i(216)===e?1:-1,this[i(437)](n,i(301),()=>this[i(230)]()),this[i(437)](n,i(443),()=>this[i(230)]()),this[i(437)](n,i(321),()=>this[i(230)]())}[oe(208)](){const e=oe,i=this[e(133)],n=i[e(181)][e(368)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(254)]=s?n[e(220)][e(255)][e(368)](r+this[e(316)]):n[e(220)][e(255)][e(297)],n[e(254)][e(137)][e(284)])o=i[e(379)][e(212)][e(173)](n[e(254)][e(351)]);else{const t=i[e(233)][e(153)][e(368)](e(376)+n[e(254)].id);o=(0,K.getMarkerDomElement)(i[e(379)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(230)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(133)][t(181)][t(368)](ce);this[t(423)]=!!(r&&s&&n)&&(!e||(1===this[t(316)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["setTemplate","isNavigationMode","16026020iTZcDg","13598ulYVah","EDIT_X_OF_Y_REVISIONS","Show previous change","bind","No changes","Total","set","backward","ck-revision-history-ui__changes-navigation__wrapper","isReady","_statusText","execute","202494NZonFG","isEnabled","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__label","Show next change","36xQyEyT","5954128mUhjlm","185lwdcHN","Loading...","ck-hidden","82197HAJaVY","isBackwardNavigationEnabled","1740276WLJPgf","NUMBER_OF_CHANGES","isForwardNavigationEnabled","bindTemplate","div","span","forward","fire","ck-revision-history-ui","numberOfChanges","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","180yiXiBK","6906515QTKhHc"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=366]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(680779===parseInt(e(366))/1*(parseInt(e(371))/2)+parseInt(e(393))/3*(parseInt(e(388))/4)+parseInt(e(390))/5*(parseInt(e(383))/6)+-parseInt(e(367))/7+parseInt(e(389))/8+-parseInt(e(395))/9+-parseInt(e(370))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(398)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(377)](e(369),!1),this[e(377)](e(380),!1),this[e(377)](e(408),0),this[e(377)](e(404),0),this[e(377)](e(397),!1),this[e(377)](e(394),!1),this[e(374)](e(406)).to(this,e(380),this,e(404),(t,e)=>t&&e>0),this[e(374)](e(381)).to(this,e(380),this,e(408),this,e(404),this,e(369),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(391));if(!s)return at(t,o(375));const a=at(t,o(396),s);return r?at(t,o(385),[n+1,s]):a}),n[e(377)]({label:at(t,e(373)),tooltip:!0,icon:_t.IconChevronUp}),s[e(377)]({label:at(t,e(387)),tooltip:!0,icon:_t.IconChevronDown}),n[e(374)](e(384)).to(this,e(394)),s[e(374)](e(384)).to(this,e(397)),n.on(e(382),()=>this[e(402)](e(382),e(378))),s.on(e(382),()=>this[e(402)](e(382),e(401))),this[e(368)]({tag:e(399),attributes:{class:["ck",e(403),e(405)]},children:[{tag:e(400),attributes:{class:[e(379)]},children:[{tag:e(400),attributes:{class:[e(386),i.if(e(406),e(392),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(372))+": ":at(t,e(376))+": ")}]},{text:i.to(e(381))}]},new It.ToolbarSeparatorView,{tag:e(399),attributes:{class:[e(407)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(409518===parseInt(e(271))/1*(parseInt(e(273))/2)+parseInt(e(264))/3+parseInt(e(286))/4+-parseInt(e(268))/5*(parseInt(e(279))/6)+parseInt(e(282))/7*(-parseInt(e(262))/8)+-parseInt(e(283))/9+parseInt(e(265))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);const we=be(274);function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=262]})(t,e)}class Ie extends G.Plugin{static get[be(280)](){return be(263)}static get[be(276)](){return!0}static get[be(270)](){return!0}[be(281)](){const t=be,e=this[t(285)][t(272)][t(269)];e[t(278)](i=>{const n=t;for(const t of e[n(275)][n(267)])i[n(277)](we,t)})}[be(284)](){const t=be,e=this[t(285)][t(272)][t(269)];e[t(278)](i=>{const n=t;for(const t of e[n(275)][n(267)])i[n(266)](we,t)})}}function Se(){const t=["show","318626igIgzc","6079716ayVjQf","hide","editor","613148dhiOwl","120jGifma","RevisionViewerLoadingOverlay","1796655HEhzRC","11015540VwGeqk","removeClass","roots","10475bjvjzp","view","isPremiumPlugin","431551YUQwES","editing","2ypTKae","ck-editor__editable__loading-overlay","document","isOfficialPlugin","addClass","change","1482RyMoLS","pluginName"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=212]})(t,e)}function xe(){const t=["revisionHistory","componentFactory","101020VkbNwU","restoreRevision","isReady","Restore this revision","currentChangeNumber","3059610YLoKlt","15ZAxNqK","exitToEditing","121181QVVYwH","listenTo","pluginName","closeRevisionViewerCallback","showNextChange","showPreviousChange","change:isReady","requires","numberOfChanges","add","plugins","get","show","execute","isNavigationMode","isOfficialPlugin","bind","610eLBRmt","config","isForwardNavigationEnabled","editor","commands","3174822skcheN","3544BIsxdx","isBackwardNavigationEnabled","2168056ZOzzup","RevisionViewerUI","changesNavigation","6184449VaAcIv","hide","isPremiumPlugin","init","isEnabled","forward","ck-revision-history-ui__back-to-editing","Back to editing","set"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(281688===-parseInt(e(215))/1+-parseInt(e(254))/2*(parseInt(e(213))/3)+-parseInt(e(238))/4*(-parseInt(e(232))/5)+parseInt(e(212))/6+parseInt(e(237))/7+parseInt(e(240))/8+-parseInt(e(243))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(217)](){return Oe(241)}static get[Oe(230)](){return!0}static get[Oe(245)](){return!0}static get[Oe(222)](){return[ce,Ie]}[Oe(246)](){const t=Oe,e=this[t(235)],i=e[t(225)][t(226)](ce),n=e[t(225)][t(226)](Ie);e.ui[t(253)][t(224)](t(214),i=>{const n=t,s=new It.ButtonView(i);return s[n(251)]({label:at(i,n(250)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(249)}),this[n(216)](s,n(228),()=>{const t=n;e[t(233)][t(226)](t(252))[t(218)]()}),s}),e.ui[t(253)][t(224)](t(255),i=>{const n=t,s=new It.ButtonView(i);return s[n(251)]({label:at(i,n(257)),withText:!0,tooltip:!0}),s[n(231)](n(247)).to(e[n(236)][n(226)](n(255))),this[n(216)](s,n(228),()=>e[n(228)](n(255))),s}),e.ui[t(253)][t(224)](t(242),n=>{const s=t,r=new ge(n),o=e[s(236)][s(226)](s(220)),a=e[s(236)][s(226)](s(219));return r[s(231)](s(239)).to(o,s(247)),r[s(231)](s(234)).to(a,s(247)),r[s(231)](s(256),s(258),s(223),s(229)).to(i),this[s(216)](r,s(228),(t,i)=>{const n=s;e[n(228)](n(248)===i?n(219):n(220))}),r}),n[t(227)](),i.on(t(221),(e,i,s)=>{const r=t;s?n[r(244)]():n[r(227)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ve(){const t=["Revision name","132rSwTSj","destroy","1047108hEXsyz","4622058QqDeHr","7WaFszd","fieldView","4079889uZQqUu","ck-tooltip_multi-line","listenTo","10pNTCmX","value","scrollWidth","822691JosSgR","input","_tooltipString","span","bindTemplate","1978qiOnAt","placeholder","ck-revision-history-sidebar__revision-name","104745JwVSko","_updateTooltipText","8wpvmcW","2484086aYYZBl","2763GgYQKG","clientWidth","set","Enter the revision name","element","extendTemplate","_resizeObserver","render"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(494506===-parseInt(e(408))/1+parseInt(e(413))/2*(-parseInt(e(420))/3)+-parseInt(e(429))/4*(-parseInt(e(416))/5)+-parseInt(e(432))/6*(-parseInt(e(400))/7)+parseInt(e(418))/8*(parseInt(e(402))/9)+parseInt(e(405))/10*(parseInt(e(419))/11)+parseInt(e(431))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(426)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(412)];this[i(422)]({label:at(t,i(428)),_tooltipString:""}),this[i(401)][i(414)]=at(t,i(423)),this[i(425)]({tag:i(411),attributes:{class:[i(415)],"data-cke-tooltip-text":n.to(i(410)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(403)}})}[Me(427)](){const e=Me;super[e(427)](),this[e(426)]=new t.ResizeObserver(this[e(401)][e(424)],()=>this[e(417)]()),this[e(404)](this[e(401)],e(409),()=>this[e(417)]())}[Me(430)](){const t=Me;super[t(430)](),this[t(426)]&&this[t(426)][t(430)]()}[Me(417)](){const t=Me,e=this[t(401)][t(424)];this[t(410)]=e[t(407)]>e[t(421)]&&e[t(406)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["7334733cMDASf","751188zmpduQ","3092228WjXPhJ","Revision author","push","setTemplate","4pahWqz","500RizkRi","5953435vhvVmW","ck-revision-history-sidebar__revision-author","Revision creator","0 0 11 10","554058ZVbCjj","8978688qjGCte","1CbkAAL","ck-revision-history-sidebar__revision-author_creator","set","ck-revision-history-sidebar__revision-author__name","span","name","7341600jTZgNB"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(774634===parseInt(e(505))/1*(parseInt(e(493))/2)+-parseInt(e(492))/3*(parseInt(e(497))/4)+parseInt(e(499))/5+parseInt(e(504))/6+-parseInt(e(491))/7+parseInt(e(490))/8+-parseInt(e(503))/9*(parseInt(e(498))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(486)]({content:_t.IconUser,viewBox:n(502)});const r=["ck",n(500)];i&&r[n(495)](n(485));const o=[{tag:n(488),attributes:{class:["ck",n(487)],title:at(t,n(i?501:494))},children:[s,e[n(489)]]}];this[n(496)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=158]})(t,e)}function We(){var t=["702dSdcpC","1830745IEbbIM","12WsWUas","numeric","558636bIvbnl","6NLdAiM","toLocaleTimeString","3697728QkPHqO","946608Wgdntx","2SKDGQJ","3545800liqNWR","76800bXnWmt","toLocaleDateString","long","7wJqLaL","12663211GwjPWl"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(653379===-parseInt(e(167))/1+-parseInt(e(172))/2*(-parseInt(e(170))/3)+parseInt(e(171))/4+-parseInt(e(164))/5*(parseInt(e(168))/6)+-parseInt(e(161))/7*(parseInt(e(173))/8)+parseInt(e(163))/9*(-parseInt(e(158))/10)+parseInt(e(162))/11*(parseInt(e(165))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=$e();return(Ze=function(t,e){return i[t-=303]})(t,e)}function $e(){const t=["bind","name","56365eiaxgT","children","3476517svMZHp","execute","4ijIoVb","1hIXAEM","isActionsDropdownOpen","function","Restore this revision","add","Show more items","listenTo","set","ck-on","7416480WzXUzX","1813767upeNFW","items","Name this revision","1304FcPjHX","source","isVisible","menuitem","action","Compare against selected","stopPropagation","ck-revision-history-sidebar__revision__actions","isReady","498aPXBTo","menu","39095wQmrhK","bindTemplate","map","isOpen","change:isActionsDropdownOpen","locale","button","2265082YgEdKJ","isEnabled","_action","first","extendTemplate","10dAtogi","panelPosition","class","model","buttonView","find","listView","1043001GHgAcD"];return($e=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(712458===-parseInt(e(321))/1*(-parseInt(e(352))/2)+parseInt(e(331))/3*(parseInt(e(320))/4)+-parseInt(e(316))/5*(-parseInt(e(343))/6)+-parseInt(e(345))/7*(parseInt(e(334))/8)+-parseInt(e(313))/9+parseInt(e(306))/10*(-parseInt(e(318))/11)+-parseInt(e(330))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=141]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision-wrapper_confirmation_visible","3267486KbZyTw","_revision","ck-disabled","select","extendTemplate","bindTemplate","unhighlight","isReady","35rxceNz","_requireRevisionName","setTemplate","element","ck-revision-history-sidebar__revision_highlighted","4IEDcTE","change","fire","listenTo","highlight","isEnabled","318634IVYIVz","srcElement","name","authors","filter","isConfirm","_createdAtFormatted","ck-reset","revisionNameView","uiLanguage","revisionActionsView","deselect","ck-revision-history-sidebar__revision_selected","div","value","42879wkLxsu","ck-revision-history-sidebar__revision__date","220","344904XXdAzm","length","ck-revision-history-sidebar__revision-authors","map","isHighlighted","isSelected","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__controls-wrapper","creator","createdAt","isActionsDropdownOpen","render","ck-revision-history-sidebar__actions_dropdown_open","span","setName","closest","647864iRBSwh","1302920qIIloU","unshift","ck-revision-history-sidebar__revision","fieldView","1306380LkyKKS","bind","set",".ck-thread__remove-confirm","from"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(235328===parseInt(e(192))/1+-parseInt(e(162))/2+parseInt(e(143))/3*(parseInt(e(186))/4)+-parseInt(e(167))/5+-parseInt(e(146))/6*(-parseInt(e(181))/7)+-parseInt(e(163))/8+parseInt(e(173))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(200)];[Ye(202)];[Ye(174)];[Ye(182)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(178)],a=function(t,e){const i=r,n=Array[i(171)](e[i(195)])[i(196)](t=>t!=e[i(154)]);return e[i(154)]&&n[i(164)](e[i(154)]),n[i(149)](n=>new Pe(t,n,n==e[i(154)]))}(e,i);this.id=i.id,this[r(174)]=i,this[r(182)]=s,this[r(168)](r(194),r(155)).to(i),this[r(168)](r(198)).to(this,r(155),t=>{return i=e[r(201)],(n=t)[(s=ze)(159)](i,{month:s(160),day:s(166)})+", "+n[s(169)](i,{hour:s(166),minute:s(166)});var i,n,s}),this[r(169)](r(151),!1),this[r(169)](r(150),!1),this[r(169)](r(156),!1),this[r(169)](r(180),!1),this[r(169)](r(191),!1),this[r(200)]=new De(e,It.createLabeledInputText),this[r(200)][r(166)][r(177)]({attributes:{maxlength:r(145)}}),this[r(200)][r(166)][r(168)](r(142)).to(this,r(194),t=>t||this[r(198)]),this[r(200)][r(168)](r(191)).to(this,r(151),this,r(191),(t,e)=>t&&e),this[r(202)]=n&&n[r(147)]?function(e,i){const n=Ze,s=e[n(346)],r=e[n(350)],o=(0,It.createDropdown)(r);o[n(307)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(350)],s={"Compare against selected":at(n,i(339)),"Name this revision":at(n,i(333)),"Restore this revision":at(n,i(324))};return e[i(347)](t=>{const e=i,n=s[t[e(315)]];return n&&n!==t[e(315)]&&(t[e(315)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(351),model:new It.UIModel({label:t[s(315)],class:t[s(308)],withText:!0,role:s(337),_action:t[s(338)]})};i[s(309)][s(314)](s(353)).to(e,s(322),i=>s(323)!=typeof t[s(353)]||!i||t[s(353)](e)),o[s(325)](i)}return o}(e,i);return e[n(314)](n(322)).to(o,n(348)),o[n(310)][n(328)]({label:at(r,n(326)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(305)]({attributes:{class:[n(341),s.if(n(322),n(329))]},on:{click:s.to(t=>t[n(340)]())}}),o.on(n(319),t=>{const i=n;e[i(342)]&&i(323)==typeof t[i(335)][i(303)]&&t[i(335)][i(303)](e)}),(0,It.addListToDropdown)(o,a,{role:n(344)}),o[n(327)](e,n(349),(t,s,r)=>{const a=n;if(r)for(const t of o[a(312)][a(332)]){const n=t[a(317)][a(304)],s=i[a(311)](t=>t[a(338)]===n[a(303)])[a(336)];t[a(336)]=void 0===s||s(e)}}),o}(this,n):"",this[r(202)]&&this[r(202)][r(168)](r(191)).to(this),this[r(183)]({tag:r(141),attributes:{class:["ck",r(199),r(152),o.if(r(197),r(172))]},children:[{tag:r(141),attributes:{class:["ck",r(199),r(165),o.if(r(191),r(175),t=>!t),o.if(r(151),r(204)),o.if(r(150),r(185)),o.if(r(156),r(158))]},children:[this[r(200)],{tag:r(159),attributes:{class:["ck",r(144)]},children:[{text:o.to(r(198))}]},{tag:r(141),attributes:{class:["ck",r(153)]},children:[{tag:"ul",attributes:{class:["ck",r(148)]},children:a}]},this[r(202)]],on:{click:o.to(t=>{const e=r;t[e(193)][e(161)](e(170))||this[e(180)]&&this[e(191)]&&this[e(188)](e(176),{id:this.id})})}}]})}[Ye(157)](){const t=Ye;super[t(157)]();const e=this[t(200)][t(166)][t(184)];this[t(189)](e,t(187),()=>{const i=t;this[i(182)]&&!e[i(142)]||this[i(188)](i(160),{id:this.id,name:e[i(142)]}),e[i(142)]||(e[i(142)]=this[i(194)]?this[i(194)]:this[i(198)])})}[Ye(176)](){this[Ye(151)]=!0}[Ye(203)](){this[Ye(151)]=!1}[Ye(190)](){this[Ye(150)]=!0}[Ye(179)](){this[Ye(150)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Ji{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&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}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 Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(En(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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 Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(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+=qn(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=$n(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(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return qr(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,$s])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(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")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=356]})(t,e)}function vo(){const t=["6OPJFxO","4351122DUkOKK","toRelativeCalendar","8698432NEvtwG","2418773MtusfH","21232210VIamyM","22JTXOAR","1483311vRoOEl","2500rIEoyh","hasSame","local","monthLong","year","minus","day","month","4063908giUSff","weekdayLong","setLocale","toJSDate","fromJSDate","startOf","week","1188KkZpFj","5VdcGiW"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(369)](t)[i(367)](e),s=fo[i(359)](),r=s[i(362)]({days:1})[i(370)](i(363));let o,a;return n[i(358)](s,i(363))?(o=n[i(370)](i(363))[i(368)](),a=n[i(376)]()):n[i(358)](r,i(363))?(o=r[i(368)](),a=n[i(376)]()):n[i(358)](s,i(371))?(o=n[i(370)](i(371))[i(368)](),a=n[i(366)]||""):n[i(358)](s,i(361))?(o=n[i(370)](i(364))[i(368)](),a=n[i(360)]||""):(o=n[i(370)](i(361))[i(368)](),a=String(n[i(361)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(993847===-parseInt(e(356))/1+parseInt(e(357))/2*(-parseInt(e(372))/3)+parseInt(e(365))/4*(-parseInt(e(373))/5)+-parseInt(e(374))/6*(-parseInt(e(378))/7)+-parseInt(e(377))/8+parseInt(e(375))/9+-parseInt(e(379))/10*(-parseInt(e(380))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["uiLanguage","4056824cBKNtB","div","ck-revision-history-sidebar__time-period__revisions","_requireRevisionName","localizedPeriodName","ck-revision-history-sidebar__time-period__label","addRevision","8189050uOJXPl","354474uzbcXx","477305UILrIi","find","setTemplate","remove","select","2103054kLviRs","add","revisionViews","14aAnYwH","locale","2556dtwlBB","ck-revision-history-sidebar__time-period","_revisionActions","4INLguB","delegate","4005qMzApV","setName","createCollection","removeRevision","5223255DxNHcb","startDate","span"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(639772===parseInt(e(474))/1*(parseInt(e(487))/2)+parseInt(e(489))/3*(-parseInt(e(484))/4)+parseInt(e(493))/5+-parseInt(e(479))/6+parseInt(e(482))/7*(-parseInt(e(497))/8)+parseInt(e(473))/9+parseInt(e(472))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(494)];[bo(481)];[bo(486)];[bo(468)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(483)][s(496)])[s(469)];this[s(494)]=e,this[s(481)]=this[s(491)](),this[s(486)]=i,this[s(468)]=n,this[s(481)][s(488)](s(478)).to(this),this[s(481)][s(488)](s(490)).to(this),this[s(476)]({tag:s(498),attributes:{class:["ck",s(485)]},children:[{tag:s(495),attributes:{class:["ck",s(470)]},children:[{text:r}]},{tag:s(498),attributes:{class:["ck",s(499)]},children:this[s(481)]}]})}[bo(471)](t){const e=bo,i=new Ke(this[e(483)],t,this[e(486)],this[e(468)]);this[e(481)][e(480)](i)}[bo(492)](t){const e=bo,i=this[e(481)][e(475)](e=>e.id===t.id);this[e(481)][e(477)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["30918aRRKwR","21SFHyUh","12rOmDbA","78984xXjuTQ","setTemplate","10AJwbuZ","1GBHslG","5310594vjHBbb","897586lXYGdu","335JYMggN","ck-revision-history-sidebar__header__label","Revision history","content","13135529oipKCg","span","2370981ffxdDM","4kYmTmh","ck-revision-history-sidebar__header","div","5607628BFuTlW","ck-reset_all"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=327]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(601571===-parseInt(e(339))/1*(parseInt(e(341))/2)+-parseInt(e(327))/3*(parseInt(e(328))/4)+-parseInt(e(342))/5*(parseInt(e(333))/6)+-parseInt(e(334))/7*(parseInt(e(336))/8)+parseInt(e(340))/9+parseInt(e(338))/10*(parseInt(e(346))/11)+-parseInt(e(335))/12*(-parseInt(e(331))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(345)]=_t.IconHistory,this[e(337)]({tag:e(330),attributes:{class:["ck",e(332),e(329)]},children:[i,{tag:e(347),attributes:{class:["ck",e(343)]},children:[at(t,e(344))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=322]})(t,e)}const Vo=Mo;function Eo(){const t=["_revisionActions","timePeriodViews","_revisions","ck-reset","render","createdAt","selectRevision","deselect","5114874zBhXHr","12431943qtkgTU","isEnabled","_getTimePeriodViewByStartDate","div","unhighlight","setName","highlightRevisions","7ocYkaI","_addRevision","createCollection","10JpeXYL","remove","1540995TARABr","setTemplate","flat","highlight","some","revisionSelected","739459RovDsR","getTime","897456cwITfU","removeRevision","ck-rounded-corners","_removeRevision","bindTemplate","add","fire","locale","get","startDate","delegate","ck-disabled","8rXiHmU","find","set","_requireRevisionName","4468624OyixOC","revisionSetName","addRevision","revisionViews","1255558NEQyBL","uiLanguage","select","ck-revision-history-sidebar","map","ck-revision-history-sidebar__timeline"];return(Eo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(647998===-parseInt(e(337))/1+parseInt(e(359))/2+-parseInt(e(339))/3+-parseInt(e(351))/4*(parseInt(e(331))/5)+parseInt(e(373))/6+parseInt(e(326))/7*(-parseInt(e(355))/8)+-parseInt(e(374))/9*(-parseInt(e(329))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Vo(366)];[Vo(367)];[Vo(365)];[Vo(354)];constructor(t,e,i,n){const s=Vo;super(t);const r=this[s(343)];this[s(366)]=this[s(328)](),this[s(366)][s(349)](s(361)).to(this),this[s(366)][s(349)](s(324)).to(this),this[s(367)]=e,this[s(365)]=i,this[s(354)]=n,this.on(s(361),(t,e)=>{const i=s;this[i(345)](i(336),e)}),this.on(s(324),(t,e)=>{const i=s;this[i(345)](i(356),e)}),this[s(353)](s(375),!1),this[s(332)]({tag:s(322),attributes:{class:["ck",s(368),s(341),s(362)]},children:[new No(t),{tag:s(322),attributes:{class:["ck",s(364),r.if(s(375),s(350),t=>!t)]},children:this[s(366)]}]})}[Vo(369)](){const t=Vo;super[t(369)]();for(const e of this[t(367)])this[t(327)](e);this[t(367)].on(t(344),(e,i)=>{this[t(327)](i)}),this[t(367)].on(t(330),(e,i)=>{this[t(342)](i)})}get[Vo(358)](){const t=Vo;return this[t(366)][t(363)](e=>e[t(358)][t(363)](t=>t))[t(333)]()}[Vo(371)](t){const e=Vo;for(const i of this[e(358)])t&&t.id===i.id?i[e(361)]():i[e(372)]()}[Vo(325)](t){const e=Vo;for(const i of this[e(358)])t[e(335)](({id:t})=>t===i.id)?i[e(334)]():i[e(323)]()}[Vo(327)](t){const e=Vo,i=go(t[e(370)],this[e(346)][e(360)])[e(348)];let n=this[e(366)][e(347)](0);n&&n[e(348)][e(338)]()===i[e(338)]()||(n=new Io(this[e(346)],i,this[e(365)],this[e(354)]),this[e(366)][e(344)](n)),n[e(357)](t)}[Vo(342)](t){const e=Vo,i=go(t[e(370)],this[e(346)][e(360)])[e(348)];this[e(376)](i)[e(340)](t)}[Vo(376)](t){const e=Vo;return this[e(366)][e(352)](i=>i[e(348)][e(338)]()===t[e(338)]())}}function Co(){const t=["22278vCCphJ","select","revisionHistory","465uoBlsw","24556cpPKDR","_revisionsRepository","name","revisionSelected","map","255039UQoYhc","bind","_createRevisionActions","isPremiumPlugin","_revisionViewer","timePeriodViews","_sidebarView","locale","_handleDiffChange","get","repository","render","config","_handleRevisionSetName","revisionHistory.viewerSidebarContainer","restoreRevision","setName","revisionSetName","string","action","init","remove","getIndex","add","highlightRevisions","change:diff","2790448vZpkYa","element","isVisible","revisionHistory.revisionActions","isOfficialPlugin","editor","isSelected","Name this revision","Compare against selected","data","getRevision","getLaterVisibleRevision","availableRevisionActions","newRevisionId","requires","nameRevision","diff","pluginName","12yHHkvD","compare","destroy","41140vskwfW","isEnabled","defaultRevisionActions","isReady","getEarlierVisibleRevision","fieldView","compareAgainstSelected","333ioyntz","_handleEditorDataReady","selectRevision","2794vcUtVX","revisionHistory.requireRevisionName","plugins","109IhkACs","getRevisionsInDiff","appendChild","RevisionsSidebar","assign","Restore this revision","focus","revisionViews","length","94171LtOXpI","_handleRevisionSelected","204wVZOhR","ready","listenTo","_revisions","restoreRevisionCallback"];return(Co=function(){return t})()}const Fo=jo;function jo(t,e){const i=Co();return(jo=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(201994===-parseInt(e(444))/1*(-parseInt(e(441))/2)+-parseInt(e(469))/3*(parseInt(e(513))/4)+-parseInt(e(463))/5*(parseInt(e(460))/6)+parseInt(e(464))/7+parseInt(e(495))/8+-parseInt(e(438))/9*(-parseInt(e(516))/10)+parseInt(e(453))/11*(parseInt(e(455))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends G.Plugin{[Fo(473)];[Fo(465)];[Fo(475)];static[Fo(518)]=[Fo(437),Fo(484),Fo(510)];static[Fo(507)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(503),action:({plugins:e},i)=>{const n=t,s=e[n(478)](ce),r=s[n(479)];let o=s[n(511)][n(508)],a=i.id;r[n(491)](o)>r[n(491)](a)&&([o,a]=[a,o]),s[n(514)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(478)](ce);return!(s[n(479)][n(445)](s[n(511)])[n(452)]>2||i[n(501)])}},restoreRevision:{name:t(449),action:(e,{id:i})=>{const n=t;e[n(481)][n(478)](n(462))[n(459)](i)},isVisible:({plugins:e},i)=>!!e[t(478)](ce)[t(479)][t(506)](i.id)},nameRevision:{name:t(502),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(478)](ce),o=r[s(479)][s(520)](i);r[s(514)](i,o),n[s(450)](),n[s(436)][s(461)]()}}}}();static get[Fo(512)](){return Fo(447)}static get[Fo(499)](){return!0}static get[Fo(472)](){return!0}static get[Fo(509)](){return[ce]}constructor(t){const e=Fo;super(t),this[e(473)]=t[e(443)][e(478)](ce),this[e(465)]=this[e(473)][e(479)],this[e(475)]=null}[Fo(489)](){const t=Fo,e=this[t(465)][t(458)],i=this[t(471)](),n=this[t(500)][t(481)][t(478)](t(483));this[t(475)]=new Do(this[t(500)][t(476)],e,i,this[t(500)][t(481)][t(478)](t(442))),this[t(475)].on(t(467),this[t(454)][t(470)](this)),this[t(475)].on(t(486),this[t(482)][t(470)](this)),this[t(475)][t(470)](t(517)).to(this[t(473)]),this[t(475)][t(474)].on(t(492),(e,i)=>{const n=t;i[n(451)].on(n(492),(t,e)=>{const i=n;e[i(470)](i(517),i(519)).to(this[i(473)])})}),this[t(475)][t(480)](),this[t(457)](this[t(500)][t(504)],t(456),this[t(439)][t(470)](this)),this[t(457)](this[t(473)],t(494),this[t(477)][t(470)](this)),n[t(446)](this[t(475)][t(496)])}[Fo(515)](){const t=Fo;this[t(475)][t(496)][t(490)](),this[t(475)][t(515)]()}[Fo(439)](){const t=Fo,e=this[t(465)][t(505)](0);if(e){const i=this[t(465)][t(520)](e.id);this[t(473)][t(514)](e,i)}}[Fo(454)](t,e){const i=Fo,n=this[i(465)][i(505)](e.id),s=this[i(465)][i(520)](n.id);this[i(473)][i(514)](n,s)}[Fo(482)](t,e){const i=Fo;this[i(465)][i(505)](e.id)[i(485)](e[i(466)])}[Fo(477)](t,e,i){const n=Fo,s=this[n(465)][n(445)](i);s[n(452)]>2?(this[n(475)][n(493)](s),this[n(475)][n(440)](null)):(this[n(475)][n(493)]([]),this[n(475)][n(440)](s[0]))}[Fo(471)](){const t=Fo,e=this[t(500)],i=Lo[t(507)],n=e[t(481)][t(478)](t(498))||Lo[t(518)];if(n[t(452)])return n[t(468)](n=>{const s=t,r=s(487)==typeof n?Object[s(448)]({},i[n]):n;return r[s(488)]=r[s(488)][s(470)](this,e),r[s(497)]&&(r[s(497)]=r[s(497)][s(470)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=295]})(t,e)}function Wo(){const t=["isActive","756lZvJAZ","attachDomRoot","isFocused","stickyPanel","7407zpOmQe","init","getRoot","render","_view","restore","4161099hXHaCu","limiterElement","ready","5cyywme","46592fKuRqK","1020HhDqAk","7823644dntpep","11150DShnEk","rootName","fillFromConfig","editable","121626CxIFFm","8258984PDdtmN","addToolbar","config","focusTracker","view","viewportOffset","editing","toolbar","detachDomRoot","element","name","replace","106315vLjRSX","viewportTopOffset","_toolbarConfig","fire","destroy","editor","document","get","2XCfwpf","bind","componentFactory","setEditableElement","_initToolbar","_elementReplacer"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(980341===-parseInt(e(341))/1*(-parseInt(e(320))/2)+-parseInt(e(309))/3+parseInt(e(315))/4*(parseInt(e(312))/5)+parseInt(e(299))/6*(-parseInt(e(313))/7)+parseInt(e(321))/8+parseInt(e(303))/9*(parseInt(e(316))/10)+-parseInt(e(333))/11*(parseInt(e(314))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Po(307)];[Po(335)];[Po(297)];get[Po(325)](){return this[Po(307)]}constructor(e,i){const n=Po;super(e),this[n(307)]=i,this[n(335)]=(0,It.normalizeToolbarConfig)(e[n(323)][n(340)](n(328))),this[n(297)]=new t.ElementReplacer}get[Po(330)](){const t=Po;return this[t(325)][t(330)]}[Po(304)](t){const e=Po,i=this[e(338)],n=this[e(325)],s=i[e(327)][e(325)],r=n[e(319)],o=s[e(339)][e(305)]();r[e(331)]=o[e(317)],n[e(306)]();const a=r[e(330)];this[e(295)](r[e(331)],a),n[e(319)][e(342)](e(301)).to(this[e(324)]),s[e(300)](a),this[e(297)][e(332)](t,this[e(330)]),this[e(296)](),this[e(336)](e(311))}[Po(337)](){const t=Po;super[t(337)]();const e=this[t(325)],i=this[t(338)][t(327)][t(325)];this[t(297)][t(308)](),i[t(329)](e[t(319)][t(331)]),e[t(337)]()}[Po(296)](){const t=Po,e=this[t(325)];e[t(302)][t(342)](t(298)).to(this[t(324)],t(301)),e[t(302)][t(310)]=e[t(330)],e[t(302)][t(342)](t(334)).to(this,t(326),({top:t})=>t),e[t(328)][t(318)](this[t(335)],this[t(343)]),this[t(322)](e[t(328)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var $o=Bo;function qo(){var t=["render","6372268djgZEE","580204WEOGFE","stickyPanel","top","editable","_editable","336tsRMWe","shouldToolbarGroupWhenFull","toolbar","3irtDXZ","5780140ZwFShU","main","33374528qniIEM","2QTGlIq","54XibMrO","38052WAuVCI","add","1002986TBLhwU","content","422945uvodAu"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=152]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(541204===parseInt(e(166))/1*(parseInt(e(170))/2)+-parseInt(e(162))/3*(-parseInt(e(154))/4)+-parseInt(e(172))/5*(-parseInt(e(167))/6)+parseInt(e(153))/7+-parseInt(e(159))/8*(-parseInt(e(168))/9)+parseInt(e(163))/10+-parseInt(e(165))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(158)];[$o(155)];[$o(161)];get[$o(157)](){return this[$o(158)]}constructor(t,e,i={}){var n=$o;super(t),this[n(155)]=new It.StickyPanelView(t),this[n(161)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(160)]}),this[n(158)]=new It.InlineEditableUIView(t,e)}[$o(152)](){var t=$o;super[t(152)](),this[t(155)][t(171)][t(169)](this[t(161)]),this[t(156)][t(169)](this[t(155)]),this[t(164)][t(169)](this[t(157)])}}const Jo=Ko;function Go(){const t=["get","6wzLJAI","document","539204jeVwIq","updateSourceElement","391304SUiVnH","279355puRGVH","view","3051iymjJI","_ui","data","initialData","1288567VfSHDa","initPlugins","createRoot","config","ready","fire","editing","model","12ORmFDr","locale","275090PRIvyw","sourceElement","init","destroy","3465325ShHfsn","create","36350whQHrx"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=405]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(388528===parseInt(e(424))/1+parseInt(e(411))/2*(parseInt(e(409))/3)+-parseInt(e(421))/4+parseInt(e(415))/5+-parseInt(e(419))/6*(-parseInt(e(430))/7)+parseInt(e(423))/8+-parseInt(e(426))/9*(parseInt(e(417))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(427)];get ui(){return this[Jo(427)]}constructor(t,e){const i=Jo;super(e),this[i(412)]=t,this[i(408)][i(420)][i(432)]();const n=new Yo(this[i(410)],this[i(407)][i(425)],{shouldToolbarGroupWhenFull:!0});this[i(427)]=new Uo(this,n)}[Jo(414)](){const t=Jo;return this[t(422)](),this.ui[t(414)](),super[t(414)]()}static async[Jo(416)](t,e){const i=Jo,n=new this(t,e);return await n[i(431)](),await n.ui[i(413)](t),await n[i(428)][i(413)](n[i(433)][i(418)](i(429))||""),n[i(406)](i(405)),n}}const Qo=na;!function(t){const e=na,i=t();for(;;)try{if(782124===parseInt(e(203))/1*(-parseInt(e(298))/2)+-parseInt(e(319))/3+parseInt(e(240))/4+-parseInt(e(333))/5*(parseInt(e(296))/6)+-parseInt(e(236))/7*(-parseInt(e(255))/8)+parseInt(e(334))/9+-parseInt(e(325))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ta=[Qo(315),Qo(243)];class ea extends G.Plugin{[Qo(221)];static get[Qo(224)](){return Qo(313)}static get[Qo(331)](){return!0}static get[Qo(206)](){return!0}constructor(t){const e=Qo;function i(t){const e=na;return t[e(297)](t=>String[e(254)](t))[e(335)]("")}super(t),this[e(221)]=e(226),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function ia(){const t=["revision-history-missing-configuration","error","isOfficialPlugin","_closeRevisionViewer","21410oMUWIF","6025662zXiQEW","join","define","commands","destroy","then","roots","catch","addUser","getRevision","RevisionTracker","createdAt","model","_getRevisionViewerEditorConfig","get","RevisionHistoryUtils","_viewerEditor","createRangeIn","uiLanguage","closeRevisionViewerCallback","toVersion","getRevisions","41ofKyfQ","markers","enqueueChange","isPremiumPlugin","Dialog","includes","revisionHistory.editorContainer","isAnonymous","revision-history-viewer-opened","Autosave","repository","loadRevisionData","plugins","fromVersion","isOpen","toLocaleDateString","RevisionViewer","none","result","removeMarker","parse","pluginName","creator","end","_recalculatePageBreaks","enableReadOnlyMode","detachRoot","changesNavigation","hide","lazyRoots","style","getAttributeKeys","save","861JUHdmW","revisionHistory","PaginationLookup","data","337244EHAxDh","push","_enhanceShowRevisionViewerCallback","RestrictedEditingMode","from","setSelection","setAttribute","name","isAttached","bind","isEnabled","view","long","RevisionsRepository","fromCharCode","27200YLsTyb","change","getRevisionRootsAttributes","users","revisionHistory.restoreRevisionCallback","getRoot","revisionHistory.showRevisionViewerCallback","removeSelectionAttribute","toJSON","update","Annotations","403766KQnbPS","DocumentOutlineUI","showRevisionViewerCallback","saveRevision","addRevisionData","rootName","document","adapter","$graveyard","requires","Users","editor","revisionHistory.requireRevisionName","DocumentOutline","addRoot","insert","revisionHistory.viewerContainer","element","_cleanUp","_enhanceCloseRevisionViewerCallback","restrictedEditingException","config","_showRevisionViewer","getUser","revisionHistory.viewerEditorElement","create","isReady","restoreRevision","RevisionHistory","keys","420LMMNfJ","map","41038sKkbWK","has","locale","_update","isReadOnly","exitToEditing","set","getRevisionDocumentData","init","isRevisionViewerOpen","indexOf","toLocaleTimeString","block","toolbar","numeric","RevisionViewerIntegration","refreshPositioning","RevisionHistoryUI","translations","remove","getMarkersGroup","4133502mobeKC","removeAttribute","display","refreshVisibility","selection","disableReadOnlyMode","580zUZxYp","revisionHistory.closeRevisionViewerCallback","_restoreRevision","Restored"];return(ia=function(){return t})()}function na(t,e){const i=ia();return(na=function(t,e){return i[t-=184]})(t,e)}class sa extends G.Plugin{[Qo(197)];static get[Qo(224)](){return Qo(294)}static get[Qo(331)](){return!0}static get[Qo(206)](){return!0}static get[Qo(275)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(277)][i(287)][i(195)](i(237)))throw new t.CKEditorError(i(329),this);this[i(197)]=null,this[i(304)](i(307),!1),this[i(277)][i(287)][i(336)](i(261),t=>this[i(288)]({...t,translations:this[i(277)][i(300)][i(316)]})),this[i(277)][i(287)][i(336)](i(326),t=>this[i(332)](t)),this[i(277)][i(287)][i(336)](i(259),t=>this[i(327)](t)),this[i(277)][i(287)][i(336)](i(278),!1),this[i(242)](),this[i(285)]()}set[Qo(273)](t){const e=Qo;this[e(277)][e(215)][e(195)](e(191))[e(273)]=t}get[Qo(273)](){const t=Qo;return this[t(277)][t(215)][t(195)](t(191))[t(273)]}[Qo(270)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(191))[e(270)](t)}[Qo(190)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(253))[e(190)](t)}[Qo(202)](t){const e=Qo;return this[e(277)][e(215)][e(195)](e(253))[e(202)](t||{toJSON:!1})}[Qo(194)](){const e=Qo,i=this[e(277)],n=(0,K.sanitizeEditorConfig)(i,ta),s=i[e(215)][e(195)](e(191)),r=i[e(215)][e(195)](e(276))[e(258)];return n[e(311)]=[e(303),e(293),e(230)],delete n[e(232)],n[e(215)][e(241)](ea,ce,Ne,class extends G.Plugin{static get[e(275)](){return[ce,e(276)]}[e(306)](){const n=e,o=this[n(277)][n(215)][n(195)](n(276));for(const t of r)t[n(210)]||o[n(289)](t.id)||o[n(189)](t);const a=s[n(213)][n(202)]();let c=null;const u=this[n(277)][n(215)][n(195)](n(219));u[n(273)]=s[n(273)],u[n(249)](n(250)).to(s),this[n(277)][n(184)][n(195)](n(293))[n(249)](n(250)).to(i,n(302),t=>!t);for(const e of a){const i=null===e[n(225)];if(i&&e[n(201)]===e[n(216)])continue;const r=e[n(263)]();u[n(270)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(301)](r,o);else if(!o){const e=a[u(263)]();e.id=(0,t.uid)(),s[u(269)](e,a[u(201)])[u(186)](t=>{c=t})}}else e[u(301)](r,o)})}}},Lo),n}[Qo(242)](){const t=Qo,e=this[t(277)][t(287)][t(195)](t(237))[t(268)];this[t(277)][t(287)][t(304)](t(261),async()=>{const i=t;this[i(277)][i(228)](i(211));const n=this[i(277)][i(215)][i(195)](i(191));if(this[i(277)][i(215)][i(299)](i(212))){const t=this[i(277)][i(215)][i(195)](i(212));await t[i(235)]()}else await n[i(264)]();if(this[i(277)][i(215)][i(299)](i(238))&&this[i(277)][i(215)][i(195)](i(238))[i(227)](),this[i(277)][i(215)][i(299)](i(207))){const t=this[i(277)][i(215)][i(195)](i(207));t[i(217)]&&t[i(231)]()}const s=this[i(194)]();return e(s)[i(186)](t=>{const e=i;return this[e(197)]=t,this[e(277)][e(215)][e(299)](e(265))&&this[e(277)][e(215)][e(195)](e(265))[e(322)](),this[e(277)][e(215)][e(299)](e(279))&&(this[e(277)][e(215)][e(195)](e(267))[e(251)][e(283)][e(233)][e(321)]=e(220)),t})[i(188)](t=>(console[i(330)](t),this[i(277)][i(324)](i(211)),null))})}[Qo(285)](){const t=Qo,e=this[t(277)][t(287)][t(195)](t(237))[t(200)];this[t(277)][t(287)][t(304)](t(326),()=>(this[t(277)][t(215)][t(299)](t(238))&&this[t(277)][t(215)][t(195)](t(238))[t(227)](),this[t(277)][t(215)][t(299)](t(279))&&(this[t(277)][t(215)][t(195)](t(267))[t(251)][t(283)][t(233)][t(321)]=""),this[t(197)][t(215)][t(195)](t(219))[t(284)](),e(this[t(197)])[t(186)](()=>{const e=t;if(this[e(277)][e(324)](e(211)),this[e(197)]=null,this[e(277)][e(215)][e(299)](e(265))){const t=this[e(277)][e(215)][e(195)](e(265));t[e(322)](),t[e(314)]()}})))}[Qo(288)](t){const e=Qo,i=this[e(277)][e(287)][e(195)](e(209)),n=this[e(277)][e(287)][e(195)](e(282)),s=this[e(277)][e(287)][e(195)](e(290));return Xo[e(291)](s,t)[e(186)](t=>(n[e(233)][e(321)]=e(310),i[e(233)][e(321)]=e(220),this[e(307)]=!0,t))}[Qo(332)](t){const e=Qo,i=this[e(277)][e(287)][e(195)](e(209));return this[e(277)][e(287)][e(195)](e(282))[e(233)][e(321)]=e(220),i[e(233)][e(321)]="",this[e(307)]=!1,t[e(185)]()}async[Qo(327)](t){const e=Qo,i=this[e(277)],n=this[e(197)][e(215)][e(195)](e(219)),s=i[e(215)][e(195)](e(191)),r=i[e(215)][e(195)](e(196)),o=n[e(213)][e(190)](t);let a,c,u;try{await r[e(214)](o,this[e(273)]),a=r[e(305)](o),c=r[e(257)](o)}catch(t){return void console[e(330)](t)}i[e(193)][e(256)](t=>{const n=e;for(const e of Array[n(244)](i[n(193)][n(204)][n(318)](n(286))))t[n(222)](e)}),n[e(292)]=!1,i[e(193)][e(205)](t=>{const n=e;t[n(245)](null),t[n(262)](i[n(193)][n(272)][n(323)][n(234)]());const s=Object[n(295)](a);for(const e of i[n(193)][n(272)][n(187)])n(274)!=e[n(271)]&&e[n(248)]()&&!s[n(208)](e[n(271)])&&t[n(229)](e);for(const e of s){let s=i[n(193)][n(272)][n(260)](e);s&&s[n(248)]()||(s=t[n(280)](e));const r=c[e],o=Object[n(295)](r),u=a[e];for(const e of s[n(234)]())o[n(208)](e)||t[n(320)](e,s);for(const i of o)t[n(246)](i,c[e][i],s);t[n(317)](t[n(198)](s)),t[n(281)](i[n(239)][n(223)](u,s),s,0)}});const l=at(i[e(300)],e(328));return u=o[e(247)]?-1==o[e(247)][e(308)](l)?l+": "+o[e(247)]:o[e(247)]:l+": "+o[e(192)][e(218)](i[e(300)][e(199)],{month:e(252),day:e(312)})+", "+o[e(192)][e(309)](i[e(300)][e(199)],{hour:e(312),minute:e(312)}),await s[e(269)]({name:u}),n[e(292)]=!0,i[e(287)][e(195)](e(237))[e(200)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=458]})(t,e)}function oa(){var t=["3618648PPEUha","20TcedOd","1216302njJnoE","891276ZbEChd","343686bZAExC","8mSajTh","98294AwJvkq","5393829TnTdCU","926298uOHmEb"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(439971===parseInt(e(466))/1+parseInt(e(464))/2+parseInt(e(459))/3+parseInt(e(463))/4+-parseInt(e(461))/5*(-parseInt(e(462))/6)+-parseInt(e(458))/7+-parseInt(e(465))/8*(parseInt(e(460))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function Z(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?U(e)?H(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(t,e){const i=Y();return($=function(t,e){return i[t-=154]})(t,e)}const B=$;function Y(){const t=["creator","13320oqhdzq","fire","_update","removeAttribute","createdAt","toJSON","toVersion","authors","set","110692KPVRhK","creatorId","setAttribute","2600216KQOaJo","4OHWkNr","attributes","model","map","1214530tVrwOJ","setName","name","45JIrYQH","2079546zmiPso","1566474AcnLVs","677514XKecym","diffData","fromVersion","7wnFsCb","authorsIds"];return(Y=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(254005===-parseInt(e(179))/1*(-parseInt(e(162))/2)+parseInt(e(176))/3*(parseInt(e(166))/4)+parseInt(e(182))/5+parseInt(e(174))/6+parseInt(e(175))/7+-parseInt(e(165))/8+parseInt(e(173))/9*(-parseInt(e(170))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[B(181)];[B(160)];[B(177)];[B(159)];[B(178)];[B(168)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(181)]=e[i(181)]||null,this[i(160)]=e[i(160)]||[],this[i(177)]=e[i(177)]||null,this[i(159)]=e[i(159)]||0,this[i(178)]=e[i(178)]||0,this[i(161)](i(172),e[i(172)]||""),this[i(161)](i(157),e[i(157)]||new Date),this[i(161)](i(167),e[i(167)]||{})}[B(171)](t){this[B(155)]({name:t})}[B(164)](t,e){const i=B,n=A(this[i(167)]);Z(n,t,e),this[i(155)]({attributes:n})}[B(156)](t){const e=B,i=A(this[e(167)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(155)]({attributes:i})}[B(155)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(172),i(157),i(177),i(160),i(167),i(159),i(178),i(163)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(160)]&&(s[i(180)]=s[i(160)][i(169)](t=>t.id),delete s[i(160)]),this[i(154)](i(155),s,e))}[B(158)](){const t=B;return{id:this.id,name:this[t(172)],creatorId:this[t(181)]?this[t(181)].id:null,authorsIds:this[t(160)][t(169)](t=>t.id),diffData:this[t(177)],createdAt:this[t(157)],attributes:this[t(167)],fromVersion:this[t(178)],toVersion:this[t(159)]}}}var G=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["1365908pHmMEJ","getRevisionsIterator","fromCharCode","getIndex","authorsIds","12xzBQAu","_revisions","plugins","isNaN","oldRevisionId","getRevision","fromVersion","getRevisionsInDiff","createRevision","getEarlierVisibleRevision","getRevisions","161586gewtmq","24350287sXvOXu","642RkvmxB","getUser","createdAt","creatorId","2351014lMATiJ","1116279KuWIfX","later","diffData","get","isOfficialPlugin","map","190ftnbHu","add","toVersion","name","15bvepjq","pluginName","Users","RevisionsRepository","editor","requires","addRevision","isPremiumPlugin","data","length","3syLDMx","65394RLJgTO","toJSON","newRevisionId","href","from","getLaterVisibleRevision","push","earlier","join","afterInit","24mgqrmg","attributes","215831IzWyMw","reverse"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(762461===parseInt(e(323))/1+-parseInt(e(322))/2*(-parseInt(e(285))/3)+parseInt(e(300))/4*(parseInt(e(333))/5)+-parseInt(e(318))/6*(parseInt(e(286))/7)+parseInt(e(296))/8*(-parseInt(e(316))/9)+parseInt(e(329))/10*(parseInt(e(298))/11)+-parseInt(e(305))/12*(parseInt(e(317))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[X(306)];static get[X(280)](){return[K.Users]}static get[X(334)](){return X(336)}static get[X(327)](){return!0}static get[X(282)](){return!0}get[X(284)](){const t=X;return this[t(306)][t(284)]}constructor(e){const i=X;super(e),this[i(306)]=new t.Collection}[X(295)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(308)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(328)](t=>String[e(302)](t))[e(294)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1756252800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(289)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(313)](t){const e=X,i=this[e(279)][e(307)][e(326)](e(335));return new J({id:t.id,name:t[e(332)],creator:t[e(321)]?i[e(319)](t[e(321)]):null,diffData:t[e(325)]||t[e(283)],authors:t[e(304)][e(328)](t=>i[e(319)](t)),createdAt:new Date(t[e(320)]),attributes:t[e(297)],fromVersion:t[e(311)],toVersion:t[e(331)]})}[X(281)](t,e=0){const i=X;this[i(306)][i(330)](t,e)}[X(310)](t){const e=X;return this[e(306)][e(326)](t)}[X(315)](t={toJSON:!1}){const e=X,i=Array[e(290)](this[e(306)]);return i[e(299)](),t[e(287)]?i[e(328)](t=>t[e(287)]()):i}[X(303)](t){const e=X;return this[e(306)][e(303)](t)}[X(314)](t){const e=X,[,i]=this[e(301)](t,{direction:e(293)});return i}[X(291)](t){const e=X,[,i]=this[e(301)](t,{direction:e(324)});return i}[X(312)](t){const e=X,i=[];for(const n of this[e(301)](t[e(288)]))if(i[e(292)](n),n.id===t[e(309)])break;return i}*[X(301)](t,{direction:e=X(293),filter:i=()=>!0}={}){const n=X,s=n(293)===e?1:-1;let r=this[n(306)][n(326)](t),o=this[n(303)](r);for(yield r;r;){if(o+=s,r=this[n(310)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=384]})(t,e)}function rt(){const t=["getRevision","from","view","config","forEach","toModel","get","90WRnNZX","viewChildrenToDom","loadRevisionData","getFillerOffset","34608AdayOF","name","startsWith","document","domConverter","marked","editing","string","insertions","collaboration.channelId","constructor","diffData","filter","div","map","childNodes","processor","default","isAttached","isOfficialPlugin","pluginName","378656LiiRDS","htmlProcessor","_typeCharToViewClass","_setCustomProperty","type","getRevisionRootsAttributes","parse","isPremiumPlugin","useFillerType","revision-end","data-revision-","_getTypeCharForViewElement","attachChange","toData","6612921zgcRFG","domChildrenToView","fillerOffset","RevisionHistoryUtils","_makeModelFromViewString","884645zcfetS","_getViewFromDiffObj","_appendChild","render","attributes","append","attributesAfter","revision-start","length","domDocument","3219480mjNJeP","children","getRevisionDocumentData","innerHTML","_viewClassToTypeChar","7767492cyhDNr","createElement","data","_removeRevisionMarkers","9unPKJt","10968184zIzvhc","editor","customProperties"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(684555===parseInt(e(418))/1+parseInt(e(452))/2*(-parseInt(e(448))/3)+parseInt(e(399))/4+-parseInt(e(428))/5+parseInt(e(433))/6+parseInt(e(413))/7+parseInt(e(438))/8*(-parseInt(e(437))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(398)](){return nt(416)}static get[nt(397)](){return!0}static get[nt(406)](){return!0}[nt(432)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(401)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(450)](t,e){const i=nt;if(t[i(389)]||!e)return;const n=this[i(439)][i(444)][i(447)](i(387)),s=await e[i(441)]({channelId:n,revisionId:t.id});t[i(389)]=s[i(389)]}[nt(430)](t){const e=nt,i={};for(const n in t[e(389)]){if(t[e(389)][n][e(411)]&&!t[e(389)][n][e(411)][e(396)])continue;const s=this[e(436)](JSON[e(405)](t[e(389)][n][e(386)])),r=this[e(439)][e(384)][e(443)][e(455)],o=new Q.ViewDocumentFragment(r,s[e(392)](t=>this[e(419)](t,!1)));this[e(439)][e(435)][e(394)][e(407)](e(457)),i[n]=this[e(439)][e(435)][e(394)][e(412)](o),this[e(439)][e(435)][e(394)][e(407)](e(395))}return i}[nt(404)](t){const e=nt,i={};for(const n in t[e(389)])t[e(389)][n][e(411)]&&!t[e(389)][n][e(411)][e(396)]||(i[n]=t[e(389)][n][e(424)]||{});return i}[nt(410)](t){const e=nt;return this[e(432)][e(447)](t[e(388)])}[nt(419)](t,e){const i=nt,n=this[i(439)][i(384)][i(443)][i(455)];if(i(385)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(403)]||"r"==t[i(403)]?[]:t[i(429)][i(392)](t=>this[i(419)](t,e));const o=this[i(401)][i(447)](t[i(403)])||Q.ViewElement,a=this[i(439)][i(435)][i(400)][i(456)];if(s=new o(n,t[i(453)],t[i(422)],r),"u"==t[i(403)]&&t[i(429)][0]){const r=t[i(429)][0];if(s[i(421)]=function(t){const e=i,n=t[e(434)](e(391));return n[e(431)]=r,n[e(393)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(420)](s);const e=Array[i(442)](a[i(449)](t,{bind:!1})),r=a[i(427)][i(434)](i(391));r[i(423)](...e),s=Array[i(442)](a[i(414)](r))[0]}}else if("r"==t[i(403)]&&t[i(429)][0]){const r=t[i(429)][0];if(s[i(421)]=function(t){t[i(431)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(420)](s);const e=Array[i(442)](a[i(449)](t,{bind:!1})),r=a[i(427)][i(434)](i(391));r[i(423)](...e);const o=Array[i(442)](a[i(414)](r));o[i(426)]>1?s[i(420)](o):s=o[0]}}if(t[i(440)])for(const[e,n]of t[i(440)])s[i(402)](e,n);const c=void 0===t[i(415)]?null:t[i(415)];return null!==c&&(s[i(451)]=()=>c),s}}[nt(417)](t){const e=nt,i=JSON[e(405)](t),n=this[e(439)][e(384)][e(443)][e(455)],s=new Q.ViewDocumentFragment(n,i[e(392)](t=>this[e(419)](t,!0)));return this[e(439)][e(435)][e(446)](s)}[nt(436)](t){const e=nt;return(t=t[e(390)](t=>!t[e(453)]||e(425)!==t[e(453)]&&e(408)!==t[e(453)]))[e(445)](t=>{const i=e;i(385)!=typeof t&&(t[i(429)]=this[i(436)](t[i(429)]),t[i(422)]=t[i(422)][i(390)](t=>!t[0][i(454)](i(409))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=418]})(t,e)}function pt(){const t=["addRoot","_prepareViewToSave","_removePendingAction","_getViewJson","sendBufferedUpdates","root","setSource","afterInit","getRevisionRootsAttributes","isPremiumPlugin","has","initial","previousPosition","deletion","revisionHistoryLicenseKeyValid","set","PENDING_ACTION_REVISION_HISTORY","childCount","_baseRootsAttributes","getCurrentRevisionId","_handleRootOperation","updateRevisions","some","getTransformedByOperation","currentRevision","trialLimit","buildRevisionData","stickiness","88MKEowi","licenseKey","update","get","_loadState","customProperties","_handleInsertOperation","filter","RevisionTracker","getIndex","affectsData","size","hasContent","saveRevision","isAdd","_generateTape","domainLimit","expired","getChildren","markerToData","destroy","vid","getFillerOffset","PendingActions","innerHTML","startsWith","includes","max","sort","_createCurrentRevision","nodes","18yXqACo","children","fillerOffset","_diffRootsAttributes","model","shift","sourcePosition","_getPreviousFrom","outerHTML","_makeRevision","createPositionBefore","isEnabled","createPositionAt","_source","_findInsertionIndex","bind","_makeModelFromViewString","repository","trim","revisionHistoryLicenseKeyEvaluationLimit","_touched","uiElement","_handleMoveOperation","for","274603yQEHFC","getRoot","resolve","15228910Bismqc","_utils","_handleSplitOperation","_touchedRoots","getOperations","initialData","_lastTo","getRange","_isPendingUpdate","987625vgXmST","revisionHistoryLicenseKeyUsageLimit","_update","parent","element","_calculateMetaData","howMany","getWalker","collaboration.channelId","getRevision","_reset","newValue","_isInit","getChild","getRootNames","RevisionsRepository","history","_bufferUpdate","documentFragment","getRevisions","_diffRoots","_setConversion","_handleMarkerOperation","range","_createFromRanges","getUser","render","editor","diffData","move","text","_baseRoots","createRangeIn","evaluationLimit","fromEntries","insertion","delete","1669890oyhyEu","conversion","adapter","794784CxusGB","_revisionDataBuilder","paragraph","add","pluginName","usageLimit","_idsRoots","fromVersion","rootsAttributes","insertionPosition","item","getData","detachRoot","788520UJbkkN","createElement","splitPosition","init","_markChanges","creator","getAttribute","key","_addPendingAction","nodeAfter","getNodeByPath","config","_markers","define","elementStart","clear","_clone","invalid","targetPosition","reverse","_authorId","RevisionHistoryUtils","removeRootAttribute","_removeMetaData","createRevision","changeRootAttribute","setRevisionData","_makeIdsRoot","dataToMarker","attributesAfter","offset","upcast","start","_touchedMarkers","userId","718347dzRsYE","isOfficialPlugin","insertions","createPositionAfter","find","from","htmlProcessor","_copyMarkers","$graveyard","RevisionHistory","string","position","getAncestors","markers","type","domDocument","isAttached","revisionHistoryLicenseKeyExpired","stringify","_startingVersion","keys","_getTypeCharForViewElement","NEGATIVE_INFINITY","_getState","revisionHistoryLicenseKeyDomainLimit","_handleRootAttributeOperation","ready","$comment","rootName","_initialRevisionId","getAttributes","plugins","_startingRevisionId","_savedMetaData","isEqual","_applyOperations","addRevision","featureNotAllowed","_cloneOperation","getMovedRangeStart","Empty document","_fixPosition","_getBaseVids","attachChange","createPositionFromPath","_pendingAction","_setAttribute","deletions","map","keepParagraph","toVersion","$text","_handleMergeOperation","graveyardPosition","_isAttached","8vcCngA","getCustomProperties","vid_start","_getVidAttributeName","_operations","_execute","version","addRootAttribute","domConverter","_createInitialRevision","slice","_handleOperation","_revisionId","_saveMetaData","oldRange","finally","_continueCurrentRevision","reinsert","getRevisionDocumentData","requires","creatorId","_loadedStateData","revision:","name","_fixRange","end","merge","revisionHistoryLicenseKeyTrialLimit","revision","getLatestVersion","revisionHistory.resumeUnsavedRevision","values","_transformMarkers","_replaceEditorDataWithRevisionData","createRange","_lastFrom","reInit","data","getTime","insert","vid_end","Initial revision","createdAt","length","_getFromVersion","remove","_insertChild","attributesBefore","_baseIdsRoots","isReady","roots","_appendChild","Users","_licenseKeyCheckInterval","document","editor-initial-data-replaced-with-revision-data","loadState","revisionHistoryLicenseKeyNotAllowed","_bufferedUpdates","path","_showLicenseError","_fixOperation","dataDowncast","marker","_processRootBeforeSave","addRevisionData","split","push","elementEnd","authorsIds","rawElement","authors","locale","revisionHistoryLicenseKeyInvalid","toView","offsetSize","getOperation","baseVersion","source","tableCell","RealTimeCollaborationClient","clone","loadRevisionData","then","newRange"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(565070===-parseInt(e(485))/1+parseInt(e(540))/2*(-parseInt(e(450))/3)+-parseInt(e(437))/4+parseInt(e(720))/5+-parseInt(e(434))/6+parseInt(e(708))/7*(-parseInt(e(653))/8)+parseInt(e(684))/9*(parseInt(e(711))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(654)];[ft(593)];[ft(649)]=null;[ft(701)];[ft(436)]=null;[ft(438)];[ft(697)];[ft(514)];[ft(598)];[ft(712)];[ft(530)];[ft(556)];[ft(504)];[ft(561)];static get[ft(441)](){return ft(661)}static get[ft(486)](){return!0}static get[ft(634)](){return!0}static get[ft(559)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(701)]=this[i(424)][i(516)][i(656)](i(735)),this[i(712)]=this[i(424)][i(516)][i(656)](i(471)),this[i(438)]=new gt(this[i(424)]),this[i(514)]=this[i(424)][i(461)][i(656)](i(728))||i(636),this[i(598)]=new Map,this[i(561)]=null;const n=(0,t.uid)();this[i(697)]={history:this[i(424)][i(688)][i(594)][i(736)],getLatestVersion:()=>Promise[i(710)](this[i(424)][i(688)][i(594)][i(546)]),getCurrentRevisionId:()=>n},this[i(640)](i(589),!1),this[i(640)](i(695),!0),this[i(640)](i(719),!1),this[i(424)][i(461)][i(463)](i(570),!0),this[i(424)][i(435)][i(707)](i(481))[i(478)]({view:i(568)})}[ft(453)](){const t=ft;this[t(418)](),this[t(424)][t(577)].on(t(511),()=>{const e=t,i=this[e(701)][e(729)](0),n=i&&null===i[e(455)]?i:null;if(this[e(556)]=!!n&&this[e(424)][e(461)][e(656)](e(570)),this[e(424)][e(516)][e(635)](e(620))){const t=this[e(697)][e(644)](),s=this[e(701)][e(729)](t);if(s)this[e(504)]=s[e(444)],this[e(556)]=!1;else{const t=this[e(697)][e(736)][e(544)][e(489)](t=>!t[e(732)]),s=t?t[e(617)]:this[e(697)][e(736)][e(546)];i?(i[e(535)]<s&&i[e(722)]({toVersion:s}),this[e(556)]?(this[e(697)][e(644)]=()=>n.id,this[e(504)]=n[e(444)]):(this[e(504)]=i[e(535)],this[e(556)]=!1)):(this[e(504)]=s,this[e(556)]=!1)}}else n&&(this[e(424)][e(688)][e(594)][e(736)][e(546)]=Math[e(680)](n[e(535)],this[e(424)][e(688)][e(594)][e(736)][e(546)]),n[e(444)]===n[e(535)]?(0!==n[e(444)]&&(this[e(697)][e(644)]=()=>n.id),this[e(556)]=!1):this[e(556)]&&(this[e(697)][e(644)]=()=>n.id,this[e(504)]=n[e(444)])),this[e(556)]||(this[e(504)]=this[e(424)][e(688)][e(594)][e(546)]);this[e(438)][e(453)](this[e(697)][e(736)]),this[e(549)](this[e(504)]),this[e(682)](this[e(504)]),this[e(436)]&&this[e(629)]()}),this[t(699)](t(589)).to(this,t(719),t=>!t),this[t(654)]=this[t(424)][t(461)][t(656)](t(654));const e=this[t(424)];this[t(593)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(639)==r||i(613)==r||i(502)==r||i(509)==r||i(597)==r||i(703)==r||i(567)==r||i(721)==r){delete e[s],n=r,clearInterval(this[i(593)]),this[i(593)]=void 0;break}}i(613)==n&&e[i(600)](i(467)),i(502)==n&&e[i(600)](i(670)),i(509)==n&&e[i(600)](i(669)),i(597)==n&&e[i(600)](i(522),i(494)),i(703)==n&&e[i(600)](i(430)),i(567)==n&&e[i(600)](i(650)),i(721)==n&&e[i(600)](i(442))},1e3)}async[ft(632)](){const t=ft;if(this[t(701)][t(583)]>0){const e=this[t(701)][t(729)](0),i=await this[t(558)](e),n=await this[t(633)](e);this[t(573)](i,n)}}[ft(673)](){const t=ft;super[t(673)](),this[t(593)]&&clearInterval(this[t(593)])}[ft(631)](t){this[ft(697)]=t}async[ft(655)](){const t=ft,e=await this[t(697)][t(569)]();if(e>this[t(649)][t(535)]){await this[t(657)]();const i=this[t(651)]({revision:this[t(649)],to:e});i[t(611)]=i[t(609)][t(533)](e=>this[t(424)][t(516)][t(656)](t(592))[t(422)](e)),this[t(649)][t(722)](i)}}async[ft(666)](e={},i=null){const n=ft,s=[];await this[n(657)](),this[n(556)]=!1,i>this[n(649)][n(535)]&&(i=null),null===i&&(i=await this[n(697)][n(569)]());const r=this[n(584)](i),o=this[n(651)]({from:r,to:i});if(this[n(649)][n(535)]<i){const t=this[n(651)]({revision:this[n(649)],from:i,to:i});t[n(611)]=[],t[n(609)]=[],t.id=this[n(649)].id,this[n(649)][n(722)](t,!0),delete t[n(611)],s[n(607)](t)}e[n(560)]=this[n(424)][n(516)][n(656)](n(592)).me.id,e[n(563)]=e[n(563)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(605)](e);s[n(607)](e);const c=this[n(701)][n(662)](a);if(0!==c){const t=this[n(701)][n(729)](c-1);if(t[n(444)]!==i){const r=this[n(438)][n(448)](i,t[n(535)]),o={id:t.id,diffData:r[n(425)],authorsIds:r[n(609)],authors:r[n(609)][n(533)](t=>this[n(424)][n(516)][n(656)](n(592))[n(422)](t)),fromVersion:i};t===this[n(649)]&&(o[n(582)]=new Date(e[n(582)][n(578)]()+10)),t[n(722)](o,!0),delete o[n(611)],s[n(607)](o)}}if(this[n(436)]){for(const t of s)this[n(737)](t.id,t,!0);this[n(629)]()}return a}[ft(605)](t){const e=ft,i=this[e(701)][e(474)](t);return this[e(436)]&&i.on(e(722),(t,i,n)=>{const s=e;n||(this[s(737)](i.id,i,!0),this[s(629)]())}),this[e(701)][e(521)](i,this[e(698)](i)),i}async[ft(558)](t){const e=ft;return await this[e(712)][e(622)](t,this[e(436)]),this[e(712)][e(558)](t)}async[ft(633)](t){const e=ft;return await this[e(712)][e(622)](t,this[e(436)]),this[e(712)][e(633)](t)}[ft(629)](){const t=ft;if(0===this[t(598)][t(664)])return;if(this[t(719)])return;let e=Array[t(490)](this[t(598)][t(571)]());this[t(598)][t(465)]();for(let i=0;i<e[t(583)];i++){const n=e[i];let s=!1;for(const e of Object[t(505)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(660)](t=>null!==t),!e[t(583)])return;for(let i=0;i<e[t(583)];i++){const n=e[i];void 0!==n[t(444)]&&void 0===n[t(535)]&&(n[t(535)]=this[t(701)][t(729)](n.id)[t(535)]),void 0!==n[t(535)]&&void 0===n[t(444)]&&(n[t(444)]=this[t(701)][t(729)](n.id)[t(444)])}const i=this[t(424)][t(461)][t(656)](t(728));this[t(719)]=!0,this[t(458)](),this[t(436)][t(646)](e,i)[t(555)](()=>{this[t(719)]=!1})[t(623)](e=>{const i=t;if(e)for(const t of e)this[i(476)]({id:t.id,createdAt:t[i(582)]});this[i(627)](),this[i(629)]()})}[ft(651)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(444)],i=null!==i?i:t[n(535)];const s=this[n(438)][n(448)](e,i),r={diffData:s[n(425)],authorsIds:s[n(609)],fromVersion:e,toVersion:i};if(!t||i!==t[n(535)]){const t=i-1,e=this[n(697)][n(736)][n(616)](t);r[n(582)]=e&&e[n(582)]||new Date}if(this[n(561)]&&e===this[n(561)][n(444)])for(const t of this[n(561)][n(611)])r[n(609)][n(679)](t.id)||r[n(609)][n(607)](t.id);return r}[ft(737)](t,e,i){const n=ft;if(this[n(598)][n(635)](t)){const s=this[n(598)][n(656)](t);e=i?{...s,...e}:{...e,...s}}this[n(598)][n(640)](t,e)}[ft(476)](t){const e=ft,i=this[e(701)][e(729)](t.id);if(t[e(582)]&&(t[e(582)]=new Date(t[e(582)])),t[e(609)]){const i=this[e(424)][e(516)][e(656)](e(592));t[e(611)]=t[e(609)][e(533)](t=>i[e(422)](t))}i[e(722)](t,!0)}[ft(549)](t){const e=ft,i=this[e(701)][e(729)](this[e(701)][e(583)]-1);if(i)this[e(514)]=i.id;else{const i=!this[e(424)][e(688)][e(594)][e(590)][e(489)](t=>this[e(424)][e(688)][e(665)](t)),n=this[e(424)][e(516)][e(656)](e(592)).me.id,s=at(this[e(424)][e(612)],e(i?525:581));this[e(693)]({from:t,to:t,id:this[e(514)],name:s,creatorId:n})}}[ft(682)](t){const e=ft,i=this[e(697)][e(644)]();this[e(649)]=this[e(701)][e(729)](i),this[e(649)]||(this[e(649)]=this[e(693)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(657)](){const t=ft;this[t(556)]&&!this[t(561)]&&(await this[t(712)][t(622)](this[t(649)],this[t(436)]),this[t(438)][t(596)](this[t(649)]),this[t(561)]={fromVersion:this[t(649)][t(444)],authors:this[t(649)][t(611)][t(550)]()})}[ft(573)](e,i){const n=ft;let s=this[n(424)][n(461)][n(656)](n(716)),r=this[n(424)][n(461)][n(656)](n(445));if(void 0===s){s={};for(const t of this[n(424)][n(688)][n(594)][n(734)]())s[t]=""}if(n(495)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(424)][n(688)][n(594)][n(734)]())r[t]={}}let o=!1;const a=Object[n(505)](s),c=Object[n(505)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(702)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(505)](r[t])[n(583)]>0){o=!0;break}}o||(o=c[n(647)](t=>!this[n(424)][n(688)][n(594)][n(709)](t))),o&&(0,t.logWarning)(n(595),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(424)][n(461)][n(640)](n(716),e),this[n(424)][n(461)][n(640)](n(445),i)}[ft(458)](){const t=ft;if(!this[t(530)]){const e=this[t(424)][t(516)][t(656)](t(676));this[t(530)]=e[t(440)](at(this[t(424)][t(612)],t(641)))}}[ft(627)](){const t=ft;this[t(530)]&&(this[t(424)][t(516)][t(656)](t(676))[t(585)](this[t(530)]),this[t(530)]=null)}[ft(698)](t){const e=ft,i=this[e(701)][e(739)]();i[e(469)]();let n=0;for(;n<i[e(583)];){const s=i[n];if(s===this[e(649)]){n++;continue}if(s.id===this[e(514)])break;const r=t[e(535)]-s[e(535)]||t[e(444)]-s[e(444)];if(r>0)break;if(r<0)n++;else{if(!t[e(455)]&&s[e(455)])break;if(s[e(455)]||!t[e(455)]){if(t[e(582)]>s[e(582)])break;n++}else n++}}return n}[ft(584)](t){const e=ft,i=this[e(701)][e(739)]();i[e(469)](),i[e(689)]();const n=i[e(489)](i=>i[e(535)]<=t)[e(535)];return n<this[e(504)]?this[e(504)]:n}[ft(693)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(651)]({from:e,to:i});o[r(563)]=t,o[r(560)]=n,o.id=s;const a=this[r(605)](o);return this[r(436)]&&this[r(737)](o.id,o,!0),a}[ft(418)](){const t=ft;this[t(424)][t(435)][t(707)](t(602))[t(672)]({model:t(568)})}}class gt{[ft(424)];[ft(618)];[ft(518)];[ft(575)];[ft(717)];[ft(462)];[ft(740)];[ft(687)];[ft(428)];[ft(643)];[ft(443)];[ft(588)];[ft(704)];[ft(483)];[ft(714)];[ft(552)];[ft(517)];constructor(t){const e=ft;this[e(424)]=t,this[e(518)]=new Map,this[e(575)]=-1,this[e(717)]=-1,this[e(462)]=new Map,this[e(740)]=new Map,this[e(687)]=new Map,this[e(428)]=new Map,this[e(643)]=new Map,this[e(443)]=new Map,this[e(588)]=new Map,this[e(704)]=new Map,this[e(483)]=new Map,this[e(714)]=new Map,this[e(552)]=1}[ft(453)](t){const e=ft;this[e(618)]=t;const i=new Map,n=new Map,s=this[e(424)][e(688)][e(594)][e(590)][e(533)](t=>t[e(513)]);for(const t of s){const s=this[e(424)][e(688)][e(594)][e(709)](t),r=yt(s);i[e(640)](t,r),n[e(640)](t,Object[e(431)](s[e(515)]()))}const r=Array[e(490)](this[e(424)][e(688)][e(498)])[e(533)](t=>[t[e(563)],t[e(718)]()]),o=this[e(618)][e(546)];this[e(553)](o,i,r,n),this[e(517)]=this[e(552)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(640)](t,i),c[e(640)](t,{})}this[e(553)](Number[e(507)],a,[],c)}[ft(448)](t,e){const i=ft;if(this[i(575)]===t&&this[i(717)]<=e)this[i(518)][i(664)]>1&&this[i(473)](this[i(717)]),this[i(520)](this[i(717)],e,!0);else{if(!this[i(518)][i(635)](t)){const e=this[i(691)](t);this[i(725)](e,t,!1)}this[i(725)](t,e,!0)}return this[i(575)]=t,this[i(717)]=e,this[i(508)]()}[ft(596)](t){const e=ft,i=this[e(424)][e(516)][e(656)](e(471));this[e(730)](),this[e(575)]=t[e(444)],this[e(717)]=t[e(535)];for(const n in t[e(425)]){const s=t[e(425)][n][e(528)],r=A(t[e(425)][n][e(587)])||{},o=i[e(700)](t[e(425)][n][e(532)]);o[e(513)]=n,o[e(539)]=!s||!s[e(501)],o[e(501)]=()=>o[e(539)],this[e(428)][e(640)](n,o),this[e(643)][e(640)](n,r),s&&this[e(714)][e(640)](n,s);const a=this[e(477)](o);this[e(588)][e(640)](n,a);for(const[t,i]of o[e(498)]){if(!t[e(678)](e(562)))continue;const n=t[e(606)](":")[2];for(const t of i[e(727)]({singleCharacters:!0})){const i=this[e(543)](t),s=e(608)==t[e(499)]?t[e(637)][e(599)][e(550)](0,-1):t[e(637)][e(599)],r=a[e(460)](s)[e(456)](i);this[e(704)][e(640)](r,{userId:n})}}}this[e(517)]=this[e(552)];const n=[...Array(this[e(552)])[e(505)]()][e(550)](1)[e(660)](t=>!this[e(704)][e(635)](t));let s=0;const r=new Map;for(const o in t[e(425)]){const a=t[e(425)][o][e(528)],c=A(t[e(425)][o][e(479)])||{},u=i[e(700)](t[e(425)][o][e(487)]);u[e(513)]=o,u[e(539)]=!a||a[e(501)],u[e(501)]=()=>u[e(539)],this[e(740)][e(640)](o,u),this[e(687)][e(640)](o,c);const l=this[e(477)](u,Number[e(507)]);this[e(443)][e(640)](o,l),r[e(640)](o,u[e(501)]()?c:{});for(const[t,i]of u[e(498)]){if(!t[e(678)](e(562)))continue;const n=t[e(606)](":")[2];for(const t of i[e(727)]({singleCharacters:!0})){const i=this[e(543)](t),s=this[e(552)]++,r=e(608)==t[e(499)]?t[e(637)][e(599)][e(550)](0,-1):t[e(637)][e(599)];l[e(460)](r)[e(531)](i,s),this[e(704)][e(640)](s,{userId:n})}}for(const t of this[e(424)][e(688)][e(429)](u)[e(727)]({singleCharacters:!0})){const i=this[e(543)](t),r=e(608)==t[e(499)]?t[e(637)][e(599)][e(550)](0,-1):t[e(637)][e(599)],o=l[e(460)](r);o[e(456)](i)>0||o[e(531)](i,n[s++])}for(const[t,i]of u[e(498)])t[e(678)](e(562))||this[e(462)][e(640)](t,i)}const o=kt(e(493));this[e(428)][e(640)](e(493),o),this[e(588)][e(640)](e(493),this[e(477)](o,1));const a=kt(e(493));this[e(740)][e(640)](e(493),a),this[e(443)][e(640)](e(493),this[e(477)](a,1));const c=Array[e(490)](this[e(740)])[e(533)](([t,e])=>[t,yt(e)]);this[e(553)](this[e(717)],c,this[e(462)],r)}[ft(576)](){const t=ft;this[t(730)](),this[t(575)]=-1,this[t(717)]=-1,this[t(518)][t(465)](),this[t(453)](this[t(618)])}[ft(553)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(640)](t,{start:e[s(482)][s(621)](),end:e[s(565)][s(621)](),rootName:e[s(630)][s(513)]});this[s(518)][s(640)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(473)](t){const e=ft;this[e(518)][e(433)](t)}[ft(730)](){const t=ft;this[t(704)][t(465)](),this[t(483)][t(465)](),this[t(714)][t(465)](),this[t(740)][t(465)](),this[t(687)][t(465)](),this[t(428)][t(465)](),this[t(643)][t(465)](),this[t(443)][t(465)](),this[t(588)][t(465)](),this[t(462)][t(465)](),this[t(552)]=1,this[t(517)]=this[t(552)]}[ft(477)](t,e=null){const i=ft;let n=null;t.is(i(738))||(n=new Q.ModelElement(t[i(563)],{vid_start:null===e?this[i(552)]++:e++}));const s=[];for(const n of t[i(671)]())if(n.is(i(724))){s[i(607)](this[i(477)](n,e));const t=s[s[i(583)]-1];null!==e&&(e=t.is(i(724),i(536))?t[i(456)](i(674))+1:t[i(456)](i(580))+1)}else for(let t=0;t<n[i(615)];t++)s[i(607)](new Q.ModelElement(i(536),{vid:null===e?this[i(552)]++:e++}));if(t.is(i(738))){const e=kt(t[i(513)]);return e[i(586)](0,s),e}return n[i(531)](i(580),null===e?this[i(552)]++:e++),n[i(586)](0,s),n}[ft(725)](t,e,i){const n=ft;this[n(730)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(518)][n(656)](t);this[n(428)]=new Map(s),this[n(643)]=new Map(A(o));for(const[t,e]of this[n(428)])if(n(493)!==t&&(this[n(740)][n(640)](t,yt(e)),this[n(687)]=new Map(A(o)),i)){const i=this[n(552)];this[n(443)][n(640)](t,this[n(477)](e)),this[n(588)][n(640)](t,this[n(477)](e,i))}this[n(517)]=this[n(552)],this[n(740)][n(640)](n(493),yt(this[n(428)][n(656)](n(493)))),i&&this[n(443)][n(640)](n(493),this[n(477)](this[n(428)][n(656)](n(493))));for(const[t,e]of r){const i=this[n(428)][n(656)](e[n(513)]),s=this[n(740)][n(656)](e[n(513)]),r=new Q.ModelRange(this[n(526)](e[n(482)],i),this[n(526)](e[n(565)],i)),o=this[n(564)](r,s);i[n(498)][n(640)](t,r),this[n(462)][n(640)](t,o)}this[n(520)](t,e,i)}[ft(520)](t,e,i){const n=ft;for(const s of this[n(618)][n(715)](t,e))this[n(551)](s,i);for(const t of this[n(740)][n(571)]())t[n(498)][n(465)]();for(const[t,e]of this[n(462)])this[n(740)][n(656)](e[n(630)][n(513)])[n(498)][n(640)](t,e[n(621)]());const s=new Map,r=new Map;for(const[t,e]of this[n(740)])s[n(640)](t,yt(e)),r[n(640)](t,this[n(687)][n(656)](t));this[n(553)](e,s,this[n(462)],r)}[ft(691)](t){const e=ft,i=Array[e(490)](this[e(518)][e(505)]());i[e(681)]((t,e)=>t-e),i[e(469)]();for(const e of i)if(e<t)return e;return Number[e(507)]}[ft(492)](t,e){const i=ft,n=Array[i(490)](e[i(498)])[i(533)](([e,n])=>[e,this[i(564)](n,t)]);t[i(498)]=new Map(n)}[ft(572)](t){const e=ft;for(const i of this[e(462)][e(571)]()){const n=i[e(648)](t),s=Q.ModelRange[e(421)](n);i[e(482)]=s[e(482)],i[e(565)]=s[e(565)]}}[ft(551)](t,e){const i=ft;if(i(625)!=t[i(499)]&&i(449)!=t[i(499)]){if(i(579)==t[i(499)]){const n=t[i(496)][i(630)][i(513)];this[i(740)][i(635)](n)||(this[i(740)][i(640)](n,kt(n,!0)),this[i(687)][i(640)](n,{}),e&&this[i(443)][i(640)](n,kt(n,!0)))}else{if(i(547)==t[i(499)]||i(472)==t[i(499)]||i(475)==t[i(499)])return void this[i(510)](t);i(603)==t[i(499)]&&this[i(419)](t)}if(i(603)!==t[i(499)]){const e=this[i(523)](t,this[i(740)]);e[i(545)](),this[i(572)](e)}if(e)switch(t[i(499)]){case i(579):this[i(659)](t);break;case i(426):case i(585):case i(557):this[i(706)](t);break;case i(566):this[i(537)](t);break;case i(606):this[i(713)](t)}}else this[i(645)](t,e)}[ft(523)](t,e){const i=ft,n=t[i(621)]();return n[i(470)]=t[i(470)],this[i(601)](n,e),n}[ft(527)](t){const e=ft;return t[e(533)](t=>{const i=e,n=this[i(543)](t);return Number(t[i(447)][i(456)](n))})}[ft(668)](t,e){const i=ft;if(t.is(i(724),i(536)))e[i(607)]({item:t,type:i(427)});else{t.is(i(724))&&e[i(607)]({item:t,type:i(464)});for(const n of t[i(671)]())this[i(668)](n,e);t.is(i(724))&&e[i(607)]({item:t,type:i(608)})}return e}[ft(508)](){const t=ft,e=new Map(this[t(704)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(428)][t(505)](),...this[t(740)][t(505)]()]);a[t(433)](t(493));for(const e of a){const i=this[t(740)][t(656)](e)||kt(e,!1),n=this[t(428)][t(656)](e)||kt(e,!1);i[t(501)]()||n[t(501)]()?(s[t(487)][e]=yt(i),s[t(532)][e]=yt(n),this[t(492)](s[t(532)][e],n),this[t(492)](s[t(487)][e],i),r[t(487)][e]=this[t(668)](this[t(443)][t(656)](e),[]),r[t(532)][e]=this[t(668)](this[t(588)][t(656)](e)||kt(e,!1),[])):a[t(433)](e)}for(const s of a){const o=r[t(487)][s];for(const s of o){const r=this[t(543)](s),o=s[t(447)][t(456)](r);i[t(433)](o),o>=this[t(517)]&&n[t(640)](o,e[t(656)](o))}}for(const s of a){const a=r[t(487)][s],c=this[t(527)](r[t(532)][s]);let u=0;for(const s of a){const r=this[t(543)](s),a=s[t(447)][t(456)](r);if(!n[t(635)](a)&&!o[t(635)](a))if(i[t(635)](a))u++;else{if(a!=c[u]){const n=e[t(656)](a)||e[t(656)](c[u]);for(;a!=c[u];)i[t(635)](c[u])||(o[t(640)](c[u],n),e[t(640)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(487)][e];for(const e of s){const s=this[t(543)](e),r=e[t(447)][t(456)](s);if(o[t(635)](r)){const e=o[t(656)](r);i[t(635)](r)||i[t(640)](r,{...e}),n[t(640)](r,{...e})}}}for(const e of i[t(505)]())e>=this[t(517)]&&i[t(433)](e);const c=new Map;for(const e of a){let s=r[t(487)][e];for(const e of s)if(e[t(447)].is(t(724),t(619))){const i=this[t(543)](e),s=e[t(447)][t(456)](i);if(n[t(635)](s)){const i=e[t(447)][t(723)][t(723)][t(456)](t(542)),r=c[t(656)](i)||new Set;r[t(440)](n[t(656)](s)[t(484)]),c[t(640)](i,r)}}s=r[t(532)][e];for(const e of s)if(e[t(447)].is(t(724),t(619))){const n=this[t(543)](e),s=e[t(447)][t(456)](n);if(i[t(635)](s)){const n=e[t(447)][t(723)][t(723)][t(456)](t(542)),r=c[t(656)](n)||new Set;r[t(440)](i[t(656)](s)[t(484)]),c[t(640)](n,r)}}for(const e of c[t(505)]())(n[t(635)](e)||i[t(635)](e))&&c[t(433)](e)}for(const e of a){const s=r[t(487)][e];let o=null,a=null;for(const e of s){const s=this[t(543)](e),r=e[t(447)][t(456)](s),u=c[t(656)](r);u&&t(464)==e[t(499)]&&(o=Array[t(490)](u)[0],a=e[t(447)][t(456)](t(580))),o&&(i[t(640)](r,{userId:o}),n[t(640)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(532)][e],a=s[t(487)][e];for(const{userId:e}of this[t(483)][t(571)]())null!==e&&l[t(440)](e);for(const{userId:e}of this[t(714)][t(571)]())null!==e&&l[t(440)](e);this[t(454)](a,r[t(487)][e],n,t(432),l),this[t(454)](o,r[t(532)][e],i,t(638),l),u[e]={insertions:this[t(626)](a),deletions:this[t(626)](o),attachChange:this[t(714)][t(656)](e)||null,attributesBefore:A(this[t(643)][t(656)](e))||{},attributesAfter:A(this[t(687)][t(656)](e))}}return{diffData:u,authorsIds:Array[t(490)](l)}}[ft(604)](t){const e=ft;for(const[,i]of t[e(498)]){const t=i[e(482)][e(497)]()[e(660)](t=>e(619)==t[e(563)]);for(const i of t)1==i[e(642)]&&i[e(733)](0).is(e(724),e(439))&&i[e(733)](0)[e(531)](e(534),!0)}}[ft(626)](t){const e=ft;this[e(604)](t);const i=this[e(424)][e(577)][e(614)](t,{}),n=Array[e(490)](i[e(671)]())[e(533)](t=>this[e(628)](t));return JSON[e(503)](n)}[ft(628)](t){const e=ft;if(t.is(e(536)))return t[e(577)];{const i=this[e(424)][e(516)][e(656)](e(471)),n=t,s=this[e(424)][e(577)][e(491)][e(548)],r={type:i[e(506)](n),name:n[e(563)],attributes:Array[e(490)](n[e(515)]()),children:Array[e(490)](n[e(671)]())[e(533)](t=>this[e(628)](t))};if(t.is(e(705))&&e(512)!=t[e(563)]){const i=t[e(423)](s[e(500)],s);r[e(685)][e(607)](i[e(692)])}else if(t.is(e(610))){const i=s[e(500)][e(451)](n[e(563)]);t[e(423)](i,s),r[e(685)][e(607)](i[e(677)])}const o=Array[e(490)](n[e(541)]());o[e(583)]>0&&(r[e(658)]=o);const a=n[e(675)]();return null!==a&&(r[e(686)]=a),r}}[ft(454)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(424)][r(688)];for(let n=0;n<e[r(583)];n++){const s=this[r(543)](e[n]),c=e[n][r(447)][r(456)](s),h=i[r(656)](c),d=n==e[r(583)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(484)]!=o[r(484)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(484)],d=l(562)+n+":"+h+":"+c++,f=u[l(574)](i,a);t[l(498)][l(640)](d,f),null!==h&&s[l(440)](h)}}[ft(543)](t){const e=ft;switch(t[e(499)]){case e(464):return e(542);case e(608):return e(580);default:return e(674)}}[ft(601)](t,e){const i=ft;t[i(617)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(656)](s[i(630)][i(513)]);t[n]=this[i(526)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(656)](s[i(630)][i(513)]);t[n]=this[i(564)](s,r)}i(630)===n&&(t[i(630)]=e[i(656)](t[i(630)][i(513)]))}}[ft(564)](t,e){const i=ft;return this[i(424)][i(688)][i(574)](this[i(526)](t[i(482)],e),this[i(526)](t[i(565)],e))}[ft(526)](t,e){const i=ft;return this[i(424)][i(688)][i(529)](e,t[i(599)],t[i(652)])}[ft(659)](t){const e=ft,i=this[e(443)][e(656)](t[e(496)][e(630)][e(513)]),n=this[e(526)](t[e(496)],i),s=null===t[e(470)]?null:t[e(470)]||this[e(424)][e(516)][e(656)](e(592)).me.id,r=n[e(723)],o=this[e(552)],a=[];for(const i of t[e(683)])if(i.is(e(724)))a[e(607)](this[e(477)](i));else for(let t=0;t<i[e(615)];t++)a[e(607)](new Q.ModelElement(e(536),{vid:this[e(552)]++}));const c=this[e(552)];for(let t=o;t<c;t++)this[e(704)][e(640)](t,{userId:s});r[e(586)](n[e(480)],a)}[ft(706)](t){const e=ft;(t=this[e(523)](t,this[e(443)]))[e(545)]();const i=null===t[e(470)]?null:t[e(470)]||this[e(424)][e(516)][e(656)](e(592)).me.id,n=t[e(524)](),s=n[e(723)],r=n[e(480)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(733)](e);r.is(a(724),a(536))?n[a(640)](r[a(456)](a(674)),{userId:i}):(n[a(640)](r[a(456)](a(542)),{userId:i}),t(n,r,0,r[a(642)]),n[a(640)](r[a(456)](a(580)),{userId:i}))}}(this[e(704)],s,r,r+t[e(726)])}[ft(537)](t){const e=ft,i=null===(t=this[e(523)](t,this[e(443)]))[e(470)]?null:t[e(470)]||this[e(424)][e(516)][e(656)](e(592)).me.id,n=t[e(468)][e(723)],s=t[e(690)][e(723)],r=n[e(456)](e(580)),o=s[e(456)](e(542));n[e(531)](e(580),s[e(456)](e(580))),s[e(531)](e(580),r),this[e(704)][e(640)](o,{userId:i}),this[e(704)][e(640)](r,{userId:i}),t[e(545)]()}[ft(713)](t){const e=ft,i=null===(t=this[e(523)](t,this[e(443)]))[e(470)]?null:t[e(470)]||this[e(424)][e(516)][e(656)](e(592)).me.id,n=t[e(538)],s=t[e(452)][e(723)];t[e(545)]();const r=s[e(456)](e(580)),o=t[e(446)][e(459)];if(n){const t=o[e(456)](e(580)),n=s[e(456)](e(580));s[e(531)](e(580),t),o[e(531)](e(580),n),this[e(704)][e(640)](s[e(456)](e(580)),{userId:i}),this[e(704)][e(640)](o[e(456)](e(542)),{userId:i})}else{const t=this[e(552)]++,n=this[e(552)]++;s[e(531)](e(580),t),o[e(531)](e(542),n),o[e(531)](e(580),r),this[e(704)][e(640)](t,{userId:i}),this[e(704)][e(640)](n,{userId:i})}}[ft(419)](t){const e=ft;if(!t[e(663)])return;const i=(t=this[e(523)](t,this[e(740)]))[e(554)]?t[e(554)][e(630)]:null,n=t[e(624)]?t[e(624)][e(630)]:null;i&&this[e(462)][e(433)](t[e(563)]),n&&this[e(462)][e(640)](t[e(563)],t[e(624)][e(621)]());const s=null===t[e(470)]?null:t[e(470)]||this[e(424)][e(516)][e(656)](e(592)).me.id,r=t[e(563)];if(!this[e(483)][e(635)](r))return void this[e(483)][e(640)](r,{range:t[e(554)],userId:s});const o=this[e(483)][e(656)](r),a=o[e(420)],c=t[e(624)];null==a&&null==c||a&&c&&a[e(519)](c)?this[e(483)][e(433)](t[e(563)]):o[e(484)]=s}[ft(645)](t,e){const i=ft;this[i(740)][i(635)](t[i(513)])?this[i(740)][i(656)](t[i(513)])[i(539)]=t[i(667)]:(this[i(740)][i(640)](t[i(513)],kt(t[i(513)],!0)),this[i(687)][i(640)](t[i(513)],{}),e&&this[i(443)][i(640)](t[i(513)],kt(t[i(513)],!0)));const n=null===t[i(470)]?null:t[i(470)]||this[i(424)][i(516)][i(656)](i(592)).me.id,s=this[i(714)][i(656)](t[i(513)]);s&&s[i(484)]===n?this[i(714)][i(433)](t[i(513)]):this[i(714)][i(640)](t[i(513)],{userId:n,isAttached:t[i(667)]})}[ft(510)](t){const e=ft,i=this[e(687)][e(656)](t[e(630)][e(513)]);null===t[e(731)]?delete i[t[e(457)]]:i[t[e(457)]]=t[e(731)]}}function yt(t){const e=ft,i=kt(t[e(513)],t[e(501)]());for(const n of t[e(671)]()){const t=n[e(466)](!0);i[e(591)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(513)]=t,n[i(539)]=e,n[i(501)]=()=>n[i(539)],n}function bt(t,e,i){const n=ft,s=n(608)==t[n(499)]?i[n(696)](t[n(447)],n(565)):i[n(694)](t[n(447)]);return i[n(529)](e,s[n(599)],s[n(652)])}function wt(t,e,i){const n=ft,s=n(464)==t[n(499)]?i[n(696)](t[n(447)],0):i[n(488)](t[n(447)]);return i[n(529)](e,s[n(599)],s[n(652)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=387]})(t,e)}function zt(){const t=["errorText","6HBVUcG","add","arrowdown","220","form","arrowleft","trim","fieldView","render","143843IUPVlC","keystrokes","2426945vYEBXr","arrowup","revisionNameInputValue","ck-revision-history-save-revision-form","locale","128Bdvqqy","optional","focus","16373500DeZjQl","setTemplate","focusTracker","extendTemplate","ck-responsive-form","set","arrowright","stopPropagation","10IoPwnJ","value","reset","label","_createRevisionNameInput","listenTo","211103gPkNen","33088bTEmEz","114XDflWd","revisionName","initializeCssTransitionDisablerMixin","Name of the revision","850366hxnSGe","element","revisionNameInputView","3995676UTRbzn","input"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(250519===-parseInt(e(421))/1+-parseInt(e(427))/2+parseInt(e(423))/3*(-parseInt(e(422))/4)+parseInt(e(399))/5*(parseInt(e(388))/6)+-parseInt(e(397))/7*(parseInt(e(404))/8)+-parseInt(e(430))/9+parseInt(e(415))/10*(parseInt(e(407))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(409)];[Pt(398)];[Pt(429)];constructor(e,i){const n=Pt;super(e),this[n(409)]=new t.FocusTracker,this[n(398)]=new t.KeystrokeHandler,this[n(412)](n(401),""),this[n(429)]=this[n(419)](i),this[n(408)]({tag:n(392),attributes:{class:["ck",n(402),n(411)],tabindex:"-1"},children:[this[n(429)]]}),this[n(425)]()}[Pt(396)](){const t=Pt;super[t(396)](),(0,It.submitHandler)({view:this}),this[t(409)][t(389)](this[t(429)][t(428)]),this[t(398)][t(420)](this[t(428)]);const e=e=>e[t(414)]();this[t(398)][t(412)](t(413),e),this[t(398)][t(412)](t(393),e),this[t(398)][t(412)](t(400),e),this[t(398)][t(412)](t(390),e)}[Pt(406)](){const t=Pt;this[t(429)][t(406)]()}get[Pt(424)](){const t=Pt;return this[t(429)][t(395)][t(428)][t(416)][t(394)]()}set[Pt(424)](t){const e=Pt;this[e(429)][e(395)][e(428)][e(416)]=t[e(394)]()}[Pt(417)](){const t=Pt;this[t(429)][t(395)][t(428)][t(416)]="",this[t(429)][t(387)]=null}[Pt(419)](t){const e=Pt,i=new It.LabeledFieldView(this[e(403)],It.createLabeledInputText),n=i[e(395)];n[e(410)]({attributes:{maxlength:e(391)}});let s=at(this[e(403)],e(426));return!t&&(s+=" ("+at(this[e(403)],e(405))+")"),i[e(418)]=s,n.on(e(431),()=>{const t=e;this[t(401)]=n[t(428)][t(416)][t(394)]()}),i}}const Zt=Ut;function Ut(t,e){const i=Ht();return(Ut=function(t,e){return i[t-=117]})(t,e)}function Ht(){const t=["1275456PHzyeP","23476cwWJQI","errorText","RevisionTracker","_saveRevisionFormView","3817012qSuAEF","menuitem","locale","bind","items","revisionHistory","isPremiumPlugin","requires","isReadOnly","isEnabled","role","revisionNameInputView","Dialog","editor","add","init","2664345xEYtsl","focus","RevisionHistoryUI","7687434PtzZNI","Accept","Cancel","editing","ck-button-action","menuBar:revisionHistory","reset","submit","saveRevision","buttonView","addMany","revisionName","isOpen","revisionHistory.requireRevisionName","36969vazilU","showRevisionViewerCallback","Revision history","get","execute","panelView","children","hide","set","The revision name cannot be empty.","213LhkYIT","revisionSave","Save current revision","_showDialog","delegate","render","_createSaveRevisionFormView","pluginName","Open revision history","componentFactory","plugins","config","2887822LtLmzf","_registerMenuComponent","view","show","isReady","isOfficialPlugin","menu"];return(Ht=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(653080===parseInt(e(120))/1+-parseInt(e(150))/2*(parseInt(e(130))/3)+parseInt(e(154))/4+-parseInt(e(170))/5+parseInt(e(173))/6+-parseInt(e(142))/7+parseInt(e(149))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Zt(137)](){return Zt(172)}static get[Zt(147)](){return!0}static get[Zt(160)](){return!0}static get[Zt(161)](){return[vt]}[Zt(153)];[Zt(169)](){const t=Zt,e=this[t(167)],i=e[t(140)][t(123)](t(152));e.ui[t(139)][t(168)](t(159),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(125)][s(126)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(157)](s(163)).to(i,s(146),i,s(163),e,s(162),(t,e,i)=>t&&e&&!i),r[s(182)][s(128)]({icon:_t.IconHistory,label:at(n,s(122)),tooltip:!0}),u[s(128)]({label:at(n,s(132)),withText:!0,role:s(155)}),u[s(157)](s(163)).to(i,s(146),i,s(163),e,s(162),(t,e,i)=>t&&e&&!i),u.on(s(124),()=>this[s(133)]()),h[s(128)]({label:at(n,s(138)),withText:!0,role:s(155)}),h[s(157)](s(163)).to(i,s(146),e,s(162),(t,e)=>t&&!e),h.on(s(124),()=>{const t=s;e[t(141)][t(123)](t(159))[t(121)](),r[t(118)]=!1,e[t(176)][t(144)][t(171)]()}),c[s(126)][s(168)](u),l[s(126)][s(168)](h),a[s(164)]=s(148),a[s(158)][s(183)]([c,l]),o[s(168)](a),r}),e.ui[t(139)][t(168)](t(178),()=>this[t(143)]())}[Zt(143)](){const t=Zt,e=this[t(167)],i=e[t(156)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(182)][t(128)]({icon:_t.IconHistory,label:at(i,t(122))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(128)]({label:at(i,t(132))}),o[t(134)](t(124)).to(n),o.on(t(124),()=>{this[t(133)]()}),r[t(126)][t(168)](o),s[t(158)][t(168)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(128)]({label:at(i,t(138))}),c[t(134)](t(124)).to(n),c.on(t(124),()=>{const i=t;e[i(141)][i(123)](i(159))[i(121)]()}),a[t(126)][t(168)](c),s[t(158)][t(168)](a),n[t(125)][t(126)][t(168)](s),n}[Zt(133)](){const t=Zt,e=this[t(167)],i=e[t(156)],n=e[t(140)][t(123)](t(166)),s=e[t(140)][t(123)](t(152));function r(s){const r=t;e[r(141)][r(123)](r(119))&&""===s[r(117)]?s[r(165)][r(151)]=at(i,r(129)):(e[r(140)][r(123)](vt)[r(181)]({name:s[r(117)]}),n[r(127)]())}this[t(153)]||(this[t(136)](),this[t(153)].on(t(180),()=>r(this[t(153)]))),this[t(153)][t(179)](),n[t(145)]({id:t(131),title:at(i,t(132)),isModal:!0,content:this[t(153)],actionButtons:[{label:at(e[t(156)],t(175)),withText:!0,onExecute:()=>n[t(127)]()},{label:at(e[t(156)],t(174)),class:t(177),withText:!0,onCreate(i){const n=t;i[n(157)](n(163)).to(s,n(146),s,n(163),e,n(162),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(153)])}]})}[Zt(136)](){const t=Zt,e=this[t(167)],i=e[t(156)];this[t(153)]=new Wt(i,e[t(141)][t(123)](t(119))),this[t(153)][t(135)]()}}const $t=Yt;function Bt(){const t=["changeId","author","582620FlBDzv","type","ck-revision-change__label","683010ESlunF","bindTemplate","2693184WLZQec","Suggested by","ck-annotation","Removed by","ck-revision-change","add","div","data","setTemplate","isSuggestion","element","ck-revision-change__","2240072BCUrIB","18FtDDIS","6138066EQjTJP","span","1PePQLJ","focus","921193QWXpIc","Added by","set","name","_model","5OEzfsq","28421710tpIiVe"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=247]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(517887===parseInt(e(249))/1*(parseInt(e(260))/2)+-parseInt(e(263))/3+-parseInt(e(265))/4+parseInt(e(256))/5*(-parseInt(e(247))/6)+-parseInt(e(251))/7+parseInt(e(277))/8*(-parseInt(e(278))/9)+parseInt(e(257))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(258)];[$t(255)];constructor(t,e){const i=$t;super(t),this[i(255)]=e,this[i(258)]=e.id;const n=this[i(264)],s=at(t,e[i(272)][i(274)]?i(266):i(270)==e[i(261)]?i(252):i(268));this[i(253)](i(261),e[i(261)]),this[i(273)]({tag:i(271),attributes:{class:[i(267),i(269),n.to(i(261),t=>i(276)+t)],tabindex:-1},children:[{tag:i(248),children:[{tag:i(248),attributes:{class:[i(262)]},children:[{text:s}]},{text:" "+e[i(259)][i(254)]}]}]})}[$t(250)](){const t=$t;this[t(275)][t(250)]()}}function Gt(){var t=["data","1012640oPyXOn","53640sWrAlU","28110ZYBIoN","1067385ptYZuY","17qqklam","rootName","2170xkDHja","toJSON","author","148vWQnQZ","type","set","createdAt","45856BcvhtK","2475571UpenKg","512tyylIg","564ManNoN"];return(Gt=function(){return t})()}var Kt=Qt;function Qt(t,e){var i=Gt();return(Qt=function(t,e){return i[t-=113]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(254394===parseInt(e(122))/1*(parseInt(e(113))/2)+-parseInt(e(120))/3*(parseInt(e(127))/4)+parseInt(e(124))/5*(parseInt(e(116))/6)+parseInt(e(114))/7+parseInt(e(115))/8*(-parseInt(e(119))/9)+parseInt(e(118))/10+parseInt(e(121))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(126)];[Kt(128)];[Kt(117)];[Kt(123)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(126)]=e[i(126)],this[i(128)]=e[i(128)],this[i(117)]=e[i(117)]||{},this[i(123)]=e[i(123)],this[i(129)](i(130),e[i(130)])}[Kt(125)](){var t=Kt;return{id:this.id,authorId:this[t(126)].id,type:this[t(128)],data:this[t(117)],createdAt:this[t(130)]}}}const te=ee;function ee(t,e){const i=ne();return(ee=function(t,e){return i[t-=251]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(273489===parseInt(e(260))/1+-parseInt(e(254))/2*(parseInt(e(263))/3)+-parseInt(e(257))/4*(-parseInt(e(259))/5)+parseInt(e(265))/6+-parseInt(e(262))/7+-parseInt(e(255))/8*(parseInt(e(264))/9)+-parseInt(e(251))/10*(-parseInt(e(252))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class ie{[te(266)];[te(256)];[te(258)];constructor(e,i){const n=te;this[n(266)]=e,this[n(256)]=i,this[n(258)]=new t.Collection}[te(261)](t){const e=te;for(const i of t)this[e(258)][e(253)](i)}}function ne(){const t=["newRevisionId","166530SUaJZy","11VmhiMP","add","200RpMtqk","1496MmjZAt","oldRevisionId","15420AoRHhR","changes","670gKQvAK","211626uFJeBf","_setChanges","3318336bizoNv","4320swvfaK","14913tGNBnQ","2739282SREgyi"];return(ne=function(){return t})()}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=238]})(t,e)}function ce(){const t=["_cleanMarkers","isAddSuggestion","RevisionHistoryUtils","insertions","RevisionsRepository","get","deletions","remove","_getDiff","editingDowncast","10znQKrF","_getChangeFromId","conversion","isAtStart","dataDowncast","suggestion","revision:","ck-suggestion-marker-","pop","_setChanges","observeMarkers","length","change:isReady","model","editor","error","detachRoot","mousedown","plugins","getRevision","level","_update","getItems","change:activeChange","WidgetToolbarRepository","insert","changes","activeView","backward","offsetSize","getDomRoot","getWalker","2175uHlwKS","clear","_refreshStartEndIndex","addRoot","_findChangeIdFromDomTarget","pluginName","nodeAfter","isAttached","elementStart","loadRevisionData","_setDistance","item","refresh","slice","showStack","rootName","left","getAttributes","isContent","markerToData","markerName","isObject","_fixObsoleteTags","writer","upcast","_markMismatchedRemovedTags","_utils","ck-suggestion-marker","done","authors","elementToAttribute","diffData","markerToHighlight","66048uCYfyf","keys","selection","deletion","insertion","delete","_data","getCustomProperty","pairId","from","attribute:vid","uiElement","getIndex","attributes","affectsData","indexOf","getClientRects","getRevisionDocumentData","12993510FMvHBu","maxOffset","revision-suggestion:","isPremiumPlugin","nextSibling","revision-comment:","isOfficialPlugin","consume","oldRevisionId","_removeUnsupportedChanges","for","createUIElement","9azkVpA","setAttribute","object","parent","elementEnd","comment","splice","changeId","toViewPosition","ck-suggestion-marker--active","attachChange","_markSuggestions","return","find","ck-suggestion-marker-split","add","_appendChild","enableReadOnlyMode","commands","isBefore","isOnRoot","addRevisionData","revision-viewer","side","_step","_balloon","filter","2203864HsJwyh","sort","ck-revision-history-root--active","getAttribute","startsWith","element","restoreRevision","high","compare","isReady","removeMarker:revision-suggestion","execute","_revisions","createRevision","downcastDispatcher","isLimit","numberOfChanges","forceDisabled","catch","removeAttribute","unbindElementFromMarkerName","then","_getViewForChange","first","_changeIdToChange","4650023XbaXZQ","right","_markMarkers","split","isEqual","removeMarker:revision","viewItem","test","listenTo","bind","text","isAtEnd","restoreRevisionCallback","_activeViewTarget","unshift","nextPosition","resolve","mapViewToDom","adapter","addMarker:revision","74858CSkKoi","data","highest","map","start","isAdded","markerNameToElements","config","createRangeIn","forEach","mapper","addMarker:revision-suggestion:deletion","ck-editor__editable__overlay","ck-revision-history-root-remove","activeChange","ck-suggestion-marker-merge","abs","checkAttribute","dataToMarker","revisionHistoryLabel","flat","ck-suggestion-preview-marker-","addHighlight","attributesBefore","isCollapsed","toViewRange","enqueueChange","_removeMissingPairs","repository","name","POSITIVE_INFINITY","isSuggestion","isAfter","startIndex","currentChangeNumber","change:isEnabled","isInline","consumable","hasAttribute","isEnabled","markerRange","merge","all","index","init","reconvertMarker","ck-revision-history-root-add","document","isRemoveSuggestion","getLaterVisibleRevision","editing","_joinTapes","getChild","suggestion:","softBreak","bindElementToMarker","getRoot","showNextChange","_markInsertions","_initInteractions","next","_changeView","top","low","removeClass","domEvent","_sortAndFilterDiffChanges","_makeModelFromTape","createRange","forward","end","mouseover","hasClass","_setConversion","vid","has","7086diiLGW","removeMarker","getRevisionRootsAttributes","ck-suggestion-preview-marker","includes","userId","values","vid_start","element:pre","domConverter","_cleanUp","showPreviousChange","markers","addRevision","_processTape","ck-revision-history-root-","set","getRootNames","push","createAttributeElement","stop","createPositionBefore","distance","destroy","type","isRemoved","isIncorrect","_threeWayMerge","revision","vid_end","change","concat","isBlock","createPositionFromPath","shift","range","_getRevisionsRange","-new","locale","wrap","addMarker:revision-suggestion:insertion","endIndex","data-change-id","addClass","schema","span","change:activeView","previousPosition","revision-suggestion","revisionHistory","view","isNavigationMode","diff","604599LKZGBV","markersStart","string","toViewElement","code","RevisionViewer","_makeModelFromViewString","revisionHistoryAttachChange","markersEnd","change:numberOfChanges","newRevisionId","attributesAfter","_makeTape","bottom","updatePosition","target","findIndex","requires","modelRange","roots"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(702225===parseInt(e(394))/1+parseInt(e(553))/2*(parseInt(e(523))/3)+parseInt(e(292))/4+-parseInt(e(259))/5*(-parseInt(e(470))/6)+parseInt(e(374))/7+parseInt(e(349))/8*(-parseInt(e(322))/9)+-parseInt(e(310))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(422)];[oe(392)]=null;[oe(285)];[oe(387)];[oe(455)];[oe(373)];[oe(347)];static get[oe(264)](){return oe(528)}static get[oe(316)](){return!0}static get[oe(313)](){return!0}static get[oe(540)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(422)]=this[e(241)][e(245)][e(548)](e(547)),this[e(285)]=this[e(241)][e(245)][e(548)](e(545)),this[e(486)](e(408),null),this[e(486)](e(254),null),this[e(387)]=null,this[e(486)](e(522),null),this[e(486)](e(358),!1),this[e(486)](e(433),!0),this.on(e(429),(t,i,n)=>{const s=e;this[s(408)]=null,this[s(254)]=null,this[s(241)][s(444)][s(520)][s(500)](t=>{const e=s;for(const i of this[e(241)][e(444)][e(520)][e(441)][e(542)])n?t[e(458)](e(406),i):t[e(513)](e(406),i)})}),this[e(383)](e(521)).to(this,e(408),t=>null!==t),this[e(383)](e(428)).to(this,e(358),this,e(522),this,e(408),(t,i,n)=>t&&n?i[e(253)][e(304)](n):0),this[e(383)](e(365)).to(this,e(358),this,e(522),(t,i)=>t?i[e(253)][e(238)]:0),this[e(455)]=null,this[e(373)]=new Map,this[e(347)]=this[e(241)][e(245)][e(548)](It.ContextualBalloon)}[oe(438)](){const t=oe,e=this[t(241)],i=new de(e,{direction:t(255)}),n=new de(e,{direction:t(463)});e[t(340)][t(337)](t(481),i),e[t(340)][t(337)](t(451),n),e[t(340)][t(337)](t(355),new he(e)),this.on(t(532),()=>{const e=t;i[e(271)](),n[e(271)]()}),this[t(467)](),this[t(453)](),e[t(339)](t(344)),e[t(245)][t(469)](t(251))&&e[t(245)][t(548)](t(251))[t(366)](t(344))}async[oe(309)](t){const e=oe;return await this[e(285)][e(268)](t,this[e(392)]),this[e(285)][e(309)](t)}async[oe(472)](t){const e=oe;return await this[e(285)][e(268)](t,this[e(392)]),this[e(285)][e(472)](t)}async[oe(357)](t,e,i=!1){const n=oe;if(!this[n(433)])return;const s=this[n(522)],r=this[n(422)],o=n(525)==typeof t?r[n(246)](t):t,a=n(525)==typeof e?r[n(246)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(522)]&&this[n(522)][n(533)]===c&&this[n(522)][n(318)]===u)return Promise[n(390)]();this[n(358)]=!1,this[n(254)]=null,this[n(408)]=null,this[n(522)]=new ie(c,u);const l=this[n(506)](o,a,!0)[n(397)](t=>this[n(285)][n(268)](t,this[n(392)]));return l[n(488)](new Promise(t=>{setTimeout(t,20)})),Promise[n(436)](l)[n(370)](()=>{const t=n;if(!this[t(433)])return;this[t(480)]();const e=this[t(551)](c,u);for(const i of e[t(253)])this[t(373)][t(486)](i.id,i);this[t(241)][t(240)][t(420)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(241)][n(240)][n(441)][n(487)]())i[n(243)](t);for(const t of Object[n(293)](e[n(240)])){const s=i[n(262)](t);for(const r of Object[n(293)](e[n(305)][t]))i[n(323)](r,e[n(305)][t][r],s);i[n(252)](e[n(240)][t],s,0)}}),this[t(522)][t(562)](this[t(460)](e[t(253)])),this[t(358)]=!0})[n(367)](t=>{const e=n;console[e(242)](t),this[e(480)](),s&&(this[e(522)]=s),this[e(358)]=!0})}[oe(343)](t,e){const i=oe,n=this[i(422)][i(362)](t);return n.on(i(248),(t,i,s)=>e(i,s,n)),this[i(422)][i(483)](n),n}[oe(480)](){const t=oe;this[t(408)]=null,this[t(543)](),this[t(455)]&&this[t(455)][t(493)](),this[t(455)]=null,this[t(373)][t(260)](),this[t(241)][t(240)][t(420)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(241)][i(240)][i(441)][i(487)]())e[i(243)](t)})}[oe(460)](t){const e=oe,i=[],n=new Map;for(const t of this[e(241)][e(240)][e(441)][e(487)]()){const s=this[e(241)][e(444)][e(520)][e(257)](t);if(!s)continue;const r=s[e(308)]()[e(270)](0);r&&(i[e(488)](t),n[e(486)](t,r))}return i[e(350)]((t,i)=>{const s=e,r=n[s(548)](t),o=n[s(548)](i);return r.y-o.y||r.x-o.x}),(t=t[e(348)](t=>i[e(474)](t[e(274)])))[e(350)]((t,n)=>i[e(307)](t[e(274)])-i[e(307)](n[e(274)])),t}[oe(535)](t){const e=oe,i=Array[e(301)](t[e(482)])[e(348)](([t,i])=>t[e(353)](e(559))&&!i[e(418)]),n=Array[e(301)](this[e(241)][e(240)][e(402)](t)[e(258)]({singleCharacters:!0}));if(0!=i[e(238)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(377)](":");if(s[e(464)][e(378)](t[e(389)])&&i[e(504)](),(t[e(517)][e(378)](s[e(398)])||t[e(517)][e(426)](s[e(398)]))&&(e(296)==r?t[e(399)]={userId:o}:e(295)==r&&(t[e(495)]={userId:o})),0==i[e(238)])break}return n}[oe(261)](t){const e=oe,i=new Map;for(let n=0;n<t[e(238)];n++)e(384)===t[n][e(494)]?(t[n][e(270)][e(427)]=n,t[n][e(270)][e(511)]=n):(e(267)===t[n][e(494)]?t[n][e(270)][e(427)]=n:e(326)===t[n][e(494)]&&(t[n][e(270)][e(511)]=n),i[e(486)](t[n].id,n));for(const n of i[e(476)]())e(267)===t[n][e(494)]?t[n][e(270)][e(511)]=i[e(548)](t[n][e(300)]):e(326)===t[n][e(494)]&&(t[n][e(270)][e(427)]=i[e(548)](t[n][e(300)]))}[oe(484)](t){const e=oe;for(let i=0;i<t[e(238)];i++){if(e(267)===t[i][e(494)])t[i][e(270)][e(427)]=i;else if(e(326)===t[i][e(494)]){t[i][e(270)][e(511)]=i;const n=t[i][e(270)][e(427)];t[n][e(300)]=t[i].id,t[i][e(300)]=t[n].id}else t[i][e(270)][e(427)]=i,t[i][e(270)][e(511)]=i,t[i][e(300)]=null;t[i][e(524)]||(t[i][e(524)]=[],t[i][e(531)]=[])}}[oe(452)](t,e){const i=oe,n=t[i(348)](t=>!t[i(399)]);for(let t=0;t<e[i(238)];t++)e[t][i(399)]&&(n[t][i(399)]=e[t][i(399)])}[oe(551)](t,e=null){const i=oe,n=this[i(422)][i(246)](t),s=e?this[i(422)][i(246)](e):null,r=this[i(506)](n,s),o=r[r[i(238)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(238)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(293)](e[i(290)]))if(e[i(290)][t][i(332)]){const n=e[i(290)][t][i(332)];n[i(266)]?(u[i(337)](t),l[i(469)](t)&&l[i(548)](t)[i(475)]==n[i(475)]?l[i(297)](t):l[i(486)](t,n)):l[i(469)](t)?(u[i(297)](t),l[i(297)](t)):(u[i(337)](t),l[i(486)](t,n))}else u[i(337)](t)}for(const t of u){const e=l[i(469)](t)&&!l[i(548)](t)[i(266)];let n=e?r[i(238)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(290)][t]){const n=e?o[i(290)][t][i(417)]:o[i(290)][t][i(534)];c[i(305)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(240)]={};for(const e of t[i(288)])a[i(486)](e.id,e);for(const e of u){const n=t[i(290)][e]?t[i(290)][e][i(546)]:"[]",s=t[i(290)][e]?t[i(290)][e][i(549)]:"[]";t[i(240)][e]={insertions:this[i(285)][i(529)](n),deletions:this[i(285)][i(529)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(301)](n[i(240)][t][i(546)][i(482)])[i(348)](([t])=>!t[i(353)](i(559))));let h=0;for(const o of r){const r=this[i(535)](o[i(240)][t][i(546)]);o==n?(e=r,s=e[i(238)],e[i(403)](t=>{t.id=h++}),this[i(484)](e)):this[i(452)](e,r);const a=e[i(348)](t=>!t[i(399)])[i(397)](t=>t.id);let c=0;const l=this[i(535)](o[i(240)][t][i(549)]);l[i(403)](t=>{t[i(495)]?t.id=s++:t.id=a[c++]}),this[i(484)](l),this[i(269)](e,i(399)),this[i(269)](l,i(495)),o==n&&this[i(376)](e,u),e=this[i(445)](e,l),this[i(261)](e),this[i(269)](e,i(495))}e=e[i(348)](t=>!(t[i(399)]&&t[i(495)]));const d=new Map(o[i(240)][t][i(549)][i(482)]),f=new Set(u[i(293)]());for(const t of d[i(293)]())f[i(297)](t);this[i(333)](e,f),this[i(281)](e),e=this[i(421)](e),e=this[i(284)](e),e=this[i(319)](e);const{root:m,changes:p}=this[i(461)](e,a,t);c[i(240)][t]=m;const v=l[i(548)](t);if(v){const e=a[i(548)](v[i(475)]),n=new Xt({author:e,type:v[i(266)]?i(337):i(550),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(388)](n),c[i(305)][t][i(530)]=n.id}c[i(253)]=c[i(253)][i(501)](p)}return c}[oe(376)](t,e){const i=oe;for(let n=0;n<t[i(238)];n++)for(const[s,r]of e)!r[i(418)]&&r[i(398)][i(378)](t[n][i(517)])&&t[n][i(524)][i(488)](s),r[i(464)][i(378)](t[n][i(389)])&&t[n][i(531)][i(488)](s)}[oe(445)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(238)]||r<e[i(238)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(488)](o);else if(a[i(495)]&&o[i(399)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(497)](t,s,e,r);n=n[i(501)](o),s=a,r=c}else a[i(495)]?(r++,n[i(488)](a)):(s++,n[i(488)](o))}return n}[oe(333)](t,e){const i=oe,n=[];for(let o=0;o<t[i(238)];o++){for(let r=0;r<t[o][i(524)][i(238)];r++){const a=t[o][i(524)][r];if(!e[i(469)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(518)!=c||i(296)!=u&&i(295)!=u||(n[i(388)]({type:u,name:a,userId:l}),t[o][i(524)][i(328)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(531)][i(238)];r++){const a=t[o][i(531)][r];if(!e[i(469)](a))continue;const{group:c,type:u}=s(a);if(i(518)!=c||i(296)!=u&&i(295)!=u)continue;t[o][i(531)][i(328)](r,1),r--;const l=n[i(539)](t=>t[i(423)]==a);l>-1&&n[i(328)](l,1)}}function s(t){const e=i,n=t[e(377)](":");return{group:n[0],type:n[1],subType:n[e(238)]>=5?n[2]:null,id:n[e(238)]<5?n[2]:n[3],authorId:n[e(238)]<5?n[3]:n[4],markerCount:6==n[e(238)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(238)];i++){if(t[e(399)]&&e(296)==n[i][e(494)]&&t[e(399)][e(475)]==n[i][e(475)])return t[e(544)]=n[i],void delete t[e(399)];if(!t[e(399)]&&!t[e(495)]&&e(295)==n[i][e(494)])return void(t[e(442)]=n[i])}}}[oe(269)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(486)](o.id,n);for(let n=0;n<t[i(238)];n++){if(i(495)==e&&t[n][i(399)]||i(399)==e&&t[n][i(495)])continue;if(i(384)==t[n][i(494)]){t[n][i(492)]=0;continue}const s=r[i(548)](t[n][i(300)]),o=r[i(548)](t[n].id);t[n][i(492)]=s-o}}[oe(506)](t,e,i=!1){const n=oe,s=[];let r=this[n(422)][n(304)](t),o=this[n(422)][n(304)](e);for(-1==o&&(o=this[n(422)][n(361)][n(238)],i=!1);r<o;)s[n(488)](this[n(422)][n(246)](r)),r++;return i&&s[n(488)](this[n(422)][n(246)](r)),s}[oe(497)](t,e,i,n){const s=oe,r=this[s(241)][s(240)][s(514)];let o=e;for(;t[o]&&t[o][s(399)];)o++;let a=n;for(;i[a]&&i[a][s(495)];)a++;u(t,e,o),u(i,n,a);const c=i[s(272)](n,a)[s(501)](t[s(272)](e,o));return c[s(350)]((t,e)=>t[s(345)]!=e[s(345)]?t[s(345)]-e[s(345)]:t[s(247)]!=e[s(247)]?t[s(247)]-e[s(247)]:t[s(492)]!=e[s(492)]?e[s(492)]-t[s(492)]:!!t[s(399)]!=!!e[s(399)]?-1==t[s(345)]||0==t[s(345)]?t[s(399)]?-1:1:t[s(399)]?1:-1:t[s(437)]-e[s(437)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(424)],c=!0;for(let s=e;s<i;s++)if(r[n(430)](t[s][n(270)])||(c=!1),t[s][n(270)][n(427)]<e&&(o=s),t[s][n(270)][n(511)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(345)]=s<=o?-1:s<a?0:1,t[s][n(437)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(492)]?t[i][n(247)]=u:(u++,t[i][n(247)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(345)]&&(t[s][n(247)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(492)]?t[e][n(247)]=u:(u--,t[e][n(247)]=u,u--)}}[oe(281)](t){const e=oe,i=new Map,n=this[e(241)][e(240)][e(514)];for(let s=1;s<t[e(238)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(384)==c[e(494)])continue;if(c[e(494)]!=u[e(494)])continue;if(!n[e(502)](u[e(270)])||n[e(364)](u[e(270)]))continue;if(!n[e(502)](c[e(270)])||n[e(364)](c[e(270)]))continue;if((t[s][e(399)]||t[s][e(544)])&&t[s-1][e(495)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(495)]||!t[s-1][e(399)]&&!t[s-1][e(544)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(247)]==o[e(247)],h=Math[e(410)](r[e(247)])<Math[e(410)](o[e(247)])&&0==o[e(492)];(l||h)&&(i[e(486)](o.id,r.id),t[e(328)](a,1),s--,r[e(399)]=!1)}for(let n=0;n<t[e(238)];n++)i[e(469)](t[n][e(300)])&&(t[n][e(300)]=i[e(548)](t[n][e(300)]))}[oe(421)](t){const e=oe,i=new Set(t[e(397)](t=>t.id));for(let n=0;n<t[e(238)];n++)i[e(469)](t[n][e(300)])||0==t[n][e(492)]||(t[n][e(496)]=!0);return t[e(348)](t=>!t[e(496)])}[oe(284)](t){const e=oe,i=new Set;for(let n=0;n<t[e(238)];n++){if(i[e(469)](t[n].id)&&t[n][e(495)]&&(t[n][e(496)]=!0),t[n][e(496)])continue;if(0==t[n][e(492)])continue;if(e(267)!=t[n][e(494)])continue;if(null==t[n][e(300)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(300)];)e(267)==t[s][e(494)]?r++:e(326)==t[s][e(494)]&&r--,s++;if(0!=r)if(t[n][e(495)])t[n][e(496)]=!0;else for(;s!=n;)t[s][e(495)]&&0!=t[s][e(492)]&&(t[s][e(496)]=!0,i[e(337)](t[s][e(300)])),s--}return t[e(348)](t=>!t[e(496)])}[oe(319)](t){const e=oe,i=this[e(241)][e(240)][e(514)];for(let n=0;n<t[e(238)];n++){if(!(t[n][e(399)]||t[n][e(544)]||t[n][e(495)]||t[n][e(442)]))continue;if(0==t[n][e(492)])continue;const s=t[n][e(270)];i[e(502)](s)||i[e(364)](s)||(t[n][e(399)]&&delete t[n][e(399)],t[n][e(544)]&&delete t[n][e(544)],t[n][e(442)]&&delete t[n][e(442)],t[n][e(495)]&&(t[n][e(496)]=!0))}return t[e(348)](t=>!t[e(496)])}[oe(461)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(241)][n(240)],c=a[n(514)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(238)];e++)if(n(267)===t[e][n(494)]){t[e][n(517)]=a[n(503)](s,f);const i=new Q.ModelElement(t[e][n(270)][n(423)],t[e][n(270)][n(276)]());u[0][n(338)](i),f[n(488)](0),u[n(388)](i),t[e][n(389)]=a[n(503)](s,f)}else n(326)===t[e][n(494)]?(u[n(504)](),t[e][n(517)]=a[n(503)](s,f),f[n(561)](),f[f[n(238)]-1]++,t[e][n(389)]=a[n(503)](s,f)):(t[e][n(517)]=a[n(503)](s,f),d?d[n(298)]+=t[e][n(270)][n(395)]:d=new Q.ModelText(t[e][n(270)][n(395)],t[e][n(270)][n(276)]()),t[e+1]&&n(384)===t[e+1][n(494)]&&v(d,t[e+1][n(270)])||(u[0][n(338)](d),d=null),f[f[n(238)]-1]+=t[e][n(270)][n(256)],t[e][n(389)]=a[n(503)](s,f));for(let e=0;e<t[n(238)];e++){const i=t[e][n(517)],s=t[e][n(389)];for(const s of t[e][n(524)])o[n(486)](s,{start:i,end:null});m(n(442),e,i,s),m(n(544),e,i,s),m(n(495),e,i,s),m(n(399),e,i,s);for(const i of t[e][n(531)]){const t=o[n(548)](i);t?t[n(464)]=s:o[n(486)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(241)][n(240)][n(462)](e[n(398)],e[n(464)]);s[n(482)][n(486)](t,i)}return r[n(350)]((t,e)=>{const i=n,r=s[i(482)][i(548)](i(559)+t.id),o=s[i(482)][i(548)](i(559)+e.id);return r[i(398)][i(341)](o[i(398)])?-1:r[i(398)][i(426)](o[i(398)])?1:r[i(464)][i(341)](o[i(464)])?-1:r[i(464)][i(426)](o[i(464)])?1:i(337)===t[i(494)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(475)]:null,d=i===t[o(238)]-1,f=h[e][0],m=c[o(280)](t[i][o(270)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(464)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(475)]!==u&&(l[e][o(464)]=s,f&&f[o(475)]===l[e][o(475)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(267)!==t[i][o(494)]||f&&f[o(475)]===u||h[e][o(388)]({userId:u,object:t[i][o(270)],change:l[e]}),o(326)===t[i][o(494)]&&f&&f[o(324)]===t[i][o(270)]&&(h[e][o(504)](),l[e]=f[o(500)])),l[e]&&d&&(l[e][o(464)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(270)],f=a[h(514)][h(502)](d)&&!a[h(514)][h(364)](d),m=t[h(265)]==o[h(325)]&&o[h(556)];if(f&&m)return;const p=a[h(462)](t,o),v=e[h(548)](u),g=new Xt({author:v,type:h(399)==l||h(544)==l?h(337):h(550),data:{isSuggestion:h(544)==l||h(442)==l},createdAt:new Date,rootName:i});r[h(488)](g),s[h(482)][h(486)](h(559)+g.id,p)}function v(t,e){const i=n,s=t[i(276)](),r=e[i(276)]();for(const t of s){if(t[1]!==e[i(352)](t[0]))return!1;r[i(454)]()}return r[i(454)]()[i(287)]}}[oe(467)](){const t=oe;this[t(241)][t(555)][t(320)](t(283))[t(412)]({view:t(498)}),this[t(241)][t(555)][t(320)](t(552))[t(291)]({model:t(498),view:e=>{const i=t,n=e[i(279)][i(377)](":")[1],s=this[i(554)](n);if(!s)return null;const r=i(337)==s[i(494)]?i(296):i(295),o=[i(286),i(560)+r];return s[i(395)][i(425)]&&o[i(488)](i(560)+r+i(507)),this[i(408)]==s&&o[i(488)](i(331)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(241)][t(555)][t(320)](t(283))[t(337)](e=>{const i=t;e.on(i(478),(t,e,n)=>{const s=i,r=e[s(380)][s(446)](0);if(!r||!r.is(s(354),s(527)))return;if(!n[s(431)][s(317)](r,{attributes:[s(477),s(499)]}))return;const o=e[s(541)][s(398)][s(265)];n[s(282)][s(323)](s(477),r[s(352)](s(477)),o),n[s(282)][s(323)](s(499),r[s(352)](s(499)),o)},{priority:i(457)})}),this[t(241)][t(555)][t(320)](t(283))[t(337)](e=>{const i=t;e.on(i(354),(t,e,n)=>{const s=i;if(!n[s(431)][s(317)](e[s(380)],{attributes:[s(477),s(499)]}))return;if(e[s(541)][s(418)])return;const r=e[s(541)][s(398)][s(265)];r[s(432)](s(477))||r[s(432)](s(468))||(n[s(282)][s(323)](s(477),e[s(380)][s(352)](s(477)),r),n[s(282)][s(323)](s(499),e[s(380)][s(352)](s(499)),r))},{priority:i(457)})}),this[t(241)][t(555)][t(320)](t(283))[t(289)]({view:{name:t(515),attributes:{vid:!0}},model:{key:t(468),value:e=>e[t(352)](t(468))}}),this[t(241)][t(240)][t(514)].on(t(411),(e,[,i])=>{const n=t;[n(477),n(499),n(468)][n(474)](i)&&(e[n(334)]=!0,e[n(490)]())},{priority:t(396)}),this[t(241)][t(555)][t(320)](t(557))[t(337)](e=>{const i=t;e.on(i(302),(t,e,n)=>{const s=i;if(" "!=e[s(270)][s(395)]||e[s(270)][s(325)][s(311)]>1)return;if(!n[s(431)][s(317)](e[s(270)],t[s(423)]))return;const r=n[s(282)],o=n[s(404)][s(419)](e[s(505)]);r[s(509)](o,r[s(489)](s(515)))})}),this[t(241)][t(555)][t(320)](t(557))[t(278)]({model:t(498)}),this[t(241)][t(444)][t(363)].on(t(393),function(e){const i=t,n=e[i(245)][i(548)](i(528));return(t,s,r)=>{const o=i,a=s[o(279)][o(377)](":")[1],c=n[o(554)](a);if(!c)return null;const u=o(337)==c[o(494)]?o(377):o(435);if(!r[o(431)][o(381)](s[o(434)],t[o(423)]))return;const l=s[o(434)][o(258)](),h=s[o(434)][o(398)],d=e[o(240)][o(514)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(270)];p=p||d[o(277)](e);const i=r[o(404)][o(526)](e);if(i&&i[o(299)](o(416)))return;o(326)==t[o(494)]&&d[o(502)](e)&&!d[o(364)](e)&&(e[o(314)]||h[o(385)]?f&&f[o(325)]==e||(f=e,g(t[o(517)]),v=!0):m=m||t[o(517)])}function g(t){const e=o,i=r[e(282)][e(321)](e(515),{class:e(560)+u}),a=r[e(404)][e(330)](t);c[e(395)][e(425)]&&r[e(282)][e(513)](e(560)+u+e(507),i),n[e(408)]==c&&r[e(282)][e(513)](e(331),i),r[e(282)][e(252)](a,i),r[e(404)][e(449)](i,s[e(279)])}p||v||!m||g(m)}}(this[t(241)]),{priority:t(356)}),this[t(241)][t(444)][t(363)].on(t(379),(e,i,n)=>{const s=t,r=n[s(404)][s(400)](i[s(279)]);if(r)for(const t of r)(t[s(466)](s(336))||t[s(466)](s(409)))&&(n[s(404)][s(369)](t,i[s(279)]),n[s(282)][s(550)](t))},{priority:t(356)}),this[t(241)][t(444)][t(363)].on(t(393),(e,i,n)=>{const s=t,r=i[s(279)][s(377)](":")[1],o=this[s(554)](r);if(!o)return null;const a=s(337)==o[s(494)]?s(377):s(435);if(n[s(431)][s(381)](i[s(434)],e[s(423)]))for(const t of i[s(434)][s(249)]()){if(!t.is(s(354),s(448)))continue;const e=n[s(282)][s(321)](s(515),{class:s(560)+a}),r=n[s(404)][s(330)](this[s(241)][s(240)][s(491)](t));o[s(395)][s(425)]&&n[s(282)][s(513)](s(560)+a+s(507),e),this[s(408)]==o&&n[s(282)][s(513)](s(331),e),n[s(282)][s(252)](r,e),n[s(404)][s(449)](e,i[s(279)])}},{priority:t(356)}),this[t(241)][t(240)][t(441)].on(t(500),()=>{const e=t;this[e(241)][e(444)][e(520)][e(500)](t=>{const i=e;for(const e of this[i(241)][i(240)][i(441)][i(487)]()){const n=this[i(241)][i(240)][i(441)][i(450)](e),s=this[i(241)][i(444)][i(520)][i(441)][i(450)](e);if(s){const e=n[i(352)](i(530));if(t[i(368)](i(512),s),t[i(458)](i(440),s),t[i(458)](i(407),s),t[i(458)](i(351),s),e){const n=this[i(554)](e);if(!n)return null;t[i(323)](i(512),e,s),t[i(513)](i(485)+n[i(494)],s),this[i(408)]==n&&t[i(513)](i(351),s)}}}})}),this[t(241)][t(555)][t(320)](t(283))[t(412)]({view:t(327),model:e=>t(315)+e,converterPriority:t(396)}),this[t(241)][t(555)][t(320)](t(283))[t(412)]({view:t(558),model:e=>t(312)+e,converterPriority:t(396)}),this[t(241)][t(555)][t(320)](t(557))[t(278)]({model:t(518),view:e=>({name:t(447)+e,group:t(518)}),converterPriority:t(396)}),this[t(241)][t(555)][t(320)](t(552))[t(291)]({model:t(518),view:e=>{const i=t,n=e[i(279)][i(377)](":")[1];return i(296)!=n&&i(295)!=n?null:{classes:[i(473),i(415)+n]}}}),this[t(241)][t(444)][t(363)].on(t(405),le(this[t(241)],t(435)),{priority:t(356)}),this[t(241)][t(444)][t(363)].on(t(510),le(this[t(241)],t(377)),{priority:t(356)}),this[t(241)][t(444)][t(363)].on(t(359),(e,i,n)=>{const s=t,r=n[s(404)][s(400)](i[s(279)]);if(r)for(const t of r)t.is(s(303))&&(n[s(404)][s(369)](t,i[s(279)]),n[s(282)][s(550)](t))},{priority:t(356)})}[oe(554)](t){const e=oe;return this[e(373)][e(548)](t)}[oe(371)](t){const e=oe;return this[e(455)]&&this[e(455)][e(493)](),this[e(455)]=new Jt(this[e(241)][e(508)],t),this[e(455)]}[oe(453)](){const t=oe;this[t(241)][t(240)][t(441)][t(294)][t(563)](t(498)),this.on(t(516),(e,i,n,s)=>{const r=t;s&&this[r(347)][r(550)](s),n&&(this[r(347)][r(337)]({view:n,stackId:r(413),position:{target:()=>{const t=r,e=this[t(241)][t(444)],i=this[t(554)](n[t(329)]);let s;if(i[t(395)][t(342)]){const n=e[t(520)][t(257)](i[t(274)]);s=Array[t(301)](n[t(308)]())}else{const i=this[t(241)][t(240)][t(482)][t(548)](t(559)+n[t(329)]);s=Array[t(301)](e[t(404)][t(400)](i[t(423)]))[t(397)](i=>e[t(520)][t(479)][t(391)](i))[t(397)](e=>Array[t(301)](e[t(308)]()))[t(414)]()}return this[t(387)]&&s[t(335)](e=>e[t(456)]-3<=this[t(387)].y&&e[t(536)]+3>=this[t(387)].y&&e[t(275)]-3<=this[t(387)].x&&e[t(375)]+3>=this[t(387)].x)||s[0]}}}),this[r(347)][r(273)](r(413)))}),this.on(t(250),(e,i,n,s)=>{const r=t;this[r(254)]=n?this[r(371)](n):null,this[r(241)][r(240)][r(500)](()=>{const t=r,e=this[t(241)][t(444)];s&&(s[t(395)][t(342)]?e[t(520)][t(500)](i=>{const n=t;i[n(458)](n(351),e[n(520)][n(441)][n(450)](s[n(274)]))}):e[t(439)](t(559)+s.id)),n&&(n[t(395)][t(342)]?e[t(520)][t(500)](i=>{const s=t;i[s(513)](s(351),e[s(520)][s(441)][s(450)](n[s(274)]))}):e[t(439)](t(559)+n.id))})}),this[t(382)](this[t(241)][t(444)][t(520)][t(441)],t(465),(e,i)=>{const n=t;if(this[n(408)])return;const s=this[n(263)](i[n(538)]),r=this[n(373)][n(548)](s);r?(this[n(387)]={x:i[n(459)].x,y:i[n(459)].y},this[n(254)]=this[n(371)](r)):(this[n(387)]=null,this[n(254)]=null)}),this[t(382)](this[t(241)][t(444)][t(520)][t(441)],t(244),(e,i)=>{const n=t,s=this[n(263)](i[n(538)]),r=this[n(373)][n(548)](s);r?(this[n(387)]={x:i[n(459)].x,y:i[n(459)].y},r===this[n(408)]?this[n(347)][n(537)]():this[n(408)]=r):(this[n(387)]=null,this[n(408)]=null)})}[oe(263)](t){const e=oe;do{const i=t[e(352)](e(512));if(i)return i;t=t[e(325)]}while(t);return null}[oe(543)](){const t=oe;this[t(241)][t(240)][t(500)](e=>{const i=t;for(const t of this[i(241)][i(240)][i(482)])e[i(471)](t)})}}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(431)][r(381)](n[r(434)],i[r(423)]))return;const o=n[r(434)][r(258)](),a=n[r(434)][r(398)],c=t[r(240)][r(514)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(270)];h=h||c[r(277)](e);const i=s[r(404)][r(526)](e);if(i&&i[r(299)](r(416)))return;r(326)==t[r(494)]&&c[r(502)](e)&&!c[r(364)](e)&&(e[r(314)]||a[r(385)]?u&&u[r(325)]==e||(u=e,f(t[r(517)]),d=!0):l=l||t[r(517)])}function f(t){const i=r,o=s[i(404)][i(330)](t),a=s[i(282)][i(321)](i(515),{class:i(415)+e});s[i(282)][i(252)](o,a),s[i(404)][i(449)](a,n[i(279)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(245)][e(548)](ue);this[e(306)]=!1,this[e(382)](i,e(239),()=>this[e(271)]()),this[e(382)](i,e(429),()=>this[e(271)]())}[oe(360)](){const t=oe,e=this[t(241)],i=e[t(245)][t(548)](ue),n=i[t(358)]?i[t(522)][t(533)]:null;e[t(401)][t(548)](t(519))[t(386)](n)}[oe(271)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(241)][t(245)][t(548)](ue),r=s&&n[t(443)](s[t(533)]);this[t(433)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(346)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(245)][i(548)](ue);this[i(306)]=!1,this[i(346)]=i(463)===e?1:-1,this[i(382)](n,i(239),()=>this[i(271)]()),this[i(382)](n,i(429),()=>this[i(271)]()),this[i(382)](n,i(250),()=>this[i(271)]())}[oe(360)](){const e=oe,i=this[e(241)],n=i[e(245)][e(548)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(408)]=s?n[e(522)][e(253)][e(548)](r+this[e(346)]):n[e(522)][e(253)][e(372)],n[e(408)][e(395)][e(342)])o=i[e(444)][e(520)][e(257)](n[e(408)][e(274)]);else{const t=i[e(240)][e(482)][e(548)](e(559)+n[e(408)].id);o=(0,K.getMarkerDomElement)(i[e(444)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(271)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(241)][t(245)][t(548)](ue);this[t(433)]=!!(r&&s&&n)&&(!e||(1===this[t(346)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["No changes","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","Total","setTemplate","1878342ymKOFx","118266xipnvO","forward","1440642peoHml","4gskieK","div","2840qkdHRf","isReady","isEnabled","133fdiKOY","backward","Show previous change","set","6187257MAjXKX","60224KlFulW","5PdwpAn","_statusText","ck-revision-history-ui","isForwardNavigationEnabled","Show next change","69333CPAtnH","ck-hidden","Loading...","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","isNavigationMode","bind","span","296119TbiZli","X_OF_Y_CHANGES","numberOfChanges","execute","ck-revision-history-ui__changes-navigation__wrapper","fire","currentChangeNumber","_isStatusLabelVisible","NUMBER_OF_CHANGES","bindTemplate"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(403262===parseInt(e(236))/1+-parseInt(e(252))/2+parseInt(e(254))/3*(-parseInt(e(255))/4)+parseInt(e(266))/5*(-parseInt(e(251))/6)+parseInt(e(260))/7*(-parseInt(e(265))/8)+-parseInt(e(264))/9+parseInt(e(257))/10*(parseInt(e(271))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(245)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(263)](e(277),!1),this[e(263)](e(258),!1),this[e(263)](e(242),0),this[e(263)](e(238),0),this[e(263)](e(269),!1),this[e(263)](e(247),!1),this[e(278)](e(243)).to(this,e(258),this,e(238),(t,e)=>t&&e>0),this[e(278)](e(267)).to(this,e(258),this,e(242),this,e(238),this,e(277),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(273));if(!s)return at(t,o(246));const a=at(t,o(244),s);return r?at(t,o(237),[n+1,s]):a}),n[e(263)]({label:at(t,e(262)),tooltip:!0,icon:_t.IconChevronUp}),s[e(263)]({label:at(t,e(270)),tooltip:!0,icon:_t.IconChevronDown}),n[e(278)](e(259)).to(this,e(247)),s[e(278)](e(259)).to(this,e(269)),n.on(e(239),()=>this[e(241)](e(239),e(261))),s.on(e(239),()=>this[e(241)](e(239),e(253))),this[e(250)]({tag:e(256),attributes:{class:["ck",e(268),e(276)]},children:[{tag:e(235),attributes:{class:[e(240)]},children:[{tag:e(235),attributes:{class:[e(275),i.if(e(243),e(272),t=>!t)]},children:[{text:i.to(e(277),i=>i?at(t,e(274))+": ":at(t,e(249))+": ")}]},{text:i.to(e(267))}]},new It.ToolbarSeparatorView,{tag:e(256),attributes:{class:[e(248)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=Ie();return(be=function(t,e){return i[t-=497]})(t,e)}const we=be;!function(t){const e=be,i=t();for(;;)try{if(866218===parseInt(e(517))/1+-parseInt(e(505))/2*(parseInt(e(512))/3)+parseInt(e(497))/4+-parseInt(e(502))/5+parseInt(e(518))/6+-parseInt(e(509))/7*(-parseInt(e(501))/8)+-parseInt(e(507))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=we(498);function Ie(){const t=["isOfficialPlugin","editor","roots","addClass","1551087iEbauY","8139126guIDjW","hide","show","563512GvPPUZ","ck-editor__editable__loading-overlay","removeClass","RevisionViewerLoadingOverlay","12944vauXQF","3028865ffrpCe","view","editing","94KUAZSt","isPremiumPlugin","7065576EDidwF","change","889yAzSSz","pluginName","document","63633RauzeH"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[we(510)](){return we(500)}static get[we(513)](){return!0}static get[we(506)](){return!0}[we(520)](){const t=we,e=this[t(514)][t(504)][t(503)];e[t(508)](i=>{const n=t;for(const t of e[n(511)][n(515)])i[n(516)](_e,t)})}[we(519)](){const t=we,e=this[t(514)][t(504)][t(503)];e[t(508)](i=>{const n=t;for(const t of e[n(511)][n(515)])i[n(499)](_e,t)})}}function Oe(){const t=["forward","currentChangeNumber","init","restoreRevision","add","pluginName","execute","showNextChange","80448GumfOe","config","isEnabled","RevisionViewerUI","numberOfChanges","isPremiumPlugin","isBackwardNavigationEnabled","revisionHistory","351707WERBmA","changesNavigation","isOfficialPlugin","209076UhbomQ","showPreviousChange","isReady","bind","85ikUHGd","closeRevisionViewerCallback","176oppVLk","listenTo","get","isNavigationMode","requires","plugins","exitToEditing","66031qyPcSV","2017278gGsVmd","editor","ck-revision-history-ui__back-to-editing","hide","isForwardNavigationEnabled","componentFactory","10hFdGMN","Restore this revision","1781721LDijpK","2505283lWFYyW","commands","set","2CEbmlb","change:isReady","show","Back to editing"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=285]})(t,e)}const xe=Te;!function(t){const e=Te,i=t();for(;;)try{if(206158===parseInt(e(321))/1*(-parseInt(e(301))/2)+-parseInt(e(324))/3+parseInt(e(313))/4*(-parseInt(e(328))/5)+parseInt(e(289))/6+-parseInt(e(288))/7*(-parseInt(e(330))/8)+parseInt(e(297))/9+-parseInt(e(295))/10*(-parseInt(e(298))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ne extends G.Plugin{static get[xe(310)](){return xe(316)}static get[xe(323)](){return!0}static get[xe(318)](){return!0}static get[xe(285)](){return[ue,Se]}[xe(307)](){const t=xe,e=this[t(290)],i=e[t(286)][t(332)](ue),n=e[t(286)][t(332)](Se);e.ui[t(294)][t(309)](t(287),i=>{const n=t,s=new It.ButtonView(i);return s[n(300)]({label:at(i,n(304)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(291)}),this[n(331)](s,n(311),()=>{const t=n;e[t(314)][t(332)](t(320))[t(329)]()}),s}),e.ui[t(294)][t(309)](t(308),i=>{const n=t,s=new It.ButtonView(i);return s[n(300)]({label:at(i,n(296)),withText:!0,tooltip:!0}),s[n(327)](n(315)).to(e[n(299)][n(332)](n(308))),this[n(331)](s,n(311),()=>e[n(311)](n(308))),s}),e.ui[t(294)][t(309)](t(322),n=>{const s=t,r=new ge(n),o=e[s(299)][s(332)](s(325)),a=e[s(299)][s(332)](s(312));return r[s(327)](s(319)).to(o,s(315)),r[s(327)](s(293)).to(a,s(315)),r[s(327)](s(326),s(306),s(317),s(333)).to(i),this[s(331)](r,s(311),(t,i)=>{const n=s;e[n(311)](n(305)===i?n(312):n(325))}),r}),n[t(303)](),i.on(t(302),(e,i,s)=>{const r=t;s?n[r(292)]():n[r(303)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Vt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function Ee(){const t=["1081416SRsWqw","clientWidth","destroy","set","Revision name","_resizeObserver","bindTemplate","_tooltipString","ck-tooltip_multi-line","input","fieldView","71528ZzPABO","scrollWidth","placeholder","_updateTooltipText","listenTo","205944lRaFFJ","render","140021FoDcKo","4JbZCbP","114305imZDtg","27576fFqvZh","element","898240qECQao","ck-revision-history-sidebar__revision-name","value","261eRACsO","Enter the revision name","extendTemplate","span"];return(Ee=function(){return t})()}function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=229]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(134029===parseInt(e(254))/1*(-parseInt(e(252))/2)+-parseInt(e(249))/3+-parseInt(e(256))/4+parseInt(e(253))/5+parseInt(e(233))/6+parseInt(e(251))/7+-parseInt(e(244))/8*(-parseInt(e(229))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(238)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(239)];this[i(236)]({label:at(t,i(237)),_tooltipString:""}),this[i(243)][i(246)]=at(t,i(230)),this[i(231)]({tag:i(232),attributes:{class:[i(257)],"data-cke-tooltip-text":n.to(i(240)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(241)}})}[Me(250)](){const e=Me;super[e(250)](),this[e(238)]=new t.ResizeObserver(this[e(243)][e(255)],()=>this[e(247)]()),this[e(248)](this[e(243)],e(242),()=>this[e(247)]())}[Me(235)](){const t=Me;super[t(235)](),this[t(238)]&&this[t(238)][t(235)]()}[Me(247)](){const t=Me,e=this[t(243)][t(255)];this[t(240)]=e[t(245)]>e[t(234)]&&e[t(258)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(441598===parseInt(e(153))/1+parseInt(e(163))/2+parseInt(e(162))/3*(parseInt(e(158))/4)+-parseInt(e(155))/5+-parseInt(e(165))/6*(parseInt(e(167))/7)+-parseInt(e(157))/8+parseInt(e(169))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(156)]({content:_t.IconUser,viewBox:n(171)});const r=["ck",n(159)];i&&r[n(164)](n(154));const o=[{tag:n(152),attributes:{class:["ck",n(160)],title:at(t,n(i?168:166))},children:[s,e[n(161)]]}];this[n(170)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["995445siKPVK","set","623464fZDTnZ","36CSSFOH","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","name","38562dqHyDn","50388feZzCj","push","41610OwcDzu","Revision author","455SEPxqc","Revision creator","5935104QwqCyM","setTemplate","0 0 11 10","span","369059uswJQm","ck-revision-history-sidebar__revision-author_creator"];return(Le=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=495]})(t,e)}function We(){var t=["toLocaleTimeString","9CyJTRJ","272807OakJoP","numeric","761312CfsagM","toLocaleDateString","2850808FdiiBp","2941435BrkqGK","3137967UgLhWt","1958004jojKcT","59882niFRWi","long"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(382935===parseInt(e(504))/1+-parseInt(e(500))/2*(-parseInt(e(503))/3)+parseInt(e(506))/4+-parseInt(e(497))/5+parseInt(e(499))/6+parseInt(e(498))/7+-parseInt(e(496))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ze=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=Rt().bind(null,"head"),Ue.domAPI=xt(),Ue.insertStyleElement=Vt();Ot()(Ze.A,Ue);Ze.A&&Ze.A.locals&&Ze.A.locals;function He(t,e){const i=qe();return(He=function(t,e){return i[t-=245]})(t,e)}function qe(){const t=["_action","Restore this revision","items","menu","Compare against selected","bindTemplate","panelPosition","change:isActionsDropdownOpen","isVisible","7317369neTPhL","ck-revision-history-sidebar__revision__actions","8095740hjOtbg","model","20cifhro","source","button","1193101ObCBnk","Name this revision","execute","buttonView","isOpen","function","listView","class","find","3216952qCYTuA","action","bind","isReady","6854472QAEAGu","261yArMXh","first","stopPropagation","1650980hzDeyH","locale","set","name","ck-on","18736Nrkwfy","menuitem","children","extendTemplate","listenTo","5jkqFeg","add","isActionsDropdownOpen","Show more items","isEnabled","map"];return(qe=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(859586===parseInt(e(271))/1+-parseInt(e(263))/2+parseInt(e(268))/3*(parseInt(e(276))/4)+-parseInt(e(281))/5*(-parseInt(e(249))/6)+-parseInt(e(254))/7+parseInt(e(267))/8+parseInt(e(247))/9*(-parseInt(e(251))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;function Ye(t,e){const i=Ge();return(Ye=function(t,e){return i[t-=421]})(t,e)}const Je=Ye;function Ge(){const t=["ck-revision-history-sidebar__revision__date","ck-reset","192EaFFYe","7PcZLAz","bindTemplate","4207128csTAXV","ck-revision-history-sidebar__revision_highlighted",".ck-thread__remove-confirm","310pxQLSw","select","isSelected","isConfirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","84FBohIe","uiLanguage","span","_createdAtFormatted","map","985233PaOWrI","fieldView","ck-disabled","500LEhGMW","closest","195646SZXKSb","creator","element","_requireRevisionName","isHighlighted","fire","name","revisionActionsView","ck-revision-history-sidebar__revision_selected","setName","unhighlight","createdAt","2ZCghZg","220","isEnabled","124893kRQeam","setTemplate","div","isActionsDropdownOpen","from","isReady","10130MvAUhX","ck-revision-history-sidebar__revision-authors","121861RACJBo","listenTo","set","bind","highlight","filter","_revision","authors","length","ck-revision-history-sidebar__revision","958451ruThqH","ck-revision-history-sidebar__revision-wrapper","revisionNameView","deselect","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","render","unshift","value","extendTemplate","ck-revision-history-sidebar__actions_dropdown_open","change"];return(Ge=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(365991===-parseInt(e(431))/1+-parseInt(e(488))/2*(parseInt(e(471))/3)+-parseInt(e(474))/4*(parseInt(e(429))/5)+-parseInt(e(458))/6*(-parseInt(e(456))/7)+-parseInt(e(455))/8*(-parseInt(e(423))/9)+parseInt(e(461))/10*(parseInt(e(476))/11)+parseInt(e(466))/12*(-parseInt(e(441))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(443)];[Je(483)];[Je(437)];[Je(479)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(457)],a=function(t,e){const i=r,n=Array[i(427)](e[i(438)])[i(436)](t=>t!=e[i(477)]);return e[i(477)]&&n[i(448)](e[i(477)]),n[i(470)](n=>new Pe(t,n,n==e[i(477)]))}(e,i);this.id=i.id,this[r(437)]=i,this[r(479)]=s,this[r(434)](r(482),r(487)).to(i),this[r(434)](r(469)).to(this,r(487),t=>{return i=e[r(467)],(n=t)[(s=ze)(495)](i,{month:s(501),day:s(505)})+", "+n[s(502)](i,{hour:s(505),minute:s(505)});var i,n,s}),this[r(433)](r(463),!1),this[r(433)](r(480),!1),this[r(433)](r(426),!1),this[r(433)](r(428),!1),this[r(433)](r(422),!1),this[r(443)]=new De(e,It.createLabeledInputText),this[r(443)][r(472)][r(450)]({attributes:{maxlength:r(421)}}),this[r(443)][r(472)][r(434)](r(449)).to(this,r(482),t=>t||this[r(469)]),this[r(443)][r(434)](r(422)).to(this,r(463),this,r(422),(t,e)=>t&&e),this[r(483)]=n&&n[r(439)]?function(e,i){const n=He,s=e[n(292)],r=e[n(272)],o=(0,It.createDropdown)(r);o[n(293)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(272)],s={"Compare against selected":at(n,i(291)),"Name this revision":at(n,i(255)),"Restore this revision":at(n,i(288))};return e[i(286)](t=>{const e=i,n=s[t[e(274)]];return n&&n!==t[e(274)]&&(t[e(274)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(253),model:new It.UIModel({label:t[s(274)],class:t[s(261)],withText:!0,role:s(277),_action:t[s(264)]})};i[s(250)][s(265)](s(285)).to(e,s(283),i=>s(259)!=typeof t[s(285)]||!i||t[s(285)](e)),o[s(282)](i)}return o}(e,i);return e[n(265)](n(283)).to(o,n(258)),o[n(257)][n(273)]({label:at(r,n(284)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(279)]({attributes:{class:[n(248),s.if(n(283),n(275))]},on:{click:s.to(t=>t[n(270)]())}}),o.on(n(256),t=>{const i=n;e[i(266)]&&i(259)==typeof t[i(252)][i(287)]&&t[i(252)][i(287)](e)}),(0,It.addListToDropdown)(o,a,{role:n(290)}),o[n(280)](e,n(245),(t,s,r)=>{const a=n;if(r)for(const t of o[a(260)][a(289)]){const n=t[a(278)][a(269)],s=i[a(262)](t=>t[a(264)]===n[a(287)])[a(246)];t[a(246)]=void 0===s||s(e)}}),o}(this,n):"",this[r(483)]&&this[r(483)][r(434)](r(422)).to(this),this[r(424)]({tag:r(425),attributes:{class:["ck",r(454),r(442),o.if(r(464),r(465))]},children:[{tag:r(425),attributes:{class:["ck",r(454),r(440),o.if(r(422),r(473),t=>!t),o.if(r(463),r(484)),o.if(r(480),r(459)),o.if(r(426),r(451))]},children:[this[r(443)],{tag:r(468),attributes:{class:["ck",r(453)]},children:[{text:o.to(r(469))}]},{tag:r(425),attributes:{class:["ck",r(445)]},children:[{tag:"ul",attributes:{class:["ck",r(430)]},children:a}]},this[r(483)]],on:{click:o.to(t=>{const e=r;t[e(446)][e(475)](e(460))||this[e(428)]&&this[e(422)]&&this[e(481)](e(462),{id:this.id})})}}]})}[Je(447)](){const t=Je;super[t(447)]();const e=this[t(443)][t(472)][t(478)];this[t(432)](e,t(452),()=>{const i=t;this[i(479)]&&!e[i(449)]||this[i(481)](i(485),{id:this.id,name:e[i(449)]}),e[i(449)]||(e[i(449)]=this[i(482)]?this[i(482)]:this[i(469)])})}[Je(462)](){this[Je(463)]=!0}[Je(444)](){this[Je(463)]=!1}[Je(435)](){this[Je(480)]=!0}[Je(486)](){this[Je(480)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Vn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Zi=new Map;let Ui=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Zn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{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&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Zi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Zi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),Wi.clear(),Zi.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Pi[i];return n||(n=new Intl.ListFormat(t,e),Pi[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}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 Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Pn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Zn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Zn(i,2)}:${Zn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Zn(i,2)}${Zn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Zn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Un(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ps(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Zs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Un(e)):Un(e),month:as.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Zs[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ps),ir=Ss(Ms,Fs,js,Ps),nr=Ss(Es,Fs,js,Ps),sr=Ss(Fs,js,Ps);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Vs),cr=Ss(Fs,js,Ps);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Vn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ls,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(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 gr(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.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 _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Zr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(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 Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Zn(t.c.year,i?6:4),e?(n+="-",n+=Zn(t.c.month),n+="-",n+=Zn(t.c.day)):(n+=Zn(t.c.month),n+=Zn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Zn(t.c.hour);return e?(o+=":",o+=Zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Zn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Zn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Zn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Zn(Math.trunc(-t.o/60)),o+=":",o+=Zn(Math.trunc(-t.o%60))):(o+="+",o+=Zn(Math.trunc(t.o/60)),o+=":",o+=Zn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const n=Qi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Zr(e));this.ts=Vn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Zr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Pr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["2496352SeLEeC","hasSame","6685728PcpQLu","9wtoVCi","1142883DpnqrU","12974WvHglx","10645lVyCwR","local","day","toJSDate","258jmwHwU","fromJSDate","year","week","30490570SnVxkV","282LOHwvs","month","minus","3720624musIsj","setLocale","toRelativeCalendar","startOf","weekdayLong","monthLong"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=247]})(t,e)}function go(t,e){const i=vo,n=fo[i(262)](t)[i(270)](e),s=fo[i(258)](),r=s[i(268)]({days:1})[i(248)](i(259));let o,a;return n[i(252)](s,i(259))?(o=n[i(248)](i(259))[i(260)](),a=n[i(247)]()):n[i(252)](r,i(259))?(o=r[i(260)](),a=n[i(247)]()):n[i(252)](s,i(264))?(o=n[i(248)](i(264))[i(260)](),a=n[i(249)]||""):n[i(252)](s,i(263))?(o=n[i(248)](i(267))[i(260)](),a=n[i(250)]||""):(o=n[i(248)](i(263))[i(260)](),a=String(n[i(263)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(595915===parseInt(e(255))/1+-parseInt(e(256))/2*(-parseInt(e(261))/3)+parseInt(e(251))/4+-parseInt(e(257))/5*(parseInt(e(266))/6)+parseInt(e(253))/7+parseInt(e(269))/8+-parseInt(e(254))/9*(parseInt(e(265))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=463]})(t,e)}function _o(){const t=["span","select","5000GNMFbP","99882qLkeqN","9609259VOFOMC","remove","uiLanguage","revisionViews","548208YikjvB","setName","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","143SytrGk","27jTCmvg","startDate","1096wrnppd","addRevision","removeRevision","createCollection","localizedPeriodName","delegate","2593314sDeKFa","10WuxCYi","40491gvaOIR","ck-revision-history-sidebar__time-period__revisions","_requireRevisionName","add","_revisionActions","14693AZJUlM","find","96FGctqy","locale","5090dpSZDg","div","setTemplate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(728611===parseInt(e(474))/1*(parseInt(e(464))/2)+parseInt(e(482))/3+parseInt(e(463))/4*(-parseInt(e(493))/5)+parseInt(e(491))/6*(parseInt(e(489))/7)+-parseInt(e(476))/8*(parseInt(e(484))/9)+parseInt(e(483))/10*(parseInt(e(465))/11)+parseInt(e(469))/12*(-parseInt(e(473))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(475)];[bo(468)];[bo(488)];[bo(486)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(492)][s(467)])[s(480)];this[s(475)]=e,this[s(468)]=this[s(479)](),this[s(488)]=i,this[s(486)]=n,this[s(468)][s(481)](s(497)).to(this),this[s(468)][s(481)](s(470)).to(this),this[s(495)]({tag:s(494),attributes:{class:["ck",s(472)]},children:[{tag:s(496),attributes:{class:["ck",s(471)]},children:[{text:r}]},{tag:s(494),attributes:{class:["ck",s(485)]},children:this[s(468)]}]})}[bo(477)](t){const e=bo,i=new Ke(this[e(492)],t,this[e(488)],this[e(486)]);this[e(468)][e(487)](i)}[bo(478)](t){const e=bo,i=this[e(468)][e(490)](e=>e.id===t.id);this[e(468)][e(466)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["41736PJtyTJ","2043990RdpaFJ","1323279MmEskl","3UZNMTr","16895520nQFtaE","div","content","ck-revision-history-sidebar__header__label","ck-reset_all","setTemplate","1742594OmMWAo","1824000fYhmER","span","276446onjzjB","Revision history","8Amzbev","81BqgFDN","ck-revision-history-sidebar__header"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(382278===parseInt(e(291))/1*(-parseInt(e(283))/2)+-parseInt(e(286))/3*(parseInt(e(288))/4)+-parseInt(e(289))/5+-parseInt(e(299))/6+parseInt(e(298))/7*(parseInt(e(285))/8)+-parseInt(e(290))/9+parseInt(e(292))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(294)]=_t.IconHistory,this[e(297)]({tag:e(293),attributes:{class:["ck",e(296),e(287)]},children:[i,{tag:e(300),attributes:{class:["ck",e(295)]},children:[at(t,e(284))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Vt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Eo(){const t=["startDate","timePeriodViews","createCollection","some","setTemplate","_removeRevision","remove","_getTimePeriodViewByStartDate","_revisionActions","highlightRevisions","ck-disabled","unhighlight","addRevision","_requireRevisionName","bindTemplate","selectRevision","select","revisionSelected","_revisions","1412528cLeWCQ","28QBannO","div","revisionViews","ck-revision-history-sidebar__timeline","revisionSetName","5592510XfPwWE","setName","add","map","ck-revision-history-sidebar","getTime","_addRevision","1307802xDMcII","ck-rounded-corners","deselect","uiLanguage","fire","2549450BuJNln","set","get","removeRevision","locale","isEnabled","highlight","find","24689tvmIsu","21gthbjg","createdAt","render","85372cqUeLD","ck-reset","flat","872268TNzrie","delegate"];return(Eo=function(){return t})()}function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=465]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(380939===parseInt(e(504))/1+-parseInt(e(511))/2+-parseInt(e(505))/3*(-parseInt(e(508))/4)+parseInt(e(496))/5+parseInt(e(491))/6+-parseInt(e(479))/7*(parseInt(e(478))/8)+parseInt(e(484))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(514)];[Mo(477)];[Mo(467)];[Mo(472)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(473)];this[s(514)]=this[s(515)](),this[s(514)][s(512)](s(475)).to(this),this[s(514)][s(512)](s(485)).to(this),this[s(477)]=e,this[s(467)]=i,this[s(472)]=n,this.on(s(475),(t,e)=>{const i=s;this[i(495)](i(476),e)}),this.on(s(485),(t,e)=>{const i=s;this[i(495)](i(483),e)}),this[s(497)](s(501),!1),this[s(517)]({tag:s(480),attributes:{class:["ck",s(509),s(492),s(488)]},children:[new No(t),{tag:s(480),attributes:{class:["ck",s(482),r.if(s(501),s(469),t=>!t)]},children:this[s(514)]}]})}[Mo(507)](){const t=Mo;super[t(507)]();for(const e of this[t(477)])this[t(490)](e);this[t(477)].on(t(486),(e,i)=>{this[t(490)](i)}),this[t(477)].on(t(465),(e,i)=>{this[t(518)](i)})}get[Mo(481)](){const t=Mo;return this[t(514)][t(487)](e=>e[t(481)][t(487)](t=>t))[t(510)]()}[Mo(474)](t){const e=Mo;for(const i of this[e(481)])t&&t.id===i.id?i[e(475)]():i[e(493)]()}[Mo(468)](t){const e=Mo;for(const i of this[e(481)])t[e(516)](({id:t})=>t===i.id)?i[e(502)]():i[e(470)]()}[Mo(490)](t){const e=Mo,i=go(t[e(506)],this[e(500)][e(494)])[e(513)];let n=this[e(514)][e(498)](0);n&&n[e(513)][e(489)]()===i[e(489)]()||(n=new Io(this[e(500)],i,this[e(467)],this[e(472)]),this[e(514)][e(486)](n)),n[e(471)](t)}[Mo(518)](t){const e=Mo,i=go(t[e(506)],this[e(500)][e(494)])[e(513)];this[e(466)](i)[e(499)](t)}[Mo(466)](t){const e=Mo;return this[e(514)][e(503)](i=>i[e(513)][e(489)]()===t[e(489)]())}}const Co=jo;function Fo(){const t=["assign","2670ZnKjpN","20xmQqkn","action","plugins","defaultRevisionActions","highlightRevisions","pluginName","config","isOfficialPlugin","availableRevisionActions","repository","string","length","6852296ZffKOk","listenTo","isReady","selectRevision","2502506IbYoaA","newRevisionId","remove","destroy","fieldView","1315815LLXzmL","render","revisionViews","_revisionViewer","select","isSelected","revisionSelected","ready","diff","name","getIndex","_revisions","setName","isVisible","revisionSetName","isPremiumPlugin","_handleRevisionSelected","nameRevision","revisionHistory","getRevisionsInDiff","add","timePeriodViews","516VraPVU","restoreRevision","requires","getRevision","Name this revision","getLaterVisibleRevision","get","_revisionsRepository","appendChild","Compare against selected","RevisionsSidebar","map","_handleRevisionSetName","_handleEditorDataReady","focus","20671YBRESz","300894ZMmfRY","editor","revisionHistory.revisionActions","locale","compareAgainstSelected","Restore this revision","change:diff","3CeORXH","element","revisionHistory.requireRevisionName","_handleDiffChange","_createRevisionActions","init","490450tOMAFQ","_sidebarView","bind","getEarlierVisibleRevision","11694340oGMuZH","restoreRevisionCallback","compare","data","9ucupFF","revisionHistory.viewerSidebarContainer","isEnabled"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(730046===parseInt(e(368))/1+-parseInt(e(363))/2*(parseInt(e(328))/3)+parseInt(e(347))/4*(parseInt(e(334))/5)+-parseInt(e(346))/6*(parseInt(e(320))/7)+-parseInt(e(359))/8*(parseInt(e(342))/9)+parseInt(e(338))/10+-parseInt(e(321))/11*(-parseInt(e(305))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(371)];[Co(312)];[Co(335)];static[Co(350)]=[Co(325),Co(306),Co(385)];static[Co(355)]=function(){const t=Co;return{compareAgainstSelected:{name:t(314),action:({plugins:e},i)=>{const n=t,s=e[n(311)](ue),r=s[n(356)];let o=s[n(376)][n(364)],a=i.id;r[n(378)](o)>r[n(378)](a)&&([o,a]=[a,o]),s[n(340)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(311)](ue);return!(s[n(356)][n(387)](s[n(376)])[n(358)]>2||i[n(373)])}},restoreRevision:{name:t(326),action:(e,{id:i})=>{const n=t;e[n(353)][n(311)](n(386))[n(339)](i)},isVisible:({plugins:e},i)=>!!e[t(311)](ue)[t(356)][t(310)](i.id)},nameRevision:{name:t(309),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(311)](ue),o=r[s(356)][s(337)](i);r[s(340)](i,o),n[s(319)](),n[s(367)][s(372)]()}}}}();static get[Co(352)](){return Co(315)}static get[Co(354)](){return!0}static get[Co(383)](){return!0}static get[Co(307)](){return[ue]}constructor(t){const e=Co;super(t),this[e(371)]=t[e(349)][e(311)](ue),this[e(312)]=this[e(371)][e(356)],this[e(335)]=null}[Co(333)](){const t=Co,e=this[t(312)][t(379)],i=this[t(332)](),n=this[t(322)][t(353)][t(311)](t(343));this[t(335)]=new Do(this[t(322)][t(324)],e,i,this[t(322)][t(353)][t(311)](t(330))),this[t(335)].on(t(374),this[t(384)][t(336)](this)),this[t(335)].on(t(382),this[t(317)][t(336)](this)),this[t(335)][t(336)](t(344)).to(this[t(371)]),this[t(335)][t(304)].on(t(303),(e,i)=>{const n=t;i[n(370)].on(n(303),(t,e)=>{const i=n;e[i(336)](i(344),i(361)).to(this[i(371)])})}),this[t(335)][t(369)](),this[t(360)](this[t(322)][t(341)],t(375),this[t(318)][t(336)](this)),this[t(360)](this[t(371)],t(327),this[t(331)][t(336)](this)),n[t(313)](this[t(335)][t(329)])}[Co(366)](){const t=Co;this[t(335)][t(329)][t(365)](),this[t(335)][t(366)]()}[Co(318)](){const t=Co,e=this[t(312)][t(308)](0);if(e){const i=this[t(312)][t(337)](e.id);this[t(371)][t(340)](e,i)}}[Co(384)](t,e){const i=Co,n=this[i(312)][i(308)](e.id),s=this[i(312)][i(337)](n.id);this[i(371)][i(340)](n,s)}[Co(317)](t,e){const i=Co;this[i(312)][i(308)](e.id)[i(380)](e[i(377)])}[Co(331)](t,e,i){const n=Co,s=this[n(312)][n(387)](i);s[n(358)]>2?(this[n(335)][n(351)](s),this[n(335)][n(362)](null)):(this[n(335)][n(351)]([]),this[n(335)][n(362)](s[0]))}[Co(332)](){const t=Co,e=this[t(322)],i=Po[t(355)],n=e[t(353)][t(311)](t(323))||Po[t(350)];if(n[t(358)])return n[t(316)](n=>{const s=t,r=s(357)==typeof n?Object[s(345)]({},i[n]):n;return r[s(348)]=r[s(348)][s(336)](this,e),r[s(381)]&&(r[s(381)]=r[s(381)][s(336)](this,e)),r})}}function Lo(){const t=["limiterElement","772zSwCJX","editor","name","ready","1795eRRSBq","viewportTopOffset","3082518cuZPHL","get","getRoot","addToolbar","render","isActive","element","detachDomRoot","bind","_toolbarConfig","36274799ixutec","35iJgjuU","258885rVLRNJ","view","fillFromConfig","restore","document","152CbRkBH","592rcjecl","replace","setEditableElement","viewportOffset","toolbar","isFocused","stickyPanel","attachDomRoot","rootName","focusTracker","_view","destroy","editable","init","componentFactory","_initToolbar","12370880xNzhsG","editing","fire","_elementReplacer","14PwCdUu","config","1740579szdGQo"];return(Lo=function(){return t})()}const zo=Wo;function Wo(t,e){const i=Lo();return(Wo=function(t,e){return i[t-=302]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(626284===parseInt(e(320))/1*(parseInt(e(340))/2)+parseInt(e(314))/3+-parseInt(e(316))/4*(-parseInt(e(333))/5)+parseInt(e(322))/6*(parseInt(e(312))/7)+-parseInt(e(339))/8*(-parseInt(e(334))/9)+parseInt(e(308))/10+-parseInt(e(332))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Zo extends It.EditorUI{[zo(302)];[zo(331)];[zo(311)];get[zo(335)](){return this[zo(302)]}constructor(e,i){const n=zo;super(e),this[n(302)]=i,this[n(331)]=(0,It.normalizeToolbarConfig)(e[n(313)][n(323)](n(344))),this[n(311)]=new t.ElementReplacer}get[zo(328)](){const t=zo;return this[t(335)][t(328)]}[zo(305)](t){const e=zo,i=this[e(317)],n=this[e(335)],s=i[e(309)][e(335)],r=n[e(304)],o=s[e(338)][e(324)]();r[e(318)]=o[e(348)],n[e(326)]();const a=r[e(328)];this[e(342)](r[e(318)],a),n[e(304)][e(330)](e(345)).to(this[e(349)]),s[e(347)](a),this[e(311)][e(341)](t,this[e(328)]),this[e(307)](),this[e(310)](e(319))}[zo(303)](){const t=zo;super[t(303)]();const e=this[t(335)],i=this[t(317)][t(309)][t(335)];this[t(311)][t(337)](),i[t(329)](e[t(304)][t(318)]),e[t(303)]()}[zo(307)](){const t=zo,e=this[t(335)];e[t(346)][t(330)](t(327)).to(this[t(349)],t(345)),e[t(346)][t(315)]=e[t(328)],e[t(346)][t(330)](t(321)).to(this,t(343),({top:t})=>t),e[t(344)][t(336)](this[t(331)],this[t(306)]),this[t(325)](e[t(344)])}}var Uo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();Ot()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=443]})(t,e)}function Bo(){var t=["content","render","toolbar","20aIQMgV","top","3738858CgPJIb","1953735OjBwyr","add","editable","1914309gRJbWT","main","2007jcpFem","13968nDqauH","stickyPanel","125072NiOifJ","5xcUQuC","shouldToolbarGroupWhenFull","8878419wjcgaW","_editable","778DGuwKn","2671HPztWb"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(754836===parseInt(e(453))/1*(parseInt(e(452))/2)+-parseInt(e(463))/3+-parseInt(e(447))/4*(-parseInt(e(448))/5)+-parseInt(e(459))/6+-parseInt(e(460))/7+-parseInt(e(445))/8*(parseInt(e(444))/9)+parseInt(e(457))/10*(parseInt(e(450))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(451)];[qo(446)];[qo(456)];get[qo(462)](){return this[qo(451)]}constructor(t,e,i={}){var n=qo;super(t),this[n(446)]=new It.StickyPanelView(t),this[n(456)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(449)]}),this[n(451)]=new It.InlineEditableUIView(t,e)}[qo(455)](){var t=qo;super[t(455)](),this[t(446)][t(454)][t(461)](this[t(456)]),this[t(458)][t(461)](this[t(446)]),this[t(443)][t(461)](this[t(462)])}}const Jo=Ko;function Go(){const t=["sourceElement","8565500WzMcuP","destroy","updateSourceElement","56vfaZCL","createRoot","create","locale","initPlugins","20100jWyZqN","fire","init","6PJpgsH","233062ZOnuYt","config","4545735XTsCcb","document","editing","_ui","get","882778GEjGoq","1249848JqPlkF","ready","data","4244361GMkziw","4gmcBwO","view","model","initialData","2471Brmbkw"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=479]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(705560===-parseInt(e(479))/1+-parseInt(e(502))/2*(parseInt(e(501))/3)+-parseInt(e(484))/4*(-parseInt(e(504))/5)+parseInt(e(498))/6*(parseInt(e(488))/7)+-parseInt(e(493))/8*(-parseInt(e(480))/9)+-parseInt(e(490))/10+-parseInt(e(483))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(507)];get ui(){return this[Jo(507)]}constructor(t,e){const i=Jo;super(e),this[i(489)]=t,this[i(486)][i(505)][i(494)]();const n=new Yo(this[i(496)],this[i(506)][i(485)],{shouldToolbarGroupWhenFull:!0});this[i(507)]=new Zo(this,n)}[Jo(491)](){const t=Jo;return this[t(492)](),this.ui[t(491)](),super[t(491)]()}static async[Jo(495)](t,e){const i=Jo,n=new this(t,e);return await n[i(497)](),await n.ui[i(500)](t),await n[i(482)][i(500)](n[i(503)][i(508)](i(487))||""),n[i(499)](i(481)),n}}const Xo=ea;function ta(){const t=["then","repository","RevisionHistory","removeAttribute","isEnabled","detachRoot","numeric","2952nSBGTi","getMarkersGroup","addRoot","RevisionsRepository","get","_cleanUp","restoreRevision","rootName","getRevision","display","isOfficialPlugin","refreshVisibility","changesNavigation","169985YBZcai","insert","bind","update","getUser","refreshPositioning","create","42fmOjql","isRevisionViewerOpen","Users","showRevisionViewerCallback","end","createRangeIn","pluginName","fromCharCode","setAttribute","$graveyard","map","toVersion","view","getRevisionDocumentData","define","catch","createdAt","error","enqueueChange","_update","PaginationLookup","revisionHistory.closeRevisionViewerCallback","Restored","saveRevision","from","none","getRoot","toLocaleDateString","isPremiumPlugin","_recalculatePageBreaks","set","init","getRevisionRootsAttributes","isReady","adapter","DocumentOutline","fromVersion","RevisionViewerIntegration","1164308NNHLBs","RevisionHistoryUtils","includes","exitToEditing","revisionHistory.showRevisionViewerCallback","long","closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback","enableReadOnlyMode","data","lazyRoots","toLocaleTimeString","revisionHistory","addRevisionData","revision-history-missing-configuration","isAnonymous","toolbar","save","isReadOnly","editor","model","607455UljwqC","237864iGDGyR","markers","RevisionViewer","has","document","RevisionTracker","_restoreRevision","isOpen","DocumentOutlineUI","hide","RevisionHistoryUI","join","style","revisionHistory.editorContainer","change","_viewerEditor","loadRevisionData","revisionHistory.requireRevisionName","isAttached","block","locale","commands","element","_getRevisionViewerEditorConfig","Dialog","setSelection","uiLanguage","requires","removeMarker","_closeRevisionViewer","Annotations","toJSON","restrictedEditingException","result","push","1413220AyoRCA","config","addUser","revisionHistory.viewerEditorElement","remove","plugins","selection","destroy","name","revision-history-viewer-opened","parse","revisionHistory.viewerContainer","indexOf","getAttributeKeys","removeSelectionAttribute","RestrictedEditingMode","459312haXuYW","_enhanceCloseRevisionViewerCallback","_showRevisionViewer","revisionHistory.restoreRevisionCallback","getRevisions","roots","keys","disableReadOnlyMode","4176ORffvq","users","creator","Autosave","translations"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(367212===parseInt(e(213))/1+-parseInt(e(258))/2+parseInt(e(279))/3+-parseInt(e(331))/4+parseInt(e(315))/5+-parseInt(e(280))/6*(-parseInt(e(220))/7)+-parseInt(e(200))/8*(-parseInt(e(339))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(290),Xo(330)];class na extends G.Plugin{[Xo(313)];static get[Xo(226)](){return Xo(257)}static get[Xo(210)](){return!0}static get[Xo(248)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(230)](t=>String[e(227)](t))[e(291)]("")}super(t),this[e(313)]=e(224),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Xo(295)];static get[Xo(226)](){return Xo(195)}static get[Xo(210)](){return!0}static get[Xo(248)](){return!0}static get[Xo(307)](){return[vt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(277)][i(316)][i(204)](i(270)))throw new t.CKEditorError(i(272),this);this[i(295)]=null,this[i(250)](i(221),!1),this[i(277)][i(316)][i(234)](i(262),t=>this[i(333)]({...t,translations:this[i(277)][i(300)][i(343)]})),this[i(277)][i(316)][i(234)](i(241),t=>this[i(309)](t)),this[i(277)][i(316)][i(234)](i(334),t=>this[i(286)](t)),this[i(277)][i(316)][i(234)](i(297),!1),this[i(265)](),this[i(332)]()}set[Xo(254)](t){const e=Xo;this[e(277)][e(320)][e(204)](e(285))[e(254)]=t}get[Xo(254)](){const t=Xo;return this[t(277)][t(320)][t(204)](t(285))[t(254)]}[Xo(271)](t){const e=Xo;return this[e(277)][e(320)][e(204)](e(285))[e(271)](t)}[Xo(208)](t){const e=Xo;return this[e(277)][e(320)][e(204)](e(203))[e(208)](t)}[Xo(335)](t){const e=Xo;return this[e(277)][e(320)][e(204)](e(203))[e(335)](t||{toJSON:!1})}[Xo(303)](){const e=Xo,i=this[e(277)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(320)][e(204)](e(285)),r=i[e(320)][e(204)](e(222))[e(340)];return n[e(274)]=[e(261),e(206),e(212)],delete n[e(268)],n[e(320)][e(314)](na,ue,Ne,class extends G.Plugin{static get[e(307)](){return[ue,e(222)]}[e(251)](){const n=e,o=this[n(277)][n(320)][n(204)](n(222));for(const t of r)t[n(273)]||o[n(217)](t.id)||o[n(317)](t);const a=s[n(194)][n(335)]();let c=null;const u=this[n(277)][n(320)][n(204)](n(282));u[n(254)]=s[n(254)],u[n(215)](n(197)).to(s),this[n(277)][n(301)][n(204)](n(206))[n(215)](n(197)).to(i,n(276),t=>!t);for(const e of a){const i=null===e[n(341)];if(i&&e[n(231)]===e[n(256)])continue;const r=e[n(311)]();u[n(271)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(239)](r,o);else if(!o){const e=a[u(311)]();e.id=(0,t.uid)(),s[u(243)](e,a[u(231)])[u(344)](t=>{c=t})}}else e[u(239)](r,o)})}}},Po),n}[Xo(265)](){const t=Xo,e=this[t(277)][t(316)][t(204)](t(270))[t(223)];this[t(277)][t(316)][t(250)](t(262),async()=>{const i=t;this[i(277)][i(266)](i(324));const n=this[i(277)][i(320)][i(204)](i(285));if(this[i(277)][i(320)][i(283)](i(342))){const t=this[i(277)][i(320)][i(204)](i(342));await t[i(275)]()}else await n[i(216)]();if(this[i(277)][i(320)][i(283)](i(240))&&this[i(277)][i(320)][i(204)](i(240))[i(249)](),this[i(277)][i(320)][i(283)](i(304))){const t=this[i(277)][i(320)][i(204)](i(304));t[i(287)]&&t[i(289)]()}const s=this[i(303)]();return e(s)[i(344)](t=>{const e=i;return this[e(295)]=t,this[e(277)][e(320)][e(283)](e(310))&&this[e(277)][e(320)][e(204)](e(310))[e(211)](),this[e(277)][e(320)][e(283)](e(255))&&(this[e(277)][e(320)][e(204)](e(288))[e(232)][e(302)][e(292)][e(209)]=e(245)),t})[i(235)](t=>(console[i(237)](t),this[i(277)][i(338)](i(324)),null))})}[Xo(332)](){const t=Xo,e=this[t(277)][t(316)][t(204)](t(270))[t(264)];this[t(277)][t(316)][t(250)](t(241),()=>(this[t(277)][t(320)][t(283)](t(240))&&this[t(277)][t(320)][t(204)](t(240))[t(249)](),this[t(277)][t(320)][t(283)](t(255))&&(this[t(277)][t(320)][t(204)](t(288))[t(232)][t(302)][t(292)][t(209)]=""),this[t(295)][t(320)][t(204)](t(282))[t(205)](),e(this[t(295)])[t(344)](()=>{const e=t;if(this[e(277)][e(338)](e(324)),this[e(295)]=null,this[e(277)][e(320)][e(283)](e(310))){const t=this[e(277)][e(320)][e(204)](e(310));t[e(211)](),t[e(218)]()}})))}[Xo(333)](t){const e=Xo,i=this[e(277)][e(316)][e(204)](e(293)),n=this[e(277)][e(316)][e(204)](e(326)),s=this[e(277)][e(316)][e(204)](e(318));return Qo[e(219)](s,t)[e(344)](t=>(n[e(292)][e(209)]=e(299),i[e(292)][e(209)]=e(245),this[e(221)]=!0,t))}[Xo(309)](t){const e=Xo,i=this[e(277)][e(316)][e(204)](e(293));return this[e(277)][e(316)][e(204)](e(326))[e(292)][e(209)]=e(245),i[e(292)][e(209)]="",this[e(221)]=!1,t[e(322)]()}async[Xo(286)](t){const e=Xo,i=this[e(277)],n=this[e(295)][e(320)][e(204)](e(282)),s=i[e(320)][e(204)](e(285)),r=i[e(320)][e(204)](e(259)),o=n[e(194)][e(208)](t);let a,c,u;try{await r[e(296)](o,this[e(254)]),a=r[e(233)](o),c=r[e(252)](o)}catch(t){return void console[e(237)](t)}i[e(278)][e(294)](t=>{const n=e;for(const e of Array[n(244)](i[n(278)][n(281)][n(201)](n(312))))t[n(308)](e)}),n[e(253)]=!1,i[e(278)][e(238)](t=>{const n=e;t[n(305)](null),t[n(329)](i[n(278)][n(284)][n(321)][n(328)]());const s=Object[n(337)](a);for(const e of i[n(278)][n(284)][n(336)])n(229)!=e[n(207)]&&e[n(298)]()&&!s[n(260)](e[n(207)])&&t[n(198)](e);for(const e of s){let s=i[n(278)][n(284)][n(246)](e);s&&s[n(298)]()||(s=t[n(202)](e));const r=c[e],o=Object[n(337)](r),u=a[e];for(const e of s[n(328)]())o[n(260)](e)||t[n(196)](e,s);for(const i of o)t[n(228)](i,c[e][i],s);t[n(319)](t[n(225)](s)),t[n(214)](i[n(267)][n(325)](u,s),s,0)}});const l=at(i[e(300)],e(242));return u=o[e(323)]?-1==o[e(323)][e(327)](l)?l+": "+o[e(323)]:o[e(323)]:l+": "+o[e(236)][e(247)](i[e(300)][e(306)],{month:e(263),day:e(199)})+", "+o[e(236)][e(269)](i[e(300)][e(306)],{hour:e(199),minute:e(199)}),await s[e(243)]({name:u}),n[e(253)]=!0,i[e(316)][e(204)](e(270))[e(264)]()}}function ra(){var t=["22bntOEh","287055bVuvCz","734419FlleYL","160eInsOD","348VQNOhg","59539OocQkg","140tFXSew","13pkIKkA","8555985YerDlK","55809876BdIEGc","1205578GaemCG","67869jkcZKf","24Ynpmve"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=421]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(999644===-parseInt(e(431))/1*(-parseInt(e(426))/2)+-parseInt(e(424))/3*(-parseInt(e(430))/4)+parseInt(e(421))/5+-parseInt(e(425))/6*(-parseInt(e(428))/7)+-parseInt(e(429))/8*(parseInt(e(427))/9)+parseInt(e(432))/10*(parseInt(e(423))/11)+parseInt(e(422))/12*(-parseInt(e(433))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|