@ckeditor/ckeditor5-revision-history 46.0.1-alpha.7 → 46.0.1-alpha.9
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:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,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 U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(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,U(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 q(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}}function $(t,e){const i=Y();return($=function(t,e){return i[t-=365]})(t,e)}const B=$;function Y(){const t=["creatorId","fromVersion","2pWbfuR","3386430IWqRDd","removeAttribute","494360diinko","createdAt","_update","diffData","setAttribute","authors","15qmROxo","24XhGaMr","map","attributes","toJSON","552942AIhOwT","2770761HcoOFt","fire","creator","model","authorsIds","toVersion","set","name","setName","1187217NZEDmq","35808450AnlOgN","8207080RdGbAf"];return(Y=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(863874===parseInt(e(375))/1+parseInt(e(390))/2*(-parseInt(e(376))/3)+parseInt(e(393))/4+parseInt(e(370))/5*(-parseInt(e(391))/6)+-parseInt(e(387))/7+-parseInt(e(371))/8*(-parseInt(e(385))/9)+parseInt(e(386))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[B(378)];[B(369)];[B(367)];[B(381)];[B(389)];[B(379)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(378)]=e[i(378)]||null,this[i(369)]=e[i(369)]||[],this[i(367)]=e[i(367)]||null,this[i(381)]=e[i(381)]||0,this[i(389)]=e[i(389)]||0,this[i(382)](i(383),e[i(383)]||""),this[i(382)](i(365),e[i(365)]||new Date),this[i(382)](i(373),e[i(373)]||{})}[B(384)](t){this[B(366)]({name:t})}[B(368)](t,e){const i=B,n=A(this[i(373)]);W(n,t,e),this[i(366)]({attributes:n})}[B(392)](t){const e=B,i=A(this[e(373)]);(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=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 q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(366)]({attributes:i})}[B(366)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(383),i(365),i(367),i(369),i(373),i(381),i(389),i(388)];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(369)]&&(s[i(380)]=s[i(369)][i(372)](t=>t.id),delete s[i(369)]),this[i(377)](i(366),s,e))}[B(374)](){const t=B;return{id:this.id,name:this[t(383)],creatorId:this[t(378)]?this[t(378)].id:null,authorsIds:this[t(369)][t(372)](t=>t.id),diffData:this[t(367)],createdAt:this[t(365)],attributes:this[t(373)],fromVersion:this[t(389)],toVersion:this[t(381)]}}}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=303]})(t,e)}const tt=Q;function et(){const t=["5050540CdKPhG","RevisionsRepository","from","join","get","name","33093oNFFEe","data","189ivrkOc","later","createdAt","map","getRevisionsIterator","getRevision","toVersion","getEarlierVisibleRevision","attributes","add","createRevision","2615961DLFIyF","getUser","editor","requires","href","_revisions","length","earlier","reverse","push","3102588aoshnT","fromCharCode","diffData","1257709JpFVva","isPremiumPlugin","newRevisionId","getRevisions","getLaterVisibleRevision","plugins","65814JNKXWA","afterInit","isOfficialPlugin","addRevision","pluginName","toJSON","fromVersion","creatorId","oldRevisionId","isNaN","6632AnnfaU","1020166RhHvNm","authorsIds","getIndex","getRevisionsInDiff","Users"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(897996===-parseInt(e(344))/1+parseInt(e(307))/2+-parseInt(e(331))/3+parseInt(e(341))/4+-parseInt(e(312))/5+parseInt(e(350))/6*(-parseInt(e(320))/7)+-parseInt(e(306))/8*(-parseInt(e(318))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(336)];static get[tt(334)](){return[K.Users]}static get[tt(354)](){return tt(313)}static get[tt(352)](){return!0}static get[tt(345)](){return!0}get[tt(337)](){const t=tt;return this[t(336)][t(337)]}constructor(e){const i=tt;super(e),this[i(336)]=new t.Collection}[tt(351)](){!async function(e){const i=k([116,88,85,110,57,120,75,79,77,72,114,54,71,74,73,100,118,70,99,82,83,105,80,87,97,84,101,115,49,86,107,78,108,50,113,112,90,69,67,89,76,51,65,55,111,121,109,104,52,106,103,68,48,66,98,53,117,56,119,102,122,81]),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=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(305)](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([116]);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=Q;return t[e(323)](t=>String[e(342)](t))[e(315)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=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:1754352e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(335)]);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(330)](t){const e=tt,i=this[e(333)][e(349)][e(316)](e(311));return new J({id:t.id,name:t[e(317)],creator:t[e(303)]?i[e(332)](t[e(303)]):null,diffData:t[e(343)]||t[e(319)],authors:t[e(308)][e(323)](t=>i[e(332)](t)),createdAt:new Date(t[e(322)]),attributes:t[e(328)],fromVersion:t[e(356)],toVersion:t[e(326)]})}[tt(353)](t,e=0){const i=tt;this[i(336)][i(329)](t,e)}[tt(325)](t){const e=tt;return this[e(336)][e(316)](t)}[tt(347)](t={toJSON:!1}){const e=tt,i=Array[e(314)](this[e(336)]);return i[e(339)](),t[e(355)]?i[e(323)](t=>t[e(355)]()):i}[tt(309)](t){const e=tt;return this[e(336)][e(309)](t)}[tt(327)](t){const e=tt,[,i]=this[e(324)](t,{direction:e(338)});return i}[tt(348)](t){const e=tt,[,i]=this[e(324)](t,{direction:e(321)});return i}[tt(310)](t){const e=tt,i=[];for(const n of this[e(324)](t[e(346)]))if(i[e(340)](n),n.id===t[e(304)])break;return i}*[tt(324)](t,{direction:e=tt(338),filter:i=()=>!0}={}){const n=tt,s=n(338)===e?1:-1;let r=this[n(336)][n(316)](t),o=this[n(309)](r);for(yield r;r;){if(o+=s,r=this[n(325)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=319]})(t,e)}const st=nt;function rt(){const t=["map","isOfficialPlugin","toModel","_removeRevisionMarkers","forEach","_getViewFromDiffObj","fillerOffset","getFillerOffset","render","data-revision-","useFillerType","11254640ovTucq","revision-end","1122TIJLpm","startsWith","6Ajoshu","attachChange","view","getRevisionDocumentData","editor","filter","length","_viewClassToTypeChar","append","getRevision","getRevisionRootsAttributes","_typeCharToViewClass","collaboration.channelId","domDocument","constructor","string","loadRevisionData","5022384yKRZjy","from","childNodes","div","customProperties","RevisionHistoryUtils","config","viewChildrenToDom","isPremiumPlugin","get","name","pluginName","default","_makeModelFromViewString","domConverter","7593852IiFaxQ","_appendChild","processor","isAttached","insertions","revision-start","type","attributes","_getTypeCharForViewElement","parse","diffData","marked","innerHTML","children","toData","28775ruFGNU","domChildrenToView","36050cPQnCh","attributesAfter","56598ToaJLI","_setCustomProperty","6129081LCLbbn","4HvxyqS","editing","document","createElement","htmlProcessor","data"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(953888===-parseInt(e(339))/1*(parseInt(e(365))/2)+-parseInt(e(341))/3*(parseInt(e(344))/4)+parseInt(e(337))/5*(-parseInt(e(363))/6)+parseInt(e(322))/7+parseInt(e(382))/8+-parseInt(e(343))/9+parseInt(e(361))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(393)](){return st(387)}static get[st(351)](){return!0}static get[st(390)](){return!0}[st(372)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(376)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(381)](t,e){const i=st;if(t[i(332)]||!e)return;const n=this[i(369)][i(388)][i(391)](i(377)),s=await e[i(374)]({channelId:n,revisionId:t.id});t[i(332)]=s[i(332)]}[st(368)](t){const e=st,i={};for(const n in t[e(332)]){if(t[e(332)][n][e(366)]&&!t[e(332)][n][e(366)][e(325)])continue;const s=this[e(353)](JSON[e(331)](t[e(332)][n][e(326)])),r=this[e(369)][e(345)][e(367)][e(346)],o=new X.ViewDocumentFragment(r,s[e(350)](t=>this[e(355)](t,!1)));this[e(369)][e(349)][e(324)][e(360)](e(333)),i[n]=this[e(369)][e(349)][e(324)][e(336)](o),this[e(369)][e(349)][e(324)][e(360)](e(319))}return i}[st(375)](t){const e=st,i={};for(const n in t[e(332)])t[e(332)][n][e(366)]&&!t[e(332)][n][e(366)][e(325)]||(i[n]=t[e(332)][n][e(340)]||{});return i}[st(330)](t){const e=st;return this[e(372)][e(391)](t[e(379)])}[st(355)](t,e){const i=st,n=this[i(369)][i(345)][i(367)][i(346)];if(i(380)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(328)]||"r"==t[i(328)]?[]:t[i(335)][i(350)](t=>this[i(355)](t,e));const o=this[i(376)][i(391)](t[i(328)])||X.ViewElement,a=this[i(369)][i(349)][i(348)][i(321)];if(s=new o(n,t[i(392)],t[i(329)],r),"u"==t[i(328)]&&t[i(335)][0]){const r=t[i(335)][0];if(s[i(358)]=function(t){const e=i,n=t[e(347)](e(385));return n[e(334)]=r,n[e(384)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(323)](s);const e=Array[i(383)](a[i(389)](t,{bind:!1})),r=a[i(378)][i(347)](i(385));r[i(373)](...e),s=Array[i(383)](a[i(338)](r))[0]}}else if("r"==t[i(328)]&&t[i(335)][0]){const r=t[i(335)][0];if(s[i(358)]=function(t){t[i(334)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(323)](s);const e=Array[i(383)](a[i(389)](t,{bind:!1})),r=a[i(378)][i(347)](i(385));r[i(373)](...e);const o=Array[i(383)](a[i(338)](r));o[i(371)]>1?s[i(323)](o):s=o[0]}}if(t[i(386)])for(const[e,n]of t[i(386)])s[i(342)](e,n);const c=void 0===t[i(356)]?null:t[i(356)];return null!==c&&(s[i(357)]=()=>c),s}}[st(320)](t){const e=st,i=JSON[e(331)](t),n=this[e(369)][e(345)][e(367)][e(346)],s=new X.ViewDocumentFragment(n,i[e(350)](t=>this[e(355)](t,!0)));return this[e(369)][e(349)][e(352)](s)}[st(353)](t){const e=st;return(t=t[e(370)](t=>!t[e(392)]||e(327)!==t[e(392)]&&e(362)!==t[e(392)]))[e(354)](t=>{const i=e;i(380)!=typeof t&&(t[i(335)]=this[i(353)](t[i(335)]),t[i(329)]=t[i(329)][i(370)](t=>!t[0][i(364)](i(359))))}),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)}const ft=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=205]})(t,e)}function pt(){const t=["_continueCurrentRevision","6pzmJAB","_reset","afterInit","shift","detachRoot","isPremiumPlugin","values","_getFromVersion","addRevision","4834510yEajqg","_cloneOperation","_applyOperations","createPositionAfter","slice","_getBaseVids","getFillerOffset","diffData","28DzFkRO","get","getCustomProperties","usageLimit","_lastFrom","size","revisionHistoryLicenseKeyExpired","userId","newValue","revisionHistoryLicenseKeyTrialLimit","destroy","attachChange","innerHTML","setSource","repository","dataDowncast","_isPendingUpdate","RevisionTracker","requires","_loadedStateData","_makeRevision","RealTimeCollaborationClient","version","_createFromRanges","_copyMarkers","isEqual","10323HsQFOj","domConverter","createRevision","_touched","key","root","init","_generateTape","toView","_createInitialRevision","outerHTML","deletions","_prepareViewToSave","_saveMetaData","history","sort","isAdd","newRange","getRevisions","_pendingAction","isAttached","config","createPositionBefore","delete","_removePendingAction","rootsAttributes","expired","markers","stickiness","graveyardPosition","uiElement","152083YsJTlZ","roots","for","elementStart","getTransformedByOperation","targetPosition","text","define","_appendChild","_makeIdsRoot","_getVidAttributeName","$graveyard","howMany","vid","from","path","RevisionHistory","startsWith","getNodeByPath","clone","revisionHistoryLicenseKeyNotAllowed","loadState","editor-initial-data-replaced-with-revision-data","htmlProcessor","deletion","item","initial","_isInit","_clone","insert","_processRootBeforeSave","_bufferUpdate","has","invalid","getIndex","attributesBefore","createPositionFromPath","_startingVersion","then","changeRootAttribute","_touchedMarkers","revisionHistoryLicenseKeyUsageLimit","children","affectsData","find","push","_handleMoveOperation","_savedMetaData","render","createPositionAt","_fixRange","evaluationLimit","removeRootAttribute","getAncestors","_diffRoots","createRange","length","revision","reverse","_loadState","finally","revisionHistory.resumeUnsavedRevision","document","getRange","getData","update","getRevision","_getViewJson","saveRevision","markerToData","initialData","insertion","_authorId","attributesAfter","baseVersion","getCurrentRevisionId","parent","_insertChild","_setAttribute","fromEntries","domainLimit","655310KDtpZT","_bufferedUpdates","currentRevision","authorsIds","customProperties","_update","RevisionsRepository","oldRange","PendingActions","move","_baseRootsAttributes","dataToMarker","1174012umAZBh","Users","_addPendingAction","split","fromVersion","getRevisionDocumentData","createElement","bind","_isAttached","Empty document","_startingRevisionId","_licenseKeyCheckInterval","rootName","offsetSize","domDocument","_idsRoots","_createCurrentRevision","remove","elementEnd","getWalker","upcast","model","_markChanges","updateRevisions","getChild","_calculateMetaData","_handleOperation","collaboration.channelId","getUser","_operations","max","keepParagraph","merge","addRoot","_findInsertionIndex","adapter","sourcePosition","hasContent","trialLimit","getRootNames","_replaceEditorDataWithRevisionData","getTime","getRoot","stringify","getOperations","nodes","filter","_source","documentFragment","loadRevisionData","addRootAttribute","data","childCount","_handleSplitOperation","$comment","range","isEnabled","insertions","_revisionDataBuilder","reinsert","_execute","_baseRoots","reInit","position","revisionHistoryLicenseKeyInvalid","getChildren","tableCell","includes","trim","_handleMergeOperation","_transformMarkers","3881454XGrbii","type","pluginName","_revisionId","licenseKey","ready","_handleMarkerOperation","_lastTo","keys","isReady","nodeAfter","_touchedRoots","toVersion","RevisionHistoryUtils","revisionHistoryLicenseKeyEvaluationLimit","_markers","_utils","_diffRootsAttributes","_baseIdsRoots","_initialRevisionId","revisionHistoryLicenseKeyDomainLimit","plugins","253353SYONdh","clear","isOfficialPlugin","creatorId","fillerOffset","setRevisionData","conversion","$text","_fixOperation","NEGATIVE_INFINITY","_handleInsertOperation","featureNotAllowed","some","createdAt","start","creator","end","offset","splitPosition","set","_getPreviousFrom","_showLicenseError","revision:","rawElement","element","marker","paragraph","locale","_handleRootAttributeOperation","_setConversion","createRangeIn","Initial revision","getOperation","PENDING_ACTION_REVISION_HISTORY","_handleRootOperation","buildRevisionData","getLatestVersion","_getTypeCharForViewElement","vid_end","_fixPosition","getRevisionRootsAttributes","previousPosition","map","name","authors","source","getAttributes","addRevisionData","resolve","string","vid_start","getMovedRangeStart","904DBqRAN","getAttribute","revisionHistoryLicenseKeyValid","_removeMetaData","_makeModelFromViewString","_getState","editor","add","insertionPosition","sendBufferedUpdates"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(467533===parseInt(e(527))/1*(-parseInt(e(453))/2)+-parseInt(e(390))/3*(-parseInt(e(470))/4)+parseInt(e(285))/5+parseInt(e(368))/6+parseInt(e(297))/7+-parseInt(e(442))/8*(parseInt(e(496))/9)+-parseInt(e(462))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(372)];[ft(308)];[ft(287)]=null;[ft(484)];[ft(332)]=null;[ft(355)];[ft(344)];[ft(387)];[ft(286)];[ft(384)];[ft(515)];[ft(452)];[ft(241)];[ft(489)];static get[ft(370)](){return ft(487)}static get[ft(392)](){return!0}static get[ft(458)](){return!0}static get[ft(488)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(484)]=this[i(448)][i(389)][i(471)](i(291)),this[i(384)]=this[i(448)][i(389)][i(471)](i(381)),this[i(355)]=new gt(this[i(448)]),this[i(387)]=this[i(448)][i(517)][i(471)](i(324))||i(230),this[i(286)]=new Map,this[i(489)]=null;const n=(0,t.uid)();this[i(344)]={history:this[i(448)][i(318)][i(266)][i(510)],getLatestVersion:()=>Promise[i(438)](this[i(448)][i(318)][i(266)][i(492)]),getCurrentRevisionId:()=>n},this[i(409)](i(377),!1),this[i(409)](i(353),!0),this[i(409)](i(486),!1),this[i(448)][i(517)][i(211)](i(265),!0),this[i(448)][i(396)][i(206)](i(317))[i(296)]({view:i(261)})}[ft(502)](){const t=ft;this[t(419)](),this[t(448)][t(348)].on(t(373),()=>{const e=t,i=this[e(484)][e(270)](0),n=i&&null===i[e(405)]?i:null;if(this[e(452)]=!!n&&this[e(448)][e(517)][e(471)](e(265)),this[e(448)][e(389)][e(236)](e(491))){const t=this[e(344)][e(279)](),s=this[e(484)][e(270)](t);if(s)this[e(241)]=s[e(301)],this[e(452)]=!1;else{const t=this[e(344)][e(510)][e(326)][e(248)](t=>!t[e(231)]),s=t?t[e(278)]:this[e(344)][e(510)][e(492)];i?(i[e(380)]<s&&i[e(290)]({toVersion:s}),this[e(452)]?(this[e(344)][e(279)]=()=>n.id,this[e(241)]=n[e(301)]):(this[e(241)]=i[e(380)],this[e(452)]=!1)):(this[e(241)]=s,this[e(452)]=!1)}}else n&&(this[e(448)][e(318)][e(266)][e(510)][e(492)]=Math[e(327)](n[e(380)],this[e(448)][e(318)][e(266)][e(510)][e(492)]),n[e(301)]===n[e(380)]?(0!==n[e(301)]&&(this[e(344)][e(279)]=()=>n.id),this[e(452)]=!1):this[e(452)]&&(this[e(344)][e(279)]=()=>n.id,this[e(241)]=n[e(301)])),this[e(452)]||(this[e(241)]=this[e(448)][e(318)][e(266)][e(492)]);this[e(355)][e(502)](this[e(344)][e(510)]),this[e(505)](this[e(241)]),this[e(313)](this[e(241)]),this[e(332)]&&this[e(451)]()}),this[t(304)](t(377)).to(this,t(486),t=>!t),this[t(372)]=this[t(448)][t(517)][t(471)](t(372));const e=this[t(448)];this[t(308)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(444)==r||i(361)==r||i(476)==r||i(388)==r||i(224)==r||i(382)==r||i(479)==r||i(245)==r){delete e[s],n=r,clearInterval(this[i(308)]),this[i(308)]=void 0;break}}i(361)==n&&e[i(411)](i(237)),i(476)==n&&e[i(411)](i(522)),i(388)==n&&e[i(411)](i(284)),i(224)==n&&e[i(411)](i(401),i(220)),i(382)==n&&e[i(411)](i(255)),i(479)==n&&e[i(411)](i(335)),i(245)==n&&e[i(411)](i(473))},1e3)}async[ft(455)](){const t=ft;if(this[t(484)][t(260)]>0){const e=this[t(484)][t(270)](0),i=await this[t(302)](e),n=await this[t(430)](e);this[t(337)](i,n)}}[ft(480)](){const t=ft;super[t(480)](),this[t(308)]&&clearInterval(this[t(308)])}[ft(483)](t){this[ft(344)]=t}async[ft(269)](){const t=ft,e=await this[t(344)][t(426)]();if(e>this[t(287)][t(380)]){await this[t(263)]();const i=this[t(425)]({revision:this[t(287)],to:e});i[t(434)]=i[t(288)][t(432)](e=>this[t(448)][t(389)][t(471)](t(298))[t(325)](e)),this[t(287)][t(290)](i)}}async[ft(272)](e={},i=null){const n=ft,s=[];await this[n(263)](),this[n(452)]=!1,i>this[n(287)][n(380)]&&(i=null),null===i&&(i=await this[n(344)][n(426)]());const r=this[n(460)](i),o=this[n(425)]({from:r,to:i});if(this[n(287)][n(380)]<i){const t=this[n(425)]({revision:this[n(287)],from:i,to:i});t[n(434)]=[],t[n(288)]=[],t.id=this[n(287)].id,this[n(287)][n(290)](t,!0),delete t[n(434)],s[n(249)](t)}e[n(393)]=this[n(448)][n(389)][n(471)](n(298)).me.id,e[n(433)]=e[n(433)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(437)](e);s[n(249)](e);const c=this[n(484)][n(238)](a);if(0!==c){const t=this[n(484)][n(270)](c-1);if(t[n(301)]!==i){const r=this[n(355)][n(268)](i,t[n(380)]),o={id:t.id,diffData:r[n(469)],authorsIds:r[n(288)],authors:r[n(288)][n(432)](t=>this[n(448)][n(389)][n(471)](n(298))[n(325)](t)),fromVersion:i};t===this[n(287)]&&(o[n(403)]=new Date(e[n(403)][n(338)]()+10)),t[n(290)](o,!0),delete o[n(434)],s[n(249)](o)}}if(this[n(332)]){for(const t of s)this[n(235)](t.id,t,!0);this[n(451)]()}return a}[ft(437)](t){const e=ft,i=this[e(484)][e(498)](t);return this[e(332)]&&i.on(e(290),(t,i,n)=>{const s=e;n||(this[s(235)](i.id,i,!0),this[s(451)]())}),this[e(484)][e(461)](i,this[e(331)](i)),i}async[ft(302)](t){const e=ft;return await this[e(384)][e(346)](t,this[e(332)]),this[e(384)][e(302)](t)}async[ft(430)](t){const e=ft;return await this[e(384)][e(346)](t,this[e(332)]),this[e(384)][e(430)](t)}[ft(451)](){const t=ft;if(0===this[t(286)][t(475)])return;if(this[t(486)])return;let e=Array[t(218)](this[t(286)][t(459)]());this[t(286)][t(391)]();for(let i=0;i<e[t(260)];i++){const n=e[i];let s=!1;for(const e of Object[t(376)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(343)](t=>null!==t),!e[t(260)])return;for(let i=0;i<e[t(260)];i++){const n=e[i];void 0!==n[t(301)]&&void 0===n[t(380)]&&(n[t(380)]=this[t(484)][t(270)](n.id)[t(380)]),void 0!==n[t(380)]&&void 0===n[t(301)]&&(n[t(301)]=this[t(484)][t(270)](n.id)[t(301)])}const i=this[t(448)][t(517)][t(471)](t(324));this[t(486)]=!0,this[t(299)](),this[t(332)][t(320)](e,i)[t(264)](()=>{this[t(486)]=!1})[t(242)](e=>{const i=t;if(e)for(const t of e)this[i(395)]({id:t.id,createdAt:t[i(403)]});this[i(520)](),this[i(451)]()})}[ft(425)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(301)],i=null!==i?i:t[n(380)];const s=this[n(355)][n(268)](e,i),r={diffData:s[n(469)],authorsIds:s[n(288)],fromVersion:e,toVersion:i};if(!t||i!==t[n(380)]){const t=i-1,e=this[n(344)][n(510)][n(422)](t);r[n(403)]=e&&e[n(403)]||new Date}if(this[n(489)]&&e===this[n(489)][n(301)])for(const t of this[n(489)][n(434)])r[n(288)][n(364)](t.id)||r[n(288)][n(249)](t.id);return r}[ft(235)](t,e,i){const n=ft;if(this[n(286)][n(236)](t)){const s=this[n(286)][n(471)](t);e=i?{...s,...e}:{...e,...s}}this[n(286)][n(409)](t,e)}[ft(395)](t){const e=ft,i=this[e(484)][e(270)](t.id);if(t[e(403)]&&(t[e(403)]=new Date(t[e(403)])),t[e(288)]){const i=this[e(448)][e(389)][e(471)](e(298));t[e(434)]=t[e(288)][e(432)](t=>i[e(325)](t))}i[e(290)](t,!0)}[ft(505)](t){const e=ft,i=this[e(484)][e(270)](this[e(484)][e(260)]-1);if(i)this[e(387)]=i.id;else{const i=!this[e(448)][e(318)][e(266)][e(205)][e(248)](t=>this[e(448)][e(318)][e(334)](t)),n=this[e(448)][e(389)][e(471)](e(298)).me.id,s=at(this[e(448)][e(417)],e(i?306:421));this[e(490)]({from:t,to:t,id:this[e(387)],name:s,creatorId:n})}}[ft(313)](t){const e=ft,i=this[e(344)][e(279)]();this[e(287)]=this[e(484)][e(270)](i),this[e(287)]||(this[e(287)]=this[e(490)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(263)](){const t=ft;this[t(452)]&&!this[t(489)]&&(await this[t(384)][t(346)](this[t(287)],this[t(332)]),this[t(355)][t(225)](this[t(287)]),this[t(489)]={fromVersion:this[t(287)][t(301)],authors:this[t(287)][t(434)][t(466)]()})}[ft(337)](e,i){const n=ft;let s=this[n(448)][n(517)][n(471)](n(274)),r=this[n(448)][n(517)][n(471)](n(521));if(void 0===s){s={};for(const t of this[n(448)][n(318)][n(266)][n(336)]())s[t]=""}if(n(439)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(448)][n(318)][n(266)][n(336)]())r[t]={}}let o=!1;const a=Object[n(376)](s),c=Object[n(376)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(365)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(376)](r[t])[n(260)]>0){o=!0;break}}o||(o=c[n(402)](t=>!this[n(448)][n(318)][n(266)][n(339)](t))),o&&(0,t.logWarning)(n(226),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(448)][n(517)][n(409)](n(274),e),this[n(448)][n(517)][n(409)](n(521),i)}[ft(299)](){const t=ft;if(!this[t(515)]){const e=this[t(448)][t(389)][t(471)](t(293));this[t(515)]=e[t(449)](at(this[t(448)][t(417)],t(423)))}}[ft(520)](){const t=ft;this[t(515)]&&(this[t(448)][t(389)][t(471)](t(293))[t(314)](this[t(515)]),this[t(515)]=null)}[ft(331)](t){const e=ft,i=this[e(484)][e(514)]();i[e(262)]();let n=0;for(;n<i[e(260)];){const s=i[n];if(s===this[e(287)]){n++;continue}if(s.id===this[e(387)])break;const r=t[e(380)]-s[e(380)]||t[e(301)]-s[e(301)];if(r>0)break;if(r<0)n++;else{if(!t[e(405)]&&s[e(405)])break;if(s[e(405)]||!t[e(405)]){if(t[e(403)]>s[e(403)])break;n++}else n++}}return n}[ft(460)](t){const e=ft,i=this[e(484)][e(514)]();i[e(262)](),i[e(456)]();const n=i[e(248)](i=>i[e(380)]<=t)[e(380)];return n<this[e(241)]?this[e(241)]:n}[ft(490)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(425)]({from:e,to:i});o[r(433)]=t,o[r(393)]=n,o.id=s;const a=this[r(437)](o);return this[r(332)]&&this[r(235)](o.id,o,!0),a}[ft(419)](){const t=ft;this[t(448)][t(396)][t(206)](t(485))[t(273)]({model:t(261)})}}class gt{[ft(448)];[ft(435)];[ft(251)];[ft(474)];[ft(375)];[ft(383)];[ft(258)];[ft(385)];[ft(358)];[ft(295)];[ft(312)];[ft(386)];[ft(499)];[ft(244)];[ft(379)];[ft(371)];[ft(307)];constructor(t){const e=ft;this[e(448)]=t,this[e(251)]=new Map,this[e(474)]=-1,this[e(375)]=-1,this[e(383)]=new Map,this[e(258)]=new Map,this[e(385)]=new Map,this[e(358)]=new Map,this[e(295)]=new Map,this[e(312)]=new Map,this[e(386)]=new Map,this[e(499)]=new Map,this[e(244)]=new Map,this[e(379)]=new Map,this[e(371)]=1}[ft(502)](t){const e=ft;this[e(435)]=t;const i=new Map,n=new Map,s=this[e(448)][e(318)][e(266)][e(205)][e(432)](t=>t[e(309)]);for(const t of s){const s=this[e(448)][e(318)][e(266)][e(339)](t),r=yt(s);i[e(409)](t,r),n[e(409)](t,Object[e(283)](s[e(436)]()))}const r=Array[e(218)](this[e(448)][e(318)][e(523)])[e(432)](t=>[t[e(433)],t[e(267)]()]),o=this[e(435)][e(492)];this[e(509)](o,i,r,n),this[e(307)]=this[e(371)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(409)](t,i),c[e(409)](t,{})}this[e(509)](Number[e(399)],a,[],c)}[ft(268)](t,e){const i=ft;if(this[i(474)]===t&&this[i(375)]<=e)this[i(251)][i(475)]>1&&this[i(445)](this[i(375)]),this[i(464)](this[i(375)],e,!0);else{if(!this[i(251)][i(236)](t)){const e=this[i(410)](t);this[i(322)](e,t,!1)}this[i(322)](t,e,!0)}return this[i(474)]=t,this[i(375)]=e,this[i(447)]()}[ft(225)](t){const e=ft,i=this[e(448)][e(389)][e(471)](e(381));this[e(454)](),this[e(474)]=t[e(301)],this[e(375)]=t[e(380)];for(const n in t[e(469)]){const s=t[e(469)][n][e(481)],r=A(t[e(469)][n][e(239)])||{},o=i[e(446)](t[e(469)][n][e(507)]);o[e(309)]=n,o[e(305)]=!s||!s[e(516)],o[e(516)]=()=>o[e(305)],this[e(358)][e(409)](n,o),this[e(295)][e(409)](n,r),s&&this[e(379)][e(409)](n,s);const a=this[e(213)](o);this[e(386)][e(409)](n,a);for(const[t,i]of o[e(523)]){if(!t[e(221)](e(412)))continue;const n=t[e(300)](":")[2];for(const t of i[e(316)]({singleCharacters:!0})){const i=this[e(214)](t),s=e(315)==t[e(369)]?t[e(431)][e(219)][e(466)](0,-1):t[e(431)][e(219)],r=a[e(222)](s)[e(443)](i);this[e(499)][e(409)](r,{userId:n})}}}this[e(307)]=this[e(371)];const n=[...Array(this[e(371)])[e(376)]()][e(466)](1)[e(343)](t=>!this[e(499)][e(236)](t));let s=0;const r=new Map;for(const o in t[e(469)]){const a=t[e(469)][o][e(481)],c=A(t[e(469)][o][e(277)])||{},u=i[e(446)](t[e(469)][o][e(354)]);u[e(309)]=o,u[e(305)]=!a||a[e(516)],u[e(516)]=()=>u[e(305)],this[e(258)][e(409)](o,u),this[e(385)][e(409)](o,c);const l=this[e(213)](u,Number[e(399)]);this[e(312)][e(409)](o,l),r[e(409)](o,u[e(516)]()?c:{});for(const[t,i]of u[e(523)]){if(!t[e(221)](e(412)))continue;const n=t[e(300)](":")[2];for(const t of i[e(316)]({singleCharacters:!0})){const i=this[e(214)](t),s=this[e(371)]++,r=e(315)==t[e(369)]?t[e(431)][e(219)][e(466)](0,-1):t[e(431)][e(219)];l[e(222)](r)[e(282)](i,s),this[e(499)][e(409)](s,{userId:n})}}for(const t of this[e(448)][e(318)][e(420)](u)[e(316)]({singleCharacters:!0})){const i=this[e(214)](t),r=e(315)==t[e(369)]?t[e(431)][e(219)][e(466)](0,-1):t[e(431)][e(219)],o=l[e(222)](r);o[e(443)](i)>0||o[e(282)](i,n[s++])}for(const[t,i]of u[e(523)])t[e(221)](e(412))||this[e(383)][e(409)](t,i)}const o=kt(e(215));this[e(358)][e(409)](e(215),o),this[e(386)][e(409)](e(215),this[e(213)](o,1));const a=kt(e(215));this[e(258)][e(409)](e(215),a),this[e(312)][e(409)](e(215),this[e(213)](a,1));const c=Array[e(218)](this[e(258)])[e(432)](([t,e])=>[t,yt(e)]);this[e(509)](this[e(375)],c,this[e(383)],r)}[ft(359)](){const t=ft;this[t(454)](),this[t(474)]=-1,this[t(375)]=-1,this[t(251)][t(391)](),this[t(502)](this[t(435)])}[ft(509)](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(409)](t,{start:e[s(404)][s(223)](),end:e[s(406)][s(223)](),rootName:e[s(501)][s(309)]});this[s(251)][s(409)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(445)](t){const e=ft;this[e(251)][e(519)](t)}[ft(454)](){const t=ft;this[t(499)][t(391)](),this[t(244)][t(391)](),this[t(379)][t(391)](),this[t(258)][t(391)](),this[t(385)][t(391)](),this[t(358)][t(391)](),this[t(295)][t(391)](),this[t(312)][t(391)](),this[t(386)][t(391)](),this[t(383)][t(391)](),this[t(371)]=1,this[t(307)]=this[t(371)]}[ft(213)](t,e=null){const i=ft;let n=null;t.is(i(345))||(n=new X.ModelElement(t[i(433)],{vid_start:null===e?this[i(371)]++:e++}));const s=[];for(const n of t[i(362)]())if(n.is(i(414))){s[i(249)](this[i(213)](n,e));const t=s[s[i(260)]-1];null!==e&&(e=t.is(i(414),i(397))?t[i(443)](i(217))+1:t[i(443)](i(428))+1)}else for(let t=0;t<n[i(310)];t++)s[i(249)](new X.ModelElement(i(397),{vid:null===e?this[i(371)]++:e++}));if(t.is(i(345))){const e=kt(t[i(309)]);return e[i(281)](0,s),e}return n[i(282)](i(428),null===e?this[i(371)]++:e++),n[i(281)](0,s),n}[ft(322)](t,e,i){const n=ft;this[n(454)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(251)][n(471)](t);this[n(358)]=new Map(s),this[n(295)]=new Map(A(o));for(const[t,e]of this[n(358)])if(n(215)!==t&&(this[n(258)][n(409)](t,yt(e)),this[n(385)]=new Map(A(o)),i)){const i=this[n(371)];this[n(312)][n(409)](t,this[n(213)](e)),this[n(386)][n(409)](t,this[n(213)](e,i))}this[n(307)]=this[n(371)],this[n(258)][n(409)](n(215),yt(this[n(358)][n(471)](n(215)))),i&&this[n(312)][n(409)](n(215),this[n(213)](this[n(358)][n(471)](n(215))));for(const[t,e]of r){const i=this[n(358)][n(471)](e[n(309)]),s=this[n(258)][n(471)](e[n(309)]),r=new X.ModelRange(this[n(429)](e[n(404)],i),this[n(429)](e[n(406)],i)),o=this[n(254)](r,s);i[n(523)][n(409)](t,r),this[n(383)][n(409)](t,o)}this[n(464)](t,e,i)}[ft(464)](t,e,i){const n=ft;for(const s of this[n(435)][n(341)](t,e))this[n(323)](s,i);for(const t of this[n(258)][n(459)]())t[n(523)][n(391)]();for(const[t,e]of this[n(383)])this[n(258)][n(471)](e[n(501)][n(309)])[n(523)][n(409)](t,e[n(223)]());const s=new Map,r=new Map;for(const[t,e]of this[n(258)])s[n(409)](t,yt(e)),r[n(409)](t,this[n(385)][n(471)](t));this[n(509)](e,s,this[n(383)],r)}[ft(410)](t){const e=ft,i=Array[e(218)](this[e(251)][e(376)]());i[e(511)]((t,e)=>t-e),i[e(262)]();for(const e of i)if(e<t)return e;return Number[e(399)]}[ft(494)](t,e){const i=ft,n=Array[i(218)](e[i(523)])[i(432)](([e,n])=>[e,this[i(254)](n,t)]);t[i(523)]=new Map(n)}[ft(367)](t){const e=ft;for(const i of this[e(383)][e(459)]()){const n=i[e(208)](t),s=X.ModelRange[e(493)](n);i[e(404)]=s[e(404)],i[e(406)]=s[e(406)]}}[ft(323)](t,e){const i=ft;if(i(330)!=t[i(369)]&&i(457)!=t[i(369)]){if(i(233)==t[i(369)]){const n=t[i(360)][i(501)][i(309)];this[i(258)][i(236)](n)||(this[i(258)][i(409)](n,kt(n,!0)),this[i(385)][i(409)](n,{}),e&&this[i(312)][i(409)](n,kt(n,!0)))}else{if(i(347)==t[i(369)]||i(256)==t[i(369)]||i(243)==t[i(369)])return void this[i(418)](t);i(415)==t[i(369)]&&this[i(374)](t)}if(i(415)!==t[i(369)]){const e=this[i(463)](t,this[i(258)]);e[i(357)](),this[i(367)](e)}if(e)switch(t[i(369)]){case i(233):this[i(400)](t);break;case i(294):case i(314):case i(356):this[i(250)](t);break;case i(329):this[i(366)](t);break;case i(300):this[i(350)](t)}}else this[i(424)](t,e)}[ft(463)](t,e){const i=ft,n=t[i(223)]();return n[i(276)]=t[i(276)],this[i(398)](n,e),n}[ft(467)](t){const e=ft;return t[e(432)](t=>{const i=e,n=this[i(214)](t);return Number(t[i(229)][i(443)](n))})}[ft(503)](t,e){const i=ft;if(t.is(i(414),i(397)))e[i(249)]({item:t,type:i(210)});else{t.is(i(414))&&e[i(249)]({item:t,type:i(207)});for(const n of t[i(362)]())this[i(503)](n,e);t.is(i(414))&&e[i(249)]({item:t,type:i(315)})}return e}[ft(447)](){const t=ft,e=new Map(this[t(499)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(358)][t(376)](),...this[t(258)][t(376)]()]);a[t(519)](t(215));for(const e of a){const i=this[t(258)][t(471)](e)||kt(e,!1),n=this[t(358)][t(471)](e)||kt(e,!1);i[t(516)]()||n[t(516)]()?(s[t(354)][e]=yt(i),s[t(507)][e]=yt(n),this[t(494)](s[t(507)][e],n),this[t(494)](s[t(354)][e],i),r[t(354)][e]=this[t(503)](this[t(312)][t(471)](e),[]),r[t(507)][e]=this[t(503)](this[t(386)][t(471)](e)||kt(e,!1),[])):a[t(519)](e)}for(const s of a){const o=r[t(354)][s];for(const s of o){const r=this[t(214)](s),o=s[t(229)][t(443)](r);i[t(519)](o),o>=this[t(307)]&&n[t(409)](o,e[t(471)](o))}}for(const s of a){const a=r[t(354)][s],c=this[t(467)](r[t(507)][s]);let u=0;for(const s of a){const r=this[t(214)](s),a=s[t(229)][t(443)](r);if(!n[t(236)](a)&&!o[t(236)](a))if(i[t(236)](a))u++;else{if(a!=c[u]){const n=e[t(471)](a)||e[t(471)](c[u]);for(;a!=c[u];)i[t(236)](c[u])||(o[t(409)](c[u],n),e[t(409)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(354)][e];for(const e of s){const s=this[t(214)](e),r=e[t(229)][t(443)](s);if(o[t(236)](r)){const e=o[t(471)](r);i[t(236)](r)||i[t(409)](r,{...e}),n[t(409)](r,{...e})}}}for(const e of i[t(376)]())e>=this[t(307)]&&i[t(519)](e);const c=new Map;for(const e of a){let s=r[t(354)][e];for(const e of s)if(e[t(229)].is(t(414),t(363))){const i=this[t(214)](e),s=e[t(229)][t(443)](i);if(n[t(236)](s)){const i=e[t(229)][t(280)][t(280)][t(443)](t(440)),r=c[t(471)](i)||new Set;r[t(449)](n[t(471)](s)[t(477)]),c[t(409)](i,r)}}s=r[t(507)][e];for(const e of s)if(e[t(229)].is(t(414),t(363))){const n=this[t(214)](e),s=e[t(229)][t(443)](n);if(i[t(236)](s)){const n=e[t(229)][t(280)][t(280)][t(443)](t(440)),r=c[t(471)](n)||new Set;r[t(449)](i[t(471)](s)[t(477)]),c[t(409)](n,r)}}for(const e of c[t(376)]())(n[t(236)](e)||i[t(236)](e))&&c[t(519)](e)}for(const e of a){const s=r[t(354)][e];let o=null,a=null;for(const e of s){const s=this[t(214)](e),r=e[t(229)][t(443)](s),u=c[t(471)](r);u&&t(207)==e[t(369)]&&(o=Array[t(218)](u)[0],a=e[t(229)][t(443)](t(428))),o&&(i[t(409)](r,{userId:o}),n[t(409)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(507)][e],a=s[t(354)][e];for(const{userId:e}of this[t(244)][t(459)]())null!==e&&l[t(449)](e);for(const{userId:e}of this[t(379)][t(459)]())null!==e&&l[t(449)](e);this[t(319)](a,r[t(354)][e],n,t(275),l),this[t(319)](o,r[t(507)][e],i,t(228),l),u[e]={insertions:this[t(508)](a),deletions:this[t(508)](o),attachChange:this[t(379)][t(471)](e)||null,attributesBefore:A(this[t(295)][t(471)](e))||{},attributesAfter:A(this[t(385)][t(471)](e))}}return{diffData:u,authorsIds:Array[t(218)](l)}}[ft(234)](t){const e=ft;for(const[,i]of t[e(523)]){const t=i[e(404)][e(257)]()[e(343)](t=>e(363)==t[e(433)]);for(const i of t)1==i[e(349)]&&i[e(321)](0).is(e(414),e(416))&&i[e(321)](0)[e(282)](e(328),!0)}}[ft(508)](t){const e=ft;this[e(234)](t);const i=this[e(448)][e(348)][e(504)](t,{}),n=Array[e(218)](i[e(362)]())[e(432)](t=>this[e(271)](t));return JSON[e(340)](n)}[ft(271)](t){const e=ft;if(t.is(e(397)))return t[e(348)];{const i=this[e(448)][e(389)][e(471)](e(381)),n=t,s=this[e(448)][e(348)][e(227)][e(497)],r={type:i[e(427)](n),name:n[e(433)],attributes:Array[e(218)](n[e(436)]()),children:Array[e(218)](n[e(362)]())[e(432)](t=>this[e(271)](t))};if(t.is(e(526))&&e(351)!=t[e(433)]){const i=t[e(252)](s[e(311)],s);r[e(246)][e(249)](i[e(506)])}else if(t.is(e(413))){const i=s[e(311)][e(303)](n[e(433)]);t[e(252)](i,s),r[e(246)][e(249)](i[e(482)])}const o=Array[e(218)](n[e(472)]());o[e(260)]>0&&(r[e(289)]=o);const a=n[e(468)]();return null!==a&&(r[e(394)]=a),r}}[ft(319)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(448)][r(318)];for(let n=0;n<e[r(260)];n++){const s=this[r(214)](e[n]),c=e[n][r(229)][r(443)](s),h=i[r(471)](c),d=n==e[r(260)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(477)]!=o[r(477)])&&(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(477)],d=l(412)+n+":"+h+":"+c++,f=u[l(259)](i,a);t[l(523)][l(409)](d,f),null!==h&&s[l(449)](h)}}[ft(214)](t){const e=ft;switch(t[e(369)]){case e(207):return e(440);case e(315):return e(428);default:return e(217)}}[ft(398)](t,e){const i=ft;t[i(278)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(471)](s[i(501)][i(309)]);t[n]=this[i(429)](s,r)}if(s instanceof X.ModelRange){const r=e[i(471)](s[i(501)][i(309)]);t[n]=this[i(254)](s,r)}i(501)===n&&(t[i(501)]=e[i(471)](t[i(501)][i(309)]))}}[ft(254)](t,e){const i=ft;return this[i(448)][i(318)][i(259)](this[i(429)](t[i(404)],e),this[i(429)](t[i(406)],e))}[ft(429)](t,e){const i=ft;return this[i(448)][i(318)][i(240)](e,t[i(219)],t[i(524)])}[ft(400)](t){const e=ft,i=this[e(312)][e(471)](t[e(360)][e(501)][e(309)]),n=this[e(429)](t[e(360)],i),s=null===t[e(276)]?null:t[e(276)]||this[e(448)][e(389)][e(471)](e(298)).me.id,r=n[e(280)],o=this[e(371)],a=[];for(const i of t[e(342)])if(i.is(e(414)))a[e(249)](this[e(213)](i));else for(let t=0;t<i[e(310)];t++)a[e(249)](new X.ModelElement(e(397),{vid:this[e(371)]++}));const c=this[e(371)];for(let t=o;t<c;t++)this[e(499)][e(409)](t,{userId:s});r[e(281)](n[e(407)],a)}[ft(250)](t){const e=ft;(t=this[e(463)](t,this[e(312)]))[e(357)]();const i=null===t[e(276)]?null:t[e(276)]||this[e(448)][e(389)][e(471)](e(298)).me.id,n=t[e(441)](),s=n[e(280)],r=n[e(407)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(321)](e);r.is(a(414),a(397))?n[a(409)](r[a(443)](a(217)),{userId:i}):(n[a(409)](r[a(443)](a(440)),{userId:i}),t(n,r,0,r[a(349)]),n[a(409)](r[a(443)](a(428)),{userId:i}))}}(this[e(499)],s,r,r+t[e(216)])}[ft(366)](t){const e=ft,i=null===(t=this[e(463)](t,this[e(312)]))[e(276)]?null:t[e(276)]||this[e(448)][e(389)][e(471)](e(298)).me.id,n=t[e(209)][e(280)],s=t[e(333)][e(280)],r=n[e(443)](e(428)),o=s[e(443)](e(440));n[e(282)](e(428),s[e(443)](e(428))),s[e(282)](e(428),r),this[e(499)][e(409)](o,{userId:i}),this[e(499)][e(409)](r,{userId:i}),t[e(357)]()}[ft(350)](t){const e=ft,i=null===(t=this[e(463)](t,this[e(312)]))[e(276)]?null:t[e(276)]||this[e(448)][e(389)][e(471)](e(298)).me.id,n=t[e(525)],s=t[e(408)][e(280)];t[e(357)]();const r=s[e(443)](e(428)),o=t[e(450)][e(378)];if(n){const t=o[e(443)](e(428)),n=s[e(443)](e(428));s[e(282)](e(428),t),o[e(282)](e(428),n),this[e(499)][e(409)](s[e(443)](e(428)),{userId:i}),this[e(499)][e(409)](o[e(443)](e(440)),{userId:i})}else{const t=this[e(371)]++,n=this[e(371)]++;s[e(282)](e(428),t),o[e(282)](e(440),n),o[e(282)](e(428),r),this[e(499)][e(409)](t,{userId:i}),this[e(499)][e(409)](n,{userId:i})}}[ft(374)](t){const e=ft;if(!t[e(247)])return;const i=(t=this[e(463)](t,this[e(258)]))[e(292)]?t[e(292)][e(501)]:null,n=t[e(513)]?t[e(513)][e(501)]:null;i&&this[e(383)][e(519)](t[e(433)]),n&&this[e(383)][e(409)](t[e(433)],t[e(513)][e(223)]());const s=null===t[e(276)]?null:t[e(276)]||this[e(448)][e(389)][e(471)](e(298)).me.id,r=t[e(433)];if(!this[e(244)][e(236)](r))return void this[e(244)][e(409)](r,{range:t[e(292)],userId:s});const o=this[e(244)][e(471)](r),a=o[e(352)],c=t[e(513)];null==a&&null==c||a&&c&&a[e(495)](c)?this[e(244)][e(519)](t[e(433)]):o[e(477)]=s}[ft(424)](t,e){const i=ft;this[i(258)][i(236)](t[i(309)])?this[i(258)][i(471)](t[i(309)])[i(305)]=t[i(512)]:(this[i(258)][i(409)](t[i(309)],kt(t[i(309)],!0)),this[i(385)][i(409)](t[i(309)],{}),e&&this[i(312)][i(409)](t[i(309)],kt(t[i(309)],!0)));const n=null===t[i(276)]?null:t[i(276)]||this[i(448)][i(389)][i(471)](i(298)).me.id,s=this[i(379)][i(471)](t[i(309)]);s&&s[i(477)]===n?this[i(379)][i(519)](t[i(309)]):this[i(379)][i(409)](t[i(309)],{userId:n,isAttached:t[i(512)]})}[ft(418)](t){const e=ft,i=this[e(385)][e(471)](t[e(501)][e(309)]);null===t[e(478)]?delete i[t[e(500)]]:i[t[e(500)]]=t[e(478)]}}function yt(t){const e=ft,i=kt(t[e(309)],t[e(516)]());for(const n of t[e(362)]()){const t=n[e(232)](!0);i[e(212)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(309)]=t,n[i(305)]=e,n[i(516)]=()=>n[i(305)],n}function bt(t,e,i){const n=ft,s=n(315)==t[n(369)]?i[n(253)](t[n(229)],n(406)):i[n(518)](t[n(229)]);return i[n(240)](e,s[n(219)],s[n(524)])}function wt(t,e,i){const n=ft,s=n(207)==t[n(369)]?i[n(253)](t[n(229)],0):i[n(465)](t[n(229)]);return i[n(240)](e,s[n(219)],s[n(524)])}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=["1621866CjVbtq","extendTemplate","revisionNameInputView","arrowright","trim","value","_createRevisionNameInput","ck-responsive-form","input","841656SHuYwH","42900lutTYx","220","form","arrowleft","add","focus","listenTo","2492427DhvHSb","initializeCssTransitionDisablerMixin","fieldView","render","optional","locale","11557674cUPKNB","errorText","814464VvxaCW","revisionNameInputValue","keystrokes","revisionName","arrowup","21KQfYOL","reset","arrowdown","Name of the revision","287468VKLckf","element","setTemplate","ck-revision-history-save-revision-form","label","stopPropagation","focusTracker","15nNqEah","set"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(493370===-parseInt(e(351))/1+-parseInt(e(366))/2+-parseInt(e(358))/3+parseInt(e(332))/4*(-parseInt(e(339))/5)+parseInt(e(341))/6*(parseInt(e(328))/7)+-parseInt(e(350))/8+parseInt(e(364))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(338)];[Lt(325)];[Lt(343)];constructor(e,i){const n=Lt;super(e),this[n(338)]=new t.FocusTracker,this[n(325)]=new t.KeystrokeHandler,this[n(340)](n(324),""),this[n(343)]=this[n(347)](i),this[n(334)]({tag:n(353),attributes:{class:["ck",n(335),n(348)],tabindex:"-1"},children:[this[n(343)]]}),this[n(359)]()}[Lt(361)](){const t=Lt;super[t(361)](),(0,It.submitHandler)({view:this}),this[t(338)][t(355)](this[t(343)][t(333)]),this[t(325)][t(357)](this[t(333)]);const e=e=>e[t(337)]();this[t(325)][t(340)](t(344),e),this[t(325)][t(340)](t(354),e),this[t(325)][t(340)](t(327),e),this[t(325)][t(340)](t(330),e)}[Lt(356)](){const t=Lt;this[t(343)][t(356)]()}get[Lt(326)](){const t=Lt;return this[t(343)][t(360)][t(333)][t(346)][t(345)]()}set[Lt(326)](t){const e=Lt;this[e(343)][e(360)][e(333)][e(346)]=t[e(345)]()}[Lt(329)](){const t=Lt;this[t(343)][t(360)][t(333)][t(346)]="",this[t(343)][t(365)]=null}[Lt(347)](t){const e=Lt,i=new It.LabeledFieldView(this[e(363)],It.createLabeledInputText),n=i[e(360)];n[e(342)]({attributes:{maxlength:e(352)}});let s=at(this[e(363)],e(331));return!t&&(s+=" ("+at(this[e(363)],e(362))+")"),i[e(336)]=s,n.on(e(349),()=>{const t=e;this[t(324)]=n[t(333)][t(346)][t(345)]()}),i}}const Wt=Zt;function Ht(){const t=["isPremiumPlugin","6SSzYbh","locale","Accept","pluginName","menu","errorText","panelView","isEnabled","editing","set","reset","revisionHistory.requireRevisionName","addMany","items","The revision name cannot be empty.","isReady","config","7101400SDVyXU","get","execute","showRevisionViewerCallback","revisionName","submit","_showDialog","revisionSave","revisionNameInputView","2adeWmV","_saveRevisionFormView","menuitem","RevisionTracker","294268yxJMfR","_createSaveRevisionFormView","Cancel","369MgqnxM","saveRevision","Dialog","editor","componentFactory","render","isReadOnly","hide","bind","Open revision history","1204224eIsHcV","isOfficialPlugin","496295snpGgB","936624WjSNMZ","revisionHistory","init","isOpen","buttonView","plugins","10408AdLUzV","_registerMenuComponent","Save current revision","menuBar:revisionHistory","view","role","requires","show","546812CJIPnc","Revision history","focus","ck-button-action","add","RevisionHistoryUI","children","delegate"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=232]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(160428===parseInt(e(281))/1*(parseInt(e(277))/2)+-parseInt(e(297))/3+-parseInt(e(294))/4+-parseInt(e(296))/5*(parseInt(e(251))/6)+-parseInt(e(242))/7+parseInt(e(234))/8*(-parseInt(e(284))/9)+parseInt(e(268))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Wt(254)](){return Wt(247)}static get[Wt(295)](){return!0}static get[Wt(250)](){return!0}static get[Wt(240)](){return[vt]}[Wt(278)];[Wt(299)](){const t=Wt,e=this[t(287)],i=e[t(233)][t(269)](t(280));e.ui[t(288)][t(246)](t(298),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(257)][s(248)],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(292)](s(258)).to(i,s(266),i,s(258),e,s(290),(t,e,i)=>t&&e&&!i),r[s(232)][s(260)]({icon:_t.IconHistory,label:at(n,s(243)),tooltip:!0}),u[s(260)]({label:at(n,s(236)),withText:!0,role:s(279)}),u[s(292)](s(258)).to(i,s(266),i,s(258),e,s(290),(t,e,i)=>t&&e&&!i),u.on(s(270),()=>this[s(274)]()),h[s(260)]({label:at(n,s(293)),withText:!0,role:s(279)}),h[s(292)](s(258)).to(i,s(266),e,s(290),(t,e)=>t&&!e),h.on(s(270),()=>{const t=s;e[t(267)][t(269)](t(298))[t(271)](),r[t(300)]=!1,e[t(259)][t(238)][t(244)]()}),c[s(248)][s(246)](u),l[s(248)][s(246)](h),a[s(239)]=s(255),a[s(264)][s(263)]([c,l]),o[s(246)](a),r}),e.ui[t(288)][t(246)](t(237),()=>this[t(235)]())}[Wt(235)](){const t=Wt,e=this[t(287)],i=e[t(252)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(232)][t(260)]({icon:_t.IconHistory,label:at(i,t(243))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(260)]({label:at(i,t(236))}),o[t(249)](t(270)).to(n),o.on(t(270),()=>{this[t(274)]()}),r[t(248)][t(246)](o),s[t(264)][t(246)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(260)]({label:at(i,t(293))}),c[t(249)](t(270)).to(n),c.on(t(270),()=>{const i=t;e[i(267)][i(269)](i(298))[i(271)]()}),a[t(248)][t(246)](c),s[t(264)][t(246)](a),n[t(257)][t(248)][t(246)](s),n}[Wt(274)](){const t=Wt,e=this[t(287)],i=e[t(252)],n=e[t(233)][t(269)](t(286)),s=e[t(233)][t(269)](t(280));function r(s){const r=t;e[r(267)][r(269)](r(262))&&""===s[r(272)]?s[r(276)][r(256)]=at(i,r(265)):(e[r(233)][r(269)](vt)[r(285)]({name:s[r(272)]}),n[r(291)]())}this[t(278)]||(this[t(282)](),this[t(278)].on(t(273),()=>r(this[t(278)]))),this[t(278)][t(261)](),n[t(241)]({id:t(275),title:at(i,t(236)),isModal:!0,content:this[t(278)],actionButtons:[{label:at(e[t(252)],t(283)),withText:!0,onExecute:()=>n[t(291)]()},{label:at(e[t(252)],t(253)),class:t(245),withText:!0,onCreate(i){const n=t;i[n(292)](n(258)).to(s,n(266),s,n(258),e,n(290),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(278)])}]})}[Wt(282)](){const t=Wt,e=this[t(287)],i=e[t(252)];this[t(278)]=new Ut(i,e[t(267)][t(269)](t(262))),this[t(278)][t(289)]()}}const $t=Yt;function Bt(){const t=["setTemplate","16910TivwSX","name","add","5IssKTh","changeId","Removed by","data","type","1181605mbvRCa","isSuggestion","49514NXrUuL","ck-revision-change__","135513USGSyr","Added by","set","_model","ck-annotation","ck-revision-change__label","8wpjfgo","span","3548916TQsDbW","183300BjCzFj","bindTemplate","4382ickxbw","element","654GlpzRl","473XkQLvP","focus","ck-revision-change","Suggested by","div","author","32OFsFfM"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(121856===-parseInt(e(279))/1*(-parseInt(e(252))/2)+parseInt(e(263))/3*(parseInt(e(260))/4)+parseInt(e(250))/5+-parseInt(e(267))/6*(-parseInt(e(265))/7)+parseInt(e(274))/8*(-parseInt(e(254))/9)+parseInt(e(276))/10*(-parseInt(e(268))/11)+-parseInt(e(262))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(280)];[$t(257)];constructor(t,e){const i=$t;super(t),this[i(257)]=e,this[i(280)]=e.id;const n=this[i(264)],s=at(t,e[i(282)][i(251)]?i(271):i(278)==e[i(283)]?i(255):i(281));this[i(256)](i(283),e[i(283)]),this[i(275)]({tag:i(272),attributes:{class:[i(258),i(270),n.to(i(283),t=>i(253)+t)],tabindex:-1},children:[{tag:i(261),children:[{tag:i(261),attributes:{class:[i(259)]},children:[{text:s}]},{text:" "+e[i(273)][i(277)]}]}]})}[$t(269)](){const t=$t;this[t(266)][t(269)]()}}function Gt(){var t=["3398440SQPaBF","13149MJzhph","author","set","data","toJSON","39tbBcUm","223972WxfmzG","5972316KoxBrJ","4281336qVldWN","37530JZmbvl","createdAt","rootName","12LliwMD","555817vbPMwq","9028068gfiAOU","type"];return(Gt=function(){return t})()}var Kt=Xt;function Xt(t,e){var i=Gt();return(Xt=function(t,e){return i[t-=113]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(976120===parseInt(e(127))/1+parseInt(e(120))/2*(-parseInt(e(119))/3)+-parseInt(e(121))/4+-parseInt(e(113))/5*(parseInt(e(126))/6)+-parseInt(e(128))/7+parseInt(e(122))/8+parseInt(e(114))/9*(parseInt(e(123))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(115)];[Kt(129)];[Kt(117)];[Kt(125)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(115)]=e[i(115)],this[i(129)]=e[i(129)],this[i(117)]=e[i(117)]||{},this[i(125)]=e[i(125)],this[i(116)](i(124),e[i(124)])}[Kt(118)](){var t=Kt;return{id:this.id,authorId:this[t(115)].id,type:this[t(129)],data:this[t(117)],createdAt:this[t(124)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=326]})(t,e)}const ee=te;function ie(){const t=["21LzhDLZ","10HzQpwD","194708KDUlEZ","add","4140496GwdJIk","changes","newRevisionId","1904192cljxbk","4722132IzcCcp","1217523WKEYRO","2694492WpLTkA","15091020JOdAjU","15lbQOAy","_setChanges","oldRevisionId"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(949269===parseInt(e(333))/1+-parseInt(e(326))/2*(-parseInt(e(336))/3)+parseInt(e(331))/4+-parseInt(e(340))/5*(parseInt(e(332))/6)+-parseInt(e(339))/7*(-parseInt(e(328))/8)+parseInt(e(334))/9+-parseInt(e(335))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[ee(330)];[ee(338)];[ee(329)];constructor(e,i){const n=ee;this[n(330)]=e,this[n(338)]=i,this[n(329)]=new t.Collection}[ee(337)](t){const e=ee;for(const i of t)this[e(329)][e(327)](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=ce;function ae(){const t=["isReady","markerRange","_findChangeIdFromDomTarget","_fixObsoleteTags","mousedown","activeView","_joinTapes","authors","_makeTape","startIndex","pluginName","258832RNhhrK","revision-suggestion","length","getRootNames","refresh","change:activeView","endIndex","for","abs","isCollapsed","addHighlight","enableReadOnlyMode","editing","RevisionHistoryUtils","commands","listenTo","_initInteractions","isBefore","destroy","addRoot","remove","elementEnd","left","comment","rootName","436877RvXtID","locale","suggestion:","map","data-change-id","model","_markMismatchedRemovedTags","modelRange","pop","_refreshStartEndIndex","oldRevisionId","addMarker:revision-suggestion:deletion","attributes","getChild","_changeView","isEqual","activeChange","editor","writer","markers","suggestion","from","selection","clear","level","_removeMissingPairs","getRevisionDocumentData","_setChanges","upcast","downcastDispatcher","loadRevisionData","change","ck-suggestion-marker-split","merge","shift","getIndex","createPositionBefore","attribute:vid","_markInsertions","POSITIVE_INFINITY","all","splice","detachRoot","elementToAttribute","offsetSize","isAddSuggestion","_activeViewTarget","deletions","target","isObject","showPreviousChange","_processTape","keys","createRangeIn","domConverter","values","RevisionsRepository","start","diff","_update","restoreRevisionCallback","ck-suggestion-marker-","addRevision","checkAttribute","nextPosition","getAttribute","flat","schema","getClientRects","includes","getAttributes","isBlock","isInline","ck-suggestion-marker--active","_cleanUp","ck-suggestion-preview-marker","markersStart","enqueueChange","addRevisionData","diffData","view","createRange","index","startsWith","end","newRevisionId","getRevisionRootsAttributes","object","isAtStart","showNextChange","getRevision","getItems","unbindElementFromMarkerName","change:activeChange","dataToMarker","findIndex","error","parent","consume","createAttributeElement","execute","getCustomProperty","createRevision","isNavigationMode","5312493IpRvvT","low","get","conversion","set","change:isEnabled","side","insertion","getWalker","type","catch","bottom","removeAttribute","hasAttribute","ck-editor__editable__overlay","showStack","string","isAtEnd","revision-viewer","_balloon","high","add","ck-revision-history-root-","sort","_appendChild","isContent","slice","ck-revision-history-root--active","data","isRemoved","name","forward","vid_start","removeMarker:revision-suggestion","previousPosition","revisionHistory","unshift","config","elementStart","isOfficialPlugin","_markSuggestions","highest","compare","pairId","21XSVYoa","addClass","has","markerToData","consumable","_threeWayMerge","adapter","filter","isRemoveSuggestion","deletion","element","markerToHighlight","revision","isAdded","bind","removeMarker:revision","insertions","changes","forEach","isAttached","hasClass","createPositionFromPath","_getChangeFromId","bindElementToMarker","init","return","_step","indexOf","revision-comment:","getLaterVisibleRevision","_makeModelFromTape","currentChangeNumber","16OqLvjq","setAttribute","stop","insert","_data","numberOfChanges","attributesAfter","_setDistance","_markMarkers","userId","plugins","addMarker:revision","toViewElement","nodeAfter","softBreak","span","getRoot","removeMarker","toViewPosition","vid_end","116252AoAuio","createUIElement","backward","split","forceDisabled","removeClass","isLimit","isSuggestion","_sortAndFilterDiffChanges","find","_makeModelFromViewString","next","ck-revision-history-root-remove","wrap","isEnabled","updatePosition","_utils","isPremiumPlugin","element:pre","ck-suggestion-marker-merge","roots","markerName","_changeIdToChange","isAfter","reconvertMarker","_getViewForChange","_setConversion","done","attachChange","RevisionViewer","range","_getDiff","_getRevisionsRange","revisionHistoryAttachChange","addMarker:revision-suggestion:insertion","-new","vid","markersEnd","mouseover","change:isReady","413205vbuuNK","markerNameToElements","item","WidgetToolbarRepository","concat","requires","document","repository","nextSibling","observeMarkers","then","mapViewToDom","getDomRoot","domEvent","298236mXZEME","ck-revision-history-root-add","revision:","_cleanMarkers","revision-suggestion:","ck-suggestion-marker","test","affectsData","code","uiElement","restoreRevision","attributesBefore","isIncorrect","ck-suggestion-preview-marker-","push","isOnRoot","revisionHistoryLabel","mapper","_revisions","distance","dataDowncast","text","change:numberOfChanges","editingDowncast","changeId","delete","maxOffset","top","resolve","_removeUnsupportedChanges","123714TXMZaV","viewItem","right","toViewRange","first"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=354]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(123965===parseInt(e(397))/1+-parseInt(e(413))/2+-parseInt(e(586))/3*(parseInt(e(638))/4)+-parseInt(e(678))/5+-parseInt(e(367))/6+-parseInt(e(438))/7*(parseInt(e(618))/8)+parseInt(e(542))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(360)];[oe(592)]=null;[oe(654)];[oe(484)];[oe(452)];[oe(660)];[oe(561)];static get[oe(412)](){return oe(667)}static get[oe(581)](){return!0}static get[oe(655)](){return!0}static get[oe(358)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(360)]=this[e(455)][e(628)][e(544)](e(494)),this[e(654)]=this[e(455)][e(628)][e(544)](e(426)),this[e(546)](e(454),null),this[e(546)](e(407),null),this[e(484)]=null,this[e(546)](e(496),null),this[e(546)](e(402),!1),this[e(546)](e(652),!0),this.on(e(547),(t,i,n)=>{const s=e;this[s(454)]=null,this[s(407)]=null,this[s(455)][s(425)][s(518)][s(469)](t=>{const e=s;for(const i of this[e(455)][e(425)][e(518)][e(359)][e(658)])n?t[e(643)](e(556),i):t[e(587)](e(556),i)})}),this[e(600)](e(541)).to(this,e(454),t=>null!==t),this[e(600)](e(617)).to(this,e(402),this,e(496),this,e(454),(t,i,n)=>t&&n?i[e(603)][e(473)](n):0),this[e(600)](e(623)).to(this,e(402),this,e(496),(t,i)=>t?i[e(603)][e(415)]:0),this[e(452)]=null,this[e(660)]=new Map,this[e(561)]=this[e(455)][e(628)][e(544)](It.ContextualBalloon)}[oe(610)](){const t=oe,e=this[t(455)],i=new de(e,{direction:t(640)}),n=new de(e,{direction:t(573)});e[t(427)][t(563)](t(488),i),e[t(427)][t(563)](t(527),n),e[t(427)][t(563)](t(377),new he(e)),this.on(t(389),()=>{const e=t;i[e(417)](),n[e(417)]()}),this[t(664)](),this[t(429)](),e[t(424)](t(560)),e[t(628)][t(588)](t(356))&&e[t(628)][t(544)](t(356))[t(642)](t(560))}async[oe(464)](t){const e=oe;return await this[e(654)][e(468)](t,this[e(592)]),this[e(654)][e(464)](t)}async[oe(524)](t){const e=oe;return await this[e(654)][e(468)](t,this[e(592)]),this[e(654)][e(524)](t)}async[oe(584)](t,e,i=!1){const n=oe;if(!this[n(652)])return;const s=this[n(496)],r=this[n(360)],o=n(558)==typeof t?r[n(528)](t):t,a=n(558)==typeof e?r[n(528)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(496)]&&this[n(496)][n(523)]===c&&this[n(496)][n(448)]===u)return Promise[n(395)]();this[n(402)]=!1,this[n(407)]=null,this[n(454)]=null,this[n(496)]=new ne(c,u);const l=this[n(670)](o,a,!0)[n(441)](t=>this[n(654)][n(468)](t,this[n(592)]));return l[n(381)](new Promise(t=>{setTimeout(t,20)})),Promise[n(478)](l)[n(363)](()=>{const t=n;if(!this[t(652)])return;this[t(512)]();const e=this[t(669)](c,u);for(const i of e[t(603)])this[t(660)][t(546)](i.id,i);this[t(455)][t(443)][t(515)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(455)][n(443)][n(359)][n(416)]())i[n(480)](t);for(const t of Object[n(490)](e[n(443)])){const s=i[n(432)](t);for(const r of Object[n(490)](e[n(450)][t]))i[n(619)](r,e[n(450)][t][r],s);i[n(621)](e[n(443)][t],s,0)}}),this[t(496)][t(465)](this[t(646)](e[t(603)])),this[t(402)]=!0})[n(552)](t=>{const e=n;console[e(534)](t),this[e(512)](),s&&(this[e(496)]=s),this[e(402)]=!0})}[oe(516)](t,e){const i=oe,n=this[i(360)][i(540)](t);return n.on(i(497),(t,i,s)=>e(i,s,n)),this[i(360)][i(500)](n),n}[oe(512)](){const t=oe;this[t(454)]=null,this[t(370)](),this[t(452)]&&this[t(452)][t(431)](),this[t(452)]=null,this[t(660)][t(461)](),this[t(455)][t(443)][t(515)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(455)][i(443)][i(359)][i(416)]())e[i(480)](t)})}[oe(646)](t){const e=oe,i=[],n=new Map;for(const t of this[e(455)][e(443)][e(359)][e(416)]()){const s=this[e(455)][e(425)][e(518)][e(365)](t);if(!s)continue;const r=s[e(506)]()[e(355)](0);r&&(i[e(381)](t),n[e(546)](t,r))}return i[e(565)]((t,i)=>{const s=e,r=n[s(544)](t),o=n[s(544)](i);return r.y-o.y||r.x-o.x}),(t=t[e(593)](t=>i[e(507)](t[e(437)])))[e(565)]((t,n)=>i[e(613)](t[e(437)])-i[e(613)](n[e(437)])),t}[oe(410)](t){const e=oe,i=Array[e(459)](t[e(457)])[e(593)](([t,i])=>t[e(521)](e(369))&&!i[e(422)]),n=Array[e(459)](this[e(455)][e(443)][e(491)](t)[e(550)]({singleCharacters:!0}));if(0!=i[e(415)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(641)](":");if(s[e(522)][e(453)](t[e(502)])&&i[e(472)](),(t[e(576)][e(453)](s[e(495)])||t[e(576)][e(661)](s[e(495)]))&&(e(549)==r?t[e(599)]={userId:o}:e(595)==r&&(t[e(571)]={userId:o})),0==i[e(415)])break}return n}[oe(447)](t){const e=oe,i=new Map;for(let n=0;n<t[e(415)];n++)e(388)===t[n][e(551)]?(t[n][e(355)][e(411)]=n,t[n][e(355)][e(419)]=n):(e(580)===t[n][e(551)]?t[n][e(355)][e(411)]=n:e(434)===t[n][e(551)]&&(t[n][e(355)][e(419)]=n),i[e(546)](t[n].id,n));for(const n of i[e(493)]())e(580)===t[n][e(551)]?t[n][e(355)][e(419)]=i[e(544)](t[n][e(585)]):e(434)===t[n][e(551)]&&(t[n][e(355)][e(411)]=i[e(544)](t[n][e(585)]))}[oe(489)](t){const e=oe;for(let i=0;i<t[e(415)];i++){if(e(580)===t[i][e(551)])t[i][e(355)][e(411)]=i;else if(e(434)===t[i][e(551)]){t[i][e(355)][e(419)]=i;const n=t[i][e(355)][e(411)];t[n][e(585)]=t[i].id,t[i][e(585)]=t[n].id}else t[i][e(355)][e(411)]=i,t[i][e(355)][e(419)]=i,t[i][e(585)]=null;t[i][e(514)]||(t[i][e(514)]=[],t[i][e(675)]=[])}}[oe(476)](t,e){const i=oe,n=t[i(593)](t=>!t[i(599)]);for(let t=0;t<e[i(415)];t++)e[t][i(599)]&&(n[t][i(599)]=e[t][i(599)])}[oe(669)](t,e=null){const i=oe,n=this[i(360)][i(528)](t),s=e?this[i(360)][i(528)](e):null,r=this[i(670)](n,s),o=r[r[i(415)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(415)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(490)](e[i(517)]))if(e[i(517)][t][i(666)]){const n=e[i(517)][t][i(666)];n[i(605)]?(u[i(563)](t),l[i(588)](t)&&l[i(544)](t)[i(627)]==n[i(627)]?l[i(392)](t):l[i(546)](t,n)):l[i(588)](t)?(u[i(392)](t),l[i(392)](t)):(u[i(563)](t),l[i(546)](t,n))}else u[i(563)](t)}for(const t of u){const e=l[i(588)](t)&&!l[i(544)](t)[i(605)];let n=e?r[i(415)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(517)][t]){const n=e?o[i(517)][t][i(378)]:o[i(517)][t][i(624)];c[i(450)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(443)]={};for(const e of t[i(409)])a[i(546)](e.id,e);for(const e of u){const n=t[i(517)][e]?t[i(517)][e][i(602)]:"[]",s=t[i(517)][e]?t[i(517)][e][i(485)]:"[]";t[i(443)][e]={insertions:this[i(654)][i(648)](n),deletions:this[i(654)][i(648)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(459)](n[i(443)][t][i(602)][i(457)])[i(593)](([t])=>!t[i(521)](i(369))));let h=0;for(const o of r){const r=this[i(410)](o[i(443)][t][i(602)]);o==n?(e=r,s=e[i(415)],e[i(604)](t=>{t.id=h++}),this[i(489)](e)):this[i(476)](e,r);const a=e[i(593)](t=>!t[i(599)])[i(441)](t=>t.id);let c=0;const l=this[i(410)](o[i(443)][t][i(485)]);l[i(604)](t=>{t[i(571)]?t.id=s++:t.id=a[c++]}),this[i(489)](l),this[i(625)](e,i(599)),this[i(625)](l,i(571)),o==n&&this[i(626)](e,u),e=this[i(408)](e,l),this[i(447)](e),this[i(625)](e,i(571))}e=e[i(593)](t=>!(t[i(599)]&&t[i(571)]));const d=new Map(o[i(443)][t][i(485)][i(457)]),f=new Set(u[i(490)]());for(const t of d[i(490)]())f[i(392)](t);this[i(582)](e,f),this[i(405)](e),e=this[i(463)](e),e=this[i(444)](e),e=this[i(396)](e);const{root:m,changes:p}=this[i(616)](e,a,t);c[i(443)][t]=m;const v=l[i(544)](t);if(v){const e=a[i(544)](v[i(627)]),n=new Qt({author:e,type:v[i(605)]?i(563):i(433),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(578)](n),c[i(450)][t][i(671)]=n.id}c[i(603)]=c[i(603)][i(357)](p)}return c}[oe(626)](t,e){const i=oe;for(let n=0;n<t[i(415)];n++)for(const[s,r]of e)!r[i(422)]&&r[i(495)][i(453)](t[n][i(576)])&&t[n][i(514)][i(381)](s),r[i(522)][i(453)](t[n][i(502)])&&t[n][i(675)][i(381)](s)}[oe(408)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(415)]||r<e[i(415)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(381)](o);else if(a[i(571)]&&o[i(599)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(591)](t,s,e,r);n=n[i(357)](o),s=a,r=c}else a[i(571)]?(r++,n[i(381)](a)):(s++,n[i(381)](o))}return n}[oe(582)](t,e){const i=oe,n=[];for(let o=0;o<t[i(415)];o++){for(let r=0;r<t[o][i(514)][i(415)];r++){const a=t[o][i(514)][r];if(!e[i(588)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(414)!=c||i(549)!=u&&i(595)!=u||(n[i(578)]({type:u,name:a,userId:l}),t[o][i(514)][i(479)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(675)][i(415)];r++){const a=t[o][i(675)][r];if(!e[i(588)](a))continue;const{group:c,type:u}=s(a);if(i(414)!=c||i(549)!=u&&i(595)!=u)continue;t[o][i(675)][i(479)](r,1),r--;const l=n[i(533)](t=>t[i(572)]==a);l>-1&&n[i(479)](l,1)}}function s(t){const e=i,n=t[e(641)](":");return{group:n[0],type:n[1],subType:n[e(415)]>=5?n[2]:null,id:n[e(415)]<5?n[2]:n[3],authorId:n[e(415)]<5?n[3]:n[4],markerCount:6==n[e(415)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(415)];i++){if(t[e(599)]&&e(549)==n[i][e(551)]&&t[e(599)][e(627)]==n[i][e(627)])return t[e(483)]=n[i],void delete t[e(599)];if(!t[e(599)]&&!t[e(571)]&&e(595)==n[i][e(551)])return void(t[e(594)]=n[i])}}}[oe(625)](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(546)](o.id,n);for(let n=0;n<t[i(415)];n++){if(i(571)==e&&t[n][i(599)]||i(599)==e&&t[n][i(571)])continue;if(i(388)==t[n][i(551)]){t[n][i(386)]=0;continue}const s=r[i(544)](t[n][i(585)]),o=r[i(544)](t[n].id);t[n][i(386)]=s-o}}[oe(670)](t,e,i=!1){const n=oe,s=[];let r=this[n(360)][n(473)](t),o=this[n(360)][n(473)](e);for(-1==o&&(o=this[n(360)][n(385)][n(415)],i=!1);r<o;)s[n(381)](this[n(360)][n(528)](r)),r++;return i&&s[n(381)](this[n(360)][n(528)](r)),s}[oe(591)](t,e,i,n){const s=oe,r=this[s(455)][s(443)][s(505)];let o=e;for(;t[o]&&t[o][s(599)];)o++;let a=n;for(;i[a]&&i[a][s(571)];)a++;u(t,e,o),u(i,n,a);const c=i[s(568)](n,a)[s(357)](t[s(568)](e,o));return c[s(565)]((t,e)=>t[s(548)]!=e[s(548)]?t[s(548)]-e[s(548)]:t[s(462)]!=e[s(462)]?t[s(462)]-e[s(462)]:t[s(386)]!=e[s(386)]?e[s(386)]-t[s(386)]:!!t[s(599)]!=!!e[s(599)]?-1==t[s(548)]||0==t[s(548)]?t[s(599)]?-1:1:t[s(599)]?1:-1:t[s(520)]-e[s(520)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(477)],c=!0;for(let s=e;s<i;s++)if(r[n(510)](t[s][n(355)])||(c=!1),t[s][n(355)][n(411)]<e&&(o=s),t[s][n(355)][n(419)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(548)]=s<=o?-1:s<a?0:1,t[s][n(520)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(386)]?t[i][n(462)]=u:(u++,t[i][n(462)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(548)]&&(t[s][n(462)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(386)]?t[e][n(462)]=u:(u--,t[e][n(462)]=u,u--)}}[oe(405)](t){const e=oe,i=new Map,n=this[e(455)][e(443)][e(505)];for(let s=1;s<t[e(415)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(388)==c[e(551)])continue;if(c[e(551)]!=u[e(551)])continue;if(!n[e(509)](u[e(355)])||n[e(644)](u[e(355)]))continue;if(!n[e(509)](c[e(355)])||n[e(644)](c[e(355)]))continue;if((t[s][e(599)]||t[s][e(483)])&&t[s-1][e(571)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(571)]||!t[s-1][e(599)]&&!t[s-1][e(483)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(462)]==o[e(462)],h=Math[e(421)](r[e(462)])<Math[e(421)](o[e(462)])&&0==o[e(386)];(l||h)&&(i[e(546)](o.id,r.id),t[e(479)](a,1),s--,r[e(599)]=!1)}for(let n=0;n<t[e(415)];n++)i[e(588)](t[n][e(585)])&&(t[n][e(585)]=i[e(544)](t[n][e(585)]))}[oe(463)](t){const e=oe,i=new Set(t[e(441)](t=>t.id));for(let n=0;n<t[e(415)];n++)i[e(588)](t[n][e(585)])||0==t[n][e(386)]||(t[n][e(379)]=!0);return t[e(593)](t=>!t[e(379)])}[oe(444)](t){const e=oe,i=new Set;for(let n=0;n<t[e(415)];n++){if(i[e(588)](t[n].id)&&t[n][e(571)]&&(t[n][e(379)]=!0),t[n][e(379)])continue;if(0==t[n][e(386)])continue;if(e(580)!=t[n][e(551)])continue;if(null==t[n][e(585)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(585)];)e(580)==t[s][e(551)]?r++:e(434)==t[s][e(551)]&&r--,s++;if(0!=r)if(t[n][e(571)])t[n][e(379)]=!0;else for(;s!=n;)t[s][e(571)]&&0!=t[s][e(386)]&&(t[s][e(379)]=!0,i[e(563)](t[s][e(585)])),s--}return t[e(593)](t=>!t[e(379)])}[oe(396)](t){const e=oe,i=this[e(455)][e(443)][e(505)];for(let n=0;n<t[e(415)];n++){if(!(t[n][e(599)]||t[n][e(483)]||t[n][e(571)]||t[n][e(594)]))continue;if(0==t[n][e(386)])continue;const s=t[n][e(355)];i[e(509)](s)||i[e(644)](s)||(t[n][e(599)]&&delete t[n][e(599)],t[n][e(483)]&&delete t[n][e(483)],t[n][e(594)]&&delete t[n][e(594)],t[n][e(571)]&&(t[n][e(379)]=!0))}return t[e(593)](t=>!t[e(379)])}[oe(616)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(455)][n(443)],c=a[n(505)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(415)];e++)if(n(580)===t[e][n(551)]){t[e][n(576)]=a[n(607)](s,f);const i=new X.ModelElement(t[e][n(355)][n(572)],t[e][n(355)][n(508)]());u[0][n(566)](i),f[n(381)](0),u[n(578)](i),t[e][n(502)]=a[n(607)](s,f)}else n(434)===t[e][n(551)]?(u[n(472)](),t[e][n(576)]=a[n(607)](s,f),f[n(446)](),f[f[n(415)]-1]++,t[e][n(502)]=a[n(607)](s,f)):(t[e][n(576)]=a[n(607)](s,f),d?d[n(622)]+=t[e][n(355)][n(570)]:d=new X.ModelText(t[e][n(355)][n(570)],t[e][n(355)][n(508)]()),t[e+1]&&n(388)===t[e+1][n(551)]&&v(d,t[e+1][n(355)])||(u[0][n(566)](d),d=null),f[f[n(415)]-1]+=t[e][n(355)][n(482)],t[e][n(502)]=a[n(607)](s,f));for(let e=0;e<t[n(415)];e++){const i=t[e][n(576)],s=t[e][n(502)];for(const s of t[e][n(514)])o[n(546)](s,{start:i,end:null});m(n(594),e,i,s),m(n(483),e,i,s),m(n(571),e,i,s),m(n(599),e,i,s);for(const i of t[e][n(675)]){const t=o[n(544)](i);t?t[n(522)]=s:o[n(546)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(455)][n(443)][n(519)](e[n(495)],e[n(522)]);s[n(457)][n(546)](t,i)}return r[n(565)]((t,e)=>{const i=n,r=s[i(457)][i(544)](i(369)+t.id),o=s[i(457)][i(544)](i(369)+e.id);return r[i(495)][i(430)](o[i(495)])?-1:r[i(495)][i(661)](o[i(495)])?1:r[i(522)][i(430)](o[i(522)])?-1:r[i(522)][i(661)](o[i(522)])?1:i(563)===t[i(551)]?-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(627)]:null,d=i===t[o(415)]-1,f=h[e][0],m=c[o(487)](t[i][o(355)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(522)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(627)]!==u&&(l[e][o(522)]=s,f&&f[o(627)]===l[e][o(627)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(580)!==t[i][o(551)]||f&&f[o(627)]===u||h[e][o(578)]({userId:u,object:t[i][o(355)],change:l[e]}),o(434)===t[i][o(551)]&&f&&f[o(525)]===t[i][o(355)]&&(h[e][o(472)](),l[e]=f[o(469)])),l[e]&&d&&(l[e][o(522)]=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(355)],f=a[h(505)][h(509)](d)&&!a[h(505)][h(644)](d),m=t[h(631)]==o[h(535)]&&o[h(526)];if(f&&m)return;const p=a[h(519)](t,o),v=e[h(544)](u),g=new Qt({author:v,type:h(599)==l||h(483)==l?h(563):h(433),data:{isSuggestion:h(483)==l||h(594)==l},createdAt:new Date,rootName:i});r[h(381)](g),s[h(457)][h(546)](h(369)+g.id,p)}function v(t,e){const i=n,s=t[i(508)](),r=e[i(508)]();for(const t of s){if(t[1]!==e[i(503)](t[0]))return!1;r[i(649)]()}return r[i(649)]()[i(665)]}}[oe(664)](){const t=oe;this[t(455)][t(545)][t(420)](t(466))[t(532)]({view:t(598)}),this[t(455)][t(545)][t(420)](t(390))[t(597)]({model:t(598),view:e=>{const i=t,n=e[i(659)][i(641)](":")[1],s=this[i(608)](n);if(!s)return null;const r=i(563)==s[i(551)]?i(549):i(595),o=[i(372),i(499)+r];return s[i(570)][i(645)]&&o[i(381)](i(499)+r+i(673)),this[i(454)]==s&&o[i(381)](i(511)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(455)][t(545)][t(420)](t(466))[t(563)](e=>{const i=t;e.on(i(656),(t,e,n)=>{const s=i,r=e[s(398)][s(451)](0);if(!r||!r.is(s(596),s(375)))return;if(!n[s(590)][s(536)](r,{attributes:[s(574),s(637)]}))return;const o=e[s(445)][s(495)][s(631)];n[s(456)][s(619)](s(574),r[s(503)](s(574)),o),n[s(456)][s(619)](s(637),r[s(503)](s(637)),o)},{priority:i(543)})}),this[t(455)][t(545)][t(420)](t(466))[t(563)](e=>{const i=t;e.on(i(596),(t,e,n)=>{const s=i;if(!n[s(590)][s(536)](e[s(398)],{attributes:[s(574),s(637)]}))return;if(e[s(445)][s(422)])return;const r=e[s(445)][s(495)][s(631)];r[s(555)](s(574))||r[s(555)](s(674))||(n[s(456)][s(619)](s(574),e[s(398)][s(503)](s(574)),r),n[s(456)][s(619)](s(637),e[s(398)][s(503)](s(637)),r))},{priority:i(543)})}),this[t(455)][t(545)][t(420)](t(466))[t(481)]({view:{name:t(633),attributes:{vid:!0}},model:{key:t(674),value:e=>e[t(503)](t(674))}}),this[t(455)][t(443)][t(505)].on(t(501),(e,[,i])=>{const n=t;[n(574),n(637),n(674)][n(507)](i)&&(e[n(611)]=!0,e[n(620)]())},{priority:t(583)}),this[t(455)][t(545)][t(420)](t(387))[t(563)](e=>{const i=t;e.on(i(475),(t,e,n)=>{const s=i;if(" "!=e[s(355)][s(570)]||e[s(355)][s(535)][s(393)]>1)return;if(!n[s(590)][s(536)](e[s(355)],t[s(572)]))return;const r=n[s(456)],o=n[s(384)][s(400)](e[s(668)]);r[s(651)](o,r[s(537)](s(633)))})}),this[t(455)][t(545)][t(420)](t(387))[t(589)]({model:t(598)}),this[t(455)][t(425)][t(467)].on(t(629),function(e){const i=t,n=e[i(628)][i(544)](i(667));return(t,s,r)=>{const o=i,a=s[o(659)][o(641)](":")[1],c=n[o(608)](a);if(!c)return null;const u=o(563)==c[o(551)]?o(641):o(471);if(!r[o(590)][o(373)](s[o(403)],t[o(572)]))return;const l=s[o(403)][o(550)](),h=s[o(403)][o(495)],d=e[o(443)][o(505)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(355)];p=p||d[o(567)](e);const i=r[o(384)][o(630)](e);if(i&&i[o(539)](o(423)))return;o(434)==t[o(551)]&&d[o(509)](e)&&!d[o(644)](e)&&(e[o(361)]||h[o(559)]?f&&f[o(535)]==e||(f=e,g(t[o(576)]),v=!0):m=m||t[o(576)])}function g(t){const e=o,i=r[e(456)][e(639)](e(633),{class:e(499)+u}),a=r[e(384)][e(636)](t);c[e(570)][e(645)]&&r[e(456)][e(587)](e(499)+u+e(673),i),n[e(454)]==c&&r[e(456)][e(587)](e(511),i),r[e(456)][e(621)](a,i),r[e(384)][e(609)](i,s[e(659)])}p||v||!m||g(m)}}(this[t(455)]),{priority:t(562)}),this[t(455)][t(425)][t(467)].on(t(601),(e,i,n)=>{const s=t,r=n[s(384)][s(354)](i[s(659)]);if(r)for(const t of r)(t[s(606)](s(470))||t[s(606)](s(657)))&&(n[s(384)][s(530)](t,i[s(659)]),n[s(456)][s(433)](t))},{priority:t(562)}),this[t(455)][t(425)][t(467)].on(t(629),(e,i,n)=>{const s=t,r=i[s(659)][s(641)](":")[1],o=this[s(608)](r);if(!o)return null;const a=s(563)==o[s(551)]?s(641):s(471);if(n[s(590)][s(373)](i[s(403)],e[s(572)]))for(const t of i[s(403)][s(529)]()){if(!t.is(s(596),s(632)))continue;const e=n[s(456)][s(639)](s(633),{class:s(499)+a}),r=n[s(384)][s(636)](this[s(455)][s(443)][s(474)](t));o[s(570)][s(645)]&&n[s(456)][s(587)](s(499)+a+s(673),e),this[s(454)]==o&&n[s(456)][s(587)](s(511),e),n[s(456)][s(621)](r,e),n[s(384)][s(609)](e,i[s(659)])}},{priority:t(562)}),this[t(455)][t(443)][t(359)].on(t(469),()=>{const e=t;this[e(455)][e(425)][e(518)][e(469)](t=>{const i=e;for(const e of this[i(455)][i(443)][i(359)][i(416)]()){const n=this[i(455)][i(443)][i(359)][i(634)](e),s=this[i(455)][i(425)][i(518)][i(359)][i(634)](e);if(s){const e=n[i(503)](i(671));if(t[i(554)](i(442),s),t[i(643)](i(368),s),t[i(643)](i(650),s),t[i(643)](i(569),s),e){const n=this[i(608)](e);if(!n)return null;t[i(619)](i(442),e,s),t[i(587)](i(564)+n[i(551)],s),this[i(454)]==n&&t[i(587)](i(569),s)}}}})}),this[t(455)][t(545)][t(420)](t(466))[t(532)]({view:t(436),model:e=>t(614)+e,converterPriority:t(583)}),this[t(455)][t(545)][t(420)](t(466))[t(532)]({view:t(458),model:e=>t(371)+e,converterPriority:t(583)}),this[t(455)][t(545)][t(420)](t(387))[t(589)]({model:t(414),view:e=>({name:t(440)+e,group:t(414)}),converterPriority:t(583)}),this[t(455)][t(545)][t(420)](t(390))[t(597)]({model:t(414),view:e=>{const i=t,n=e[i(659)][i(641)](":")[1];return i(549)!=n&&i(595)!=n?null:{classes:[i(513),i(380)+n]}}}),this[t(455)][t(425)][t(467)].on(t(449),le(this[t(455)],t(471)),{priority:t(562)}),this[t(455)][t(425)][t(467)].on(t(672),le(this[t(455)],t(641)),{priority:t(562)}),this[t(455)][t(425)][t(467)].on(t(575),(e,i,n)=>{const s=t,r=n[s(384)][s(354)](i[s(659)]);if(r)for(const t of r)t.is(s(376))&&(n[s(384)][s(530)](t,i[s(659)]),n[s(456)][s(433)](t))},{priority:t(562)})}[oe(608)](t){const e=oe;return this[e(660)][e(544)](t)}[oe(663)](t){const e=oe;return this[e(452)]&&this[e(452)][e(431)](),this[e(452)]=new Jt(this[e(455)][e(439)],t),this[e(452)]}[oe(429)](){const t=oe;this[t(455)][t(443)][t(359)][t(460)][t(362)](t(598)),this.on(t(418),(e,i,n,s)=>{const r=t;s&&this[r(561)][r(433)](s),n&&(this[r(561)][r(563)]({view:n,stackId:r(383),position:{target:()=>{const t=r,e=this[t(455)][t(425)],i=this[t(608)](n[t(391)]);let s;if(i[t(570)][t(382)]){const n=e[t(518)][t(365)](i[t(437)]);s=Array[t(459)](n[t(506)]())}else{const i=this[t(455)][t(443)][t(457)][t(544)](t(369)+n[t(391)]);s=Array[t(459)](e[t(384)][t(354)](i[t(572)]))[t(441)](i=>e[t(518)][t(492)][t(364)](i))[t(441)](e=>Array[t(459)](e[t(506)]()))[t(504)]()}return this[t(484)]&&s[t(647)](e=>e[t(394)]-3<=this[t(484)].y&&e[t(553)]+3>=this[t(484)].y&&e[t(435)]-3<=this[t(484)].x&&e[t(399)]+3>=this[t(484)].x)||s[0]}}}),this[r(561)][r(557)](r(383)))}),this.on(t(531),(e,i,n,s)=>{const r=t;this[r(407)]=n?this[r(663)](n):null,this[r(455)][r(443)][r(469)](()=>{const t=r,e=this[t(455)][t(425)];s&&(s[t(570)][t(382)]?e[t(518)][t(469)](i=>{const n=t;i[n(643)](n(569),e[n(518)][n(359)][n(634)](s[n(437)]))}):e[t(662)](t(369)+s.id)),n&&(n[t(570)][t(382)]?e[t(518)][t(469)](i=>{const s=t;i[s(587)](s(569),e[s(518)][s(359)][s(634)](n[s(437)]))}):e[t(662)](t(369)+n.id))})}),this[t(428)](this[t(455)][t(425)][t(518)][t(359)],t(676),(e,i)=>{const n=t;if(this[n(454)])return;const s=this[n(404)](i[n(486)]),r=this[n(660)][n(544)](s);r?(this[n(484)]={x:i[n(366)].x,y:i[n(366)].y},this[n(407)]=this[n(663)](r)):(this[n(484)]=null,this[n(407)]=null)}),this[t(428)](this[t(455)][t(425)][t(518)][t(359)],t(406),(e,i)=>{const n=t,s=this[n(404)](i[n(486)]),r=this[n(660)][n(544)](s);r?(this[n(484)]={x:i[n(366)].x,y:i[n(366)].y},r===this[n(454)]?this[n(561)][n(653)]():this[n(454)]=r):(this[n(484)]=null,this[n(454)]=null)})}[oe(404)](t){const e=oe;do{const i=t[e(503)](e(442));if(i)return i;t=t[e(535)]}while(t);return null}[oe(370)](){const t=oe;this[t(455)][t(443)][t(469)](e=>{const i=t;for(const t of this[i(455)][i(443)][i(457)])e[i(635)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(590)][r(373)](n[r(403)],i[r(572)]))return;const o=n[r(403)][r(550)](),a=n[r(403)][r(495)],c=t[r(443)][r(505)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(355)];h=h||c[r(567)](e);const i=s[r(384)][r(630)](e);if(i&&i[r(539)](r(423)))return;r(434)==t[r(551)]&&c[r(509)](e)&&!c[r(644)](e)&&(e[r(361)]||a[r(559)]?u&&u[r(535)]==e||(u=e,f(t[r(576)]),d=!0):l=l||t[r(576)])}function f(t){const i=r,o=s[i(384)][i(636)](t),a=s[i(456)][i(639)](i(633),{class:i(380)+e});s[i(456)][i(621)](o,a),s[i(384)][i(609)](a,n[i(659)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(628)][e(544)](ue);this[e(374)]=!1,this[e(428)](i,e(677),()=>this[e(417)]()),this[e(428)](i,e(547),()=>this[e(417)]())}[oe(538)](){const t=oe,e=this[t(455)],i=e[t(628)][t(544)](ue),n=i[t(402)]?i[t(496)][t(523)]:null;e[t(579)][t(544)](t(577))[t(498)](n)}[oe(417)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(455)][t(628)][t(544)](ue),r=s&&n[t(615)](s[t(523)]);this[t(652)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(612)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(628)][i(544)](ue);this[i(374)]=!1,this[i(612)]=i(573)===e?1:-1,this[i(428)](n,i(677),()=>this[i(417)]()),this[i(428)](n,i(547),()=>this[i(417)]()),this[i(428)](n,i(531),()=>this[i(417)]())}[oe(538)](){const e=oe,i=this[e(455)],n=i[e(628)][e(544)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(454)]=s?n[e(496)][e(603)][e(544)](r+this[e(612)]):n[e(496)][e(603)][e(401)],n[e(454)][e(570)][e(382)])o=i[e(425)][e(518)][e(365)](n[e(454)][e(437)]);else{const t=i[e(443)][e(457)][e(544)](e(369)+n[e(454)].id);o=(0,K.getMarkerDomElement)(i[e(425)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(417)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(455)][t(628)][t(544)](ue);this[t(652)]=!!(r&&s&&n)&&(!e||(1===this[t(612)]?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=["5823NCNqNg","ck-revision-history-ui__changes-navigation__label","17950340MFOySZ","Show previous change","forward","5mBdNQF","ck-revision-history-ui","isBackwardNavigationEnabled","span","isNavigationMode","isEnabled","isReady","1102392qdUMjz","_isStatusLabelVisible","1879535fIFcLZ","785331XWKjVk","execute","No changes","_statusText","12kOwthK","set","EDIT_X_OF_Y_REVISIONS","ck-hidden","ck-revision-history-ui__changes-navigation__wrapper","Total","192288dVMQeI","ck-revision-history-ui__changes-navigation","backward","Loading...","bindTemplate","126zJAnbZ","Show next change","545055rpvqTU","ck-revision-history-ui__changes-navigation__navigation","setTemplate","fire","isForwardNavigationEnabled","bind","div","currentChangeNumber","X_OF_Y_CHANGES","NUMBER_OF_CHANGES","numberOfChanges"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=465]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(357519===parseInt(e(471))/1*(-parseInt(e(501))/2)+-parseInt(e(503))/3*(parseInt(e(490))/4)+-parseInt(e(476))/5*(parseInt(e(496))/6)+-parseInt(e(485))/7+-parseInt(e(483))/8+-parseInt(e(486))/9+parseInt(e(473))/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(500)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(491)](e(480),!1),this[e(491)](e(482),!1),this[e(491)](e(467),0),this[e(491)](e(470),0),this[e(491)](e(507),!1),this[e(491)](e(478),!1),this[e(465)](e(484)).to(this,e(482),this,e(470),(t,e)=>t&&e>0),this[e(465)](e(489)).to(this,e(482),this,e(467),this,e(470),this,e(480),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(499));if(!s)return at(t,o(488));const a=at(t,o(469),s);return r?at(t,o(468),[n+1,s]):a}),n[e(491)]({label:at(t,e(474)),tooltip:!0,icon:_t.IconChevronUp}),s[e(491)]({label:at(t,e(502)),tooltip:!0,icon:_t.IconChevronDown}),n[e(465)](e(481)).to(this,e(478)),s[e(465)](e(481)).to(this,e(507)),n.on(e(487),()=>this[e(506)](e(487),e(498))),s.on(e(487),()=>this[e(506)](e(487),e(475))),this[e(505)]({tag:e(466),attributes:{class:["ck",e(477),e(497)]},children:[{tag:e(479),attributes:{class:[e(494)]},children:[{tag:e(479),attributes:{class:[e(472),i.if(e(484),e(493),t=>!t)]},children:[{text:i.to(e(480),i=>i?at(t,e(492))+": ":at(t,e(495))+": ")}]},{text:i.to(e(489))}]},new It.ToolbarSeparatorView,{tag:e(466),attributes:{class:[e(504)]},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;function be(t,e){const i=we();return(be=function(t,e){return i[t-=364]})(t,e)}function we(){const t=["removeClass","2kPDSYf","30iRZlIU","10rEcCBY","editing","addClass","isPremiumPlugin","view","ck-editor__editable__loading-overlay","11888513BvPzhb","1636855CyVkUm","793856XvfcvU","1522514EkLDKT","change","roots","192728qqqbjV","3QCTnaC","520hskZpn","pluginName","RevisionViewerLoadingOverlay","hide","12AnhDGY","3289640FIhbHV","document","isOfficialPlugin","editor","show","211482ArqjBc"];return(we=function(){return t})()}const _e=be;!function(t){const e=be,i=t();for(;;)try{if(919380===parseInt(e(370))/1*(parseInt(e(381))/2)+-parseInt(e(385))/3*(parseInt(e(384))/4)+-parseInt(e(391))/5+-parseInt(e(371))/6*(-parseInt(e(380))/7)+parseInt(e(386))/8*(-parseInt(e(368))/9)+parseInt(e(372))/10*(parseInt(e(379))/11)+parseInt(e(390))/12*(parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=_e(377);class Se extends G.Plugin{static get[_e(387)](){return _e(388)}static get[_e(365)](){return!0}static get[_e(375)](){return!0}[_e(367)](){const t=_e,e=this[t(366)][t(373)][t(376)];e[t(382)](i=>{const n=t;for(const t of e[n(364)][n(383)])i[n(374)](Ie,t)})}[_e(389)](){const t=_e,e=this[t(366)][t(373)][t(376)];e[t(382)](i=>{const n=t;for(const t of e[n(364)][n(383)])i[n(369)](Ie,t)})}}function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=444]})(t,e)}const Te=Oe;function xe(){const t=["bind","Back to editing","isPremiumPlugin","isForwardNavigationEnabled","editor","change:isReady","init","execute","isOfficialPlugin","Restore this revision","plugins","currentChangeNumber","get","pluginName","508140ZthoyY","292808SRKYcS","show","commands","revisionHistory","RevisionViewerUI","578296IEBStg","exitToEditing","set","isNavigationMode","5622990XyodrW","2UzFnej","hide","isReady","numberOfChanges","forward","isBackwardNavigationEnabled","requires","componentFactory","438924UEUxiO","isEnabled","ck-revision-history-ui__back-to-editing","1737765mPBiCz","changesNavigation","listenTo","add","4067eiQqeD","restoreRevision","closeRevisionViewerCallback","654koSFMH","showPreviousChange","showNextChange","81qeqnqZ","config"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(302531===parseInt(e(463))/1*(-parseInt(e(468))/2)+parseInt(e(476))/3+parseInt(e(457))/4+-parseInt(e(479))/5+parseInt(e(486))/6*(parseInt(e(483))/7)+parseInt(e(458))/8*(parseInt(e(489))/9)+parseInt(e(467))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Te(456)](){return Te(462)}static get[Te(451)](){return!0}static get[Te(445)](){return!0}static get[Te(474)](){return[ue,Se]}[Te(449)](){const t=Te,e=this[t(447)],i=e[t(453)][t(455)](ue),n=e[t(453)][t(455)](Se);e.ui[t(475)][t(482)](t(464),i=>{const n=t,s=new It.ButtonView(i);return s[n(465)]({label:at(i,n(444)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(478)}),this[n(481)](s,n(450),()=>{const t=n;e[t(490)][t(455)](t(461))[t(485)]()}),s}),e.ui[t(475)][t(482)](t(484),i=>{const n=t,s=new It.ButtonView(i);return s[n(465)]({label:at(i,n(452)),withText:!0,tooltip:!0}),s[n(491)](n(477)).to(e[n(460)][n(455)](n(484))),this[n(481)](s,n(450),()=>e[n(450)](n(484))),s}),e.ui[t(475)][t(482)](t(480),n=>{const s=t,r=new ge(n),o=e[s(460)][s(455)](s(487)),a=e[s(460)][s(455)](s(488));return r[s(491)](s(473)).to(o,s(477)),r[s(491)](s(446)).to(a,s(477)),r[s(491)](s(470),s(454),s(471),s(466)).to(i),this[s(481)](r,s(450),(t,i)=>{const n=s;e[n(450)](n(472)===i?n(488):n(487))}),r}),n[t(459)](),i.on(t(448),(e,i,s)=>{const r=t;s?n[r(469)]():n[r(459)]()})}}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=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(959714===-parseInt(e(486))/1*(-parseInt(e(501))/2)+parseInt(e(491))/3+-parseInt(e(492))/4*(-parseInt(e(498))/5)+parseInt(e(509))/6+-parseInt(e(487))/7+parseInt(e(512))/8*(parseInt(e(495))/9)+parseInt(e(494))/10*(-parseInt(e(499))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(506)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(514)];this[i(504)]({label:at(t,i(503)),_tooltipString:""}),this[i(502)][i(507)]=at(t,i(515)),this[i(508)]({tag:i(510),attributes:{class:[i(489)],"data-cke-tooltip-text":n.to(i(488)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(511)}})}[Me(490)](){const e=Me;super[e(490)](),this[e(506)]=new t.ResizeObserver(this[e(502)][e(485)],()=>this[e(497)]()),this[e(505)](this[e(502)],e(516),()=>this[e(497)]())}[Me(496)](){const t=Me;super[t(496)](),this[t(506)]&&this[t(506)][t(496)]()}[Me(497)](){const t=Me,e=this[t(502)][t(485)];this[t(488)]=e[t(500)]>e[t(513)]&&e[t(493)]||""}}function De(){const t=["set","listenTo","_resizeObserver","placeholder","extendTemplate","7622016ILJncz","span","ck-tooltip_multi-line","200FkZwHK","clientWidth","bindTemplate","Enter the revision name","input","element","1621363XbeImY","11204753AjEXKW","_tooltipString","ck-revision-history-sidebar__revision-name","render","1054302KCvadZ","4WkBzkK","value","34270820OxNwSN","550089ShYrsL","destroy","_updateTooltipText","6081585yWbpeb","11jDGqRy","scrollWidth","2qzZzaV","fieldView","Revision name"];return(De=function(){return t})()}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(t,e){const i=Pe();return(je=function(t,e){return i[t-=206]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(971730===-parseInt(e(207))/1*(parseInt(e(221))/2)+parseInt(e(216))/3*(-parseInt(e(224))/4)+parseInt(e(208))/5+-parseInt(e(220))/6*(parseInt(e(219))/7)+-parseInt(e(225))/8*(parseInt(e(227))/9)+parseInt(e(211))/10+parseInt(e(222))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(217)]({content:_t.IconUser,viewBox:n(223)});const r=["ck",n(210)];i&&r[n(213)](n(209));const o=[{tag:n(218),attributes:{class:["ck",n(215)],title:at(t,n(i?214:206))},children:[s,e[n(212)]]}];this[n(226)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["Revision author","4cLoCNk","8875435KFAdIV","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author","19010010hxbQhd","name","push","Revision creator","ck-revision-history-sidebar__revision-author__name","438927LTgNyr","set","span","2056943nrBlrm","30jLDnvB","60258BYTzfy","7060174ZvDuvc","0 0 11 10","44MnFVPB","294064VRZDuf","setTemplate","36ANOUkW"];return(Pe=function(){return t})()}function ze(){var t=["1303041KTyOnL","toLocaleTimeString","1373207AXmpWa","2168450mAmeKB","1584474ExBDmL","7OBRdNX","numeric","4762200MWqKdd","3483316eexqWR","88nAowjd","long","1213713SzVoZT","toLocaleDateString"];return(ze=function(){return t})()}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=289]})(t,e)}!function(t){for(var e=Ue,i=t();;)try{if(761415===parseInt(e(290))/1+-parseInt(e(292))/2+-parseInt(e(301))/3+parseInt(e(296))/4+parseInt(e(291))/5+parseInt(e(295))/6*(parseInt(e(293))/7)+parseInt(e(297))/8*(-parseInt(e(299))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(){const t=["execute","Name this revision","source","buttonView","isReady","644347MkwKbI","isOpen","children","map","first","find","9FtkgZQ","12462MnHPKe","Restore this revision","1383736UHMBqZ","4lsRTGP","12884HiNhXt","3114230gmWQmp","extendTemplate","50KaeJDD","action","isVisible","isEnabled","bindTemplate","11KfBmoE","listView","listenTo","items","stopPropagation","class","70848KwTyof","panelPosition","name","1383711wiCLJE","Show more items","ck-revision-history-sidebar__revision__actions","menuitem","set","function","add","locale","_action","menu","model","Compare against selected","isActionsDropdownOpen","change:isActionsDropdownOpen","button","bind","ck-on"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(169166===-parseInt(e(449))/1*(parseInt(e(441))/2)+-parseInt(e(437))/3*(-parseInt(e(440))/4)+parseInt(e(444))/5*(parseInt(e(405))/6)+parseInt(e(408))/7+parseInt(e(439))/8*(parseInt(e(436))/9)+-parseInt(e(442))/10+parseInt(e(430))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["srcElement","110TBSVMh","_revision","isReady","span","isActionsDropdownOpen","ck-revision-history-sidebar__revision-wrapper","674695QBSzWv","extendTemplate","1122972rHMZxg","ck-revision-history-sidebar__revision_highlighted","fieldView","7882EmLobx","220509NcLZZu","setTemplate","ck-revision-history-sidebar__actions_dropdown_open","1293tNedvt","isSelected","bindTemplate","element","render","set","_createdAtFormatted","bind","_requireRevisionName","map","length","name","filter","220","isConfirm","value","ck-disabled","creator","div","deselect","ck-reset","fire","4076FeMhyU","277733hhAJIo","unshift","isHighlighted","ck-revision-history-sidebar__revision","2408djErqL","change","closest","2165454RNsjDM","revisionNameView","listenTo","uiLanguage","setName","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision__date","revisionActionsView","from","isEnabled","authors","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","select",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-authors","2OFVXwX","22jTEVCV","highlight","unhighlight","createdAt"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=470]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(234375===parseInt(e(522))/1*(parseInt(e(478))/2)+-parseInt(e(499))/3*(-parseInt(e(521))/4)+parseInt(e(490))/5+-parseInt(e(529))/6+-parseInt(e(495))/7*(parseInt(e(526))/8)+parseInt(e(496))/9*(parseInt(e(484))/10)+parseInt(e(479))/11*(-parseInt(e(492))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(530)];[Ye(536)];[Ye(485)];[Ye(507)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(501)],a=function(t,e){const i=r,n=Array[i(470)](e[i(472)])[i(511)](t=>t!=e[i(516)]);return e[i(516)]&&n[i(523)](e[i(516)]),n[i(508)](n=>new Le(t,n,n==e[i(516)]))}(e,i);this.id=i.id,this[r(485)]=i,this[r(507)]=s,this[r(506)](r(510),r(482)).to(i),this[r(506)](r(505)).to(this,r(482),t=>{return i=e[r(532)],(n=t)[(s=Ue)(300)](i,{month:s(298),day:s(294)})+", "+n[s(289)](i,{hour:s(294),minute:s(294)});var i,n,s}),this[r(504)](r(500),!1),this[r(504)](r(524),!1),this[r(504)](r(488),!1),this[r(504)](r(486),!1),this[r(504)](r(471),!1),this[r(530)]=new Ee(e,It.createLabeledInputText),this[r(530)][r(494)][r(491)]({attributes:{maxlength:r(512)}}),this[r(530)][r(494)][r(506)](r(514)).to(this,r(510),t=>t||this[r(505)]),this[r(530)][r(506)](r(471)).to(this,r(500),this,r(471),(t,e)=>t&&e),this[r(536)]=n&&n[r(509)]?function(e,i){const n=qe,s=e[n(448)],r=e[n(415)],o=(0,It.createDropdown)(r);o[n(406)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(415)],s={"Compare against selected":at(n,i(419)),"Name this revision":at(n,i(426)),"Restore this revision":at(n,i(438))};return e[i(433)](t=>{const e=i,n=s[t[e(407)]];return n&&n!==t[e(407)]&&(t[e(407)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(422),model:new It.UIModel({label:t[s(407)],class:t[s(404)],withText:!0,role:s(411),_action:t[s(445)]})};i[s(418)][s(423)](s(447)).to(e,s(420),i=>s(413)!=typeof t[s(447)]||!i||t[s(447)](e)),o[s(414)](i)}return o}(e,i);return e[n(423)](n(420)).to(o,n(431)),o[n(428)][n(412)]({label:at(r,n(409)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(443)]({attributes:{class:[n(410),s.if(n(420),n(424))]},on:{click:s.to(t=>t[n(403)]())}}),o.on(n(425),t=>{const i=n;e[i(429)]&&i(413)==typeof t[i(427)][i(416)]&&t[i(427)][i(416)](e)}),(0,It.addListToDropdown)(o,a,{role:n(417)}),o[n(401)](e,n(421),(t,s,r)=>{const a=n;if(r)for(const t of o[a(450)][a(402)]){const n=t[a(432)][a(434)],s=i[a(435)](t=>t[a(445)]===n[a(416)])[a(446)];t[a(446)]=void 0===s||s(e)}}),o}(this,n):"",this[r(536)]&&this[r(536)][r(506)](r(471)).to(this),this[r(497)]({tag:r(517),attributes:{class:["ck",r(519),r(489),o.if(r(513),r(474))]},children:[{tag:r(517),attributes:{class:["ck",r(519),r(525),o.if(r(471),r(515),t=>!t),o.if(r(500),r(534)),o.if(r(524),r(493)),o.if(r(488),r(498))]},children:[this[r(530)],{tag:r(487),attributes:{class:["ck",r(535)]},children:[{text:o.to(r(505))}]},{tag:r(517),attributes:{class:["ck",r(473)]},children:[{tag:"ul",attributes:{class:["ck",r(477)]},children:a}]},this[r(536)]],on:{click:o.to(t=>{const e=r;t[e(483)][e(528)](e(476))||this[e(486)]&&this[e(471)]&&this[e(520)](e(475),{id:this.id})})}}]})}[Ye(503)](){const t=Ye;super[t(503)]();const e=this[t(530)][t(494)][t(502)];this[t(531)](e,t(527),()=>{const i=t;this[i(507)]&&!e[i(514)]||this[i(520)](i(533),{id:this.id,name:e[i(514)]}),e[i(514)]||(e[i(514)]=this[i(510)]?this[i(510)]:this[i(505)])})}[Ye(475)](){this[Ye(500)]=!0}[Ye(518)](){this[Ye(500)]=!1}[Ye(480)](){this[Ye(524)]=!0}[Ye(481)](){this[Ye(524)]=!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 Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function 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=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class 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=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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(),Ui.clear(),Wi.clear(),Zi.clear(),$i.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"===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?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()||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 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=Un(t.month,1,12),n=Un(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=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(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(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function 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 qn(t){if(!En(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 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}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function 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 Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return 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: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 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 Us(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(qn(u),h)}]}const Ws={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 qs(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?Ws[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[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,Us])}(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+=$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)(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=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(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",Ur=864e13;function Wr(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 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(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+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const 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(Wr(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=$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:Wr(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(Wr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Ur||t>Ur?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(Wr(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=Un(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Un(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=Un(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,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(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?[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?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 qr(this,{ts:n,zone:t})}return fo.invalid(Wr(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=!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 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=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-=307]})(t,e)}function vo(){const t=["130menrMo","686997uuCxUg","9tkEUav","setLocale","74820liwNJH","monthLong","weekdayLong","minus","2915NrIAbD","98LahVAA","7129144aExiKL","fromJSDate","toJSDate","3918480bjHvYG","toRelativeCalendar","186492mOkpAk","week","641363urFDGC","day","month","local","startOf","2NTjkpN","354404huilqS","hasSame","year"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(315)](t)[i(307)](e),s=fo[i(324)](),r=s[i(311)]({days:1})[i(325)](i(322));let o,a;return n[i(328)](s,i(322))?(o=n[i(325)](i(322))[i(316)](),a=n[i(318)]()):n[i(328)](r,i(322))?(o=r[i(316)](),a=n[i(318)]()):n[i(328)](s,i(320))?(o=n[i(325)](i(320))[i(316)](),a=n[i(310)]||""):n[i(328)](s,i(329))?(o=n[i(325)](i(323))[i(316)](),a=n[i(309)]||""):(o=n[i(325)](i(329))[i(316)](),a=String(n[i(329)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(497747===parseInt(e(321))/1*(-parseInt(e(326))/2)+parseInt(e(332))/3*(-parseInt(e(327))/4)+-parseInt(e(317))/5+-parseInt(e(319))/6*(-parseInt(e(313))/7)+-parseInt(e(314))/8+parseInt(e(331))/9*(parseInt(e(330))/10)+-parseInt(e(312))/11*(-parseInt(e(308))/12))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(t){const e=_o,i=t();for(;;)try{if(768703===-parseInt(e(227))/1+-parseInt(e(241))/2*(parseInt(e(226))/3)+-parseInt(e(251))/4*(parseInt(e(252))/5)+parseInt(e(234))/6+-parseInt(e(245))/7*(parseInt(e(236))/8)+-parseInt(e(246))/9*(-parseInt(e(247))/10)+parseInt(e(224))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class wo extends It.View{[bo(235)];[bo(239)];[bo(248)];[bo(232)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(231)][s(229)])[s(228)];this[s(235)]=e,this[s(239)]=this[s(233)](),this[s(248)]=i,this[s(232)]=n,this[s(239)][s(242)](s(230)).to(this),this[s(239)][s(242)](s(250)).to(this),this[s(254)]({tag:s(223),attributes:{class:["ck",s(249)]},children:[{tag:s(253),attributes:{class:["ck",s(255)]},children:[{text:r}]},{tag:s(223),attributes:{class:["ck",s(243)]},children:this[s(239)]}]})}[bo(240)](t){const e=bo,i=new Ke(this[e(231)],t,this[e(248)],this[e(232)]);this[e(239)][e(244)](i)}[bo(238)](t){const e=bo,i=this[e(239)][e(225)](e=>e.id===t.id);this[e(239)][e(237)](i)}}function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=223]})(t,e)}function Io(){const t=["_revisionActions","ck-revision-history-sidebar__time-period","setName","316pEONMp","30535ttpdoM","span","setTemplate","ck-revision-history-sidebar__time-period__label","div","25333440horQRR","find","6uBfmEY","1033727jgubud","localizedPeriodName","uiLanguage","select","locale","_requireRevisionName","createCollection","6348588WGVQOb","startDate","16cItTnm","remove","removeRevision","revisionViews","addRevision","78132joxeEb","delegate","ck-revision-history-sidebar__time-period__revisions","add","5342316MMBjJF","9ohZIqU","5282530HPpVQx"];return(Io=function(){return t})()}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(t,e){const i=xo();return(To=function(t,e){return i[t-=215]})(t,e)}function xo(){const t=["13358jdrtsG","65285vviOiJ","content","54FWrjjQ","570sRnpXU","30LazeyV","ck-revision-history-sidebar__header__label","div","ck-revision-history-sidebar__header","74799qvRpxa","Revision history","setTemplate","1140mXNopw","ck-reset_all","1582784oCzreU","1568312AOLbNh","8jUBozX","3MuuuHw","span","190914sGrYGS","2654379EKnvOh"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(334353===-parseInt(e(229))/1*(parseInt(e(232))/2)+parseInt(e(225))/3*(parseInt(e(223))/4)+parseInt(e(234))/5*(parseInt(e(227))/6)+-parseInt(e(222))/7*(-parseInt(e(224))/8)+parseInt(e(217))/9*(-parseInt(e(233))/10)+parseInt(e(230))/11*(parseInt(e(220))/12)+-parseInt(e(228))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(231)]=_t.IconHistory,this[e(219)]({tag:e(215),attributes:{class:["ck",e(221),e(216)]},children:[i,{tag:e(226),attributes:{class:["ck",e(235)]},children:[at(t,e(218))]}]})}}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(){const t=["flat","startDate","555303fHCotL","removeRevision","render","setName","11925976cvKAOl","4gwIvGw","isEnabled","createdAt","1105420EfnkFx","_addRevision","revisionSetName","_revisions","add","revisionViews","select","ck-reset","_revisionActions","unhighlight","remove","ck-disabled","8010030QWOWMz","set","addRevision","bindTemplate","515495lHmHKI","ck-rounded-corners","uiLanguage","timePeriodViews","_requireRevisionName","deselect","fire","_removeRevision","map","find","744304qvQgCY","get","revisionSelected","ck-revision-history-sidebar","ck-revision-history-sidebar__timeline","selectRevision","some","locale","createCollection","highlightRevisions","highlight","div","delegate","setTemplate","getTime","4570779ouHiWl","_getTimePeriodViewByStartDate"];return(Mo=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Mo();return(Eo=function(t,e){return i[t-=183]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(922297===-parseInt(e(200))/1+parseInt(e(226))/2+parseInt(e(188))/3+parseInt(e(197))/4*(-parseInt(e(216))/5)+-parseInt(e(212))/6+parseInt(e(192))/7+parseInt(e(196))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends It.View{[Vo(219)];[Vo(203)];[Vo(208)];[Vo(220)];constructor(t,e,i,n){const s=Vo;super(t);const r=this[s(215)];this[s(219)]=this[s(234)](),this[s(219)][s(185)](s(206)).to(this),this[s(219)][s(185)](s(195)).to(this),this[s(203)]=e,this[s(208)]=i,this[s(220)]=n,this.on(s(206),(t,e)=>{const i=s;this[i(222)](i(228),e)}),this.on(s(195),(t,e)=>{const i=s;this[i(222)](i(202),e)}),this[s(213)](s(198),!1),this[s(186)]({tag:s(184),attributes:{class:["ck",s(207),s(217),s(229)]},children:[new No(t),{tag:s(184),attributes:{class:["ck",s(230),r.if(s(198),s(211),t=>!t)]},children:this[s(219)]}]})}[Vo(194)](){const t=Vo;super[t(194)]();for(const e of this[t(203)])this[t(201)](e);this[t(203)].on(t(204),(e,i)=>{this[t(201)](i)}),this[t(203)].on(t(210),(e,i)=>{this[t(223)](i)})}get[Vo(205)](){const t=Vo;return this[t(219)][t(224)](e=>e[t(205)][t(224)](t=>t))[t(190)]()}[Vo(231)](t){const e=Vo;for(const i of this[e(205)])t&&t.id===i.id?i[e(206)]():i[e(221)]()}[Vo(235)](t){const e=Vo;for(const i of this[e(205)])t[e(232)](({id:t})=>t===i.id)?i[e(183)]():i[e(209)]()}[Vo(201)](t){const e=Vo,i=go(t[e(199)],this[e(233)][e(218)])[e(191)];let n=this[e(219)][e(227)](0);n&&n[e(191)][e(187)]()===i[e(187)]()||(n=new wo(this[e(233)],i,this[e(208)],this[e(220)]),this[e(219)][e(204)](n)),n[e(214)](t)}[Vo(223)](t){const e=Vo,i=go(t[e(199)],this[e(233)][e(218)])[e(191)];this[e(189)](i)[e(193)](t)}[Vo(189)](t){const e=Vo;return this[e(219)][e(225)](i=>i[e(191)][e(187)]()===t[e(187)]())}}const Co=jo;function Fo(){const t=["Restore this revision","1540rFqqOf","isSelected","getEarlierVisibleRevision","repository","_handleRevisionSetName","revisionViews","revisionHistory.revisionActions","appendChild","9LDBIGb","1924148fUTnid","getRevisionsInDiff","restoreRevisionCallback","defaultRevisionActions","8921392tMoMfH","plugins","1043847OZHsIT","_sidebarView","highlightRevisions","_createRevisionActions","name","get","focus","isPremiumPlugin","isVisible","isReady","getLaterVisibleRevision","_handleEditorDataReady","compare","isOfficialPlugin","_revisionViewer","map","compareAgainstSelected","1XPkBRT","1584716HuDwpH","requires","string","render","editor","revisionSetName","getIndex","locale","fieldView","diff","setName","element","RevisionsSidebar","revisionSelected","Compare against selected","selectRevision","12CaJWxE","length","listenTo","_handleRevisionSelected","assign","8453046EIsnox","_handleDiffChange","add","destroy","change:diff","data","nameRevision","init","revisionHistory","847950ZmUJWs","config","remove","select","getRevision","revisionHistory.requireRevisionName","isEnabled","action","Name this revision","restoreRevision","availableRevisionActions","bind","newRevisionId","_revisionsRepository","timePeriodViews","pluginName","revisionHistory.viewerSidebarContainer","ready","_revisions"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=270]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(706097===-parseInt(e(303))/1*(-parseInt(e(280))/2)+parseInt(e(286))/3+-parseInt(e(320))/4*(-parseInt(e(271))/5)+-parseInt(e(325))/6+-parseInt(e(304))/7+parseInt(e(284))/8+-parseInt(e(279))/9*(parseInt(e(334))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(300)];[Co(347)];[Co(287)];static[Co(283)]=[Co(302),Co(343),Co(331)];static[Co(344)]=function(){const t=Co;return{compareAgainstSelected:{name:t(318),action:({plugins:e},i)=>{const n=t,s=e[n(291)](ue),r=s[n(274)];let o=s[n(313)][n(346)],a=i.id;r[n(310)](o)>r[n(310)](a)&&([o,a]=[a,o]),s[n(298)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(291)](ue);return!(s[n(274)][n(281)](s[n(313)])[n(321)]>2||i[n(272)])}},restoreRevision:{name:t(270),action:(e,{id:i})=>{const n=t;e[n(335)][n(291)](n(333))[n(282)](i)},isVisible:({plugins:e},i)=>!!e[t(291)](ue)[t(274)][t(296)](i.id)},nameRevision:{name:t(342),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(291)](ue),o=r[s(274)][s(273)](i);r[s(298)](i,o),n[s(292)](),n[s(312)][s(337)]()}}}}();static get[Co(349)](){return Co(316)}static get[Co(299)](){return!0}static get[Co(293)](){return!0}static get[Co(305)](){return[ue]}constructor(t){const e=Co;super(t),this[e(300)]=t[e(285)][e(291)](ue),this[e(347)]=this[e(300)][e(274)],this[e(287)]=null}[Co(332)](){const t=Co,e=this[t(347)][t(352)],i=this[t(289)](),n=this[t(308)][t(335)][t(291)](t(350));this[t(287)]=new Do(this[t(308)][t(311)],e,i,this[t(308)][t(335)][t(291)](t(339))),this[t(287)].on(t(317),this[t(323)][t(345)](this)),this[t(287)].on(t(309),this[t(275)][t(345)](this)),this[t(287)][t(345)](t(340)).to(this[t(300)]),this[t(287)][t(348)].on(t(327),(e,i)=>{const n=t;i[n(276)].on(n(327),(t,e)=>{const i=n;e[i(345)](i(340),i(295)).to(this[i(300)])})}),this[t(287)][t(307)](),this[t(322)](this[t(308)][t(330)],t(351),this[t(297)][t(345)](this)),this[t(322)](this[t(300)],t(329),this[t(326)][t(345)](this)),n[t(278)](this[t(287)][t(315)])}[Co(328)](){const t=Co;this[t(287)][t(315)][t(336)](),this[t(287)][t(328)]()}[Co(297)](){const t=Co,e=this[t(347)][t(338)](0);if(e){const i=this[t(347)][t(273)](e.id);this[t(300)][t(298)](e,i)}}[Co(323)](t,e){const i=Co,n=this[i(347)][i(338)](e.id),s=this[i(347)][i(273)](n.id);this[i(300)][i(298)](n,s)}[Co(275)](t,e){const i=Co;this[i(347)][i(338)](e.id)[i(314)](e[i(290)])}[Co(326)](t,e,i){const n=Co,s=this[n(347)][n(281)](i);s[n(321)]>2?(this[n(287)][n(288)](s),this[n(287)][n(319)](null)):(this[n(287)][n(288)]([]),this[n(287)][n(319)](s[0]))}[Co(289)](){const t=Co,e=this[t(308)],i=Lo[t(344)],n=e[t(335)][t(291)](t(277))||Lo[t(283)];if(n[t(321)])return n[t(301)](n=>{const s=t,r=s(306)==typeof n?Object[s(324)]({},i[n]):n;return r[s(341)]=r[s(341)][s(345)](this,e),r[s(294)]&&(r[s(294)]=r[s(294)][s(345)](this,e)),r})}}const Po=Uo;function zo(){const t=["addToolbar","viewportOffset","name","limiterElement","view","editing","stickyPanel","3271632vToxLe","replace","document","editable","viewportTopOffset","destroy","rootName","init","config","17146088rEFKRj","detachDomRoot","_initToolbar","fire","_view","componentFactory","toolbar","_elementReplacer","isFocused","setEditableElement","ready","editor","focusTracker","114735XhBeve","481156SHRIlb","get","element","72PaQEXb","bind","1920952kzYSUU","restore","render","1900290qqTVHM","attachDomRoot","9777vRPbab","isActive","_toolbarConfig","fillFromConfig","getRoot"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=346]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(492249===parseInt(e(370))/1+parseInt(e(375))/2+-parseInt(e(380))/3+-parseInt(e(373))/4*(-parseInt(e(369))/5)+parseInt(e(378))/6+parseInt(e(347))/7+-parseInt(e(356))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends It.EditorUI{[Po(360)];[Po(382)];[Po(363)];get[Po(389)](){return this[Po(360)]}constructor(e,i){const n=Po;super(e),this[n(360)]=i,this[n(382)]=(0,It.normalizeToolbarConfig)(e[n(355)][n(371)](n(362))),this[n(363)]=new t.ElementReplacer}get[Po(372)](){const t=Po;return this[t(389)][t(372)]}[Po(354)](t){const e=Po,i=this[e(367)],n=this[e(389)],s=i[e(390)][e(389)],r=n[e(350)],o=s[e(349)][e(384)]();r[e(387)]=o[e(353)],n[e(377)]();const a=r[e(372)];this[e(365)](r[e(387)],a),n[e(350)][e(374)](e(364)).to(this[e(368)]),s[e(379)](a),this[e(363)][e(348)](t,this[e(372)]),this[e(358)](),this[e(359)](e(366))}[Po(352)](){const t=Po;super[t(352)]();const e=this[t(389)],i=this[t(367)][t(390)][t(389)];this[t(363)][t(376)](),i[t(357)](e[t(350)][t(387)]),e[t(352)]()}[Po(358)](){const t=Po,e=this[t(389)];e[t(346)][t(374)](t(381)).to(this[t(368)],t(364)),e[t(346)][t(388)]=e[t(372)],e[t(346)][t(374)](t(351)).to(this,t(386),({top:t})=>t),e[t(362)][t(383)](this[t(382)],this[t(361)]),this[t(385)](e[t(362)])}}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;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=202]})(t,e)}var $o=qo;function Bo(){var t=["content","toolbar","top","1108793jibnzS","32udOlGn","63320rJGcbf","render","6VPEJrn","add","main","shouldToolbarGroupWhenFull","editable","stickyPanel","30766180JxurCw","5456wFfdQq","2450032SHMNcr","5415875iCtbat","22DiwWYQ","15669XqMZFr","4548657OOoPDH","_editable"];return(Bo=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(899251===-parseInt(e(213))/1*(parseInt(e(214))/2)+-parseInt(e(207))/3+-parseInt(e(203))/4+-parseInt(e(204))/5+parseInt(e(216))/6*(parseInt(e(212))/7)+parseInt(e(202))/8*(-parseInt(e(206))/9)+parseInt(e(222))/10*(parseInt(e(205))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[$o(208)];[$o(221)];[$o(210)];get[$o(220)](){return this[$o(208)]}constructor(t,e,i={}){var n=$o;super(t),this[n(221)]=new It.StickyPanelView(t),this[n(210)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(219)]}),this[n(208)]=new It.InlineEditableUIView(t,e)}[$o(215)](){var t=$o;super[t(215)](),this[t(221)][t(209)][t(217)](this[t(210)]),this[t(211)][t(217)](this[t(221)]),this[t(218)][t(217)](this[t(220)])}}function Jo(t,e){const i=Xo();return(Jo=function(t,e){return i[t-=176]})(t,e)}const Go=Jo;!function(t){const e=Jo,i=t();for(;;)try{if(314231===parseInt(e(193))/1+parseInt(e(202))/2+-parseInt(e(178))/3+-parseInt(e(179))/4*(parseInt(e(182))/5)+-parseInt(e(188))/6+parseInt(e(189))/7+parseInt(e(197))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Go(181)];get ui(){return this[Go(181)]}constructor(t,e){const i=Go;super(e),this[i(190)]=t,this[i(196)][i(185)][i(200)]();const n=new Yo(this[i(195)],this[i(192)][i(176)],{shouldToolbarGroupWhenFull:!0});this[i(181)]=new Wo(this,n)}[Go(184)](){const t=Go;return this[t(183)](),this.ui[t(184)](),super[t(184)]()}static async[Go(187)](t,e){const i=Go,n=new this(t,e);return await n[i(191)](),await n.ui[i(180)](t),await n[i(201)][i(180)](n[i(199)][i(198)](i(186))||""),n[i(177)](i(194)),n}}function Xo(){const t=["sourceElement","initPlugins","editing","248709ABmgFa","ready","locale","model","6783720mEgufD","get","config","createRoot","data","758364lHCUKm","view","fire","1681338jBBrer","309636eKiRMg","init","_ui","15hcXdUU","updateSourceElement","destroy","document","initialData","create","2523756RCKism","361718MmmQzy"];return(Xo=function(){return t})()}const Qo=ea;function ta(){const t=["revisionHistory.requireRevisionName","selection","RevisionViewerIntegration","1819785XlDzxE","join","define","adapter","isOpen","isPremiumPlugin","style","_recalculatePageBreaks","RestrictedEditingMode","revisionHistory.viewerEditorElement","revisionHistory.closeRevisionViewerCallback","error","bind","save","_getRevisionViewerEditorConfig","map","RevisionTracker","translations","closeRevisionViewerCallback","config","revision-history-missing-configuration","isEnabled","model","long","$graveyard","RevisionHistoryUI","isAnonymous","766041ThfrrC","getAttributeKeys","name","getRevisionDocumentData","exitToEditing","push","RevisionsRepository","none","detachRoot","_update","repository","getRevision","removeSelectionAttribute","isReadOnly","saveRevision","rootName","revisionHistory.editorContainer","toolbar","then","_cleanUp","removeAttribute","creator","result","create","hide","revisionHistory.restoreRevisionCallback","getUser","view","isReady","get","addRevisionData","data","remove","toJSON","disableReadOnlyMode","addRoot","insert","refreshVisibility","locale","createRangeIn","fromVersion","setSelection","revision-history-viewer-opened","element","refreshPositioning","Annotations","revisionHistory.showRevisionViewerCallback","uiLanguage","Autosave","catch","78134xTwMXv","_enhanceShowRevisionViewerCallback","enableReadOnlyMode","has","PaginationLookup","isAttached","from","restoreRevision","267846OAsxTR","setAttribute","isRevisionViewerOpen","keys","_restoreRevision","addUser","_enhanceCloseRevisionViewerCallback","block","destroy","createdAt","Users","roots","getRevisionRootsAttributes","set","toVersion","requires","RevisionHistoryUtils","revisionHistory.viewerContainer","getRoot","295293crAvEe","includes","document","Dialog","toLocaleTimeString","display","plugins","commands","getMarkersGroup","init","numeric","_showRevisionViewer","end","Restored","lazyRoots","enqueueChange","change","fromCharCode","users","RevisionViewer","toLocaleDateString","markers","indexOf","editor","restrictedEditingException","DocumentOutline","showRevisionViewerCallback","parse","update","_viewerEditor","RevisionHistory","1439636HSVUon","changesNavigation","DocumentOutlineUI","_closeRevisionViewer","pluginName","264066xieMRv","getRevisions","removeMarker","isOfficialPlugin","revisionHistory","loadRevisionData"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(339998===-parseInt(e(268))/1+parseInt(e(398))/2+-parseInt(e(340))/3+parseInt(e(299))/4+parseInt(e(313))/5+parseInt(e(304))/6+-parseInt(e(390))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(338),Qo(321)];class na extends G.Plugin{[Qo(362)];static get[Qo(303)](){return Qo(312)}static get[Qo(307)](){return!0}static get[Qo(318)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(328)](t=>String[e(285)](t))[e(314)]("")}super(t),this[e(362)]=e(280),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{[Qo(297)];static get[Qo(303)](){return Qo(298)}static get[Qo(307)](){return!0}static get[Qo(318)](){return!0}static get[Qo(264)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(291)][i(332)][i(369)](i(308)))throw new t.CKEditorError(i(333),this);this[i(297)]=null,this[i(262)](i(400),!1),this[i(291)][i(332)][i(315)](i(386),t=>this[i(279)]({...t,translations:this[i(291)][i(378)][i(330)]})),this[i(291)][i(332)][i(315)](i(323),t=>this[i(302)](t)),this[i(291)][i(332)][i(315)](i(365),t=>this[i(402)](t)),this[i(291)][i(332)][i(315)](i(310),!1),this[i(391)](),this[i(404)]()}set[Qo(316)](t){const e=Qo;this[e(291)][e(274)][e(369)](e(329))[e(316)]=t}get[Qo(316)](){const t=Qo;return this[t(291)][t(274)][t(369)](t(329))[t(316)]}[Qo(370)](t){const e=Qo;return this[e(291)][e(274)][e(369)](e(329))[e(370)](t)}[Qo(351)](t){const e=Qo;return this[e(291)][e(274)][e(369)](e(346))[e(351)](t)}[Qo(305)](t){const e=Qo;return this[e(291)][e(274)][e(369)](e(346))[e(305)](t||{toJSON:!1})}[Qo(327)](){const e=Qo,i=this[e(291)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(274)][e(369)](e(329)),r=i[e(274)][e(369)](e(408))[e(286)];return n[e(357)]=[e(344),e(397),e(300)],delete n[e(282)],n[e(274)][e(345)](na,ue,Ne,class extends G.Plugin{static get[e(264)](){return[ue,e(408)]}[e(277)](){const n=e,o=this[n(291)][n(274)][n(369)](n(408));for(const t of r)t[n(339)]||o[n(366)](t.id)||o[n(403)](t);const a=s[n(350)][n(305)]();let c=null;const u=this[n(291)][n(274)][n(369)](n(287));u[n(316)]=s[n(316)],u[n(325)](n(334)).to(s),this[n(291)][n(275)][n(369)](n(397))[n(325)](n(334)).to(i,n(353),t=>!t);for(const e of a){const i=null===e[n(361)];if(i&&e[n(263)]===e[n(380)])continue;const r=e[n(373)]();u[n(370)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(349)](r,o);else if(!o){const e=a[u(373)]();e.id=(0,t.uid)(),s[u(354)](e,a[u(263)])[u(358)](t=>{c=t})}}else e[u(349)](r,o)})}}},Lo),n}[Qo(391)](){const t=Qo,e=this[t(291)][t(332)][t(369)](t(308))[t(294)];this[t(291)][t(332)][t(262)](t(386),async()=>{const i=t;this[i(291)][i(392)](i(382));const n=this[i(291)][i(274)][i(369)](i(329));if(this[i(291)][i(274)][i(393)](i(388))){const t=this[i(291)][i(274)][i(369)](i(388));await t[i(326)]()}else await n[i(296)]();if(this[i(291)][i(274)][i(393)](i(394))&&this[i(291)][i(274)][i(369)](i(394))[i(320)](),this[i(291)][i(274)][i(393)](i(271))){const t=this[i(291)][i(274)][i(369)](i(271));t[i(317)]&&t[i(364)]()}const s=this[i(327)]();return e(s)[i(358)](t=>{const e=i;return this[e(297)]=t,this[e(291)][e(274)][e(393)](e(385))&&this[e(291)][e(274)][e(369)](e(385))[e(377)](),this[e(291)][e(274)][e(393)](e(293))&&(this[e(291)][e(274)][e(369)](e(301))[e(367)][e(383)][e(319)][e(273)]=e(347)),t})[i(389)](t=>(console[i(324)](t),this[i(291)][i(374)](i(382)),null))})}[Qo(404)](){const t=Qo,e=this[t(291)][t(332)][t(369)](t(308))[t(331)];this[t(291)][t(332)][t(262)](t(323),()=>(this[t(291)][t(274)][t(393)](t(394))&&this[t(291)][t(274)][t(369)](t(394))[t(320)](),this[t(291)][t(274)][t(393)](t(293))&&(this[t(291)][t(274)][t(369)](t(301))[t(367)][t(383)][t(319)][t(273)]=""),this[t(297)][t(274)][t(369)](t(287))[t(359)](),e(this[t(297)])[t(358)](()=>{const e=t;if(this[e(291)][e(374)](e(382)),this[e(297)]=null,this[e(291)][e(274)][e(393)](e(385))){const t=this[e(291)][e(274)][e(369)](e(385));t[e(377)](),t[e(384)]()}})))}[Qo(279)](t){const e=Qo,i=this[e(291)][e(332)][e(369)](e(356)),n=this[e(291)][e(332)][e(369)](e(266)),s=this[e(291)][e(332)][e(369)](e(322));return Ko[e(363)](s,t)[e(358)](t=>(n[e(319)][e(273)]=e(405),i[e(319)][e(273)]=e(347),this[e(400)]=!0,t))}[Qo(302)](t){const e=Qo,i=this[e(291)][e(332)][e(369)](e(356));return this[e(291)][e(332)][e(369)](e(266))[e(319)][e(273)]=e(347),i[e(319)][e(273)]="",this[e(400)]=!1,t[e(406)]()}async[Qo(402)](t){const e=Qo,i=this[e(291)],n=this[e(297)][e(274)][e(369)](e(287)),s=i[e(274)][e(369)](e(329)),r=i[e(274)][e(369)](e(265)),o=n[e(350)][e(351)](t);let a,c,u;try{await r[e(309)](o,this[e(316)]),a=r[e(343)](o),c=r[e(261)](o)}catch(t){return void console[e(324)](t)}i[e(335)][e(284)](t=>{const n=e;for(const e of Array[n(396)](i[n(335)][n(289)][n(276)](n(292))))t[n(306)](e)}),n[e(368)]=!1,i[e(335)][e(283)](t=>{const n=e;t[n(381)](null),t[n(352)](i[n(335)][n(270)][n(311)][n(341)]());const s=Object[n(401)](a);for(const e of i[n(335)][n(270)][n(409)])n(337)!=e[n(355)]&&e[n(395)]()&&!s[n(269)](e[n(355)])&&t[n(348)](e);for(const e of s){let s=i[n(335)][n(270)][n(267)](e);s&&s[n(395)]()||(s=t[n(375)](e));const r=c[e],o=Object[n(401)](r),u=a[e];for(const e of s[n(341)]())o[n(269)](e)||t[n(360)](e,s);for(const i of o)t[n(399)](i,c[e][i],s);t[n(372)](t[n(379)](s)),t[n(376)](i[n(371)][n(295)](u,s),s,0)}});const l=at(i[e(378)],e(281));return u=o[e(342)]?-1==o[e(342)][e(290)](l)?l+": "+o[e(342)]:o[e(342)]:l+": "+o[e(407)][e(288)](i[e(378)][e(387)],{month:e(336),day:e(278)})+", "+o[e(407)][e(272)](i[e(378)][e(387)],{hour:e(278),minute:e(278)}),await s[e(354)]({name:u}),n[e(368)]=!0,i[e(332)][e(369)](e(308))[e(331)]()}}function ra(){var t=["30879HoaPlR","9nfXbPY","905546sjPpZG","21273318SJKkLy","116508KIGgWf","1750Oeeica","361955XxsfOV","119EZEiKW","64xRNuLz","11196904yjCUbK","772467TeOwIL"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=243]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(886022===parseInt(e(243))/1+-parseInt(e(246))/2*(-parseInt(e(245))/3)+-parseInt(e(252))/4*(-parseInt(e(250))/5)+-parseInt(e(248))/6*(-parseInt(e(251))/7)+-parseInt(e(253))/8+parseInt(e(244))/9*(parseInt(e(249))/10)+-parseInt(e(247))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(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:()=>le,Revision:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>ia,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,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;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,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));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,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),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,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),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,A),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,A),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 A(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 R(t){return A(t)}function M(t){return"__proto__"===t}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?: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 E.test(t)}}const L=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\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&&(F.test(t)||!L.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(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=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=j(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 Z(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?Z(e)?H(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=j(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}}const $=Y;function B(){const t=["9InltQH","model","toVersion","authors","346881ZkipvX","authorsIds","368140ftgBxn","creator","map","attributes","104awrlQL","1120452zDRhlf","1015588VVXChe","2OEsKGm","fromVersion","_update","set","createdAt","2342142glHjgX","1701070jmanvC","creatorId","fire","name","setAttribute","removeAttribute","393141yfknqr","toJSON","setName","diffData"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=332]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(430106===-parseInt(e(343))/1*(-parseInt(e(352))/2)+parseInt(e(350))/3+-parseInt(e(351))/4+parseInt(e(358))/5+parseInt(e(357))/6+-parseInt(e(335))/7*(parseInt(e(349))/8)+-parseInt(e(339))/9*(parseInt(e(345))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class G extends((0,t.ObservableMixin)()){id;[$(346)];[$(342)];[$(338)];[$(341)];[$(353)];[$(340)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(346)]=e[i(346)]||null,this[i(342)]=e[i(342)]||[],this[i(338)]=e[i(338)]||null,this[i(341)]=e[i(341)]||0,this[i(353)]=e[i(353)]||0,this[i(355)](i(332),e[i(332)]||""),this[i(355)](i(356),e[i(356)]||new Date),this[i(355)](i(348),e[i(348)]||{})}[$(337)](t){this[$(354)]({name:t})}[$(333)](t,e){const i=$,n=R(this[i(348)]);U(n,t,e),this[i(354)]({attributes:n})}[$(334)](t){const e=$,i=R(this[e(348)]);(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=j(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]&&Z(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(354)]({attributes:i})}[$(354)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(332),i(356),i(338),i(342),i(348),i(341),i(353),i(359)];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(342)]&&(s[i(344)]=s[i(342)][i(347)](t=>t.id),delete s[i(342)]),this[i(360)](i(354),s,e))}[$(336)](){const t=$;return{id:this.id,name:this[t(332)],creatorId:this[t(346)]?this[t(346)].id:null,authorsIds:this[t(342)][t(347)](t=>t.id),diffData:this[t(338)],createdAt:this[t(356)],attributes:this[t(348)],fromVersion:this[t(353)],toVersion:this[t(341)]}}}var J=i(782),Q=i(211),K=i(783);const X=et;function tt(){const t=["earlier","from","1172UCzdzO","63VIGYXy","getRevision","fromVersion","fromCharCode","isOfficialPlugin","createdAt","491470svzVed","push","requires","reverse","newRevisionId","pluginName","457Fihpxx","1108520vCRVcP","oldRevisionId","getRevisionsIterator","diffData","getLaterVisibleRevision","later","getRevisions","getEarlierVisibleRevision","RevisionsRepository","isNaN","authorsIds","attributes","getIndex","join","length","creatorId","plugins","getUser","61272VxCTWL","name","_revisions","afterInit","createRevision","editor","359544ctgfhl","get","Users","isPremiumPlugin","getRevisionsInDiff","280191ukAtsI","toVersion","toJSON","data","href","map","1491WTHyrJ","add","addRevision","4938WGdhKn"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=168]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(157468===parseInt(e(203))/1*(parseInt(e(190))/2)+parseInt(e(178))/3+parseInt(e(222))/4+parseInt(e(204))/5+-parseInt(e(187))/6*(parseInt(e(184))/7)+-parseInt(e(173))/8*(parseInt(e(191))/9)+parseInt(e(197))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends J.Plugin{[X(169)];static get[X(199)](){return[Q.Users]}static get[X(202)](){return X(212)}static get[X(195)](){return!0}static get[X(176)](){return!0}get[X(218)](){const t=X;return this[t(169)][t(218)]}constructor(e){const i=X;super(e),this[i(169)]=new t.Collection}[X(170)](){!async function(e){const i=k([72,69,122,83,97,85,106,48,104,84,101,57,74,113,50,79,115,86,67,80,75,100,98,109,52,66,53,51,108,111,117,56,103,65,105,87,107,76,49,90,55,102,88,99,73,70,116,118,82,77,81,120,121,110,89,54,112,71,68,78,119,114]),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(213)](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([72]);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(183)](t=>String[e(194)](t))[e(217)]("")}!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:1754524800;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(182)]);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(171)](t){const e=X,i=this[e(172)][e(220)][e(174)](e(175));return new G({id:t.id,name:t[e(168)],creator:t[e(219)]?i[e(221)](t[e(219)]):null,diffData:t[e(207)]||t[e(181)],authors:t[e(214)][e(183)](t=>i[e(221)](t)),createdAt:new Date(t[e(196)]),attributes:t[e(215)],fromVersion:t[e(193)],toVersion:t[e(179)]})}[X(186)](t,e=0){const i=X;this[i(169)][i(185)](t,e)}[X(192)](t){const e=X;return this[e(169)][e(174)](t)}[X(210)](t={toJSON:!1}){const e=X,i=Array[e(189)](this[e(169)]);return i[e(200)](),t[e(180)]?i[e(183)](t=>t[e(180)]()):i}[X(216)](t){const e=X;return this[e(169)][e(216)](t)}[X(211)](t){const e=X,[,i]=this[e(206)](t,{direction:e(188)});return i}[X(208)](t){const e=X,[,i]=this[e(206)](t,{direction:e(209)});return i}[X(177)](t){const e=X,i=[];for(const n of this[e(206)](t[e(201)]))if(i[e(198)](n),n.id===t[e(205)])break;return i}*[X(206)](t,{direction:e=X(188),filter:i=()=>!0}={}){const n=X,s=n(188)===e?1:-1;let r=this[n(169)][n(174)](t),o=this[n(216)](r);for(yield r;r;){if(o+=s,r=this[n(192)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=495]})(t,e)}const st=nt;function rt(){const t=["length","config","childNodes","isOfficialPlugin","_makeModelFromViewString","domChildrenToView","useFillerType","render","document","div","loadRevisionData","pluginName","getFillerOffset","getRevisionDocumentData","viewChildrenToDom","_getViewFromDiffObj","1268423tYzxiM","diffData","1473043whMRzX","_getTypeCharForViewElement","htmlProcessor","toModel","attributesAfter","24tCnrEn","append","string","customProperties","9RYqXvm","collaboration.channelId","editor","from","89474CxjUwq","forEach","321IHHlEP","marked","type","parse","getRevisionRootsAttributes","map","domConverter","attachChange","_typeCharToViewClass","revision-end","_appendChild","processor","constructor","attributes","68555npmJeS","domDocument","name","_removeRevisionMarkers","toData","editing","14532tjGJAO","874270ALAdSU","createElement","251806piVCGO","6oZIIxp","_setCustomProperty","filter","view","RevisionHistoryUtils","fillerOffset","getRevision","revision-start","560cAuPHj","innerHTML","children","insertions","default","isPremiumPlugin","data","isAttached","12ceNutV","startsWith","_viewClassToTypeChar","get","data-revision-"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(776910===parseInt(e(567))/1*(parseInt(e(550))/2)+-parseInt(e(527))/3*(-parseInt(e(547))/4)+-parseInt(e(541))/5*(-parseInt(e(551))/6)+parseInt(e(525))/7*(-parseInt(e(559))/8)+parseInt(e(521))/9*(parseInt(e(548))/10)+-parseInt(e(512))/11+-parseInt(e(517))/12*(parseInt(e(510))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends J.Plugin{static get[st(505)](){return st(555)}static get[st(497)](){return!0}static get[st(564)](){return!0}[st(569)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[st(535)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[st(504)](t,e){const i=st;if(t[i(511)]||!e)return;const n=this[i(523)][i(495)][i(570)](i(522)),s=await e[i(557)]({channelId:n,revisionId:t.id});t[i(511)]=s[i(511)]}[st(507)](t){const e=st,i={};for(const n in t[e(511)]){if(t[e(511)][n][e(534)]&&!t[e(511)][n][e(534)][e(566)])continue;const s=this[e(544)](JSON[e(530)](t[e(511)][n][e(562)])),r=this[e(523)][e(546)][e(554)][e(502)],o=new K.ViewDocumentFragment(r,s[e(532)](t=>this[e(509)](t,!1)));this[e(523)][e(565)][e(538)][e(500)](e(528)),i[n]=this[e(523)][e(565)][e(538)][e(545)](o),this[e(523)][e(565)][e(538)][e(500)](e(563))}return i}[st(531)](t){const e=st,i={};for(const n in t[e(511)])t[e(511)][n][e(534)]&&!t[e(511)][n][e(534)][e(566)]||(i[n]=t[e(511)][n][e(516)]||{});return i}[st(513)](t){const e=st;return this[e(569)][e(570)](t[e(539)])}[st(509)](t,e){const i=st,n=this[i(523)][i(546)][i(554)][i(502)];if(i(519)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(529)]||"r"==t[i(529)]?[]:t[i(561)][i(532)](t=>this[i(509)](t,e));const o=this[i(535)][i(570)](t[i(529)])||K.ViewElement,a=this[i(523)][i(565)][i(514)][i(533)];if(s=new o(n,t[i(543)],t[i(540)],r),"u"==t[i(529)]&&t[i(561)][0]){const r=t[i(561)][0];if(s[i(501)]=function(t){const e=i,n=t[e(549)](e(503));return n[e(560)]=r,n[e(496)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(537)](s);const e=Array[i(524)](a[i(508)](t,{bind:!1})),r=a[i(542)][i(549)](i(503));r[i(518)](...e),s=Array[i(524)](a[i(499)](r))[0]}}else if("r"==t[i(529)]&&t[i(561)][0]){const r=t[i(561)][0];if(s[i(501)]=function(t){t[i(560)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(537)](s);const e=Array[i(524)](a[i(508)](t,{bind:!1})),r=a[i(542)][i(549)](i(503));r[i(518)](...e);const o=Array[i(524)](a[i(499)](r));o[i(572)]>1?s[i(537)](o):s=o[0]}}if(t[i(520)])for(const[e,n]of t[i(520)])s[i(552)](e,n);const c=void 0===t[i(556)]?null:t[i(556)];return null!==c&&(s[i(506)]=()=>c),s}}[st(498)](t){const e=st,i=JSON[e(530)](t),n=this[e(523)][e(546)][e(554)][e(502)],s=new K.ViewDocumentFragment(n,i[e(532)](t=>this[e(509)](t,!0)));return this[e(523)][e(565)][e(515)](s)}[st(544)](t){const e=st;return(t=t[e(553)](t=>!t[e(543)]||e(558)!==t[e(543)]&&e(536)!==t[e(543)]))[e(526)](t=>{const i=e;i(519)!=typeof t&&(t[i(561)]=this[i(544)](t[i(561)]),t[i(540)]=t[i(540)][i(553)](t=>!t[0][i(568)](i(571))))}),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),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return D(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 R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===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=bt();return(mt=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(159050===parseInt(e(708))/1+parseInt(e(412))/2+parseInt(e(406))/3*(-parseInt(e(409))/4)+parseInt(e(483))/5+-parseInt(e(649))/6*(-parseInt(e(538))/7)+-parseInt(e(679))/8*(-parseInt(e(617))/9)+-parseInt(e(465))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bt);class pt extends J.Plugin{[ft(706)];[ft(683)];[ft(664)]=null;[ft(430)];[ft(479)]=null;[ft(474)];[ft(492)];[ft(423)];[ft(690)];[ft(591)];[ft(668)];[ft(509)];[ft(520)];[ft(543)];static get[ft(615)](){return ft(499)}static get[ft(476)](){return!0}static get[ft(577)](){return!0}static get[ft(657)](){return[Q.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(430)]=this[i(437)][i(413)][i(494)](i(685)),this[i(591)]=this[i(437)][i(413)][i(494)](i(500)),this[i(474)]=new vt(this[i(437)]),this[i(423)]=this[i(437)][i(444)][i(494)](i(717))||i(660),this[i(690)]=new Map,this[i(543)]=null;const n=(0,t.uid)();this[i(492)]={history:this[i(437)][i(432)][i(469)][i(433)],getLatestVersion:()=>Promise[i(501)](this[i(437)][i(432)][i(469)][i(669)]),getCurrentRevisionId:()=>n},this[i(637)](i(645),!1),this[i(637)](i(641),!0),this[i(637)](i(618),!1),this[i(437)][i(444)][i(484)](i(608),!0),this[i(437)][i(407)][i(588)](i(684))[i(411)]({view:i(542)})}[ft(535)](){const t=ft;this[t(560)](),this[t(437)][t(724)].on(t(485),()=>{const e=t,i=this[e(430)][e(567)](0),n=i&&null===i[e(695)]?i:null;if(this[e(509)]=!!n&&this[e(437)][e(444)][e(494)](e(608)),this[e(437)][e(413)][e(574)](e(498))){const t=this[e(492)][e(644)](),s=this[e(430)][e(567)](t);if(s)this[e(520)]=s[e(561)],this[e(509)]=!1;else{const t=this[e(492)][e(433)][e(687)][e(473)](t=>!t[e(594)]),s=t?t[e(487)]:this[e(492)][e(433)][e(669)];i?(i[e(651)]<s&&i[e(686)]({toVersion:s}),this[e(509)]?(this[e(492)][e(644)]=()=>n.id,this[e(520)]=n[e(561)]):(this[e(520)]=i[e(651)],this[e(509)]=!1)):(this[e(520)]=s,this[e(509)]=!1)}}else n&&(this[e(437)][e(432)][e(469)][e(433)][e(669)]=Math[e(718)](n[e(651)],this[e(437)][e(432)][e(469)][e(433)][e(669)]),n[e(561)]===n[e(651)]?(0!==n[e(561)]&&(this[e(492)][e(644)]=()=>n.id),this[e(509)]=!1):this[e(509)]&&(this[e(492)][e(644)]=()=>n.id,this[e(520)]=n[e(561)])),this[e(509)]||(this[e(520)]=this[e(437)][e(432)][e(469)][e(669)]);this[e(474)][e(535)](this[e(492)][e(433)]),this[e(704)](this[e(520)]),this[e(518)](this[e(520)]),this[e(479)]&&this[e(670)]()}),this[t(549)](t(645)).to(this,t(618),t=>!t),this[t(706)]=this[t(437)][t(444)][t(494)](t(706));const e=this[t(437)];this[t(683)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(647)==r||i(511)==r||i(552)==r||i(648)==r||i(448)==r||i(457)==r||i(438)==r||i(576)==r){delete e[s],n=r,clearInterval(this[i(683)]),this[i(683)]=void 0;break}}i(511)==n&&e[i(460)](i(495)),i(552)==n&&e[i(460)](i(682)),i(648)==n&&e[i(460)](i(466)),i(448)==n&&e[i(460)](i(621),i(653)),i(457)==n&&e[i(460)](i(467)),i(438)==n&&e[i(460)](i(482)),i(576)==n&&e[i(460)](i(674))},1e3)}async[ft(636)](){const t=ft;if(this[t(430)][t(603)]>0){const e=this[t(430)][t(567)](0),i=await this[t(514)](e),n=await this[t(539)](e);this[t(527)](i,n)}}[ft(489)](){const t=ft;super[t(489)](),this[t(683)]&&clearInterval(this[t(683)])}[ft(578)](t){this[ft(492)]=t}async[ft(445)](){const t=ft,e=await this[t(492)][t(513)]();if(e>this[t(664)][t(651)]){await this[t(680)]();const i=this[t(580)]({revision:this[t(664)],to:e});i[t(658)]=i[t(634)][t(516)](e=>this[t(437)][t(413)][t(494)](t(622))[t(675)](e)),this[t(664)][t(686)](i)}}async[ft(619)](e={},i=null){const n=ft,s=[];await this[n(680)](),this[n(509)]=!1,i>this[n(664)][n(651)]&&(i=null),null===i&&(i=await this[n(492)][n(513)]());const r=this[n(701)](i),o=this[n(580)]({from:r,to:i});if(this[n(664)][n(651)]<i){const t=this[n(580)]({revision:this[n(664)],from:i,to:i});t[n(658)]=[],t[n(634)]=[],t.id=this[n(664)].id,this[n(664)][n(686)](t,!0),delete t[n(658)],s[n(564)](t)}e[n(443)]=this[n(437)][n(413)][n(494)](n(622)).me.id,e[n(665)]=e[n(665)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(630)](e);s[n(564)](e);const c=this[n(430)][n(709)](a);if(0!==c){const t=this[n(430)][n(567)](c-1);if(t[n(561)]!==i){const r=this[n(474)][n(425)](i,t[n(651)]),o={id:t.id,diffData:r[n(521)],authorsIds:r[n(634)],authors:r[n(634)][n(516)](t=>this[n(437)][n(413)][n(494)](n(622))[n(675)](t)),fromVersion:i};t===this[n(664)]&&(o[n(408)]=new Date(e[n(408)][n(404)]()+10)),t[n(686)](o,!0),delete o[n(658)],s[n(564)](o)}}if(this[n(479)]){for(const t of s)this[n(628)](t.id,t,!0);this[n(670)]()}return a}[ft(630)](t){const e=ft,i=this[e(430)][e(428)](t);return this[e(479)]&&i.on(e(686),(t,i,n)=>{const s=e;n||(this[s(628)](i.id,i,!0),this[s(670)]())}),this[e(430)][e(512)](i,this[e(671)](i)),i}async[ft(514)](t){const e=ft;return await this[e(591)][e(419)](t,this[e(479)]),this[e(591)][e(514)](t)}async[ft(539)](t){const e=ft;return await this[e(591)][e(419)](t,this[e(479)]),this[e(591)][e(539)](t)}[ft(670)](){const t=ft;if(0===this[t(690)][t(714)])return;if(this[t(618)])return;let e=Array[t(472)](this[t(690)][t(721)]());this[t(690)][t(442)]();for(let i=0;i<e[t(603)];i++){const n=e[i];let s=!1;for(const e of Object[t(554)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(688)](t=>null!==t),!e[t(603)])return;for(let i=0;i<e[t(603)];i++){const n=e[i];void 0!==n[t(561)]&&void 0===n[t(651)]&&(n[t(651)]=this[t(430)][t(567)](n.id)[t(651)]),void 0!==n[t(651)]&&void 0===n[t(561)]&&(n[t(561)]=this[t(430)][t(567)](n.id)[t(561)])}const i=this[t(437)][t(444)][t(494)](t(717));this[t(618)]=!0,this[t(571)](),this[t(479)][t(639)](e,i)[t(723)](()=>{this[t(618)]=!1})[t(459)](e=>{const i=t;if(e)for(const t of e)this[i(525)]({id:t.id,createdAt:t[i(408)]});this[i(471)](),this[i(670)]()})}[ft(580)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(561)],i=null!==i?i:t[n(651)];const s=this[n(474)][n(425)](e,i),r={diffData:s[n(521)],authorsIds:s[n(634)],fromVersion:e,toVersion:i};if(!t||i!==t[n(651)]){const t=i-1,e=this[n(492)][n(433)][n(584)](t);r[n(408)]=e&&e[n(408)]||new Date}if(this[n(543)]&&e===this[n(543)][n(561)])for(const t of this[n(543)][n(658)])r[n(634)][n(661)](t.id)||r[n(634)][n(564)](t.id);return r}[ft(628)](t,e,i){const n=ft;if(this[n(690)][n(574)](t)){const s=this[n(690)][n(494)](t);e=i?{...s,...e}:{...e,...s}}this[n(690)][n(637)](t,e)}[ft(525)](t){const e=ft,i=this[e(430)][e(567)](t.id);if(t[e(408)]&&(t[e(408)]=new Date(t[e(408)])),t[e(634)]){const i=this[e(437)][e(413)][e(494)](e(622));t[e(658)]=t[e(634)][e(516)](t=>i[e(675)](t))}i[e(686)](t,!0)}[ft(704)](t){const e=ft,i=this[e(430)][e(567)](this[e(430)][e(603)]-1);if(i)this[e(423)]=i.id;else{const i=!this[e(437)][e(432)][e(469)][e(692)][e(473)](t=>this[e(437)][e(432)][e(463)](t)),n=this[e(437)][e(413)][e(494)](e(622)).me.id,s=at(this[e(437)][e(666)],e(i?589:572));this[e(625)]({from:t,to:t,id:this[e(423)],name:s,creatorId:n})}}[ft(518)](t){const e=ft,i=this[e(492)][e(644)]();this[e(664)]=this[e(430)][e(567)](i),this[e(664)]||(this[e(664)]=this[e(625)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(680)](){const t=ft;this[t(509)]&&!this[t(543)]&&(await this[t(591)][t(419)](this[t(664)],this[t(479)]),this[t(474)][t(642)](this[t(664)]),this[t(543)]={fromVersion:this[t(664)][t(561)],authors:this[t(664)][t(658)][t(568)]()})}[ft(527)](e,i){const n=ft;let s=this[n(437)][n(444)][n(494)](n(526)),r=this[n(437)][n(444)][n(494)](n(439));if(void 0===s){s={};for(const t of this[n(437)][n(432)][n(469)][n(547)]())s[t]=""}if(n(524)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(437)][n(432)][n(469)][n(547)]())r[t]={}}let o=!1;const a=Object[n(554)](s),c=Object[n(554)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(480)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(554)](r[t])[n(603)]>0){o=!0;break}}o||(o=c[n(595)](t=>!this[n(437)][n(432)][n(469)][n(496)](t))),o&&(0,t.logWarning)(n(627),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(437)][n(444)][n(637)](n(526),e),this[n(437)][n(444)][n(637)](n(439),i)}[ft(571)](){const t=ft;if(!this[t(668)]){const e=this[t(437)][t(413)][t(494)](t(629));this[t(668)]=e[t(502)](at(this[t(437)][t(666)],t(503)))}}[ft(471)](){const t=ft;this[t(668)]&&(this[t(437)][t(413)][t(494)](t(629))[t(659)](this[t(668)]),this[t(668)]=null)}[ft(671)](t){const e=ft,i=this[e(430)][e(446)]();i[e(540)]();let n=0;for(;n<i[e(603)];){const s=i[n];if(s===this[e(664)]){n++;continue}if(s.id===this[e(423)])break;const r=t[e(651)]-s[e(651)]||t[e(561)]-s[e(561)];if(r>0)break;if(r<0)n++;else{if(!t[e(695)]&&s[e(695)])break;if(s[e(695)]||!t[e(695)]){if(t[e(408)]>s[e(408)])break;n++}else n++}}return n}[ft(701)](t){const e=ft,i=this[e(430)][e(446)]();i[e(540)](),i[e(689)]();const n=i[e(473)](i=>i[e(651)]<=t)[e(651)];return n<this[e(520)]?this[e(520)]:n}[ft(625)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(580)]({from:e,to:i});o[r(665)]=t,o[r(443)]=n,o.id=s;const a=this[r(630)](o);return this[r(479)]&&this[r(628)](o.id,o,!0),a}[ft(560)](){const t=ft;this[t(437)][t(407)][t(588)](t(607))[t(497)]({model:t(542)})}}class vt{[ft(437)];[ft(601)];[ft(515)];[ft(455)];[ft(725)];[ft(555)];[ft(699)];[ft(422)];[ft(662)];[ft(557)];[ft(536)];[ft(451)];[ft(616)];[ft(633)];[ft(581)];[ft(712)];[ft(417)];constructor(t){const e=ft;this[e(437)]=t,this[e(515)]=new Map,this[e(455)]=-1,this[e(725)]=-1,this[e(555)]=new Map,this[e(699)]=new Map,this[e(422)]=new Map,this[e(662)]=new Map,this[e(557)]=new Map,this[e(536)]=new Map,this[e(451)]=new Map,this[e(616)]=new Map,this[e(633)]=new Map,this[e(581)]=new Map,this[e(712)]=1}[ft(535)](t){const e=ft;this[e(601)]=t;const i=new Map,n=new Map,s=this[e(437)][e(432)][e(469)][e(692)][e(516)](t=>t[e(462)]);for(const t of s){const s=this[e(437)][e(432)][e(469)][e(496)](t),r=gt(s);i[e(637)](t,r),n[e(637)](t,Object[e(582)](s[e(611)]()))}const r=Array[e(472)](this[e(437)][e(432)][e(569)])[e(516)](t=>[t[e(665)],t[e(676)]()]),o=this[e(601)][e(669)];this[e(579)](o,i,r,n),this[e(417)]=this[e(712)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(637)](t,i),c[e(637)](t,{})}this[e(579)](Number[e(620)],a,[],c)}[ft(425)](t,e){const i=ft;if(this[i(455)]===t&&this[i(725)]<=e)this[i(515)][i(714)]>1&&this[i(593)](this[i(725)]),this[i(426)](this[i(725)],e,!0);else{if(!this[i(515)][i(574)](t)){const e=this[i(507)](t);this[i(452)](e,t,!1)}this[i(452)](t,e,!0)}return this[i(455)]=t,this[i(725)]=e,this[i(434)]()}[ft(642)](t){const e=ft,i=this[e(437)][e(413)][e(494)](e(500));this[e(491)](),this[e(455)]=t[e(561)],this[e(725)]=t[e(651)];for(const n in t[e(521)]){const s=t[e(521)][n][e(424)],r=R(t[e(521)][n][e(519)])||{},o=i[e(678)](t[e(521)][n][e(585)]);o[e(462)]=n,o[e(586)]=!s||!s[e(418)],o[e(418)]=()=>o[e(586)],this[e(662)][e(637)](n,o),this[e(557)][e(637)](n,r),s&&this[e(581)][e(637)](n,s);const a=this[e(673)](o);this[e(451)][e(637)](n,a);for(const[t,i]of o[e(569)]){if(!t[e(705)](e(702)))continue;const n=t[e(429)](":")[2];for(const t of i[e(505)]({singleCharacters:!0})){const i=this[e(449)](t),s=e(698)==t[e(461)]?t[e(464)][e(475)][e(568)](0,-1):t[e(464)][e(475)],r=a[e(656)](s)[e(592)](i);this[e(616)][e(637)](r,{userId:n})}}}this[e(417)]=this[e(712)];const n=[...Array(this[e(712)])[e(554)]()][e(568)](1)[e(688)](t=>!this[e(616)][e(574)](t));let s=0;const r=new Map;for(const o in t[e(521)]){const a=t[e(521)][o][e(424)],c=R(t[e(521)][o][e(435)])||{},u=i[e(678)](t[e(521)][o][e(553)]);u[e(462)]=o,u[e(586)]=!a||a[e(418)],u[e(418)]=()=>u[e(586)],this[e(699)][e(637)](o,u),this[e(422)][e(637)](o,c);const l=this[e(673)](u,Number[e(620)]);this[e(536)][e(637)](o,l),r[e(637)](o,u[e(418)]()?c:{});for(const[t,i]of u[e(569)]){if(!t[e(705)](e(702)))continue;const n=t[e(429)](":")[2];for(const t of i[e(505)]({singleCharacters:!0})){const i=this[e(449)](t),s=this[e(712)]++,r=e(698)==t[e(461)]?t[e(464)][e(475)][e(568)](0,-1):t[e(464)][e(475)];l[e(656)](r)[e(626)](i,s),this[e(616)][e(637)](s,{userId:n})}}for(const t of this[e(437)][e(432)][e(610)](u)[e(505)]({singleCharacters:!0})){const i=this[e(449)](t),r=e(698)==t[e(461)]?t[e(464)][e(475)][e(568)](0,-1):t[e(464)][e(475)],o=l[e(656)](r);o[e(592)](i)>0||o[e(626)](i,n[s++])}for(const[t,i]of u[e(569)])t[e(705)](e(702))||this[e(555)][e(637)](t,i)}const o=yt(e(691));this[e(662)][e(637)](e(691),o),this[e(451)][e(637)](e(691),this[e(673)](o,1));const a=yt(e(691));this[e(699)][e(637)](e(691),a),this[e(536)][e(637)](e(691),this[e(673)](a,1));const c=Array[e(472)](this[e(699)])[e(516)](([t,e])=>[t,gt(e)]);this[e(579)](this[e(725)],c,this[e(555)],r)}[ft(700)](){const t=ft;this[t(491)](),this[t(455)]=-1,this[t(725)]=-1,this[t(515)][t(442)](),this[t(535)](this[t(601)])}[ft(579)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(637)](t,{start:e[s(490)][s(551)](),end:e[s(468)][s(551)](),rootName:e[s(504)][s(462)]});this[s(515)][s(637)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(593)](t){const e=ft;this[e(515)][e(562)](t)}[ft(491)](){const t=ft;this[t(616)][t(442)](),this[t(633)][t(442)](),this[t(581)][t(442)](),this[t(699)][t(442)](),this[t(422)][t(442)](),this[t(662)][t(442)](),this[t(557)][t(442)](),this[t(536)][t(442)](),this[t(451)][t(442)](),this[t(555)][t(442)](),this[t(712)]=1,this[t(417)]=this[t(712)]}[ft(673)](t,e=null){const i=ft;let n=null;t.is(i(450))||(n=new K.ModelElement(t[i(665)],{vid_start:null===e?this[i(712)]++:e++}));const s=[];for(const n of t[i(563)]())if(n.is(i(710))){s[i(564)](this[i(673)](n,e));const t=s[s[i(603)]-1];null!==e&&(e=t.is(i(710),i(573))?t[i(592)](i(720))+1:t[i(592)](i(703))+1)}else for(let t=0;t<n[i(481)];t++)s[i(564)](new K.ModelElement(i(573),{vid:null===e?this[i(712)]++:e++}));if(t.is(i(450))){const e=yt(t[i(462)]);return e[i(599)](0,s),e}return n[i(626)](i(703),null===e?this[i(712)]++:e++),n[i(599)](0,s),n}[ft(452)](t,e,i){const n=ft;this[n(491)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(515)][n(494)](t);this[n(662)]=new Map(s),this[n(557)]=new Map(R(o));for(const[t,e]of this[n(662)])if(n(691)!==t&&(this[n(699)][n(637)](t,gt(e)),this[n(422)]=new Map(R(o)),i)){const i=this[n(712)];this[n(536)][n(637)](t,this[n(673)](e)),this[n(451)][n(637)](t,this[n(673)](e,i))}this[n(417)]=this[n(712)],this[n(699)][n(637)](n(691),gt(this[n(662)][n(494)](n(691)))),i&&this[n(536)][n(637)](n(691),this[n(673)](this[n(662)][n(494)](n(691))));for(const[t,e]of r){const i=this[n(662)][n(494)](e[n(462)]),s=this[n(699)][n(494)](e[n(462)]),r=new K.ModelRange(this[n(427)](e[n(490)],i),this[n(427)](e[n(468)],i)),o=this[n(672)](r,s);i[n(569)][n(637)](t,r),this[n(555)][n(637)](t,o)}this[n(426)](t,e,i)}[ft(426)](t,e,i){const n=ft;for(const s of this[n(601)][n(546)](t,e))this[n(556)](s,i);for(const t of this[n(699)][n(721)]())t[n(569)][n(442)]();for(const[t,e]of this[n(555)])this[n(699)][n(494)](e[n(504)][n(462)])[n(569)][n(637)](t,e[n(551)]());const s=new Map,r=new Map;for(const[t,e]of this[n(699)])s[n(637)](t,gt(e)),r[n(637)](t,this[n(422)][n(494)](t));this[n(579)](e,s,this[n(555)],r)}[ft(507)](t){const e=ft,i=Array[e(472)](this[e(515)][e(554)]());i[e(613)]((t,e)=>t-e),i[e(540)]();for(const e of i)if(e<t)return e;return Number[e(620)]}[ft(548)](t,e){const i=ft,n=Array[i(472)](e[i(569)])[i(516)](([e,n])=>[e,this[i(672)](n,t)]);t[i(569)]=new Map(n)}[ft(609)](t){const e=ft;for(const i of this[e(555)][e(721)]()){const n=i[e(716)](t),s=K.ModelRange[e(544)](n);i[e(490)]=s[e(490)],i[e(468)]=s[e(468)]}}[ft(556)](t,e){const i=ft;if(i(598)!=t[i(461)]&&i(493)!=t[i(461)]){if(i(606)==t[i(461)]){const n=t[i(596)][i(504)][i(462)];this[i(699)][i(574)](n)||(this[i(699)][i(637)](n,yt(n,!0)),this[i(422)][i(637)](n,{}),e&&this[i(536)][i(637)](n,yt(n,!0)))}else{if(i(531)==t[i(461)]||i(654)==t[i(461)]||i(713)==t[i(461)])return void this[i(583)](t);i(522)==t[i(461)]&&this[i(604)](t)}if(i(522)!==t[i(461)]){const e=this[i(537)](t,this[i(699)]);e[i(715)](),this[i(609)](e)}if(e)switch(t[i(461)]){case i(606):this[i(652)](t);break;case i(570):case i(659):case i(632):this[i(694)](t);break;case i(534):this[i(510)](t);break;case i(429):this[i(640)](t)}}else this[i(458)](t,e)}[ft(537)](t,e){const i=ft,n=t[i(551)]();return n[i(650)]=t[i(650)],this[i(545)](n,e),n}[ft(528)](t){const e=ft;return t[e(516)](t=>{const i=e,n=this[i(449)](t);return Number(t[i(478)][i(592)](n))})}[ft(541)](t,e){const i=ft;if(t.is(i(710),i(573)))e[i(564)]({item:t,type:i(565)});else{t.is(i(710))&&e[i(564)]({item:t,type:i(420)});for(const n of t[i(563)]())this[i(541)](n,e);t.is(i(710))&&e[i(564)]({item:t,type:i(698)})}return e}[ft(434)](){const t=ft,e=new Map(this[t(616)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(662)][t(554)](),...this[t(699)][t(554)]()]);a[t(562)](t(691));for(const e of a){const i=this[t(699)][t(494)](e)||yt(e,!1),n=this[t(662)][t(494)](e)||yt(e,!1);i[t(418)]()||n[t(418)]()?(s[t(553)][e]=gt(i),s[t(585)][e]=gt(n),this[t(548)](s[t(585)][e],n),this[t(548)](s[t(553)][e],i),r[t(553)][e]=this[t(541)](this[t(536)][t(494)](e),[]),r[t(585)][e]=this[t(541)](this[t(451)][t(494)](e)||yt(e,!1),[])):a[t(562)](e)}for(const s of a){const o=r[t(553)][s];for(const s of o){const r=this[t(449)](s),o=s[t(478)][t(592)](r);i[t(562)](o),o>=this[t(417)]&&n[t(637)](o,e[t(494)](o))}}for(const s of a){const a=r[t(553)][s],c=this[t(528)](r[t(585)][s]);let u=0;for(const s of a){const r=this[t(449)](s),a=s[t(478)][t(592)](r);if(!n[t(574)](a)&&!o[t(574)](a))if(i[t(574)](a))u++;else{if(a!=c[u]){const n=e[t(494)](a)||e[t(494)](c[u]);for(;a!=c[u];)i[t(574)](c[u])||(o[t(637)](c[u],n),e[t(637)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(553)][e];for(const e of s){const s=this[t(449)](e),r=e[t(478)][t(592)](s);if(o[t(574)](r)){const e=o[t(494)](r);i[t(574)](r)||i[t(637)](r,{...e}),n[t(637)](r,{...e})}}}for(const e of i[t(554)]())e>=this[t(417)]&&i[t(562)](e);const c=new Map;for(const e of a){let s=r[t(553)][e];for(const e of s)if(e[t(478)].is(t(710),t(447))){const i=this[t(449)](e),s=e[t(478)][t(592)](i);if(n[t(574)](s)){const i=e[t(478)][t(587)][t(587)][t(592)](t(488)),r=c[t(494)](i)||new Set;r[t(502)](n[t(494)](s)[t(677)]),c[t(637)](i,r)}}s=r[t(585)][e];for(const e of s)if(e[t(478)].is(t(710),t(447))){const n=this[t(449)](e),s=e[t(478)][t(592)](n);if(i[t(574)](s)){const n=e[t(478)][t(587)][t(587)][t(592)](t(488)),r=c[t(494)](n)||new Set;r[t(502)](i[t(494)](s)[t(677)]),c[t(637)](n,r)}}for(const e of c[t(554)]())(n[t(574)](e)||i[t(574)](e))&&c[t(562)](e)}for(const e of a){const s=r[t(553)][e];let o=null,a=null;for(const e of s){const s=this[t(449)](e),r=e[t(478)][t(592)](s),u=c[t(494)](r);u&&t(420)==e[t(461)]&&(o=Array[t(472)](u)[0],a=e[t(478)][t(592)](t(703))),o&&(i[t(637)](r,{userId:o}),n[t(637)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(585)][e],a=s[t(553)][e];for(const{userId:e}of this[t(633)][t(721)]())null!==e&&l[t(502)](e);for(const{userId:e}of this[t(581)][t(721)]())null!==e&&l[t(502)](e);this[t(441)](a,r[t(553)][e],n,t(410),l),this[t(441)](o,r[t(585)][e],i,t(523),l),u[e]={insertions:this[t(477)](a),deletions:this[t(477)](o),attachChange:this[t(581)][t(494)](e)||null,attributesBefore:R(this[t(557)][t(494)](e))||{},attributesAfter:R(this[t(422)][t(494)](e))}}return{diffData:u,authorsIds:Array[t(472)](l)}}[ft(696)](t){const e=ft;for(const[,i]of t[e(569)]){const t=i[e(490)][e(530)]()[e(688)](t=>e(447)==t[e(665)]);for(const i of t)1==i[e(635)]&&i[e(559)](0).is(e(710),e(416))&&i[e(559)](0)[e(626)](e(614),!0)}}[ft(477)](t){const e=ft;this[e(696)](t);const i=this[e(437)][e(724)][e(415)](t,{}),n=Array[e(472)](i[e(563)]())[e(516)](t=>this[e(681)](t));return JSON[e(575)](n)}[ft(681)](t){const e=ft;if(t.is(e(573)))return t[e(724)];{const i=this[e(437)][e(413)][e(494)](e(500)),n=t,s=this[e(437)][e(724)][e(558)][e(405)],r={type:i[e(486)](n),name:n[e(665)],attributes:Array[e(472)](n[e(611)]()),children:Array[e(472)](n[e(563)]())[e(516)](t=>this[e(681)](t))};if(t.is(e(646))&&e(440)!=t[e(665)]){const i=t[e(421)](s[e(693)],s);r[e(508)][e(564)](i[e(655)])}else if(t.is(e(643))){const i=s[e(693)][e(711)](n[e(665)]);t[e(421)](i,s),r[e(508)][e(564)](i[e(638)])}const o=Array[e(472)](n[e(529)]());o[e(603)]>0&&(r[e(436)]=o);const a=n[e(726)]();return null!==a&&(r[e(470)]=a),r}}[ft(441)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(437)][r(432)];for(let n=0;n<e[r(603)];n++){const s=this[r(449)](e[n]),c=e[n][r(478)][r(592)](s),h=i[r(494)](c),d=n==e[r(603)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(677)]!=o[r(677)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(677)],d=l(702)+n+":"+h+":"+c++,f=u[l(506)](i,a);t[l(569)][l(637)](d,f),null!==h&&s[l(502)](h)}}[ft(449)](t){const e=ft;switch(t[e(461)]){case e(420):return e(488);case e(698):return e(703);default:return e(720)}}[ft(545)](t,e){const i=ft;t[i(487)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(494)](s[i(504)][i(462)]);t[n]=this[i(427)](s,r)}if(s instanceof K.ModelRange){const r=e[i(494)](s[i(504)][i(462)]);t[n]=this[i(672)](s,r)}i(504)===n&&(t[i(504)]=e[i(494)](t[i(504)][i(462)]))}}[ft(672)](t,e){const i=ft;return this[i(437)][i(432)][i(506)](this[i(427)](t[i(490)],e),this[i(427)](t[i(468)],e))}[ft(427)](t,e){const i=ft;return this[i(437)][i(432)][i(590)](e,t[i(475)],t[i(707)])}[ft(652)](t){const e=ft,i=this[e(536)][e(494)](t[e(596)][e(504)][e(462)]),n=this[e(427)](t[e(596)],i),s=null===t[e(650)]?null:t[e(650)]||this[e(437)][e(413)][e(494)](e(622)).me.id,r=n[e(587)],o=this[e(712)],a=[];for(const i of t[e(517)])if(i.is(e(710)))a[e(564)](this[e(673)](i));else for(let t=0;t<i[e(481)];t++)a[e(564)](new K.ModelElement(e(573),{vid:this[e(712)]++}));const c=this[e(712)];for(let t=o;t<c;t++)this[e(616)][e(637)](t,{userId:s});r[e(599)](n[e(431)],a)}[ft(694)](t){const e=ft;(t=this[e(537)](t,this[e(536)]))[e(715)]();const i=null===t[e(650)]?null:t[e(650)]||this[e(437)][e(413)][e(494)](e(622)).me.id,n=t[e(550)](),s=n[e(587)],r=n[e(431)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(559)](e);r.is(a(710),a(573))?n[a(637)](r[a(592)](a(720)),{userId:i}):(n[a(637)](r[a(592)](a(488)),{userId:i}),t(n,r,0,r[a(635)]),n[a(637)](r[a(592)](a(703)),{userId:i}))}}(this[e(616)],s,r,r+t[e(600)])}[ft(510)](t){const e=ft,i=null===(t=this[e(537)](t,this[e(536)]))[e(650)]?null:t[e(650)]||this[e(437)][e(413)][e(494)](e(622)).me.id,n=t[e(697)][e(587)],s=t[e(612)][e(587)],r=n[e(592)](e(703)),o=s[e(592)](e(488));n[e(626)](e(703),s[e(592)](e(703))),s[e(626)](e(703),r),this[e(616)][e(637)](o,{userId:i}),this[e(616)][e(637)](r,{userId:i}),t[e(715)]()}[ft(640)](t){const e=ft,i=null===(t=this[e(537)](t,this[e(536)]))[e(650)]?null:t[e(650)]||this[e(437)][e(413)][e(494)](e(622)).me.id,n=t[e(722)],s=t[e(453)][e(587)];t[e(715)]();const r=s[e(592)](e(703)),o=t[e(605)][e(414)];if(n){const t=o[e(592)](e(703)),n=s[e(592)](e(703));s[e(626)](e(703),t),o[e(626)](e(703),n),this[e(616)][e(637)](s[e(592)](e(703)),{userId:i}),this[e(616)][e(637)](o[e(592)](e(488)),{userId:i})}else{const t=this[e(712)]++,n=this[e(712)]++;s[e(626)](e(703),t),o[e(626)](e(488),n),o[e(626)](e(703),r),this[e(616)][e(637)](t,{userId:i}),this[e(616)][e(637)](n,{userId:i})}}[ft(604)](t){const e=ft;if(!t[e(631)])return;const i=(t=this[e(537)](t,this[e(699)]))[e(667)]?t[e(667)][e(504)]:null,n=t[e(456)]?t[e(456)][e(504)]:null;i&&this[e(555)][e(562)](t[e(665)]),n&&this[e(555)][e(637)](t[e(665)],t[e(456)][e(551)]());const s=null===t[e(650)]?null:t[e(650)]||this[e(437)][e(413)][e(494)](e(622)).me.id,r=t[e(665)];if(!this[e(633)][e(574)](r))return void this[e(633)][e(637)](r,{range:t[e(667)],userId:s});const o=this[e(633)][e(494)](r),a=o[e(597)],c=t[e(456)];null==a&&null==c||a&&c&&a[e(624)](c)?this[e(633)][e(562)](t[e(665)]):o[e(677)]=s}[ft(458)](t,e){const i=ft;this[i(699)][i(574)](t[i(462)])?this[i(699)][i(494)](t[i(462)])[i(586)]=t[i(602)]:(this[i(699)][i(637)](t[i(462)],yt(t[i(462)],!0)),this[i(422)][i(637)](t[i(462)],{}),e&&this[i(536)][i(637)](t[i(462)],yt(t[i(462)],!0)));const n=null===t[i(650)]?null:t[i(650)]||this[i(437)][i(413)][i(494)](i(622)).me.id,s=this[i(581)][i(494)](t[i(462)]);s&&s[i(677)]===n?this[i(581)][i(562)](t[i(462)]):this[i(581)][i(637)](t[i(462)],{userId:n,isAttached:t[i(602)]})}[ft(583)](t){const e=ft,i=this[e(422)][e(494)](t[e(504)][e(462)]);null===t[e(532)]?delete i[t[e(623)]]:i[t[e(623)]]=t[e(532)]}}function gt(t){const e=ft,i=yt(t[e(462)],t[e(418)]());for(const n of t[e(563)]()){const t=n[e(454)](!0);i[e(533)](t)}return i}function yt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(462)]=t,n[i(586)]=e,n[i(418)]=()=>n[i(586)],n}function kt(t,e,i){const n=ft,s=n(698)==t[n(461)]?i[n(719)](t[n(478)],n(468)):i[n(566)](t[n(478)]);return i[n(590)](e,s[n(475)],s[n(707)])}function bt(){const t=["875754iDNFit","_isPendingUpdate","saveRevision","NEGATIVE_INFINITY","featureNotAllowed","Users","key","isEqual","_makeRevision","_setAttribute","editor-initial-data-replaced-with-revision-data","_bufferUpdate","PendingActions","addRevisionData","affectsData","reinsert","_touchedMarkers","authorsIds","childCount","afterInit","set","innerHTML","updateRevisions","_handleSplitOperation","isEnabled","loadState","rawElement","getCurrentRevisionId","isReady","uiElement","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyDomainLimit","12FBZnDs","_authorId","toVersion","_handleInsertOperation","RevisionHistory","removeRootAttribute","outerHTML","getNodeByPath","requires","authors","remove","initial","includes","_baseRoots","createPositionAfter","currentRevision","name","locale","oldRange","_pendingAction","version","sendBufferedUpdates","_findInsertionIndex","_fixRange","_makeIdsRoot","usageLimit","getUser","getRange","userId","_makeModelFromViewString","8hiVVdZ","_loadState","_getViewJson","expired","_licenseKeyCheckInterval","upcast","RevisionsRepository","_update","_operations","filter","shift","_bufferedUpdates","$graveyard","roots","domDocument","_handleMoveOperation","creator","_processRootBeforeSave","targetPosition","elementEnd","_diffRoots","reInit","_getFromVersion","revision:","vid_end","_createInitialRevision","startsWith","licenseKey","stickiness","28071LuUxrd","getIndex","element","createElement","_revisionId","changeRootAttribute","size","_execute","getTransformedByOperation","collaboration.channelId","max","createPositionAt","vid","values","graveyardPosition","finally","data","_lastTo","getFillerOffset","getTime","domConverter","546AFOoBU","conversion","createdAt","6476vNyCue","insertion","dataToMarker","593900KXNkoa","plugins","nodeAfter","toView","paragraph","_startingRevisionId","isAttached","loadRevisionData","elementStart","render","_diffRootsAttributes","_initialRevisionId","attachChange","getData","_applyOperations","_fixPosition","createRevision","split","repository","offset","model","history","_getState","attributesAfter","customProperties","editor","revisionHistoryLicenseKeyTrialLimit","rootsAttributes","$comment","_markChanges","clear","creatorId","config","update","getRevisions","tableCell","revisionHistoryLicenseKeyNotAllowed","_getVidAttributeName","documentFragment","_baseIdsRoots","_calculateMetaData","splitPosition","_clone","_lastFrom","newRange","revisionHistoryLicenseKeyEvaluationLimit","_handleRootOperation","then","_showLicenseError","type","rootName","hasContent","previousPosition","63880nZULou","domainLimit","evaluationLimit","end","document","fillerOffset","_removePendingAction","from","find","_revisionDataBuilder","path","isOfficialPlugin","_prepareViewToSave","item","adapter","trim","offsetSize","trialLimit","36075CJfuTI","define","ready","_getTypeCharForViewElement","baseVersion","vid_start","destroy","start","_reset","_source","detachRoot","get","invalid","getRoot","markerToData","RealTimeCollaborationClient","RevisionTracker","RevisionHistoryUtils","resolve","add","PENDING_ACTION_REVISION_HISTORY","root","getWalker","createRange","_getPreviousFrom","children","_continueCurrentRevision","_handleMergeOperation","revisionHistoryLicenseKeyInvalid","addRevision","getLatestVersion","getRevisionDocumentData","_savedMetaData","map","nodes","_createCurrentRevision","attributesBefore","_startingVersion","diffData","marker","deletion","string","setRevisionData","initialData","_replaceEditorDataWithRevisionData","_getBaseVids","getCustomProperties","getAncestors","addRootAttribute","newValue","_appendChild","merge","init","_idsRoots","_cloneOperation","106939VKxGJj","getRevisionRootsAttributes","reverse","_generateTape","revision","_loadedStateData","_createFromRanges","_fixOperation","getOperations","getRootNames","_copyMarkers","bind","getMovedRangeStart","clone","revisionHistoryLicenseKeyExpired","insertions","keys","_markers","_handleOperation","_baseRootsAttributes","htmlProcessor","getChild","_setConversion","fromVersion","delete","getChildren","push","text","createPositionBefore","getRevision","slice","markers","move","_addPendingAction","Initial revision","$text","has","stringify","revisionHistoryLicenseKeyUsageLimit","isPremiumPlugin","setSource","_saveMetaData","buildRevisionData","_touchedRoots","fromEntries","_handleRootAttributeOperation","getOperation","deletions","_isAttached","parent","for","Empty document","createPositionFromPath","_utils","getAttribute","_removeMetaData","_isInit","some","position","range","addRoot","_insertChild","howMany","source","isAdd","length","_handleMarkerOperation","insertionPosition","insert","dataDowncast","revisionHistory.resumeUnsavedRevision","_transformMarkers","createRangeIn","getAttributes","sourcePosition","sort","keepParagraph","pluginName","_touched"];return(bt=function(){return t})()}function wt(t,e,i){const n=ft,s=n(420)==t[n(461)]?i[n(719)](t[n(478)],0):i[n(663)](t[n(478)]);return i[n(590)](e,s[n(475)],s[n(707)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Dt=i(357),Vt=i.n(Dt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Lt=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Mt(),Ft.insert=At().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Vt();Ot()(Lt.A,Ft);Lt.A&&Lt.A.locals&&Lt.A.locals;const Pt=jt;function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=123]})(t,e)}function zt(){const t=["3920480nWVjIh","arrowdown","errorText","arrowright","focus","Name of the revision","element","locale","627345smdCAk","2137226cknabq","24fZubqh","form","revisionNameInputView","keystrokes","23601456sdBlaV","focusTracker","listenTo","arrowleft","render","revisionName","add","fieldView","extendTemplate","220","3031200sHwTqj","706914FXrdiq","ck-responsive-form","revisionNameInputValue","trim","setTemplate","optional","stopPropagation","input","label","arrowup","473060oVebZi","value","ck-revision-history-save-revision-form","_createRevisionNameInput","reset","set","initializeCssTransitionDisablerMixin"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(704906===parseInt(e(153))/1+parseInt(e(128))/2+parseInt(e(127))/3+parseInt(e(145))/4+-parseInt(e(138))/5*(-parseInt(e(155))/6)+parseInt(e(154))/7+-parseInt(e(159))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(160)];[Pt(158)];[Pt(157)];constructor(e,i){const n=Pt;super(e),this[n(160)]=new t.FocusTracker,this[n(158)]=new t.KeystrokeHandler,this[n(143)](n(130),""),this[n(157)]=this[n(141)](i),this[n(132)]({tag:n(156),attributes:{class:["ck",n(140),n(129)],tabindex:"-1"},children:[this[n(157)]]}),this[n(144)]()}[Pt(163)](){const t=Pt;super[t(163)](),(0,It.submitHandler)({view:this}),this[t(160)][t(123)](this[t(157)][t(151)]),this[t(158)][t(161)](this[t(151)]);const e=e=>e[t(134)]();this[t(158)][t(143)](t(148),e),this[t(158)][t(143)](t(162),e),this[t(158)][t(143)](t(137),e),this[t(158)][t(143)](t(146),e)}[Pt(149)](){const t=Pt;this[t(157)][t(149)]()}get[Pt(164)](){const t=Pt;return this[t(157)][t(124)][t(151)][t(139)][t(131)]()}set[Pt(164)](t){const e=Pt;this[e(157)][e(124)][e(151)][e(139)]=t[e(131)]()}[Pt(142)](){const t=Pt;this[t(157)][t(124)][t(151)][t(139)]="",this[t(157)][t(147)]=null}[Pt(141)](t){const e=Pt,i=new It.LabeledFieldView(this[e(152)],It.createLabeledInputText),n=i[e(124)];n[e(125)]({attributes:{maxlength:e(126)}});let s=at(this[e(152)],e(150));return!t&&(s+=" ("+at(this[e(152)],e(133))+")"),i[e(136)]=s,n.on(e(135),()=>{const t=e;this[t(130)]=n[t(151)][t(139)][t(131)]()}),i}}const Ut=Ht;function Zt(){const t=["menu","isPremiumPlugin","revisionName","418208azDIQr","submit","view","hide","1054WIgzHn","children","Cancel","showRevisionViewerCallback","_showDialog","init","get","revisionSave","_createSaveRevisionFormView","add","RevisionTracker","reset","config","set","Revision history","componentFactory","items","errorText","show","role","revisionHistory.requireRevisionName","Dialog","Open revision history","1535nuuIAG","41590TSKmnd","isReady","panelView","Save current revision","pluginName","editor","isOfficialPlugin","buttonView","869eEyzXz","477DNReDk","addMany","Accept","requires","revisionNameInputView","4230PZGlTb","menuitem","menuBar:revisionHistory","isOpen","revisionHistory","plugins","editing","isReadOnly","107048rdRYAT","bind","12vEfRyc","1026445vyGXTF","_registerMenuComponent","The revision name cannot be empty.","RevisionHistoryUI","focus","locale","1087713JmxPRz","_saveRevisionFormView","execute","ck-button-action","isEnabled","saveRevision","delegate","render"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(150785===parseInt(e(318))/1*(parseInt(e(285))/2)+parseInt(e(333))/3*(parseInt(e(331))/4)+parseInt(e(308))/5*(-parseInt(e(323))/6)+-parseInt(e(334))/7+-parseInt(e(281))/8+-parseInt(e(270))/9+-parseInt(e(309))/10*(-parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends J.Plugin{static get[Ut(313)](){return Ut(267)}static get[Ut(315)](){return!0}static get[Ut(279)](){return!0}static get[Ut(321)](){return[pt]}[Ut(271)];[Ut(290)](){const t=Ut,e=this[t(314)],i=e[t(328)][t(291)](t(295));e.ui[t(300)][t(294)](t(327),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(311)][s(286)],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(332)](s(274)).to(i,s(310),i,s(274),e,s(330),(t,e,i)=>t&&e&&!i),r[s(316)][s(298)]({icon:_t.IconHistory,label:at(n,s(299)),tooltip:!0}),u[s(298)]({label:at(n,s(312)),withText:!0,role:s(324)}),u[s(332)](s(274)).to(i,s(310),i,s(274),e,s(330),(t,e,i)=>t&&e&&!i),u.on(s(272),()=>this[s(289)]()),h[s(298)]({label:at(n,s(307)),withText:!0,role:s(324)}),h[s(332)](s(274)).to(i,s(310),e,s(330),(t,e)=>t&&!e),h.on(s(272),()=>{const t=s;e[t(297)][t(291)](t(327))[t(288)](),r[t(326)]=!1,e[t(329)][t(283)][t(268)]()}),c[s(286)][s(294)](u),l[s(286)][s(294)](h),a[s(304)]=s(278),a[s(301)][s(319)]([c,l]),o[s(294)](a),r}),e.ui[t(300)][t(294)](t(325),()=>this[t(335)]())}[Ut(335)](){const t=Ut,e=this[t(314)],i=e[t(269)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(316)][t(298)]({icon:_t.IconHistory,label:at(i,t(299))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(298)]({label:at(i,t(312))}),o[t(276)](t(272)).to(n),o.on(t(272),()=>{this[t(289)]()}),r[t(286)][t(294)](o),s[t(301)][t(294)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(298)]({label:at(i,t(307))}),c[t(276)](t(272)).to(n),c.on(t(272),()=>{const i=t;e[i(297)][i(291)](i(327))[i(288)]()}),a[t(286)][t(294)](c),s[t(301)][t(294)](a),n[t(311)][t(286)][t(294)](s),n}[Ut(289)](){const t=Ut,e=this[t(314)],i=e[t(269)],n=e[t(328)][t(291)](t(306)),s=e[t(328)][t(291)](t(295));function r(s){const r=t;e[r(297)][r(291)](r(305))&&""===s[r(280)]?s[r(322)][r(302)]=at(i,r(336)):(e[r(328)][r(291)](pt)[r(275)]({name:s[r(280)]}),n[r(284)]())}this[t(271)]||(this[t(293)](),this[t(271)].on(t(282),()=>r(this[t(271)]))),this[t(271)][t(296)](),n[t(303)]({id:t(292),title:at(i,t(312)),isModal:!0,content:this[t(271)],actionButtons:[{label:at(e[t(269)],t(287)),withText:!0,onExecute:()=>n[t(284)]()},{label:at(e[t(269)],t(320)),class:t(273),withText:!0,onCreate(i){const n=t;i[n(332)](n(274)).to(s,n(310),s,n(274),e,n(330),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(271)])}]})}[Ut(293)](){const t=Ut,e=this[t(314)],i=e[t(269)];this[t(271)]=new Wt(i,e[t(297)][t(291)](t(305))),this[t(271)][t(277)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=337]})(t,e)}function Yt(){const t=["ck-revision-change__","name","11997372NgfuSF","isSuggestion","bindTemplate","163504awCZhP","24715sbCVcn","13149UnqZHG","_model","ck-annotation","add","data","focus","394047QGomRp","ck-revision-change","2bRNNJK","Suggested by","420QBRdiW","4410WbQoyR","Removed by","836CwyyQr","element","set","author","470GDnzXq","span","ck-revision-change__label","changeId","8wFqbQa","setTemplate","div","2720179zzbUyI","Added by","type"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(257560===-parseInt(e(360))/1*(parseInt(e(362))/2)+-parseInt(e(365))/3*(parseInt(e(367))/4)+parseInt(e(353))/5*(-parseInt(e(364))/6)+parseInt(e(344))/7*(parseInt(e(341))/8)+parseInt(e(354))/9*(-parseInt(e(337))/10)+-parseInt(e(352))/11+parseInt(e(349))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[$t(340)];[$t(355)];constructor(t,e){const i=$t;super(t),this[i(355)]=e,this[i(340)]=e.id;const n=this[i(351)],s=at(t,e[i(358)][i(350)]?i(363):i(357)==e[i(346)]?i(345):i(366));this[i(369)](i(346),e[i(346)]),this[i(342)]({tag:i(343),attributes:{class:[i(356),i(361),n.to(i(346),t=>i(347)+t)],tabindex:-1},children:[{tag:i(338),children:[{tag:i(338),attributes:{class:[i(339)]},children:[{text:s}]},{text:" "+e[i(370)][i(348)]}]}]})}[$t(359)](){const t=$t;this[t(368)][t(359)]()}}var Jt=Qt;function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=121]})(t,e)}function Kt(){var t=["15XBHyer","916308zclNBK","8328456NjyGWT","author","rootName","createdAt","type","set","21nAHLXJ","4539552yJZVhD","5211460UgOAgo","data","10521mYqUvS","341636CzWLuZ","toJSON","104PvqVWJ","108842YaNLNd"];return(Kt=function(){return t})()}!function(t){for(var e=Qt,i=t();;)try{if(901235===-parseInt(e(123))/1+parseInt(e(121))/2*(parseInt(e(130))/3)+-parseInt(e(135))/4*(-parseInt(e(122))/5)+parseInt(e(131))/6+-parseInt(e(134))/7*(-parseInt(e(137))/8)+parseInt(e(124))/9+-parseInt(e(132))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Jt(125)];[Jt(128)];[Jt(133)];[Jt(126)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(125)]=e[i(125)],this[i(128)]=e[i(128)],this[i(133)]=e[i(133)]||{},this[i(126)]=e[i(126)],this[i(129)](i(127),e[i(127)])}[Jt(136)](){var t=Jt;return{id:this.id,authorId:this[t(125)].id,type:this[t(128)],data:this[t(133)],createdAt:this[t(127)]}}}function te(){const t=["30KjRAWp","2232QWHowe","_setChanges","3429800fzHKal","9794QCdDBp","3382764snvCWv","8835WaSazq","add","1969011ahCQiP","5852334xfNEFp","9dkgydO","changes","7945069CQlfPb","2BUgfWI","oldRevisionId","newRevisionId"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(495608===parseInt(e(398))/1*(-parseInt(e(391))/2)+parseInt(e(402))/3+parseInt(e(395))/4*(parseInt(e(400))/5)+parseInt(e(403))/6+parseInt(e(399))/7+-parseInt(e(397))/8*(parseInt(e(404))/9)+parseInt(e(394))/10*(-parseInt(e(390))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(393)];[ee(392)];[ee(405)];constructor(e,i){const n=ee;this[n(393)]=e,this[n(392)]=i,this[n(405)]=new t.Collection}[ee(396)](t){const e=ee;for(const i of t)this[e(405)][e(401)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().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=he();return(ae=function(t,e){return i[t-=174]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(497748===parseInt(e(396))/1*(parseInt(e(237))/2)+parseInt(e(267))/3+-parseInt(e(226))/4+-parseInt(e(332))/5+-parseInt(e(376))/6*(-parseInt(e(218))/7)+parseInt(e(366))/8*(-parseInt(e(421))/9)+parseInt(e(199))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class ce extends J.Plugin{[oe(479)];[oe(360)]=null;[oe(349)];[oe(258)];[oe(246)];[oe(303)];[oe(299)];static get[oe(471)](){return oe(336)}static get[oe(410)](){return!0}static get[oe(291)](){return!0}static get[oe(177)](){return[Q.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(479)]=this[e(474)][e(463)][e(496)](e(409)),this[e(349)]=this[e(474)][e(463)][e(496)](e(328)),this[e(261)](e(384),null),this[e(261)](e(264),null),this[e(258)]=null,this[e(261)](e(220),null),this[e(261)](e(428),!1),this[e(261)](e(255),!0),this.on(e(439),(t,i,n)=>{const s=e;this[s(384)]=null,this[s(264)]=null,this[s(474)][s(276)][s(214)][s(498)](t=>{const e=s;for(const i of this[e(474)][e(276)][e(214)][e(476)][e(377)])n?t[e(174)](e(489),i):t[e(317)](e(489),i)})}),this[e(482)](e(457)).to(this,e(384),t=>null!==t),this[e(482)](e(389)).to(this,e(428),this,e(220),this,e(384),(t,i,n)=>t&&n?i[e(290)][e(292)](n):0),this[e(482)](e(339)).to(this,e(428),this,e(220),(t,i)=>t?i[e(290)][e(293)]:0),this[e(246)]=null,this[e(303)]=new Map,this[e(299)]=this[e(474)][e(463)][e(496)](It.ContextualBalloon)}[oe(229)](){const t=oe,e=this[t(474)],i=new de(e,{direction:t(254)}),n=new de(e,{direction:t(398)});e[t(242)][t(337)](t(490),i),e[t(242)][t(337)](t(415),n),e[t(242)][t(337)](t(402),new le(e)),this.on(t(197),()=>{const e=t;i[e(263)](),n[e(263)]()}),this[t(432)](),this[t(426)](),e[t(268)](t(221)),e[t(463)][t(200)](t(419))&&e[t(463)][t(496)](t(419))[t(445)](t(221))}async[oe(423)](t){const e=oe;return await this[e(349)][e(181)](t,this[e(360)]),this[e(349)][e(423)](t)}async[oe(321)](t){const e=oe;return await this[e(349)][e(181)](t,this[e(360)]),this[e(349)][e(321)](t)}async[oe(281)](t,e,i=!1){const n=oe;if(!this[n(255)])return;const s=this[n(220)],r=this[n(479)],o=n(223)==typeof t?r[n(313)](t):t,a=n(223)==typeof e?r[n(313)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(220)]&&this[n(220)][n(468)]===c&&this[n(220)][n(312)]===u)return Promise[n(265)]();this[n(428)]=!1,this[n(264)]=null,this[n(384)]=null,this[n(220)]=new ne(c,u);const l=this[n(444)](o,a,!0)[n(286)](t=>this[n(349)][n(181)](t,this[n(360)]));return l[n(454)](new Promise(t=>{setTimeout(t,20)})),Promise[n(362)](l)[n(203)](()=>{const t=n;if(!this[t(255)])return;this[t(335)]();const e=this[t(469)](c,u);for(const i of e[t(290)])this[t(303)][t(261)](i.id,i);this[t(474)][t(499)][t(273)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(474)][n(499)][n(476)][n(309)]())i[n(365)](t);for(const t of Object[n(346)](e[n(499)])){const s=i[n(208)](t);for(const r of Object[n(346)](e[n(403)][t]))i[n(331)](r,e[n(403)][t][r],s);i[n(327)](e[n(499)][t],s,0)}}),this[t(220)][t(456)](this[t(252)](e[t(290)])),this[t(428)]=!0})[n(186)](t=>{const e=n;console[e(447)](t),this[e(335)](),s&&(this[e(220)]=s),this[e(428)]=!0})}[oe(213)](t,e){const i=oe,n=this[i(479)][i(239)](t);return n.on(i(304),(t,i,s)=>e(i,s,n)),this[i(479)][i(329)](n),n}[oe(335)](){const t=oe;this[t(384)]=null,this[t(355)](),this[t(246)]&&this[t(246)][t(326)](),this[t(246)]=null,this[t(303)][t(467)](),this[t(474)][t(499)][t(273)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(474)][i(499)][i(476)][i(309)]())e[i(365)](t)})}[oe(252)](t){const e=oe,i=[],n=new Map;for(const t of this[e(474)][e(499)][e(476)][e(309)]()){const s=this[e(474)][e(276)][e(214)][e(289)](t);if(!s)continue;const r=s[e(228)]()[e(400)](0);r&&(i[e(454)](t),n[e(261)](t,r))}return i[e(484)]((t,i)=>{const s=e,r=n[s(496)](t),o=n[s(496)](i);return r.y-o.y||r.x-o.x}),(t=t[e(486)](t=>i[e(280)](t[e(440)])))[e(484)]((t,n)=>i[e(342)](t[e(440)])-i[e(342)](n[e(440)])),t}[oe(450)](t){const e=oe,i=Array[e(305)](t[e(373)])[e(486)](([t,i])=>t[e(345)](e(385))&&!i[e(438)]),n=Array[e(305)](this[e(474)][e(499)][e(485)](t)[e(453)]({singleCharacters:!0}));if(0!=i[e(293)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(455)](":");if(s[e(217)][e(278)](t[e(368)])&&i[e(260)](),(t[e(315)][e(278)](s[e(183)])||t[e(315)][e(462)](s[e(183)]))&&(e(182)==r?t[e(459)]={userId:o}:e(480)==r&&(t[e(401)]={userId:o})),0==i[e(293)])break}return n}[oe(319)](t){const e=oe,i=new Map;for(let n=0;n<t[e(293)];n++)e(300)===t[n][e(487)]?(t[n][e(400)][e(422)]=n,t[n][e(400)][e(283)]=n):(e(262)===t[n][e(487)]?t[n][e(400)][e(422)]=n:e(240)===t[n][e(487)]&&(t[n][e(400)][e(283)]=n),i[e(261)](t[n].id,n));for(const n of i[e(269)]())e(262)===t[n][e(487)]?t[n][e(400)][e(283)]=i[e(496)](t[n][e(364)]):e(240)===t[n][e(487)]&&(t[n][e(400)][e(422)]=i[e(496)](t[n][e(364)]))}[oe(211)](t){const e=oe;for(let i=0;i<t[e(293)];i++){if(e(262)===t[i][e(487)])t[i][e(400)][e(422)]=i;else if(e(240)===t[i][e(487)]){t[i][e(400)][e(283)]=i;const n=t[i][e(400)][e(422)];t[n][e(364)]=t[i].id,t[i][e(364)]=t[n].id}else t[i][e(400)][e(422)]=i,t[i][e(400)][e(283)]=i,t[i][e(364)]=null;t[i][e(413)]||(t[i][e(413)]=[],t[i][e(233)]=[])}}[oe(465)](t,e){const i=oe,n=t[i(486)](t=>!t[i(459)]);for(let t=0;t<e[i(293)];t++)e[t][i(459)]&&(n[t][i(459)]=e[t][i(459)])}[oe(469)](t,e=null){const i=oe,n=this[i(479)][i(313)](t),s=e?this[i(479)][i(313)](e):null,r=this[i(444)](n,s),o=r[r[i(293)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(293)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(346)](e[i(251)]))if(e[i(251)][t][i(285)]){const n=e[i(251)][t][i(285)];n[i(372)]?(u[i(337)](t),l[i(200)](t)&&l[i(496)](t)[i(412)]==n[i(412)]?l[i(215)](t):l[i(261)](t,n)):l[i(200)](t)?(u[i(215)](t),l[i(215)](t)):(u[i(337)](t),l[i(261)](t,n))}else u[i(337)](t)}for(const t of u){const e=l[i(200)](t)&&!l[i(496)](t)[i(372)];let n=e?r[i(293)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(251)][t]){const n=e?o[i(251)][t][i(198)]:o[i(251)][t][i(443)];c[i(403)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(499)]={};for(const e of t[i(367)])a[i(261)](e.id,e);for(const e of u){const n=t[i(251)][e]?t[i(251)][e][i(296)]:"[]",s=t[i(251)][e]?t[i(251)][e][i(375)]:"[]";t[i(499)][e]={insertions:this[i(349)][i(371)](n),deletions:this[i(349)][i(371)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(305)](n[i(499)][t][i(296)][i(373)])[i(486)](([t])=>!t[i(345)](i(385))));let h=0;for(const o of r){const r=this[i(450)](o[i(499)][t][i(296)]);o==n?(e=r,s=e[i(293)],e[i(274)](t=>{t.id=h++}),this[i(211)](e)):this[i(465)](e,r);const a=e[i(486)](t=>!t[i(459)])[i(286)](t=>t.id);let c=0;const l=this[i(450)](o[i(499)][t][i(375)]);l[i(274)](t=>{t[i(401)]?t.id=s++:t.id=a[c++]}),this[i(211)](l),this[i(431)](e,i(459)),this[i(431)](l,i(401)),o==n&&this[i(483)](e,u),e=this[i(386)](e,l),this[i(319)](e),this[i(431)](e,i(401))}e=e[i(486)](t=>!(t[i(459)]&&t[i(401)]));const d=new Map(o[i(499)][t][i(375)][i(373)]),f=new Set(u[i(346)]());for(const t of d[i(346)]())f[i(215)](t);this[i(243)](e,f),this[i(192)](e),e=this[i(437)](e),e=this[i(222)](e),e=this[i(493)](e);const{root:m,changes:p}=this[i(404)](e,a,t);c[i(499)][t]=m;const v=l[i(496)](t);if(v){const e=a[i(496)](v[i(412)]),n=new Xt({author:e,type:v[i(372)]?i(337):i(266),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(383)](n),c[i(403)][t][i(397)]=n.id}c[i(290)]=c[i(290)][i(175)](p)}return c}[oe(483)](t,e){const i=oe;for(let n=0;n<t[i(293)];n++)for(const[s,r]of e)!r[i(438)]&&r[i(183)][i(278)](t[n][i(315)])&&t[n][i(413)][i(454)](s),r[i(217)][i(278)](t[n][i(368)])&&t[n][i(233)][i(454)](s)}[oe(386)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(293)]||r<e[i(293)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(454)](o);else if(a[i(401)]&&o[i(459)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(275)](t,s,e,r);n=n[i(175)](o),s=a,r=c}else a[i(401)]?(r++,n[i(454)](a)):(s++,n[i(454)](o))}return n}[oe(243)](t,e){const i=oe,n=[];for(let o=0;o<t[i(293)];o++){for(let r=0;r<t[o][i(413)][i(293)];r++){const a=t[o][i(413)][r];if(!e[i(200)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(354)!=c||i(182)!=u&&i(480)!=u||(n[i(383)]({type:u,name:a,userId:l}),t[o][i(413)][i(294)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(233)][i(293)];r++){const a=t[o][i(233)][r];if(!e[i(200)](a))continue;const{group:c,type:u}=s(a);if(i(354)!=c||i(182)!=u&&i(480)!=u)continue;t[o][i(233)][i(294)](r,1),r--;const l=n[i(442)](t=>t[i(238)]==a);l>-1&&n[i(294)](l,1)}}function s(t){const e=i,n=t[e(455)](":");return{group:n[0],type:n[1],subType:n[e(293)]>=5?n[2]:null,id:n[e(293)]<5?n[2]:n[3],authorId:n[e(293)]<5?n[3]:n[4],markerCount:6==n[e(293)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(293)];i++){if(t[e(459)]&&e(182)==n[i][e(487)]&&t[e(459)][e(412)]==n[i][e(412)])return t[e(425)]=n[i],void delete t[e(459)];if(!t[e(459)]&&!t[e(401)]&&e(480)==n[i][e(487)])return void(t[e(478)]=n[i])}}}[oe(431)](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(261)](o.id,n);for(let n=0;n<t[i(293)];n++){if(i(401)==e&&t[n][i(459)]||i(459)==e&&t[n][i(401)])continue;if(i(300)==t[n][i(487)]){t[n][i(271)]=0;continue}const s=r[i(496)](t[n][i(364)]),o=r[i(496)](t[n].id);t[n][i(271)]=s-o}}[oe(444)](t,e,i=!1){const n=oe,s=[];let r=this[n(479)][n(292)](t),o=this[n(479)][n(292)](e);for(-1==o&&(o=this[n(479)][n(250)][n(293)],i=!1);r<o;)s[n(454)](this[n(479)][n(313)](r)),r++;return i&&s[n(454)](this[n(479)][n(313)](r)),s}[oe(275)](t,e,i,n){const s=oe,r=this[s(474)][s(499)][s(189)];let o=e;for(;t[o]&&t[o][s(459)];)o++;let a=n;for(;i[a]&&i[a][s(401)];)a++;u(t,e,o),u(i,n,a);const c=i[s(434)](n,a)[s(175)](t[s(434)](e,o));return c[s(484)]((t,e)=>t[s(356)]!=e[s(356)]?t[s(356)]-e[s(356)]:t[s(435)]!=e[s(435)]?t[s(435)]-e[s(435)]:t[s(271)]!=e[s(271)]?e[s(271)]-t[s(271)]:!!t[s(459)]!=!!e[s(459)]?-1==t[s(356)]||0==t[s(356)]?t[s(459)]?-1:1:t[s(459)]?1:-1:t[s(363)]-e[s(363)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(194)],c=!0;for(let s=e;s<i;s++)if(r[n(316)](t[s][n(400)])||(c=!1),t[s][n(400)][n(422)]<e&&(o=s),t[s][n(400)][n(283)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(356)]=s<=o?-1:s<a?0:1,t[s][n(363)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(271)]?t[i][n(435)]=u:(u++,t[i][n(435)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(356)]&&(t[s][n(435)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(271)]?t[e][n(435)]=u:(u--,t[e][n(435)]=u,u--)}}[oe(192)](t){const e=oe,i=new Map,n=this[e(474)][e(499)][e(189)];for(let s=1;s<t[e(293)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(300)==c[e(487)])continue;if(c[e(487)]!=u[e(487)])continue;if(!n[e(407)](u[e(400)])||n[e(352)](u[e(400)]))continue;if(!n[e(407)](c[e(400)])||n[e(352)](c[e(400)]))continue;if((t[s][e(459)]||t[s][e(425)])&&t[s-1][e(401)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(401)]||!t[s-1][e(459)]&&!t[s-1][e(425)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(435)]==o[e(435)],h=Math[e(379)](r[e(435)])<Math[e(379)](o[e(435)])&&0==o[e(271)];(l||h)&&(i[e(261)](o.id,r.id),t[e(294)](a,1),s--,r[e(459)]=!1)}for(let n=0;n<t[e(293)];n++)i[e(200)](t[n][e(364)])&&(t[n][e(364)]=i[e(496)](t[n][e(364)]))}[oe(437)](t){const e=oe,i=new Set(t[e(286)](t=>t.id));for(let n=0;n<t[e(293)];n++)i[e(200)](t[n][e(364)])||0==t[n][e(271)]||(t[n][e(351)]=!0);return t[e(486)](t=>!t[e(351)])}[oe(222)](t){const e=oe,i=new Set;for(let n=0;n<t[e(293)];n++){if(i[e(200)](t[n].id)&&t[n][e(401)]&&(t[n][e(351)]=!0),t[n][e(351)])continue;if(0==t[n][e(271)])continue;if(e(262)!=t[n][e(487)])continue;if(null==t[n][e(364)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(364)];)e(262)==t[s][e(487)]?r++:e(240)==t[s][e(487)]&&r--,s++;if(0!=r)if(t[n][e(401)])t[n][e(351)]=!0;else for(;s!=n;)t[s][e(401)]&&0!=t[s][e(271)]&&(t[s][e(351)]=!0,i[e(337)](t[s][e(364)])),s--}return t[e(486)](t=>!t[e(351)])}[oe(493)](t){const e=oe,i=this[e(474)][e(499)][e(189)];for(let n=0;n<t[e(293)];n++){if(!(t[n][e(459)]||t[n][e(425)]||t[n][e(401)]||t[n][e(478)]))continue;if(0==t[n][e(271)])continue;const s=t[n][e(400)];i[e(407)](s)||i[e(352)](s)||(t[n][e(459)]&&delete t[n][e(459)],t[n][e(425)]&&delete t[n][e(425)],t[n][e(478)]&&delete t[n][e(478)],t[n][e(401)]&&(t[n][e(351)]=!0))}return t[e(486)](t=>!t[e(351)])}[oe(404)](t,e,i){const n=oe,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(474)][n(499)],c=a[n(189)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(293)];e++)if(n(262)===t[e][n(487)]){t[e][n(315)]=a[n(391)](s,f);const i=new K.ModelElement(t[e][n(400)][n(238)],t[e][n(400)][n(466)]());u[0][n(244)](i),f[n(454)](0),u[n(383)](i),t[e][n(368)]=a[n(391)](s,f)}else n(240)===t[e][n(487)]?(u[n(260)](),t[e][n(315)]=a[n(391)](s,f),f[n(369)](),f[f[n(293)]-1]++,t[e][n(368)]=a[n(391)](s,f)):(t[e][n(315)]=a[n(391)](s,f),d?d[n(307)]+=t[e][n(400)][n(314)]:d=new K.ModelText(t[e][n(400)][n(314)],t[e][n(400)][n(466)]()),t[e+1]&&n(300)===t[e+1][n(487)]&&v(d,t[e+1][n(400)])||(u[0][n(244)](d),d=null),f[f[n(293)]-1]+=t[e][n(400)][n(394)],t[e][n(368)]=a[n(391)](s,f));for(let e=0;e<t[n(293)];e++){const i=t[e][n(315)],s=t[e][n(368)];for(const s of t[e][n(413)])o[n(261)](s,{start:i,end:null});m(n(478),e,i,s),m(n(425),e,i,s),m(n(401),e,i,s),m(n(459),e,i,s);for(const i of t[e][n(233)]){const t=o[n(496)](i);t?t[n(217)]=s:o[n(261)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(474)][n(499)][n(343)](e[n(183)],e[n(217)]);s[n(373)][n(261)](t,i)}return r[n(484)]((t,e)=>{const i=n,r=s[i(373)][i(496)](i(385)+t.id),o=s[i(373)][i(496)](i(385)+e.id);return r[i(183)][i(405)](o[i(183)])?-1:r[i(183)][i(462)](o[i(183)])?1:r[i(217)][i(405)](o[i(217)])?-1:r[i(217)][i(462)](o[i(217)])?1:i(337)===t[i(487)]?-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(412)]:null,d=i===t[o(293)]-1,f=h[e][0],m=c[o(310)](t[i][o(400)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(217)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(412)]!==u&&(l[e][o(217)]=s,f&&f[o(412)]===l[e][o(412)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(262)!==t[i][o(487)]||f&&f[o(412)]===u||h[e][o(383)]({userId:u,object:t[i][o(400)],change:l[e]}),o(240)===t[i][o(487)]&&f&&f[o(241)]===t[i][o(400)]&&(h[e][o(260)](),l[e]=f[o(498)])),l[e]&&d&&(l[e][o(217)]=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(400)],f=a[h(189)][h(407)](d)&&!a[h(189)][h(352)](d),m=t[h(298)]==o[h(382)]&&o[h(207)];if(f&&m)return;const p=a[h(343)](t,o),v=e[h(496)](u),g=new Xt({author:v,type:h(459)==l||h(425)==l?h(337):h(266),data:{isSuggestion:h(425)==l||h(478)==l},createdAt:new Date,rootName:i});r[h(454)](g),s[h(373)][h(261)](h(385)+g.id,p)}function v(t,e){const i=n,s=t[i(466)](),r=e[i(466)]();for(const t of s){if(t[1]!==e[i(460)](t[0]))return!1;r[i(201)]()}return r[i(201)]()[i(190)]}}[oe(432)](){const t=oe;this[t(474)][t(353)][t(458)](t(234))[t(206)]({view:t(282)}),this[t(474)][t(353)][t(458)](t(357))[t(380)]({model:t(282),view:e=>{const i=t,n=e[i(470)][i(455)](":")[1],s=this[i(433)](n);if(!s)return null;const r=i(337)==s[i(487)]?i(182):i(480),o=[i(344),i(302)+r];return s[i(314)][i(184)]&&o[i(454)](i(302)+r+i(185)),this[i(384)]==s&&o[i(454)](i(236)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(474)][t(353)][t(458)](t(234))[t(337)](e=>{const i=t;e.on(i(216),(t,e,n)=>{const s=i,r=e[s(408)][s(323)](0);if(!r||!r.is(s(277),s(420)))return;if(!n[s(178)][s(347)](r,{attributes:[s(227),s(322)]}))return;const o=e[s(392)][s(183)][s(298)];n[s(481)][s(331)](s(227),r[s(460)](s(227)),o),n[s(481)][s(331)](s(322),r[s(460)](s(322)),o)},{priority:i(446)})}),this[t(474)][t(353)][t(458)](t(234))[t(337)](e=>{const i=t;e.on(i(277),(t,e,n)=>{const s=i;if(!n[s(178)][s(347)](e[s(408)],{attributes:[s(227),s(322)]}))return;if(e[s(392)][s(438)])return;const r=e[s(392)][s(183)][s(298)];r[s(176)](s(227))||r[s(176)](s(287))||(n[s(481)][s(331)](s(227),e[s(408)][s(460)](s(227)),r),n[s(481)][s(331)](s(322),e[s(408)][s(460)](s(322)),r))},{priority:i(446)})}),this[t(474)][t(353)][t(458)](t(234))[t(295)]({view:{name:t(451),attributes:{vid:!0}},model:{key:t(287),value:e=>e[t(460)](t(287))}}),this[t(474)][t(499)][t(189)].on(t(187),(e,[,i])=>{const n=t;[n(227),n(322),n(287)][n(280)](i)&&(e[n(232)]=!0,e[n(416)]())},{priority:t(430)}),this[t(474)][t(353)][t(458)](t(441))[t(337)](e=>{const i=t;e.on(i(288),(t,e,n)=>{const s=i;if(" "!=e[s(400)][s(314)]||e[s(400)][s(382)][s(308)]>1)return;if(!n[s(178)][s(347)](e[s(400)],t[s(238)]))return;const r=n[s(481)],o=n[s(411)][s(381)](e[s(245)]);r[s(472)](o,r[s(341)](s(451)))})}),this[t(474)][t(353)][t(458)](t(441))[t(488)]({model:t(282)}),this[t(474)][t(276)][t(477)].on(t(231),function(e){const i=t,n=e[i(463)][i(496)](i(336));return(t,s,r)=>{const o=i,a=s[o(470)][o(455)](":")[1],c=n[o(433)](a);if(!c)return null;const u=o(337)==c[o(487)]?o(455):o(253);if(!r[o(178)][o(448)](s[o(370)],t[o(238)]))return;const l=s[o(370)][o(453)](),h=s[o(370)][o(183)],d=e[o(499)][o(189)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(400)];p=p||d[o(350)](e);const i=r[o(411)][o(257)](e);if(i&&i[o(247)](o(492)))return;o(240)==t[o(487)]&&d[o(407)](e)&&!d[o(352)](e)&&(e[o(436)]||h[o(399)]?f&&f[o(382)]==e||(f=e,g(t[o(315)]),v=!0):m=m||t[o(315)])}function g(t){const e=o,i=r[e(481)][e(348)](e(451),{class:e(302)+u}),a=r[e(411)][e(196)](t);c[e(314)][e(184)]&&r[e(481)][e(317)](e(302)+u+e(185),i),n[e(384)]==c&&r[e(481)][e(317)](e(236),i),r[e(481)][e(327)](a,i),r[e(411)][e(359)](i,s[e(470)])}p||v||!m||g(m)}}(this[t(474)]),{priority:t(193)}),this[t(474)][t(276)][t(477)].on(t(495),(e,i,n)=>{const s=t,r=n[s(411)][s(449)](i[s(470)]);if(r)for(const t of r)(t[s(219)](s(395))||t[s(219)](s(417)))&&(n[s(411)][s(338)](t,i[s(470)]),n[s(481)][s(266)](t))},{priority:t(193)}),this[t(474)][t(276)][t(477)].on(t(231),(e,i,n)=>{const s=t,r=i[s(470)][s(455)](":")[1],o=this[s(433)](r);if(!o)return null;const a=s(337)==o[s(487)]?s(455):s(253);if(n[s(178)][s(448)](i[s(370)],e[s(238)]))for(const t of i[s(370)][s(461)]()){if(!t.is(s(277),s(297)))continue;const e=n[s(481)][s(348)](s(451),{class:s(302)+a}),r=n[s(411)][s(196)](this[s(474)][s(499)][s(311)](t));o[s(314)][s(184)]&&n[s(481)][s(317)](s(302)+a+s(185),e),this[s(384)]==o&&n[s(481)][s(317)](s(236),e),n[s(481)][s(327)](r,e),n[s(411)][s(359)](e,i[s(470)])}},{priority:t(193)}),this[t(474)][t(499)][t(476)].on(t(498),()=>{const e=t;this[e(474)][e(276)][e(214)][e(498)](t=>{const i=e;for(const e of this[i(474)][i(499)][i(476)][i(309)]()){const n=this[i(474)][i(499)][i(476)][i(306)](e),s=this[i(474)][i(276)][i(214)][i(476)][i(306)](e);if(s){const e=n[i(460)](i(397));if(t[i(301)](i(210),s),t[i(174)](i(333),s),t[i(174)](i(452),s),t[i(174)](i(179),s),e){const n=this[i(433)](e);if(!n)return null;t[i(331)](i(210),e,s),t[i(317)](i(358)+n[i(487)],s),this[i(384)]==n&&t[i(317)](i(179),s)}}}})}),this[t(474)][t(353)][t(458)](t(234))[t(206)]({view:t(270),model:e=>t(429)+e,converterPriority:t(430)}),this[t(474)][t(353)][t(458)](t(234))[t(206)]({view:t(494),model:e=>t(225)+e,converterPriority:t(430)}),this[t(474)][t(353)][t(458)](t(441))[t(488)]({model:t(354),view:e=>({name:t(191)+e,group:t(354)}),converterPriority:t(430)}),this[t(474)][t(353)][t(458)](t(357))[t(380)]({model:t(354),view:e=>{const i=t,n=e[i(470)][i(455)](":")[1];return i(182)!=n&&i(480)!=n?null:{classes:[i(390),i(325)+n]}}}),this[t(474)][t(276)][t(477)].on(t(284),ue(this[t(474)],t(253)),{priority:t(193)}),this[t(474)][t(276)][t(477)].on(t(418),ue(this[t(474)],t(455)),{priority:t(193)}),this[t(474)][t(276)][t(477)].on(t(378),(e,i,n)=>{const s=t,r=n[s(411)][s(449)](i[s(470)]);if(r)for(const t of r)t.is(s(259))&&(n[s(411)][s(338)](t,i[s(470)]),n[s(481)][s(266)](t))},{priority:t(193)})}[oe(433)](t){const e=oe;return this[e(303)][e(496)](t)}[oe(230)](t){const e=oe;return this[e(246)]&&this[e(246)][e(326)](),this[e(246)]=new Gt(this[e(474)][e(249)],t),this[e(246)]}[oe(426)](){const t=oe;this[t(474)][t(499)][t(476)][t(204)][t(248)](t(282)),this.on(t(318),(e,i,n,s)=>{const r=t;s&&this[r(299)][r(266)](s),n&&(this[r(299)][r(337)]({view:n,stackId:r(180),position:{target:()=>{const t=r,e=this[t(474)][t(276)],i=this[t(433)](n[t(424)]);let s;if(i[t(314)][t(188)]){const n=e[t(214)][t(289)](i[t(440)]);s=Array[t(305)](n[t(228)]())}else{const i=this[t(474)][t(499)][t(373)][t(496)](t(385)+n[t(424)]);s=Array[t(305)](e[t(411)][t(449)](i[t(238)]))[t(286)](i=>e[t(214)][t(205)][t(212)](i))[t(286)](e=>Array[t(305)](e[t(228)]()))[t(361)]()}return this[t(258)]&&s[t(320)](e=>e[t(324)]-3<=this[t(258)].y&&e[t(235)]+3>=this[t(258)].y&&e[t(388)]-3<=this[t(258)].x&&e[t(195)]+3>=this[t(258)].x)||s[0]}}}),this[r(299)][r(414)](r(180)))}),this.on(t(272),(e,i,n,s)=>{const r=t;this[r(264)]=n?this[r(230)](n):null,this[r(474)][r(499)][r(498)](()=>{const t=r,e=this[t(474)][t(276)];s&&(s[t(314)][t(188)]?e[t(214)][t(498)](i=>{const n=t;i[n(174)](n(179),e[n(214)][n(476)][n(306)](s[n(440)]))}):e[t(464)](t(385)+s.id)),n&&(n[t(314)][t(188)]?e[t(214)][t(498)](i=>{const s=t;i[s(317)](s(179),e[s(214)][s(476)][s(306)](n[s(440)]))}):e[t(464)](t(385)+n.id))})}),this[t(202)](this[t(474)][t(276)][t(214)][t(476)],t(340),(e,i)=>{const n=t;if(this[n(384)])return;const s=this[n(334)](i[n(224)]),r=this[n(303)][n(496)](s);r?(this[n(258)]={x:i[n(406)].x,y:i[n(406)].y},this[n(264)]=this[n(230)](r)):(this[n(258)]=null,this[n(264)]=null)}),this[t(202)](this[t(474)][t(276)][t(214)][t(476)],t(473),(e,i)=>{const n=t,s=this[n(334)](i[n(224)]),r=this[n(303)][n(496)](s);r?(this[n(258)]={x:i[n(406)].x,y:i[n(406)].y},r===this[n(384)]?this[n(299)][n(387)]():this[n(384)]=r):(this[n(258)]=null,this[n(384)]=null)})}[oe(334)](t){const e=oe;do{const i=t[e(460)](e(210));if(i)return i;t=t[e(382)]}while(t);return null}[oe(355)](){const t=oe;this[t(474)][t(499)][t(498)](e=>{const i=t;for(const t of this[i(474)][i(499)][i(373)])e[i(209)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(178)][r(448)](n[r(370)],i[r(238)]))return;const o=n[r(370)][r(453)](),a=n[r(370)][r(183)],c=t[r(499)][r(189)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(400)];h=h||c[r(350)](e);const i=s[r(411)][r(257)](e);if(i&&i[r(247)](r(492)))return;r(240)==t[r(487)]&&c[r(407)](e)&&!c[r(352)](e)&&(e[r(436)]||a[r(399)]?u&&u[r(382)]==e||(u=e,f(t[r(315)]),d=!0):l=l||t[r(315)])}function f(t){const i=r,o=s[i(411)][i(196)](t),a=s[i(481)][i(348)](i(451),{class:i(325)+e});s[i(481)][i(327)](o,a),s[i(411)][i(359)](a,n[i(470)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(463)][e(496)](ce);this[e(497)]=!1,this[e(202)](i,e(491),()=>this[e(263)]()),this[e(202)](i,e(439),()=>this[e(263)]())}[oe(475)](){const t=oe,e=this[t(474)],i=e[t(463)][t(496)](ce),n=i[t(428)]?i[t(220)][t(468)]:null;e[t(279)][t(496)](t(393))[t(427)](n)}[oe(263)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(474)][t(463)][t(496)](ce),r=s&&n[t(374)](s[t(468)]);this[t(255)]=e&&i&&Boolean(r)}}function he(){const t=["getClientRects","init","_getViewForChange","addMarker:revision","return","markersEnd","upcast","bottom","ck-suggestion-marker--active","64954LynldM","name","createRevision","elementEnd","object","commands","_markSuggestions","_appendChild","range","_changeView","getCustomProperty","observeMarkers","locale","_revisions","diffData","_sortAndFilterDiffChanges","merge","backward","isEnabled","first","toViewElement","_activeViewTarget","uiElement","shift","set","elementStart","refresh","activeView","resolve","remove","2137485MdWuQS","enableReadOnlyMode","values","comment","distance","change:activeChange","enqueueChange","forEach","_threeWayMerge","editing","element","isEqual","config","includes","compare","revision","endIndex","addMarker:revision-suggestion:deletion","attachChange","map","vid","attribute:vid","getDomRoot","changes","isPremiumPlugin","getIndex","length","splice","elementToAttribute","insertions","softBreak","nodeAfter","_balloon","text","removeAttribute","ck-suggestion-marker-","_changeIdToChange","_update","from","getRoot","_data","maxOffset","getRootNames","isObject","createPositionBefore","oldRevisionId","getRevision","data","previousPosition","isInline","addClass","change:activeView","_refreshStartEndIndex","find","getRevisionRootsAttributes","vid_end","getChild","top","ck-suggestion-preview-marker-","destroy","insert","RevisionHistoryUtils","addRevision","_step","setAttribute","1343610iPUUQb","ck-revision-history-root-add","_findChangeIdFromDomTarget","_cleanUp","RevisionViewer","add","unbindElementFromMarkerName","numberOfChanges","mouseover","createAttributeElement","indexOf","createRange","ck-suggestion-marker","startsWith","keys","consume","createUIElement","_utils","isContent","isIncorrect","isLimit","conversion","revision-suggestion","_cleanMarkers","side","editingDowncast","ck-revision-history-root-","bindElementToMarker","adapter","flat","all","index","pairId","detachRoot","862072wAcHfj","authors","nextPosition","pop","markerRange","_makeModelFromViewString","isAttached","markers","getLaterVisibleRevision","deletions","7842VBSajN","roots","removeMarker:revision-suggestion","abs","markerToHighlight","toViewRange","parent","unshift","activeChange","revision:","_joinTapes","updatePosition","left","currentChangeNumber","ck-suggestion-preview-marker","createPositionFromPath","modelRange","revisionHistory","offsetSize","ck-suggestion-marker-split","8GpMbPx","revisionHistoryAttachChange","forward","isAtEnd","item","isRemoved","restoreRevision","attributes","_makeModelFromTape","isBefore","domEvent","isBlock","viewItem","RevisionsRepository","isOfficialPlugin","mapper","userId","markersStart","showStack","showNextChange","stop","ck-suggestion-marker-merge","addMarker:revision-suggestion:insertion","WidgetToolbarRepository","code","27YKbWbq","startIndex","getRevisionDocumentData","changeId","isAddSuggestion","_initInteractions","restoreRevisionCallback","isReady","revision-comment:","highest","_setDistance","_setConversion","_getChangeFromId","slice","level","nextSibling","_removeMissingPairs","isCollapsed","change:isEnabled","rootName","dataDowncast","findIndex","attributesAfter","_getRevisionsRange","forceDisabled","low","error","test","markerNameToElements","_makeTape","span","ck-revision-history-root-remove","getWalker","push","split","_setChanges","isNavigationMode","for","isAdded","getAttribute","getItems","isAfter","plugins","reconvertMarker","_markInsertions","getAttributes","clear","newRevisionId","_getDiff","markerName","pluginName","wrap","mousedown","editor","execute","document","downcastDispatcher","isRemoveSuggestion","repository","deletion","writer","bind","_markMarkers","sort","createRangeIn","filter","type","markerToData","ck-editor__editable__overlay","showPreviousChange","change:isReady","addHighlight","_removeUnsupportedChanges","suggestion","removeMarker:revision","get","affectsData","change","model","removeClass","concat","hasAttribute","requires","consumable","ck-revision-history-root--active","revisionHistoryLabel","loadRevisionData","insertion","start","isSuggestion","-new","catch","checkAttribute","isOnRoot","schema","done","suggestion:","_fixObsoleteTags","high","POSITIVE_INFINITY","right","toViewPosition","change:numberOfChanges","attributesBefore","7736150tmrEBy","has","next","listenTo","then","selection","domConverter","dataToMarker","isAtStart","addRoot","removeMarker","data-change-id","_processTape","mapViewToDom","addRevisionData","view","delete","element:pre","end","1561jJbxSu","hasClass","diff","revision-viewer","_markMismatchedRemovedTags","string","target","revision-suggestion:","3790560kmMPtU","vid_start"];return(he=function(){return t})()}class de extends J.Command{[oe(330)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(463)][i(496)](ce);this[i(497)]=!1,this[i(330)]=i(398)===e?1:-1,this[i(202)](n,i(491),()=>this[i(263)]()),this[i(202)](n,i(439),()=>this[i(263)]()),this[i(202)](n,i(272),()=>this[i(263)]())}[oe(475)](){const e=oe,i=this[e(474)],n=i[e(463)][e(496)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(384)]=s?n[e(220)][e(290)][e(496)](r+this[e(330)]):n[e(220)][e(290)][e(256)],n[e(384)][e(314)][e(188)])o=i[e(276)][e(214)][e(289)](n[e(384)][e(440)]);else{const t=i[e(499)][e(373)][e(496)](e(385)+n[e(384)].id);o=(0,Q.getMarkerDomElement)(i[e(276)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(263)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(474)][t(463)][t(496)](ce);this[t(255)]=!!(r&&s&&n)&&(!e||(1===this[t(330)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().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=["Show previous change","1165pSaeSr","ck-revision-history-ui","730660vvBlEO","div","ck-revision-history-ui__changes-navigation__wrapper","74djEhAJ","currentChangeNumber","40110nYaDld","bindTemplate","isForwardNavigationEnabled","isReady","set","isBackwardNavigationEnabled","Show next change","isNavigationMode","NUMBER_OF_CHANGES","17588rFCKRv","4585500QaoLoP","12344544yMZpoK","No changes","EDIT_X_OF_Y_REVISIONS","ck-hidden","X_OF_Y_CHANGES","forward","numberOfChanges","fire","Loading...","ck-revision-history-ui__changes-navigation__navigation","4720232knZVQm","21kdOPnQ","407310aibZmj","Total","span","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","_isStatusLabelVisible","backward","_statusText","bind","isEnabled","execute","22zfecag","setTemplate"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(970481===-parseInt(e(235))/1*(-parseInt(e(224))/2)+-parseInt(e(236))/3+parseInt(e(221))/4+-parseInt(e(219))/5*(parseInt(e(226))/6)+parseInt(e(248))/7*(parseInt(e(247))/8)+parseInt(e(237))/9+parseInt(e(249))/10*(parseInt(e(216))/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(227)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(230)](e(233),!1),this[e(230)](e(229),!1),this[e(230)](e(225),0),this[e(230)](e(243),0),this[e(230)](e(228),!1),this[e(230)](e(231),!1),this[e(213)](e(210)).to(this,e(229),this,e(243),(t,e)=>t&&e>0),this[e(213)](e(212)).to(this,e(229),this,e(225),this,e(243),this,e(233),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(245));if(!s)return at(t,o(238));const a=at(t,o(234),s);return r?at(t,o(241),[n+1,s]):a}),n[e(230)]({label:at(t,e(218)),tooltip:!0,icon:_t.IconChevronUp}),s[e(230)]({label:at(t,e(232)),tooltip:!0,icon:_t.IconChevronDown}),n[e(213)](e(214)).to(this,e(231)),s[e(213)](e(214)).to(this,e(228)),n.on(e(215),()=>this[e(244)](e(215),e(211))),s.on(e(215),()=>this[e(244)](e(215),e(242))),this[e(217)]({tag:e(222),attributes:{class:["ck",e(220),e(208)]},children:[{tag:e(251),attributes:{class:[e(223)]},children:[{tag:e(251),attributes:{class:[e(209),i.if(e(210),e(240),t=>!t)]},children:[{text:i.to(e(233),i=>i?at(t,e(239))+": ":at(t,e(250))+": ")}]},{text:i.to(e(212))}]},new It.ToolbarSeparatorView,{tag:e(222),attributes:{class:[e(246)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(420870===-parseInt(e(507))/1+parseInt(e(489))/2+-parseInt(e(508))/3*(parseInt(e(499))/4)+-parseInt(e(491))/5*(-parseInt(e(495))/6)+-parseInt(e(483))/7*(-parseInt(e(497))/8)+parseInt(e(484))/9*(-parseInt(e(493))/10)+parseInt(e(504))/11*(-parseInt(e(506))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(490);function Ie(){const t=["pluginName","265783rtYLez","900vSMnlA","view","isOfficialPlugin","change","show","1602350BLzNla","ck-editor__editable__loading-overlay","1575965QIFmch","RevisionViewerLoadingOverlay","72490SAhFDU","editor","6RyBAlK","document","88owNZwT","addClass","4fNogKD","hide","removeClass","editing","roots","11OzVYDF","isPremiumPlugin","2007924msbLIo","139671vDhuNQ","243777aLLJcF"];return(Ie=function(){return t})()}class Se extends J.Plugin{static get[be(509)](){return be(492)}static get[be(486)](){return!0}static get[be(505)](){return!0}[be(488)](){const t=be,e=this[t(494)][t(502)][t(485)];e[t(487)](i=>{const n=t;for(const t of e[n(496)][n(503)])i[n(498)](_e,t)})}[be(500)](){const t=be,e=this[t(494)][t(502)][t(485)];e[t(487)](i=>{const n=t;for(const t of e[n(496)][n(503)])i[n(501)](_e,t)})}}function Oe(){const t=["561939FrHswr","editor","2286wTZEek","set","isBackwardNavigationEnabled","forward","exitToEditing","plugins","40DTSZyQ","numberOfChanges","isPremiumPlugin","get","RevisionViewerUI","bind","Restore this revision","closeRevisionViewerCallback","994719EltITS","show","changesNavigation","5gkujSG","commands","isNavigationMode","2577498pAifOz","requires","showNextChange","config","hide","revisionHistory","pluginName","init","983764riWgsC","isOfficialPlugin","restoreRevision","currentChangeNumber","listenTo","75812qgeEzD","showPreviousChange","3TLELIo","isEnabled","change:isReady","16540PGdpfg","457681QnRlut","Back to editing","isReady","add","isForwardNavigationEnabled","componentFactory","ck-revision-history-ui__back-to-editing","execute"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=493]})(t,e)}const xe=Te;!function(t){const e=Te,i=t();for(;;)try{if(282109===parseInt(e(534))/1*(parseInt(e(532))/2)+parseInt(e(497))/3+-parseInt(e(527))/4+-parseInt(e(516))/5*(parseInt(e(519))/6)+-parseInt(e(538))/7*(-parseInt(e(505))/8)+parseInt(e(499))/9*(parseInt(e(537))/10)+-parseInt(e(513))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ne extends J.Plugin{static get[xe(525)](){return xe(509)}static get[xe(528)](){return!0}static get[xe(507)](){return!0}static get[xe(520)](){return[ce,Se]}[xe(526)](){const t=xe,e=this[t(498)],i=e[t(504)][t(508)](ce),n=e[t(504)][t(508)](Se);e.ui[t(494)][t(541)](t(503),i=>{const n=t,s=new It.ButtonView(i);return s[n(500)]({label:at(i,n(539)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(495)}),this[n(531)](s,n(496),()=>{const t=n;e[t(522)][t(508)](t(524))[t(512)]()}),s}),e.ui[t(494)][t(541)](t(529),i=>{const n=t,s=new It.ButtonView(i);return s[n(500)]({label:at(i,n(511)),withText:!0,tooltip:!0}),s[n(510)](n(535)).to(e[n(517)][n(508)](n(529))),this[n(531)](s,n(496),()=>e[n(496)](n(529))),s}),e.ui[t(494)][t(541)](t(515),n=>{const s=t,r=new ge(n),o=e[s(517)][s(508)](s(533)),a=e[s(517)][s(508)](s(521));return r[s(510)](s(501)).to(o,s(535)),r[s(510)](s(493)).to(a,s(535)),r[s(510)](s(540),s(530),s(506),s(518)).to(i),this[s(531)](r,s(496),(t,i)=>{const n=s;e[n(496)](n(502)===i?n(521):n(533))}),r}),n[t(514)](),i.on(t(536),(e,i,s)=>{const r=t;s?n[r(523)]():n[r(514)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["139928ZgSOZP","render","input","_updateTooltipText","value","45YVleOa","placeholder","20uiaZaq","690uGTdLL","span","_resizeObserver","set","ck-revision-history-sidebar__revision-name","clientWidth","989123vAmrNr","ck-tooltip_multi-line","_tooltipString","listenTo","extendTemplate","644865GBJLan","element","scrollWidth","Revision name","fieldView","264671FIuADd","bindTemplate","226362LYcubg","1863172GWeLdZ","Enter the revision name","7woZhTy","destroy","1619508PZUrPi"];return(Me=function(){return t})()}const De=Ve;function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=443]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(543153===-parseInt(e(462))/1+parseInt(e(443))/2+-parseInt(e(447))/3+-parseInt(e(455))/4*(parseInt(e(467))/5)+-parseInt(e(474))/6*(-parseInt(e(445))/7)+-parseInt(e(448))/8*(-parseInt(e(453))/9)+-parseInt(e(456))/10*(-parseInt(e(472))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ee extends It.LabeledFieldView{[De(458)]=null;constructor(t,e){const i=De;super(t,e);const n=this[i(473)];this[i(459)]({label:at(t,i(470)),_tooltipString:""}),this[i(471)][i(454)]=at(t,i(444)),this[i(466)]({tag:i(457),attributes:{class:[i(460)],"data-cke-tooltip-text":n.to(i(464)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(463)}})}[De(449)](){const e=De;super[e(449)](),this[e(458)]=new t.ResizeObserver(this[e(471)][e(468)],()=>this[e(451)]()),this[e(465)](this[e(471)],e(450),()=>this[e(451)]())}[De(446)](){const t=De;super[t(446)](),this[t(458)]&&this[t(458)][t(446)]()}[De(451)](){const t=De,e=this[t(471)][t(468)];this[t(464)]=e[t(469)]>e[t(461)]&&e[t(452)]||""}}var Ce=i(249),Le={attributes:{"data-cke":!0}};Le.setAttributes=Mt(),Le.insert=At().bind(null,"head"),Le.domAPI=xt(),Le.insertStyleElement=Vt();Ot()(Ce.A,Le);Ce.A&&Ce.A.locals&&Ce.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=166]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(381908===parseInt(e(166))/1*(parseInt(e(169))/2)+parseInt(e(172))/3*(parseInt(e(186))/4)+-parseInt(e(168))/5+parseInt(e(167))/6+-parseInt(e(176))/7*(parseInt(e(180))/8)+parseInt(e(185))/9+-parseInt(e(173))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Fe;super(t);const s=new It.IconView;s[n(183)]({content:_t.IconUser,viewBox:n(182)});const r=["ck",n(179)];i&&r[n(178)](n(177));const o=[{tag:n(184),attributes:{class:["ck",n(170)],title:at(t,n(i?175:174))},children:[s,e[n(171)]]}];this[n(181)]({tag:"li",attributes:{class:r},children:o})}}function je(){const t=["Revision author","Revision creator","14leYXeQ","ck-revision-history-sidebar__revision-author_creator","push","ck-revision-history-sidebar__revision-author","1069240ipWTWJ","setTemplate","0 0 11 10","set","span","4236534BFNqjE","2580pdPISp","105893vvIOdd","2216838clIrHq","3749445VoIsje","2WAQrPh","ck-revision-history-sidebar__revision-author__name","name","2427iHiHvc","687900aofyac"];return(je=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=192]})(t,e)}function We(){var t=["187gDdDcP","2185335Lrvkvh","6LAbvKj","108490vIGSol","21174xusZCe","toLocaleDateString","308651RrNmCg","numeric","1646456DgtzMm","2379713gOIOgb","29732ZupZDi","245nLdWxL","long","toLocaleTimeString","93iCYuNT"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(216729===-parseInt(e(201))/1+-parseInt(e(199))/2*(-parseInt(e(194))/3)+parseInt(e(205))/4*(-parseInt(e(206))/5)+parseInt(e(197))/6*(parseInt(e(204))/7)+-parseInt(e(203))/8+parseInt(e(196))/9+-parseInt(e(198))/10*(-parseInt(e(195))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["bindTemplate","set","36006dYwGKS","ck-revision-history-sidebar__revision__actions","menuitem","175006wUBBxF","_action","menu","action","Restore this revision","button","panelPosition","listView","first","1896QlPcIr","model","Name this revision","161766cKxwdb","class","736967gGTuiL","Compare against selected","execute","24ncQiTb","extendTemplate","children","36UkWhlg","isReady","6055RhBduh","stopPropagation","listenTo","source","Show more items","function","ck-on","isOpen","1032600IEBjLt","items","isVisible","isEnabled","isActionsDropdownOpen","buttonView","129891HvrLZT","map","change:isActionsDropdownOpen","add","find","locale","bind","name"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(214217===-parseInt(e(370))/1+parseInt(e(367))/2+-parseInt(e(357))/3*(-parseInt(e(390))/4)+-parseInt(e(392))/5*(-parseInt(e(379))/6)+parseInt(e(384))/7*(-parseInt(e(387))/8)+parseInt(e(382))/9+-parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=220]})(t,e)}function Je(){const t=["isConfirm","ck-revision-history-sidebar__actions_dropdown_open","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","change","fieldView","ck-disabled","354702woWSKZ","8fcLgaR","select","4755807MJYZLy","9dcVdij","isReady","length","from","div","21aRhrXM","isSelected","isEnabled","ck-revision-history-sidebar__revision-authors","name","_requireRevisionName","1335808mdAEyL","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","setName","unhighlight","ck-revision-history-sidebar__revision_selected","deselect","highlight","ck-revision-history-sidebar__revision","createdAt","value","2869380WBxqOQ","_createdAtFormatted","ck-revision-history-sidebar__revision_highlighted","closest","listenTo","setTemplate","bind",".ck-thread__remove-confirm","srcElement","2286625GlpiHT","_revision","bindTemplate","creator","authors","uiLanguage","filter","isActionsDropdownOpen","220","map","set","644835LShDtz","extendTemplate","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision__date","render","ck-reset","unshift","element","121532vHxGHt","span","fire","isHighlighted"];return(Je=function(){return t})()}!function(t){const e=Ge,i=t();for(;;)try{if(531927===parseInt(e(224))/1+parseInt(e(258))/2+-parseInt(e(252))/3*(parseInt(e(232))/4)+parseInt(e(278))/5+-parseInt(e(243))/6+-parseInt(e(246))/7*(parseInt(e(244))/8)+-parseInt(e(247))/9*(parseInt(e(269))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Ye(260)];[Ye(238)];[Ye(279)];[Ye(257)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(280)],a=function(t,e){const i=r,n=Array[i(250)](e[i(282)])[i(284)](t=>t!=e[i(281)]);return e[i(281)]&&n[i(230)](e[i(281)]),n[i(222)](n=>new Pe(t,n,n==e[i(281)]))}(e,i);this.id=i.id,this[r(279)]=i,this[r(257)]=s,this[r(275)](r(256),r(267)).to(i),this[r(275)](r(270)).to(this,r(267),t=>{return i=e[r(283)],(n=t)[(s=ze)(200)](i,{month:s(192),day:s(202)})+", "+n[s(193)](i,{hour:s(202),minute:s(202)});var i,n,s}),this[r(223)](r(253),!1),this[r(223)](r(235),!1),this[r(223)](r(220),!1),this[r(223)](r(248),!1),this[r(223)](r(254),!1),this[r(260)]=new Ee(e,It.createLabeledInputText),this[r(260)][r(241)][r(225)]({attributes:{maxlength:r(221)}}),this[r(260)][r(241)][r(275)](r(268)).to(this,r(256),t=>t||this[r(270)]),this[r(260)][r(275)](r(254)).to(this,r(253),this,r(254),(t,e)=>t&&e),this[r(238)]=n&&n[r(249)]?function(e,i){const n=qe,s=e[n(365)],r=e[n(362)],o=(0,It.createDropdown)(r);o[n(376)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(362)],s={"Compare against selected":at(n,i(385)),"Name this revision":at(n,i(381)),"Restore this revision":at(n,i(374))};return e[i(358)](t=>{const e=i,n=s[t[e(364)]];return n&&n!==t[e(364)]&&(t[e(364)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(375),model:new It.UIModel({label:t[s(364)],class:t[s(383)],withText:!0,role:s(369),_action:t[s(373)]})};i[s(380)][s(363)](s(403)).to(e,s(404),i=>s(397)!=typeof t[s(403)]||!i||t[s(403)](e)),o[s(360)](i)}return o}(e,i);return e[n(363)](n(404)).to(o,n(399)),o[n(405)][n(366)]({label:at(r,n(396)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(388)]({attributes:{class:[n(368),s.if(n(404),n(398))]},on:{click:s.to(t=>t[n(393)]())}}),o.on(n(386),t=>{const i=n;e[i(391)]&&i(397)==typeof t[i(395)][i(371)]&&t[i(395)][i(371)](e)}),(0,It.addListToDropdown)(o,a,{role:n(372)}),o[n(394)](e,n(359),(t,s,r)=>{const a=n;if(r)for(const t of o[a(377)][a(401)]){const n=t[a(389)][a(378)],s=i[a(361)](t=>t[a(373)]===n[a(371)])[a(402)];t[a(402)]=void 0===s||s(e)}}),o}(this,n):"",this[r(238)]&&this[r(238)][r(275)](r(254)).to(this),this[r(274)]({tag:r(251),attributes:{class:["ck",r(229),r(239),o.if(r(236),r(259))]},children:[{tag:r(251),attributes:{class:["ck",r(229),r(266),o.if(r(254),r(242),t=>!t),o.if(r(253),r(263)),o.if(r(235),r(271)),o.if(r(220),r(237))]},children:[this[r(260)],{tag:r(233),attributes:{class:["ck",r(227)]},children:[{text:o.to(r(270))}]},{tag:r(251),attributes:{class:["ck",r(226)]},children:[{tag:"ul",attributes:{class:["ck",r(255)]},children:a}]},this[r(238)]],on:{click:o.to(t=>{const e=r;t[e(277)][e(272)](e(276))||this[e(248)]&&this[e(254)]&&this[e(234)](e(245),{id:this.id})})}}]})}[Ye(228)](){const t=Ye;super[t(228)]();const e=this[t(260)][t(241)][t(231)];this[t(273)](e,t(240),()=>{const i=t;this[i(257)]&&!e[i(268)]||this[i(234)](i(261),{id:this.id,name:e[i(268)]}),e[i(268)]||(e[i(268)]=this[i(256)]?this[i(256)]:this[i(270)])})}[Ye(245)](){this[Ye(253)]=!0}[Ye(264)](){this[Ye(253)]=!1}[Ye(265)](){this[Ye(235)]=!0}[Ye(262)](){this[Ye(235)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{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},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={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 Di=null;class Vi extends Mi{static get instance(){return null===Di&&(Di=new Vi),Di}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 Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Li=new Map;class Fi extends Mi{static create(t){let e=Li.get(t);return void 0===e&&Li.set(t,e=new Fi(t)),e}static resetCache(){Li.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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=Ei.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"}),Ei.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,(Jn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=ji.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),ji.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Zi=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 Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Gi{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ln()&&(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 Qi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Zi=null,ji.clear(),Wi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.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?Ki.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 Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=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:Fn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Qi,...e}),$i.set(t,e)}return e}(this.locale):Qi}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)||Fi.create(t)}return En(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(){Ki.resetCache(),Fi.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=Kn(c,e,i)):u>Kn(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 An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new 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,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Dn(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 En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function 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 jn(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 Zn(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 Gn(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 Jn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Qn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Qn(t,e,i),s=Qn(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(jn(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:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};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]]=Zn(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}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Ds=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Zn(n)}function Ls(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 Fs(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]?Fi.create(t[e]):null,e+1]}const js=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 Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(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=Zs(e,s,n,i,r,o,a);let f;return f=c?Us[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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Qs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),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]},Ls,Fs,Ps),ir=Ss(Ms,Ls,Fs,Ps),nr=Ss(Ds,Ls,Fs,Ps),sr=Ss(Ls,Fs,Ps);const rr=Ss(Ls);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Vs),cr=Ss(Ls,Fs,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||Ki.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:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(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,[js,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)(jn(e.values,t)||jn(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;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(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 Fi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Ln(),localeWeek:Fn()}}}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 Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Er={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 Lr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Lr(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 Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(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(jn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=Fi.create(t.z)),Vn(t.Z)||(i||(i=new 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(jn(i,"a")&&jn(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 Fr(t,i).explainFromTokens(e)}function jr(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=Er[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 Zr(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(Jn(t),e,i)}function Gr(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,Gn(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=Jn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=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 Qr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(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 Xr(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=Ki.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)||Dn(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:Ur(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=En(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||Ki.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:Ki.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(En(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.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=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(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,Kn(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||Dn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(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,[Qs,er],[Ks,ir],[Xs,nr],[tr,sr])}(t);return Jr(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 Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(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=Ki.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):Jr(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 Jr(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=jr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Lr(ws.parseFormat(t),Ki.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(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(Ur(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}=Rn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new 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(Gn(l.year,l.month),l.day))):l=An({...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,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Gr(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=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Qr(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 Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Qr(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(Ki.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=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(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=Ki.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):Jr(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 Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(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-=391]})(t,e)}function vo(){const t=["hasSame","148687nzBLZN","7632624QmQrMp","weekdayLong","toRelativeCalendar","1079254LnfCEt","year","6457655cuJQxv","8401600UHJAtC","setLocale","local","week","6WqIvsz","minus","923736IDktSo","11254474QZAoXu","toJSDate","day","monthLong","fromJSDate","startOf","month"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(397)](t)[i(409)](e),s=fo[i(410)](),r=s[i(391)]({days:1})[i(398)](i(395));let o,a;return n[i(400)](s,i(395))?(o=n[i(398)](i(395))[i(394)](),a=n[i(404)]()):n[i(400)](r,i(395))?(o=r[i(394)](),a=n[i(404)]()):n[i(400)](s,i(411))?(o=n[i(398)](i(411))[i(394)](),a=n[i(403)]||""):n[i(400)](s,i(406))?(o=n[i(398)](i(399))[i(394)](),a=n[i(396)]||""):(o=n[i(398)](i(406))[i(394)](),a=String(n[i(406)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(855871===-parseInt(e(401))/1+-parseInt(e(405))/2+-parseInt(e(412))/3*(parseInt(e(392))/4)+parseInt(e(407))/5+parseInt(e(402))/6+-parseInt(e(393))/7+parseInt(e(408))/8)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=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["438150UbPrfz","uiLanguage","138pxbRrO","div","18004zyluQQ","1455176obkDma","_revisionActions","localizedPeriodName","locale","ck-revision-history-sidebar__time-period","delegate","4hDAobn","startDate","setTemplate","_requireRevisionName","add","3935520GIsQpU","ck-revision-history-sidebar__time-period__label","44555ttWlHU","addRevision","find","removeRevision","select","689250dsLnma","remove","revisionViews","650170tEbfIt","span","ck-revision-history-sidebar__time-period__revisions","setName","4EPOmwd","createCollection"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(218903===parseInt(e(202))/1*(parseInt(e(177))/2)+-parseInt(e(198))/3+parseInt(e(196))/4*(-parseInt(e(189))/5)+parseInt(e(200))/6*(parseInt(e(184))/7)+-parseInt(e(203))/8+parseInt(e(182))/9+parseInt(e(192))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(178)];[bo(191)];[bo(172)];[bo(180)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(174)][s(199)])[s(173)];this[s(178)]=e,this[s(191)]=this[s(197)](),this[s(172)]=i,this[s(180)]=n,this[s(191)][s(176)](s(188)).to(this),this[s(191)][s(176)](s(195)).to(this),this[s(179)]({tag:s(201),attributes:{class:["ck",s(175)]},children:[{tag:s(193),attributes:{class:["ck",s(183)]},children:[{text:r}]},{tag:s(201),attributes:{class:["ck",s(194)]},children:this[s(191)]}]})}[bo(185)](t){const e=bo,i=new Qe(this[e(174)],t,this[e(172)],this[e(180)]);this[e(191)][e(181)](i)}[bo(187)](t){const e=bo,i=this[e(191)][e(186)](e=>e.id===t.id);this[e(191)][e(190)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=406]})(t,e)}function xo(){const t=["Revision history","3412737pCBFLK","ck-revision-history-sidebar__header","content","12lLRTGD","11eyIdzs","32zrxLoG","div","setTemplate","1967539gncQOX","span","87050FLjYdF","16337nQDirS","115aEIecM","ck-revision-history-sidebar__header__label","3253920WswRsk","ck-reset_all","16WTxyXq","3309918LmLWsd","52QARVam","91576hqpGmf"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(619093===parseInt(e(424))/1*(parseInt(e(418))/2)+parseInt(e(409))/3+-parseInt(e(411))/4*(-parseInt(e(425))/5)+parseInt(e(416))/6*(parseInt(e(421))/7)+-parseInt(e(408))/8*(parseInt(e(413))/9)+parseInt(e(423))/10*(parseInt(e(417))/11)+parseInt(e(406))/12*(-parseInt(e(410))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(415)]=_t.IconHistory,this[e(420)]({tag:e(419),attributes:{class:["ck",e(407),e(414)]},children:[i,{tag:e(422),attributes:{class:["ck",e(426)]},children:[at(t,e(412))]}]})}}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=300]})(t,e)}function Do(){const t=["setTemplate","_requireRevisionName","get","revisionSetName","_revisions","unhighlight","_removeRevision","14310pwQixc","ck-revision-history-sidebar__timeline","select","createdAt","setName","isEnabled","1008864XOxPGN","2133954ZobYgX","timePeriodViews","ck-revision-history-sidebar","some","getTime","463970PbgJgm","selectRevision","find","15461FqPUSC","flat","revisionSelected","ck-rounded-corners","render","_getTimePeriodViewByStartDate","set","addRevision","18AfsWgQ","_revisionActions","deselect","locale","map","uiLanguage","609539ivrgnj","startDate","fire","highlightRevisions","highlight","ck-disabled","9372hCyRhA","createCollection","bindTemplate","revisionViews","34ixyMRD","div","1916XRSuGQ","remove","_addRevision","removeRevision","ck-reset","delegate","3237ZtUpKP","add"];return(Do=function(){return t})()}const Vo=Mo;!function(t){const e=Mo,i=t();for(;;)try{if(277705===-parseInt(e(341))/1*(-parseInt(e(309))/2)+parseInt(e(317))/3*(parseInt(e(311))/4)+parseInt(e(338))/5+parseInt(e(349))/6*(parseInt(e(355))/7)+parseInt(e(332))/8+parseInt(e(333))/9+-parseInt(e(326))/10*(parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Vo(334)];[Vo(323)];[Vo(350)];[Vo(320)];constructor(t,e,i,n){const s=Vo;super(t);const r=this[s(307)];this[s(334)]=this[s(306)](),this[s(334)][s(316)](s(328)).to(this),this[s(334)][s(316)](s(330)).to(this),this[s(323)]=e,this[s(350)]=i,this[s(320)]=n,this.on(s(328),(t,e)=>{const i=s;this[i(301)](i(343),e)}),this.on(s(330),(t,e)=>{const i=s;this[i(301)](i(322),e)}),this[s(347)](s(331),!1),this[s(319)]({tag:s(310),attributes:{class:["ck",s(315),s(344),s(335)]},children:[new No(t),{tag:s(310),attributes:{class:["ck",s(327),r.if(s(331),s(304),t=>!t)]},children:this[s(334)]}]})}[Vo(345)](){const t=Vo;super[t(345)]();for(const e of this[t(323)])this[t(313)](e);this[t(323)].on(t(318),(e,i)=>{this[t(313)](i)}),this[t(323)].on(t(312),(e,i)=>{this[t(325)](i)})}get[Vo(308)](){const t=Vo;return this[t(334)][t(353)](e=>e[t(308)][t(353)](t=>t))[t(342)]()}[Vo(339)](t){const e=Vo;for(const i of this[e(308)])t&&t.id===i.id?i[e(328)]():i[e(351)]()}[Vo(302)](t){const e=Vo;for(const i of this[e(308)])t[e(336)](({id:t})=>t===i.id)?i[e(303)]():i[e(324)]()}[Vo(313)](t){const e=Vo,i=go(t[e(329)],this[e(352)][e(354)])[e(300)];let n=this[e(334)][e(321)](0);n&&n[e(300)][e(337)]()===i[e(337)]()||(n=new Io(this[e(352)],i,this[e(350)],this[e(320)]),this[e(334)][e(318)](n)),n[e(348)](t)}[Vo(325)](t){const e=Vo,i=go(t[e(329)],this[e(352)][e(354)])[e(300)];this[e(346)](i)[e(314)](t)}[Vo(346)](t){const e=Vo;return this[e(334)][e(340)](i=>i[e(300)][e(337)]()===t[e(337)]())}}const Co=Fo;function Lo(){const t=["availableRevisionActions","get","assign","restoreRevisionCallback","destroy","defaultRevisionActions","isReady","change:diff","name","1364360UMRZCN","isSelected","nameRevision","isOfficialPlugin","getRevision","render","compare","diff","remove","newRevisionId","locale","string","getIndex","listenTo","isVisible","RevisionsSidebar","init","bind","_handleRevisionSetName","revisionHistory.revisionActions","_revisions","revisionHistory.requireRevisionName","compareAgainstSelected","Name this revision","highlightRevisions","959346sPGMkf","action","488653zGhudl","editor","config","requires","ready","revisionHistory.viewerSidebarContainer","719426hLmyAm","revisionSelected","_revisionViewer","plugins","pluginName","repository","appendChild","Restore this revision","selectRevision","isEnabled","_handleRevisionSelected","setName","_sidebarView","timePeriodViews","map","revisionHistory","revisionSetName","add","_revisionsRepository","_handleDiffChange","772751HCmkYr","element","focus","isPremiumPlugin","fieldView","getRevisionsInDiff","1379310wsXEvQ","select","data","Compare against selected","1363740pUtAya","length","revisionViews","40ziUJgz","restoreRevision","_createRevisionActions","getEarlierVisibleRevision","_handleEditorDataReady","getLaterVisibleRevision"];return(Lo=function(){return t})()}function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=331]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(274567===parseInt(e(389))/1+parseInt(e(395))/2+-parseInt(e(387))/3+parseInt(e(344))/4+-parseInt(e(362))/5+parseInt(e(340))/6+-parseInt(e(334))/7*(parseInt(e(347))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends J.Plugin{[Co(397)];[Co(332)];[Co(407)];static[Co(358)]=[Co(384),Co(348),Co(364)];static[Co(353)]=function(){const t=Co;return{compareAgainstSelected:{name:t(343),action:({plugins:e},i)=>{const n=t,s=e[n(354)](ce),r=s[n(400)];let o=s[n(369)][n(371)],a=i.id;r[n(374)](o)>r[n(374)](a)&&([o,a]=[a,o]),s[n(368)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(354)](ce);return!(s[n(400)][n(339)](s[n(369)])[n(345)]>2||i[n(363)])}},restoreRevision:{name:t(402),action:(e,{id:i})=>{const n=t;e[n(391)][n(354)](n(410))[n(356)](i)},isVisible:({plugins:e},i)=>!!e[t(354)](ce)[t(400)][t(352)](i.id)},nameRevision:{name:t(385),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(354)](ce),o=r[s(400)][s(350)](i);r[s(368)](i,o),n[s(336)](),n[s(338)][s(341)]()}}}}();static get[Co(399)](){return Co(377)}static get[Co(365)](){return!0}static get[Co(337)](){return!0}static get[Co(392)](){return[ce]}constructor(t){const e=Co;super(t),this[e(397)]=t[e(398)][e(354)](ce),this[e(332)]=this[e(397)][e(400)],this[e(407)]=null}[Co(378)](){const t=Co,e=this[t(332)][t(382)],i=this[t(349)](),n=this[t(390)][t(391)][t(354)](t(394));this[t(407)]=new Eo(this[t(390)][t(372)],e,i,this[t(390)][t(391)][t(354)](t(383))),this[t(407)].on(t(396),this[t(405)][t(379)](this)),this[t(407)].on(t(411),this[t(380)][t(379)](this)),this[t(407)][t(379)](t(404)).to(this[t(397)]),this[t(407)][t(408)].on(t(331),(e,i)=>{const n=t;i[n(346)].on(n(331),(t,e)=>{const i=n;e[i(379)](i(404),i(359)).to(this[i(397)])})}),this[t(407)][t(367)](),this[t(375)](this[t(390)][t(342)],t(393),this[t(351)][t(379)](this)),this[t(375)](this[t(397)],t(360),this[t(333)][t(379)](this)),n[t(401)](this[t(407)][t(335)])}[Co(357)](){const t=Co;this[t(407)][t(335)][t(370)](),this[t(407)][t(357)]()}[Co(351)](){const t=Co,e=this[t(332)][t(366)](0);if(e){const i=this[t(332)][t(350)](e.id);this[t(397)][t(368)](e,i)}}[Co(405)](t,e){const i=Co,n=this[i(332)][i(366)](e.id),s=this[i(332)][i(350)](n.id);this[i(397)][i(368)](n,s)}[Co(380)](t,e){const i=Co;this[i(332)][i(366)](e.id)[i(406)](e[i(361)])}[Co(333)](t,e,i){const n=Co,s=this[n(332)][n(339)](i);s[n(345)]>2?(this[n(407)][n(386)](s),this[n(407)][n(403)](null)):(this[n(407)][n(386)]([]),this[n(407)][n(403)](s[0]))}[Co(349)](){const t=Co,e=this[t(390)],i=Po[t(353)],n=e[t(391)][t(354)](t(381))||Po[t(358)];if(n[t(345)])return n[t(409)](n=>{const s=t,r=s(373)==typeof n?Object[s(355)]({},i[n]):n;return r[s(388)]=r[s(388)][s(379)](this,e),r[s(376)]&&(r[s(376)]=r[s(376)][s(379)](this,e)),r})}}const jo=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(465694===-parseInt(e(144))/1+-parseInt(e(129))/2*(-parseInt(e(147))/3)+-parseInt(e(135))/4+-parseInt(e(155))/5+-parseInt(e(156))/6+parseInt(e(149))/7*(parseInt(e(118))/8)+parseInt(e(154))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends It.EditorUI{[jo(157)];[jo(134)];[jo(133)];get[jo(120)](){return this[jo(157)]}constructor(e,i){const n=jo;super(e),this[n(157)]=i,this[n(134)]=(0,It.normalizeToolbarConfig)(e[n(119)][n(138)](n(115))),this[n(133)]=new t.ElementReplacer}get[jo(125)](){const t=jo;return this[t(120)][t(125)]}[jo(132)](t){const e=jo,i=this[e(140)],n=this[e(120)],s=i[e(158)][e(120)],r=n[e(128)],o=s[e(152)][e(116)]();r[e(117)]=o[e(153)],n[e(148)]();const a=r[e(125)];this[e(145)](r[e(117)],a),n[e(128)][e(124)](e(127)).to(this[e(143)]),s[e(131)](a),this[e(133)][e(122)](t,this[e(125)]),this[e(137)](),this[e(136)](e(139))}[jo(151)](){const t=jo;super[t(151)]();const e=this[t(120)],i=this[t(140)][t(158)][t(120)];this[t(133)][t(159)](),i[t(141)](e[t(128)][t(117)]),e[t(151)]()}[jo(137)](){const t=jo,e=this[t(120)];e[t(160)][t(124)](t(150)).to(this[t(143)],t(127)),e[t(160)][t(130)]=e[t(125)],e[t(160)][t(124)](t(146)).to(this,t(123),({top:t})=>t),e[t(115)][t(142)](this[t(134)],this[t(121)]),this[t(126)](e[t(115)])}}function Uo(){const t=["3qwTycL","render","1773604hwLDjA","isActive","destroy","document","rootName","16247709tmybzH","2974635SeoxyF","4208550RtBquX","_view","editing","restore","stickyPanel","toolbar","getRoot","name","16CGCqci","config","view","componentFactory","replace","viewportOffset","bind","element","addToolbar","isFocused","editable","1649992GaMfBw","limiterElement","attachDomRoot","init","_elementReplacer","_toolbarConfig","1829548IoHgsc","fire","_initToolbar","get","ready","editor","detachDomRoot","fillFromConfig","focusTracker","917608BFkstH","setEditableElement","viewportTopOffset"];return(Uo=function(){return t})()}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=326]})(t,e)}function Bo(){var t=["352684FsfhPz","1259235ePGriz","7AluvCa","817170nALIpU","render","_editable","content","10453250lIERrN","stickyPanel","12959EyZALS","shouldToolbarGroupWhenFull","2935560iXssIh","2271136wGaaKv","top","28xwQvoK","editable","toolbar","add","9TEVQEW","main"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(364616===-parseInt(e(344))/1*(parseInt(e(329))/2)+parseInt(e(336))/3+parseInt(e(335))/4+-parseInt(e(326))/5+-parseInt(e(338))/6*(parseInt(e(337))/7)+-parseInt(e(327))/8+-parseInt(e(333))/9*(-parseInt(e(342))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(340)];[qo(343)];[qo(331)];get[qo(330)](){return this[qo(340)]}constructor(t,e,i={}){var n=qo;super(t),this[n(343)]=new It.StickyPanelView(t),this[n(331)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(345)]}),this[n(340)]=new It.InlineEditableUIView(t,e)}[qo(339)](){var t=qo;super[t(339)](),this[t(343)][t(341)][t(332)](this[t(331)]),this[t(328)][t(332)](this[t(343)]),this[t(334)][t(332)](this[t(330)])}}const Go=Qo;function Jo(){const t=["31482ckCQRo","editing","document","fire","812980qNULVb","ready","sourceElement","view","locale","3608244pfhdjQ","createRoot","initialData","model","get","destroy","init","507090lHGyUl","config","1985809azMDHa","create","updateSourceElement","10LHaqAV","data","330021KqZDOI","10bJnevv","_ui","initPlugins","326020IpwtVu","8pDMwKU"];return(Jo=function(){return t})()}function Qo(t,e){const i=Jo();return(Qo=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=Qo,i=t();for(;;)try{if(158521===-parseInt(e(501))/1+parseInt(e(499))/2+parseInt(e(495))/3+parseInt(e(505))/4+parseInt(e(493))/5*(-parseInt(e(488))/6)+parseInt(e(490))/7*(parseInt(e(500))/8)+parseInt(e(510))/9*(-parseInt(e(496))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Go(497)];get ui(){return this[Go(497)]}constructor(t,e){const i=Go;super(e),this[i(507)]=t,this[i(513)][i(503)][i(511)]();const n=new Yo(this[i(509)],this[i(502)][i(508)],{shouldToolbarGroupWhenFull:!0});this[i(497)]=new Wo(this,n)}[Go(515)](){const t=Go;return this[t(492)](),this.ui[t(515)](),super[t(515)]()}static async[Go(491)](t,e){const i=Go,n=new this(t,e);return await n[i(498)](),await n.ui[i(516)](t),await n[i(494)][i(516)](n[i(489)][i(514)](i(512))||""),n[i(504)](i(506)),n}}const Xo=ta;function ta(t,e){const i=na();return(ta=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(595979===parseInt(e(352))/1*(-parseInt(e(401))/2)+-parseInt(e(318))/3+-parseInt(e(376))/4*(-parseInt(e(281))/5)+-parseInt(e(321))/6*(parseInt(e(304))/7)+-parseInt(e(324))/8*(parseInt(e(266))/9)+parseInt(e(349))/10+-parseInt(e(278))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na);const ea=[Xo(346),Xo(333)];class ia extends J.Plugin{[Xo(262)];static get[Xo(364)](){return Xo(409)}static get[Xo(320)](){return!0}static get[Xo(390)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(283)](t=>String[e(411)](t))[e(335)]("")}super(t),this[e(262)]=e(279),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 na(){const t=["fromVersion","addRevisionData","define","isEnabled","set","refreshPositioning","isOpen","1272294gLNxqu","restoreRevision","isOfficialPlugin","5940kWKuET","restrictedEditingException","setSelection","56PNhXkA","showRevisionViewerCallback","getRevision","markers","RevisionHistoryUtils","revisionHistory","from","toolbar","block","RestrictedEditingMode","setAttribute","join","revisionHistory.restoreRevisionCallback","isRevisionViewerOpen","error","keys","RevisionViewer","lazyRoots","getMarkersGroup","closeRevisionViewerCallback","getAttributeKeys","update","RevisionHistoryUI","hide","getRevisions","6575990tOfTpx","uiLanguage","toJSON","2qWABuf","isReadOnly","has","adapter","view","createRangeIn","repository","revision-history-viewer-opened","_update","Users","refreshVisibility","_enhanceCloseRevisionViewerCallback","pluginName","removeSelectionAttribute","_viewerEditor","push","getRoot","Restored","config","getUser","style","locale","catch","_getRevisionViewerEditorConfig","108fppyMg","enableReadOnlyMode","toLocaleTimeString","disableReadOnlyMode","indexOf","_enhanceShowRevisionViewerCallback","name","DocumentOutline","requires","destroy","revision-history-missing-configuration","RevisionTracker","long","addUser","isPremiumPlugin","Dialog","removeMarker","document","roots","revisionHistory.requireRevisionName","Annotations","selection","Autosave","plugins","init","961118DoMWxs","model","toLocaleDateString","change","isAnonymous","saveRevision","DocumentOutlineUI","editor","RevisionViewerIntegration","_recalculatePageBreaks","fromCharCode","revisionHistory.closeRevisionViewerCallback","none","enqueueChange","commands","result","_cleanUp","RevisionHistory","parse","57051PDjYod","$graveyard","revisionHistory.editorContainer","exitToEditing","display","PaginationLookup","detachRoot","includes","addRoot","changesNavigation","RevisionsRepository","revisionHistory.showRevisionViewerCallback","10857682LRDaHZ","end","revisionHistory.viewerContainer","86855zCnnDy","rootName","map","_showRevisionViewer","isAttached","creator","bind","getRevisionDocumentData","isReady","remove","removeAttribute","12rccvPt","users","then","_closeRevisionViewer","insert","getRevisionRootsAttributes","get","toVersion","create","_restoreRevision","revisionHistory.viewerEditorElement","loadRevisionData","623zKPTzF","numeric","save","element","createdAt","data","translations"];return(na=function(){return t})()}class sa extends J.Plugin{[Xo(366)];static get[Xo(364)](){return Xo(264)}static get[Xo(320)](){return!0}static get[Xo(390)](){return!0}static get[Xo(384)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(408)][i(370)][i(298)](i(329)))throw new t.CKEditorError(i(386),this);this[i(366)]=null,this[i(315)](i(337),!1),this[i(408)][i(370)][i(313)](i(277),t=>this[i(284)]({...t,translations:this[i(408)][i(373)][i(310)]})),this[i(408)][i(370)][i(313)](i(258),t=>this[i(295)](t)),this[i(408)][i(370)][i(313)](i(336),t=>this[i(301)](t)),this[i(408)][i(370)][i(313)](i(395),!1),this[i(381)](),this[i(363)]()}set[Xo(355)](t){const e=Xo;this[e(408)][e(399)][e(298)](e(387))[e(355)]=t}get[Xo(355)](){const t=Xo;return this[t(408)][t(399)][t(298)](t(387))[t(355)]}[Xo(312)](t){const e=Xo;return this[e(408)][e(399)][e(298)](e(387))[e(312)](t)}[Xo(326)](t){const e=Xo;return this[e(408)][e(399)][e(298)](e(276))[e(326)](t)}[Xo(348)](t){const e=Xo;return this[e(408)][e(399)][e(298)](e(276))[e(348)](t||{toJSON:!1})}[Xo(375)](){const e=Xo,i=this[e(408)],n=(0,Q.sanitizeEditorConfig)(i,ea),s=i[e(399)][e(298)](e(387)),r=i[e(399)][e(298)](e(361))[e(293)];return n[e(331)]=[e(269),e(319),e(275)],delete n[e(341)],n[e(399)][e(367)](ia,ce,Ne,class extends J.Plugin{static get[e(384)](){return[ce,e(361)]}[e(400)](){const n=e,o=this[n(408)][n(399)][n(298)](n(361));for(const t of r)t[n(405)]||o[n(371)](t.id)||o[n(389)](t);const a=s[n(358)][n(348)]();let c=null;const u=this[n(408)][n(399)][n(298)](n(340));u[n(355)]=s[n(355)],u[n(287)](n(314)).to(s),this[n(408)][n(261)][n(298)](n(319))[n(287)](n(314)).to(i,n(353),t=>!t);for(const e of a){const i=null===e[n(286)];if(i&&e[n(299)]===e[n(311)])continue;const r=e[n(351)]();u[n(312)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(360)](r,o);else if(!o){const e=a[u(351)]();e.id=(0,t.uid)(),s[u(406)](e,a[u(299)])[u(294)](t=>{c=t})}}else e[u(360)](r,o)})}}},Po),n}[Xo(381)](){const t=Xo,e=this[t(408)][t(370)][t(298)](t(329))[t(325)];this[t(408)][t(370)][t(315)](t(277),async()=>{const i=t;this[i(408)][i(377)](i(359));const n=this[i(408)][i(399)][i(298)](i(387));if(this[i(408)][i(399)][i(354)](i(398))){const t=this[i(408)][i(399)][i(298)](i(398));await t[i(306)]()}else await n[i(345)]();if(this[i(408)][i(399)][i(354)](i(271))&&this[i(408)][i(399)][i(298)](i(271))[i(410)](),this[i(408)][i(399)][i(354)](i(391))){const t=this[i(408)][i(399)][i(298)](i(391));t[i(317)]&&t[i(347)]()}const s=this[i(375)]();return e(s)[i(294)](t=>{const e=i;return this[e(366)]=t,this[e(408)][e(399)][e(354)](e(396))&&this[e(408)][e(399)][e(298)](e(396))[e(362)](),this[e(408)][e(399)][e(354)](e(383))&&(this[e(408)][e(399)][e(298)](e(407))[e(356)][e(307)][e(372)][e(270)]=e(259)),t})[i(374)](t=>(console[i(338)](t),this[i(408)][i(379)](i(359)),null))})}[Xo(363)](){const t=Xo,e=this[t(408)][t(370)][t(298)](t(329))[t(343)];this[t(408)][t(370)][t(315)](t(258),()=>(this[t(408)][t(399)][t(354)](t(271))&&this[t(408)][t(399)][t(298)](t(271))[t(410)](),this[t(408)][t(399)][t(354)](t(383))&&(this[t(408)][t(399)][t(298)](t(407))[t(356)][t(307)][t(372)][t(270)]=""),this[t(366)][t(399)][t(298)](t(340))[t(263)](),e(this[t(366)])[t(294)](()=>{const e=t;if(this[e(408)][e(379)](e(359)),this[e(366)]=null,this[e(408)][e(399)][e(354)](e(396))){const t=this[e(408)][e(399)][e(298)](e(396));t[e(362)](),t[e(316)]()}})))}[Xo(284)](t){const e=Xo,i=this[e(408)][e(370)][e(298)](e(268)),n=this[e(408)][e(370)][e(298)](e(280)),s=this[e(408)][e(370)][e(298)](e(302));return Ko[e(300)](s,t)[e(294)](t=>(n[e(372)][e(270)]=e(332),i[e(372)][e(270)]=e(259),this[e(337)]=!0,t))}[Xo(295)](t){const e=Xo,i=this[e(408)][e(370)][e(298)](e(268));return this[e(408)][e(370)][e(298)](e(280))[e(372)][e(270)]=e(259),i[e(372)][e(270)]="",this[e(337)]=!1,t[e(385)]()}async[Xo(301)](t){const e=Xo,i=this[e(408)],n=this[e(366)][e(399)][e(298)](e(340)),s=i[e(399)][e(298)](e(387)),r=i[e(399)][e(298)](e(328)),o=n[e(358)][e(326)](t);let a,c,u;try{await r[e(303)](o,this[e(355)]),a=r[e(288)](o),c=r[e(297)](o)}catch(t){return void console[e(338)](t)}i[e(402)][e(404)](t=>{const n=e;for(const e of Array[n(330)](i[n(402)][n(327)][n(342)](n(322))))t[n(392)](e)}),n[e(289)]=!1,i[e(402)][e(260)](t=>{const n=e;t[n(323)](null),t[n(365)](i[n(402)][n(393)][n(397)][n(344)]());const s=Object[n(339)](a);for(const e of i[n(402)][n(393)][n(394)])n(267)!=e[n(282)]&&e[n(285)]()&&!s[n(273)](e[n(282)])&&t[n(272)](e);for(const e of s){let s=i[n(402)][n(393)][n(368)](e);s&&s[n(285)]()||(s=t[n(274)](e));const r=c[e],o=Object[n(339)](r),u=a[e];for(const e of s[n(344)]())o[n(273)](e)||t[n(291)](e,s);for(const i of o)t[n(334)](i,c[e][i],s);t[n(290)](t[n(357)](s)),t[n(296)](i[n(309)][n(265)](u,s),s,0)}});const l=at(i[e(373)],e(369));return u=o[e(382)]?-1==o[e(382)][e(380)](l)?l+": "+o[e(382)]:o[e(382)]:l+": "+o[e(308)][e(403)](i[e(373)][e(350)],{month:e(388),day:e(305)})+", "+o[e(308)][e(378)](i[e(373)][e(350)],{hour:e(305),minute:e(305)}),await s[e(406)]({name:u}),n[e(289)]=!0,i[e(370)][e(298)](e(329))[e(343)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=393]})(t,e)}function oa(){var t=["1407lzfVqU","2198046TDRIJZ","528670NxJhHa","212028OQCxhz","772500TMXdLV","2531460tBXzhK","372504qazpsl","39320qgOsbF"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(425293===parseInt(e(398))/1+-parseInt(e(397))/2+-parseInt(e(400))/3+-parseInt(e(399))/4+-parseInt(e(396))/5+-parseInt(e(395))/6+parseInt(e(394))/7*(parseInt(e(393))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|