@ckeditor/ckeditor5-revision-history 47.7.4 → 47.7.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/revision-history.js +1 -1
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- 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-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay: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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>ve,Revision:()=>tt,RevisionHistory:()=>ua,RevisionHistoryUI:()=>Jt,RevisionHistoryUtils:()=>ht,RevisionTracker:()=>bt,RevisionViewer:()=>me,RevisionViewerEditor:()=>ia,RevisionViewerIntegration:()=>ca,RevisionViewerLoadingOverlay:()=>Ae,RevisionViewerUI:()=>Ve,RevisionsRepository:()=>at,RevisionsSidebar:()=>Ho,ShowChangeCommand:()=>ge});var t=i(584);function e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const n="[object RegExp]",r="[object String]",o="[object Number]",a="[object Boolean]",c="[object Arguments]",u="[object Symbol]",l="[object Date]",h="[object Map]",d="[object Set]",f="[object Array]",m="[object ArrayBuffer]",p="[object Object]",v="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",k="[object Uint16Array]",b="[object Uint32Array]",w="[object Int8Array]",_="[object Int16Array]",I="[object Int32Array]",S="[object Float32Array]",O="[object Float64Array]";function T(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}const x="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof i.g&&i.g||function(){return this}();function N(t){return void 0!==x.Buffer&&x.Buffer.isBuffer(t)}function A(t,i,s,T=new Map,x=void 0){const M=x?.(t,i,s,T);if(void 0!==M)return M;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;if(T.has(t))return T.get(t);if(Array.isArray(t)){const e=new Array(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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;T.set(t,e);for(const[i,n]of t)e.set(i,A(n,i,s,T,x));return e}if(t instanceof Set){const e=new Set;T.set(t,e);for(const i of t)e.add(A(i,void 0,s,T,x));return e}if(N(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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 T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Error){const e=structuredClone(t);return T.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,R(e,t,s,T,x),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Number){const e=new Number(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof String){const e=new String(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if("object"==typeof t&&function(t){switch(e(t)){case c:case f:case m:case v:case a:case l:case S:case O:case w:case _:case I:case h:case o:case p:case n:case d:case r:case u:case g:case y:case k:case b:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return T.set(t,e),R(e,t,s,T,x),e}return t}function R(t,e,i=t,s,n){const r=[...Object.keys(e),...T(e)];for(let o=0;o<r.length;o++){const a=r[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=A(e[a],a,i,s,n))}}function M(t,i){return function(t,e){return A(t,void 0,t,new Map,e)}(t,(s,n,u,l)=>{const h=i?.(s,n,u,l);if(void 0!==h)return h;if("object"==typeof t){if("[object Object]"===e(t)&&"function"!=typeof t.constructor){const e={};return l.set(t,e),R(e,t,u,l),e}switch(Object.prototype.toString.call(t)){case o:case r:case a:{const e=new t.constructor(t?.valueOf());return R(e,t),e}case c:{const e={};return R(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}})}function E(t){return M(t)}function V(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function D(t){return"symbol"==typeof t||t instanceof Symbol}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(C).join(",");if(D(t))return t.toString();const e=t+"";return"0"===e&&Object.is(Number(t),-0)?"-0":e}function F(t){if(Array.isArray(t))return t.map(V);if("symbol"==typeof t)return[t];var e;const i=[],s=(t=null==(e=t)?"":C(e)).length;if(0===s)return i;let n=0,r="",o="",a=!1,c=!1;const u=/^-?\d+(?:\.\d+)?$/;for(46===t.charCodeAt(0)&&i.push("");n<s;){const e=t[n];if(o)"\\"===e&&n+1<s?(n++,r+=t[n]):e===o?o="":r+=e;else if(a)if('"'===e||"'"===e)o=e,c=!0;else if("]"===e){if(a=!1,c||!r.includes(".")||u.test(r))i.push(r);else{const t=r.split(".");for(let e=0;e<t.length;e++)""!==t[e]&&i.push(t[e])}r=""}else r+=e;else if("["===e)a=!0,c=!1,r&&(i.push(r),r="");else if("."===e){r&&(i.push(r),r="");const e=t[n+1];void 0!==e&&"."!==e||i.push("")}else r+=e;n++}return r&&i.push(r),i}function j(t){return"__proto__"===t}const L=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function P(t){switch(typeof t){case"number":case"symbol":default:return!1;case"string":return""!==t&&!t.startsWith(".")&&!t.endsWith(".")&&L.test(t)}}function W(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(j(e))return i;const s=t[e];return void 0===s?P(e)&&!Object.hasOwn(t,e)?W(t,F(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=V(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(j(e[t]))return i;s=s[e[t]]}return void 0===s?i:s}(t,e,i);if(j(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}const U=/^(?:0|[1-9]\d*)$/;function H(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 U.test(t)}}const Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/;function B(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const $=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&B(s,i)&&(void 0!==i||e in t)||(t[e]=i)};function Y(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function J(t,e,i,s){if(null==t&&!z(t))return t;let n;var r,o;r=e,o=t,n=!Array.isArray(r)&&("number"==typeof r||"boolean"==typeof r||null==r||D(r)||"string"==typeof r&&(q.test(r)||!Z.test(r))||null!=o&&Object.hasOwn(o,r))?[e]:Array.isArray(e)?e:F(e);const a=i(W(t,n));let c=t;for(let e=0;e<n.length&&null!=c;e++){const i=V(n[e]);if(Y(i))return t;let r;if(e===n.length-1)r=a;else{const o=c[i],a=s?.(o,i,t);r=void 0!==a?a:z(o)?o:H(n[e+1])?[]:{}}$(c,i,r),c=c[i]}return t}function G(t,e){const i=1===e.length?t:W(t,e.slice(0,-1)),s=e[e.length-1];if(void 0===i?.[s])return!0;if(j(s))return!1;try{return delete i[s],!0}catch{return!1}}function K(){const t=["2226616dQYhjk","removeAttribute","fire","3915770ZzuNPd","createdAt","name","1019848nXEhUW","16427240QECUDO","set","17473115OGOHeB","_update","authors","authorsIds","1014408bgKYCs","creatorId","6EPPwcs","6QGBuLS","3qUsjjW","7OaiSDz","toJSON","model","diffData","fromVersion","attributes","setAttribute","toVersion","setName","map","creator","12fKdpcK","393111TrLljd"];return(K=function(){return t})()}const X=Q;function Q(t,e){const i=K();return(Q=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=Q,i=t();for(;;)try{if(877557===-parseInt(e(399))/1*(-parseInt(e(388))/2)+-parseInt(e(398))/3*(-parseInt(e(395))/4)+parseInt(e(385))/5*(-parseInt(e(397))/6)+-parseInt(e(400))/7*(parseInt(e(382))/8)+-parseInt(e(381))/9+-parseInt(e(389))/10+parseInt(e(391))/11*(parseInt(e(380))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class tt extends((0,t.ObservableMixin)()){id;[X(379)];[X(393)];[X(372)];[X(376)];[X(373)];[X(371)];constructor(e){const i=X;super(),this.id=e.id||(0,t.uid)(),this[i(379)]=e[i(379)]||null,this[i(393)]=e[i(393)]||[],this[i(372)]=e[i(372)]||null,this[i(376)]=e[i(376)]||0,this[i(373)]=e[i(373)]||0,this[i(390)](i(387),e[i(387)]||""),this[i(390)](i(386),e[i(386)]||new Date),this[i(390)](i(374),e[i(374)]||{})}[X(377)](t){this[X(392)]({name:t})}[X(375)](t,e){const i=X,s=E(this[i(374)]);var n;n=e,J(s,t,()=>n,()=>{}),this[i(392)]({attributes:s})}[X(383)](t){const e=X,i=E(this[e(374)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return G(t,e);if("number"==typeof e?e=V(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),j(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]&&P(e)&&!Object.hasOwn(t,e))return G(t,F(e));if(j(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(392)]({attributes:i})}[X(392)](t,e=!1){const i=X;let s=!1;const n={id:this.id},r=[i(387),i(386),i(372),i(393),i(374),i(376),i(373),i(396)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(393)]&&(n[i(394)]=n[i(393)][i(378)](t=>t.id),delete n[i(393)]),this[i(384)](i(392),n,e))}[X(370)](){const t=X;return{id:this.id,name:this[t(387)],creatorId:this[t(379)]?this[t(379)].id:null,authorsIds:this[t(393)][t(378)](t=>t.id),diffData:this[t(372)],createdAt:this[t(386)],attributes:this[t(374)],fromVersion:this[t(373)],toVersion:this[t(376)]}}}var et=i(782),it=i(211),st=i(783);function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=263]})(t,e)}function rt(){const t=["attributes","diffData","getRevisionsIterator","length","addRevision","toVersion","newRevisionId","_revisions","getIndex","authorsIds","33995696fgtuzP","reverse","fromVersion","join","getRevision","isNaN","fromCharCode","from","plugins","createRevision","7149520dJkazN","map","add","3672912xtvJuk","getUser","pluginName","creatorId","data","6aKrPuQ","getEarlierVisibleRevision","name","getRevisionsInDiff","3642030vaaCCT","createdAt","push","getRevisions","oldRevisionId","getLaterVisibleRevision","href","isOfficialPlugin","RevisionsRepository","52595zIxFKx","Users","later","requires","editor","4966024IHvMlb","earlier","get","afterInit","171218oqraoe","toJSON","isPremiumPlugin"];return(rt=function(){return t})()}const ot=nt;!function(t){const e=nt,i=t();for(;;)try{if(860565===parseInt(e(289))/1*(-parseInt(e(311))/2)+-parseInt(e(293))/3+-parseInt(e(307))/4+-parseInt(e(302))/5+parseInt(e(284))/6+-parseInt(e(281))/7+parseInt(e(271))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class at extends et.Plugin{[ot(268)];static get[ot(305)](){return[it.Users]}static get[ot(286)](){return ot(301)}static get[ot(300)](){return!0}static get[ot(313)](){return!0}get[ot(264)](){const t=ot;return this[t(268)][t(264)]}constructor(e){const i=ot;super(e),this[i(268)]=new t.Collection}[ot(310)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=nt;return t[e(282)](t=>String[e(277)](t))[e(274)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1789516800;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=nt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(299)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=nt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(276)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[ot(280)](t){const e=ot,i=this[e(306)][e(279)][e(309)](e(303));return new tt({id:t.id,name:t[e(291)],creator:t[e(287)]?i[e(285)](t[e(287)]):null,diffData:t[e(315)]||t[e(288)],authors:t[e(270)][e(282)](t=>i[e(285)](t)),createdAt:new Date(t[e(294)]),attributes:t[e(314)],fromVersion:t[e(273)],toVersion:t[e(266)]})}[ot(265)](t,e=0){const i=ot;this[i(268)][i(283)](t,e)}[ot(275)](t){const e=ot;return this[e(268)][e(309)](t)}[ot(296)](t={toJSON:!1}){const e=ot,i=Array[e(278)](this[e(268)]);return i[e(272)](),t[e(312)]?i[e(282)](t=>t[e(312)]()):i}[ot(269)](t){const e=ot;return this[e(268)][e(269)](t)}[ot(290)](t){const e=ot,[,i]=this[e(263)](t,{direction:e(308)});return i}[ot(298)](t){const e=ot,[,i]=this[e(263)](t,{direction:e(304)});return i}[ot(292)](t){const e=ot,i=[];for(const s of this[e(263)](t[e(267)]))if(i[e(295)](s),s.id===t[e(297)])break;return i}*[ot(263)](t,{direction:e=ot(308),filter:i=()=>!0}={}){const s=ot,n=s(308)===e?1:-1;let r=this[s(268)][s(309)](t),o=this[s(269)](r);for(yield r;r;){if(o+=n,r=this[s(275)](o),!r)return;i(r)&&(yield r)}}}function ct(){const t=["filter","_typeCharToViewClass","_setCustomProperty","getRevision","3EhHHKi","processor","useFillerType","from","collaboration.channelId","data","default","848HFqJVf","parse","revision-end","viewChildrenToDom","length","createElement","domDocument","getRevisionRootsAttributes","549kFHsBK","data-revision-","913821qIAoTu","7842247fNBycX","htmlProcessor","name","370080MIQPZk","view","_appendChild","append","RevisionHistoryUtils","children","_removeRevisionMarkers","startsWith","type","editor","19395hWjUPH","fillerOffset","domChildrenToView","isOfficialPlugin","editing","diffData","63530aOnklu","7693536XmIKxo","getRevisionDocumentData","div","isPremiumPlugin","config","isAttached","toData","domConverter","pluginName","document","string","map","_getViewFromDiffObj","insertions","attributes","_viewClassToTypeChar","loadRevisionData","getFillerOffset","attributesAfter","get","innerHTML","9570804xIDuOE","revision-start","childNodes","toModel","_getTypeCharForViewElement","customProperties","marked","render","attachChange","_makeModelFromViewString","forEach","constructor"];return(ct=function(){return t})()}const ut=lt;function lt(t,e){const i=ct();return(lt=function(t,e){return i[t-=441]})(t,e)}!function(t){const e=lt,i=t();for(;;)try{if(946951===parseInt(e(498))/1+parseInt(e(443))/2*(parseInt(e(481))/3)+parseInt(e(488))/4*(parseInt(e(512))/5)+parseInt(e(465))/6+-parseInt(e(499))/7+parseInt(e(444))/8+parseInt(e(496))/9*(-parseInt(e(502))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ct);class ht extends et.Plugin{static get[ut(452)](){return ut(506)}static get[ut(515)](){return!0}static get[ut(447)](){return!0}[ut(459)]=new Map([[st.ViewContainerElement,"c"],[st.ViewAttributeElement,"a"],[st.ViewEmptyElement,"e"],[st.ViewRawElement,"r"],[st.ViewUIElement,"u"]]);[ut(478)]=new Map([["c",st.ViewContainerElement],["a",st.ViewAttributeElement],["e",st.ViewEmptyElement],["r",st.ViewRawElement],["u",st.ViewUIElement]]);async[ut(460)](t,e){const i=ut;if(t[i(442)]||!e)return;const s=this[i(511)][i(448)][i(463)](i(485)),n=await e[i(480)]({channelId:s,revisionId:t.id});t[i(442)]=n[i(442)]}[ut(445)](t){const e=ut,i={};for(const s in t[e(442)]){if(t[e(442)][s][e(473)]&&!t[e(442)][s][e(473)][e(449)])continue;const n=this[e(508)](JSON[e(489)](t[e(442)][s][e(457)])),r=this[e(511)][e(441)][e(503)][e(453)],o=new st.ViewDocumentFragment(r,n[e(455)](t=>this[e(456)](t,!1)));this[e(511)][e(486)][e(482)][e(483)](e(471)),i[s]=this[e(511)][e(486)][e(482)][e(450)](o),this[e(511)][e(486)][e(482)][e(483)](e(487))}return i}[ut(495)](t){const e=ut,i={};for(const s in t[e(442)])t[e(442)][s][e(473)]&&!t[e(442)][s][e(473)][e(449)]||(i[s]=t[e(442)][s][e(462)]||{});return i}[ut(469)](t){const e=ut;return this[e(459)][e(463)](t[e(476)])}[ut(456)](t,e){const i=ut,s=this[i(511)][i(441)][i(503)][i(453)];if(i(454)==typeof t)return new st.ViewText(s,t);{let n,r;r="u"==t[i(510)]||"r"==t[i(510)]?[]:t[i(507)][i(455)](t=>this[i(456)](t,e));const o=this[i(478)][i(463)](t[i(510)])||st.ViewElement,a=this[i(511)][i(486)][i(500)][i(451)];if(n=new o(s,t[i(501)],t[i(458)],r),"u"==t[i(510)]&&t[i(507)][0]){const r=t[i(507)][0];if(n[i(472)]=function(t){const e=i,s=t[e(493)](e(446));return s[e(464)]=r,s[e(467)][0]},e){const t=new st.ViewDocumentFragment(s);t[i(504)](n);const e=Array[i(484)](a[i(491)](t,{bind:!1})),r=a[i(494)][i(493)](i(446));r[i(505)](...e),n=Array[i(484)](a[i(514)](r))[0]}}else if("r"==t[i(510)]&&t[i(507)][0]){const r=t[i(507)][0];if(n[i(472)]=function(t){t[i(464)]=r},e){const t=new st.ViewDocumentFragment(s);t[i(504)](n);const e=Array[i(484)](a[i(491)](t,{bind:!1})),r=a[i(494)][i(493)](i(446));r[i(505)](...e);const o=Array[i(484)](a[i(514)](r));o[i(492)]>1?n[i(504)](o):n=o[0]}}if(t[i(470)])for(const[e,s]of t[i(470)])n[i(479)](e,s);const c=void 0===t[i(513)]?null:t[i(513)];return null!==c&&(n[i(461)]=()=>c),n}}[ut(474)](t){const e=ut,i=JSON[e(489)](t),s=this[e(511)][e(441)][e(503)][e(453)],n=new st.ViewDocumentFragment(s,i[e(455)](t=>this[e(456)](t,!0)));return this[e(511)][e(486)][e(468)](n)}[ut(508)](t){const e=ut;return(t=t[e(477)](t=>!t[e(501)]||e(466)!==t[e(501)]&&e(490)!==t[e(501)]))[e(475)](t=>{const i=e;i(454)!=typeof t&&(t[i(507)]=this[i(508)](t[i(507)]),t[i(458)]=t[i(458)][i(477)](t=>!t[0][i(509)](i(497))))}),t}}function dt(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ft(){}function mt(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 pt(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return vt(t,e,r,o)}return vt(t,e,r,o)}function vt(t,i,s,c){if(Object.is(t,i))return!0;let x=e(t),A=e(i);if("[object Arguments]"===x&&(x=p),"[object Arguments]"===A&&(A=p),x!==A)return!1;switch(x){case r:return t.toString()===i.toString();case o:return B(t.valueOf(),i.valueOf());case a:case l:case u:return Object.is(t.valueOf(),i.valueOf());case n:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(x){case h:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!pt(n,i.get(e),e,t,i,s,c))return!1;return!0;case d:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>pt(o,e,void 0,t,i,s,c));if(-1===a)return!1;n.splice(a,1)}return!0}case f:case g:case y:case k:case b:case"[object BigUint64Array]":case w:case _:case I:case"[object BigInt64Array]":case S:case O:if(N(t)!==N(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!pt(t[e],i[e],e,t,i,s,c))return!1;return!0;case m:return t.byteLength===i.byteLength&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case v:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case"[object Error]":return t.name===i.name&&t.message===i.message;case p:{if(!(vt(t.constructor,i.constructor,s,c)||mt(t)&&mt(i)))return!1;const e=[...Object.keys(t),...T(t)],n=[...Object.keys(i),...T(i)];if(e.length!==n.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!pt(o,i[r],r,t,i,s,c))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function gt(t,e){return function(t,e,i){return pt(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ft)}const yt=_t;function kt(){const t=["startsWith","rawElement","parent","init","source","slice","element","5102415YtjHlI","revisionHistory.resumeUnsavedRevision","usageLimit","_authorId","hasContent","insertionPosition","size","_appendChild","_transformMarkers","childCount","collaboration.channelId","data","dataToMarker","_continueCurrentRevision","range","creatorId","_update","revision","_baseIdsRoots","path","_bufferUpdate","_handleRootOperation","_removeMetaData","plugins","_createInitialRevision","baseVersion","set","delete","evaluationLimit","some","map","getRootNames","outerHTML","dataDowncast","model","_prepareViewToSave","targetPosition","for","getChildren","RevisionHistory","3ubluKz","revisionHistoryLicenseKeyInvalid","_reset","isEqual","diffData","createPositionFromPath","vid_start","_fixPosition","paragraph","howMany","add","toVersion","document","_copyMarkers","text","_getViewJson","children","addRootAttribute","revisionHistoryLicenseKeyExpired","vid_end","getData","getCustomProperties","expired","_saveMetaData","updateRevisions","_revisionId","_lastTo","marker","offset","pluginName","name","get","getRevisionDocumentData","getOperations","getRevisions","Empty document","stickiness","$graveyard","editor-initial-data-replaced-with-revision-data","includes","string","resolve","getRange","_execute","_markers","documentFragment","clone","initialData","_pendingAction","_source","isAdd","nodeAfter","_cloneOperation","afterInit","_initialRevisionId","addRevisionData","licenseKey","createPositionBefore","_getVidAttributeName","htmlProcessor","insertions","214568ouUtIg","values","split","uiElement","getRevision","domConverter","attributesBefore","revisionHistoryLicenseKeyValid","addRevision","_getState","revisionHistoryLicenseKeyUsageLimit","nodes","start","stringify","_createFromRanges","getCurrentRevisionId","elementEnd","getAttributes","_handleMergeOperation","toView","_isAttached","getChild","_applyOperations","revisionHistoryLicenseKeyEvaluationLimit","type","_savedMetaData","$text","_isInit","12783896BCGKoF","define","_handleOperation","_fixRange","getNodeByPath","removeRootAttribute","key","clear","_handleMarkerOperation","tableCell","item","_setAttribute","_getBaseVids","oldRange","isAttached","authors","RevisionHistoryUtils","position","keys","destroy","innerHTML","affectsData","rootName","_diffRootsAttributes","length","reverse","adapter","createRangeIn","config","fromVersion","36012339VKOywA","RevisionsRepository","isEnabled","revisionHistoryLicenseKeyNotAllowed","getAttribute","_revisionDataBuilder","upcast","version","merge","attachChange","filter","_touchedMarkers","loadState","_loadedStateData","featureNotAllowed","keepParagraph","initial","conversion","createRevision","_calculateMetaData","graveyardPosition","splitPosition","revision:","_diffRoots","newValue","_insertChild","_idsRoots","getFillerOffset","sendBufferedUpdates","editor","saveRevision","offsetSize","_licenseKeyCheckInterval","finally","getIndex","isPremiumPlugin","$comment","from","addRoot","vid","customProperties","detachRoot","rootsAttributes","3508760MBhmvJ","_startingVersion","getOperation","_bufferedUpdates","isOfficialPlugin","NEGATIVE_INFINITY","_removePendingAction","setRevisionData","12QWIlIm","then","update","_makeRevision","creator","getAncestors","getLatestVersion","reinsert","6agAAfr","sourcePosition","getTime","end","insertion","_makeIdsRoot","_baseRootsAttributes","_handleMoveOperation","fromEntries","Initial revision","_utils","_processRootBeforeSave","render","_touchedRoots","fillerOffset","createElement","ready","trim","reInit","setSource","deletions","push","domainLimit","createdAt","_handleSplitOperation","_getPreviousFrom","36PClgYa","invalid","createRange","max","deletion","move","insert","_showLicenseError","authorsIds","getRoot","createPositionAt","_clone","bind","getWalker","_replaceEditorDataWithRevisionData","elementStart","_addPendingAction","_touched","domDocument","_handleRootAttributeOperation","_lastFrom","previousPosition","changeRootAttribute","isReady","getRevisionRootsAttributes","markerToData","_startingRevisionId","remove","createPositionAfter","_handleInsertOperation","locale","PENDING_ACTION_REVISION_HISTORY","RealTimeCollaborationClient","requires","shift","getTransformedByOperation","RevisionTracker","PendingActions","_loadState","getMovedRangeStart","sort","roots","has","currentRevision","_baseRoots","userId","buildRevisionData","repository","_setConversion","_makeModelFromViewString","revisionHistoryLicenseKeyDomainLimit","_findInsertionIndex","history","_operations","find","_getFromVersion","_fixOperation","Users","attributesAfter","_isPendingUpdate","3855608NUnwWs","markers","_createCurrentRevision","getUser","_generateTape","_markChanges","_getTypeCharForViewElement","root","loadRevisionData","8780667DCUTLd","newRange"];return(kt=function(){return t})()}!function(t){const e=_t,i=t();for(;;)try{if(983124===parseInt(e(408))/1*(-parseInt(e(621))/2)+parseInt(e(560))/3*(-parseInt(e(502))/4)+parseInt(e(520))/5+-parseInt(e(416))/6*(parseInt(e(511))/7)+parseInt(e(327))/8+parseInt(e(442))/9*(-parseInt(e(400))/10)+parseInt(e(357))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class bt extends et.Plugin{[yt(616)];[yt(389)];[yt(485)]=null;[yt(489)];[yt(353)]=null;[yt(362)];[yt(609)];[yt(614)];[yt(403)];[yt(426)];[yt(608)];[yt(533)];[yt(401)];[yt(370)];static get[yt(589)](){return yt(478)}static get[yt(404)](){return!0}static get[yt(392)](){return!0}static get[yt(475)](){return[it.Users,at,ht,et.PendingActions]}constructor(e){const i=yt;super(e),this[i(489)]=this[i(386)][i(543)][i(591)](i(358)),this[i(426)]=this[i(386)][i(543)][i(591)](i(343)),this[i(362)]=new wt(this[i(386)]),this[i(614)]=this[i(386)][i(355)][i(591)](i(530))||i(373),this[i(403)]=new Map,this[i(370)]=null;const s=(0,t.uid)();this[i(609)]={history:this[i(386)][i(554)][i(572)][i(494)],getLatestVersion:()=>Promise[i(601)](this[i(386)][i(554)][i(572)][i(364)]),getCurrentRevisionId:()=>s},this[i(546)](i(465),!1),this[i(546)](i(359),!0),this[i(546)](i(501),!1),this[i(386)][i(355)][i(328)](i(521),!0),this[i(386)][i(374)][i(557)](i(363))[i(532)]({view:i(537)})}[yt(516)](){const t=yt;this[t(490)](),this[t(386)][t(531)].on(t(432),()=>{const e=t,i=this[e(489)][e(625)](0),s=i&&null===i[e(412)]?i:null;if(this[e(533)]=!!s&&this[e(386)][e(355)][e(591)](e(521)),this[e(386)][e(543)][e(484)](e(474))){const t=this[e(609)][e(636)](),n=this[e(489)][e(625)](t);if(n)this[e(401)]=n[e(356)],this[e(533)]=!1;else{const t=this[e(609)][e(494)][e(495)][e(496)](t=>!t[e(326)]),n=t?t[e(545)]:this[e(609)][e(494)][e(364)];i?(i[e(571)]<n&&i[e(536)]({toVersion:n}),this[e(533)]?(this[e(609)][e(636)]=()=>s.id,this[e(401)]=s[e(356)]):(this[e(401)]=i[e(571)],this[e(533)]=!1)):(this[e(401)]=n,this[e(533)]=!1)}}else s&&(this[e(386)][e(554)][e(572)][e(494)][e(364)]=Math[e(445)](s[e(571)],this[e(386)][e(554)][e(572)][e(494)][e(364)]),s[e(356)]===s[e(571)]?(0!==s[e(356)]&&(this[e(609)][e(636)]=()=>s.id),this[e(533)]=!1):this[e(533)]&&(this[e(609)][e(636)]=()=>s.id,this[e(401)]=s[e(356)])),this[e(533)]||(this[e(401)]=this[e(386)][e(554)][e(572)][e(364)]);this[e(362)][e(516)](this[e(609)][e(494)]),this[e(544)](this[e(401)]),this[e(504)](this[e(401)]),this[e(353)]&&this[e(385)]()}),this[t(454)](t(465)).to(this,t(501),t=>!t),this[t(616)]=this[t(386)][t(355)][t(591)](t(616));const e=this[t(386)];this[t(389)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(628)==r||i(561)==r||i(578)==r||i(492)==r||i(360)==r||i(322)==r||i(631)==r){delete e[n],s=r,clearInterval(this[i(389)]),this[i(389)]=void 0;break}}i(561)==s&&e[i(449)](i(443)),i(578)==s&&e[i(449)](i(582)),i(492)==s&&e[i(449)](i(438)),i(360)==s&&e[i(449)](i(371),i(559)),i(322)==s&&e[i(449)](i(548)),i(631)==s&&e[i(449)](i(522))},1e3)}async[yt(613)](){const t=yt;if(this[t(489)][t(351)]>0){const e=this[t(489)][t(625)](0),i=await this[t(592)](e),s=await this[t(466)](e);this[t(456)](i,s)}}[yt(346)](){const t=yt;super[t(346)](),this[t(389)]&&clearInterval(this[t(389)])}[yt(435)](t){this[yt(609)]=t}async[yt(410)](){const t=yt,e=await this[t(609)][t(414)]();if(e>this[t(485)][t(571)]){await this[t(480)]();const i=this[t(488)]({revision:this[t(485)],to:e});i[t(342)]=i[t(450)][t(550)](e=>this[t(386)][t(543)][t(591)](t(499))[t(505)](e)),this[t(485)][t(536)](i)}}async[yt(387)](e={},i=null){const s=yt,n=[];await this[s(480)](),this[s(533)]=!1,i>this[s(485)][s(571)]&&(i=null),null===i&&(i=await this[s(609)][s(414)]());const r=this[s(497)](i),o=this[s(488)]({from:r,to:i});if(this[s(485)][s(571)]<i){const t=this[s(488)]({revision:this[s(485)],from:i,to:i});t[s(342)]=[],t[s(450)]=[],t.id=this[s(485)].id,this[s(485)][s(536)](t,!0),delete t[s(342)],n[s(437)](t)}e[s(535)]=this[s(386)][s(543)][s(591)](s(499)).me.id,e[s(590)]=e[s(590)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(615)](e);n[s(437)](e);const c=this[s(489)][s(391)](a);if(0!==c){const t=this[s(489)][s(625)](c-1);if(t[s(356)]!==i){const r=this[s(362)][s(580)](i,t[s(571)]),o={id:t.id,diffData:r[s(564)],authorsIds:r[s(450)],authors:r[s(450)][s(550)](t=>this[s(386)][s(543)][s(591)](s(499))[s(505)](t)),fromVersion:i};t===this[s(485)]&&(o[s(439)]=new Date(e[s(439)][s(418)]()+10)),t[s(536)](o,!0),delete o[s(342)],n[s(437)](o)}}if(this[s(353)]){for(const t of n)this[s(540)](t.id,t,!0);this[s(385)]()}return a}[yt(615)](t){const e=yt,i=this[e(489)][e(375)](t);return this[e(353)]&&i.on(e(536),(t,i,s)=>{const n=e;s||(this[n(540)](i.id,i,!0),this[n(385)]())}),this[e(489)][e(629)](i,this[e(493)](i)),i}async[yt(592)](t){const e=yt;return await this[e(426)][e(510)](t,this[e(353)]),this[e(426)][e(592)](t)}async[yt(466)](t){const e=yt;return await this[e(426)][e(510)](t,this[e(353)]),this[e(426)][e(466)](t)}[yt(385)](){const t=yt;if(0===this[t(403)][t(526)])return;if(this[t(501)])return;let e=Array[t(394)](this[t(403)][t(622)]());this[t(403)][t(334)]();for(let i=0;i<e[t(351)];i++){const s=e[i];let n=!1;for(const e of Object[t(345)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(367)](t=>null!==t),!e[t(351)])return;for(let i=0;i<e[t(351)];i++){const s=e[i];void 0!==s[t(356)]&&void 0===s[t(571)]&&(s[t(571)]=this[t(489)][t(625)](s.id)[t(571)]),void 0!==s[t(571)]&&void 0===s[t(356)]&&(s[t(356)]=this[t(489)][t(625)](s.id)[t(356)])}const i=this[t(386)][t(355)][t(591)](t(530));this[t(501)]=!0,this[t(458)](),this[t(353)][t(584)](e,i)[t(390)](()=>{this[t(501)]=!1})[t(409)](e=>{const i=t;if(e)for(const t of e)this[i(407)]({id:t.id,createdAt:t[i(439)]});this[i(406)](),this[i(385)]()})}[yt(488)]({revision:t=null,from:e=null,to:i=null}){const s=yt;e=null!==e?e:t[s(356)],i=null!==i?i:t[s(571)];const n=this[s(362)][s(580)](e,i),r={diffData:n[s(564)],authorsIds:n[s(450)],fromVersion:e,toVersion:i};if(!t||i!==t[s(571)]){const t=i-1,e=this[s(609)][s(494)][s(402)](t);r[s(439)]=e&&e[s(439)]||new Date}if(this[s(370)]&&e===this[s(370)][s(356)])for(const t of this[s(370)][s(342)])r[s(450)][s(599)](t.id)||r[s(450)][s(437)](t.id);return r}[yt(540)](t,e,i){const s=yt;if(this[s(403)][s(484)](t)){const n=this[s(403)][s(591)](t);e=i?{...n,...e}:{...e,...n}}this[s(403)][s(546)](t,e)}[yt(407)](t){const e=yt,i=this[e(489)][e(625)](t.id);if(t[e(439)]&&(t[e(439)]=new Date(t[e(439)])),t[e(450)]){const i=this[e(386)][e(543)][e(591)](e(499));t[e(342)]=t[e(450)][e(550)](t=>i[e(505)](t))}i[e(536)](t,!0)}[yt(544)](t){const e=yt,i=this[e(489)][e(625)](this[e(489)][e(351)]-1);if(i)this[e(614)]=i.id;else{const i=!this[e(386)][e(554)][e(572)][e(483)][e(496)](t=>this[e(386)][e(554)][e(524)](t)),s=this[e(386)][e(543)][e(591)](e(499)).me.id,n=dt(this[e(386)][e(472)],e(i?595:425));this[e(411)]({from:t,to:t,id:this[e(614)],name:n,creatorId:s})}}[yt(504)](t){const e=yt,i=this[e(609)][e(636)]();this[e(485)]=this[e(489)][e(625)](i),this[e(485)]||(this[e(485)]=this[e(411)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[yt(480)](){const t=yt;this[t(533)]&&!this[t(370)]&&(await this[t(426)][t(510)](this[t(485)],this[t(353)]),this[t(362)][t(369)](this[t(485)]),this[t(370)]={fromVersion:this[t(485)][t(356)],authors:this[t(485)][t(342)][t(518)]()})}[yt(456)](e,i){const s=yt;let n=this[s(386)][s(355)][s(591)](s(607)),r=this[s(386)][s(355)][s(591)](s(399));if(void 0===n){n={};for(const t of this[s(386)][s(554)][s(572)][s(551)]())n[t]=""}if(s(600)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(386)][s(554)][s(572)][s(551)]())r[t]={}}let o=!1;const a=Object[s(345)](n),c=Object[s(345)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(433)]()){o=!0;break}if(!gt(r[t],i[t])&&Object[s(345)](r[t])[s(351)]>0){o=!0;break}}o||(o=c[s(549)](t=>!this[s(386)][s(554)][s(572)][s(451)](t))),o&&(0,t.logWarning)(s(598),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(386)][s(355)][s(546)](s(607),e),this[s(386)][s(355)][s(546)](s(399),i)}[yt(458)](){const t=yt;if(!this[t(608)]){const e=this[t(386)][t(543)][t(591)](t(479));this[t(608)]=e[t(570)](dt(this[t(386)][t(472)],t(473)))}}[yt(406)](){const t=yt;this[t(608)]&&(this[t(386)][t(543)][t(591)](t(479))[t(469)](this[t(608)]),this[t(608)]=null)}[yt(493)](t){const e=yt,i=this[e(489)][e(594)]();i[e(352)]();let s=0;for(;s<i[e(351)];){const n=i[s];if(n===this[e(485)]){s++;continue}if(n.id===this[e(614)])break;const r=t[e(571)]-n[e(571)]||t[e(356)]-n[e(356)];if(r>0)break;if(r<0)s++;else{if(!t[e(412)]&&n[e(412)])break;if(n[e(412)]||!t[e(412)]){if(t[e(439)]>n[e(439)])break;s++}else s++}}return s}[yt(497)](t){const e=yt,i=this[e(489)][e(594)]();i[e(352)](),i[e(476)]();const s=i[e(496)](i=>i[e(571)]<=t)[e(571)];return s<this[e(401)]?this[e(401)]:s}[yt(411)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=yt,o=this[r(488)]({from:e,to:i});o[r(590)]=t,o[r(535)]=s,o.id=n;const a=this[r(615)](o);return this[r(353)]&&this[r(540)](o.id,o,!0),a}[yt(490)](){const t=yt;this[t(386)][t(374)][t(557)](t(553))[t(467)]({model:t(537)})}}class wt{[yt(386)];[yt(517)];[yt(324)];[yt(462)];[yt(586)];[yt(604)];[yt(380)];[yt(350)];[yt(486)];[yt(422)];[yt(383)];[yt(538)];[yt(459)];[yt(368)];[yt(429)];[yt(585)];[yt(468)];constructor(t){const e=yt;this[e(386)]=t,this[e(324)]=new Map,this[e(462)]=-1,this[e(586)]=-1,this[e(604)]=new Map,this[e(380)]=new Map,this[e(350)]=new Map,this[e(486)]=new Map,this[e(422)]=new Map,this[e(383)]=new Map,this[e(538)]=new Map,this[e(459)]=new Map,this[e(368)]=new Map,this[e(429)]=new Map,this[e(585)]=1}[yt(516)](t){const e=yt;this[e(517)]=t;const i=new Map,s=new Map,n=this[e(386)][e(554)][e(572)][e(483)][e(550)](t=>t[e(349)]);for(const t of n){const n=this[e(386)][e(554)][e(572)][e(451)](t),r=It(n);i[e(546)](t,r),s[e(546)](t,Object[e(424)](n[e(316)]()))}const r=Array[e(394)](this[e(386)][e(554)][e(503)])[e(550)](t=>[t[e(590)],t[e(602)]()]),o=this[e(517)][e(364)];this[e(583)](o,i,r,s),this[e(468)]=this[e(585)];const a=new Map,c=new Map;for(const t of n){const i=St(t);a[e(546)](t,i),c[e(546)](t,{})}this[e(583)](Number[e(405)],a,[],c)}[yt(580)](t,e){const i=yt;if(this[i(462)]===t&&this[i(586)]<=e)this[i(324)][i(526)]>1&&this[i(542)](this[i(586)]),this[i(321)](this[i(586)],e,!0);else{if(!this[i(324)][i(484)](t)){const e=this[i(441)](t);this[i(376)](e,t,!1)}this[i(376)](t,e,!0)}return this[i(462)]=t,this[i(586)]=e,this[i(630)]()}[yt(369)](t){const e=yt;if(!this[e(324)][e(484)](t[e(356)])){const i=this[e(441)](t[e(356)]);this[e(376)](i,t[e(356)],!1)}this[e(376)](t[e(356)],t[e(571)],!1);const i=this[e(386)][e(543)][e(591)](e(343));this[e(562)](),this[e(462)]=t[e(356)],this[e(586)]=t[e(571)];for(const s in t[e(564)]){const n=t[e(564)][s][e(366)],r=E(t[e(564)][s][e(627)])||{},o=i[e(491)](t[e(564)][s][e(436)]);o[e(349)]=s,o[e(319)]=!n||!n[e(341)],o[e(341)]=()=>o[e(319)],this[e(486)][e(546)](s,o),this[e(422)][e(546)](s,r),n&&this[e(429)][e(546)](s,n);const a=this[e(421)](o);this[e(538)][e(546)](s,a);for(const[t,i]of o[e(503)]){if(!t[e(513)](e(379)))continue;const s=t[e(623)](":")[2];for(const t of i[e(455)]({singleCharacters:!0})){const i=this[e(618)](t),n=e(315)==t[e(323)]?t[e(463)][e(539)][e(518)](0,-1):t[e(463)][e(539)],r=a[e(331)](n)[e(361)](i);this[e(459)][e(546)](r,{userId:s})}o[e(503)][e(547)](t)}}this[e(468)]=this[e(585)];const s=[...Array(this[e(585)])[e(345)]()][e(518)](1)[e(367)](t=>!this[e(459)][e(484)](t));let n=0;const r=new Map;for(const o in t[e(564)]){const a=t[e(564)][o][e(366)],c=E(t[e(564)][o][e(500)])||{},u=i[e(491)](t[e(564)][o][e(620)]);u[e(349)]=o,u[e(319)]=!a||a[e(341)],u[e(341)]=()=>u[e(319)],this[e(380)][e(546)](o,u),this[e(350)][e(546)](o,c);const l=this[e(421)](u,Number[e(405)]);this[e(383)][e(546)](o,l),r[e(546)](o,u[e(341)]()?c:{});for(const[t,i]of u[e(503)]){if(!t[e(513)](e(379)))continue;const s=t[e(623)](":")[2];for(const t of i[e(455)]({singleCharacters:!0})){const i=this[e(618)](t),n=this[e(585)]++,r=e(315)==t[e(323)]?t[e(463)][e(539)][e(518)](0,-1):t[e(463)][e(539)];l[e(331)](r)[e(338)](i,n),this[e(459)][e(546)](n,{userId:s})}u[e(503)][e(547)](t)}for(const t of this[e(386)][e(554)][e(354)](u)[e(455)]({singleCharacters:!0})){const i=this[e(618)](t),r=e(315)==t[e(323)]?t[e(463)][e(539)][e(518)](0,-1):t[e(463)][e(539)],o=l[e(331)](r);o[e(361)](i)>0||o[e(338)](i,s[n++])}for(const[t,i]of u[e(503)])t[e(513)](e(379))||this[e(604)][e(546)](t,i)}const{roots:o}=this[e(324)][e(591)](t[e(356)]),{roots:a}=this[e(324)][e(591)](t[e(571)]),c=It(o[e(591)](e(597)));this[e(486)][e(546)](e(597),c),this[e(538)][e(546)](e(597),this[e(421)](c,Number[e(405)]));const u=It(a[e(591)](e(597)));this[e(380)][e(546)](e(597),u),this[e(383)][e(546)](e(597),this[e(421)](u));const l=Array[e(394)](this[e(380)])[e(550)](([t,e])=>[t,It(e)]);this[e(583)](this[e(586)],l,this[e(604)],r)}[yt(434)](){const t=yt;this[t(562)](),this[t(462)]=-1,this[t(586)]=-1,this[t(324)][t(334)](),this[t(516)](this[t(517)])}[yt(583)](t,e,i,s){const n=yt,r=new Map(e),o=new Map(E(s)),a=new Map;for(const[t,e]of i)a[n(546)](t,{start:e[n(633)][n(606)](),end:e[n(419)][n(606)](),rootName:e[n(509)][n(349)]});this[n(324)][n(546)](t,{roots:r,markers:a,rootsAttributes:o})}[yt(542)](t){const e=yt;this[e(324)][e(547)](t)}[yt(562)](){const t=yt;this[t(459)][t(334)](),this[t(368)][t(334)](),this[t(429)][t(334)](),this[t(380)][t(334)](),this[t(350)][t(334)](),this[t(486)][t(334)](),this[t(422)][t(334)](),this[t(383)][t(334)](),this[t(538)][t(334)](),this[t(604)][t(334)](),this[t(585)]=1,this[t(468)]=this[t(585)]}[yt(421)](t,e=null){const i=yt;let s=null;t.is(i(605))||(s=new st.ModelElement(t[i(590)],{vid_start:null===e?this[i(585)]++:e++}));const n=[];for(const s of t[i(558)]())if(s.is(i(519))){n[i(437)](this[i(421)](s,e));const t=n[n[i(351)]-1];null!==e&&(e=t.is(i(519),i(325))?t[i(361)](i(396))+1:t[i(361)](i(579))+1)}else for(let t=0;t<s[i(388)];t++)n[i(437)](new st.ModelElement(i(325),{vid:null===e?this[i(585)]++:e++}));if(t.is(i(605))){const e=St(t[i(349)]);return e[i(382)](0,n),e}return s[i(338)](i(579),null===e?this[i(585)]++:e++),s[i(382)](0,n),s}[yt(376)](t,e,i){const s=yt;this[s(562)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(324)][s(591)](t);this[s(486)]=new Map(n),this[s(422)]=new Map(E(o));for(const[t,e]of this[s(486)])if(s(597)!==t&&(this[s(380)][s(546)](t,It(e)),this[s(350)]=new Map(E(o)),i)){const i=this[s(585)];this[s(383)][s(546)](t,this[s(421)](e)),this[s(538)][s(546)](t,this[s(421)](e,i))}this[s(468)]=this[s(585)],this[s(380)][s(546)](s(597),It(this[s(486)][s(591)](s(597)))),i&&this[s(383)][s(546)](s(597),this[s(421)](this[s(486)][s(591)](s(597))));for(const[t,e]of r){const i=this[s(486)][s(591)](e[s(349)]),n=this[s(380)][s(591)](e[s(349)]),r=new st.ModelRange(this[s(567)](e[s(633)],i),this[s(567)](e[s(419)],i)),o=this[s(330)](r,n);i[s(503)][s(546)](t,r),this[s(604)][s(546)](t,o)}this[s(321)](t,e,i)}[yt(321)](t,e,i){const s=yt;for(const n of this[s(517)][s(593)](t,e))this[s(329)](n,i);for(const t of this[s(380)][s(622)]())t[s(503)][s(334)]();for(const[t,e]of this[s(604)])this[s(380)][s(591)](e[s(509)][s(349)])[s(503)][s(546)](t,e[s(606)]());const n=new Map,r=new Map;for(const[t,e]of this[s(380)])n[s(546)](t,It(e)),r[s(546)](t,this[s(350)][s(591)](t));this[s(583)](e,n,this[s(604)],r)}[yt(441)](t){const e=yt,i=Array[e(394)](this[e(324)][e(345)]());i[e(482)]((t,e)=>t-e),i[e(352)]();for(const e of i)if(e<t)return e;return Number[e(405)]}[yt(573)](t,e){const i=yt,s=Array[i(394)](e[i(503)])[i(550)](([e,s])=>[e,this[i(330)](s,t)]);t[i(503)]=new Map(s)}[yt(528)](t){const e=yt;for(const i of this[e(604)][e(622)]()){const s=i[e(477)](t),n=st.ModelRange[e(635)](s);i[e(633)]=n[e(633)],i[e(419)]=n[e(419)]}}[yt(329)](t,e){const i=yt;if(i(395)!=t[i(323)]&&i(398)!=t[i(323)]){if(i(448)==t[i(323)]){const s=t[i(344)][i(509)][i(349)];this[i(380)][i(484)](s)||(this[i(380)][i(546)](s,St(s,!0)),this[i(350)][i(546)](s,{}),e&&this[i(383)][i(546)](s,St(s,!0)))}else{if(i(577)==t[i(323)]||i(332)==t[i(323)]||i(464)==t[i(323)])return void this[i(461)](t);i(587)==t[i(323)]&&this[i(335)](t)}if(i(587)!==t[i(323)]){const e=this[i(612)](t,this[i(380)]);e[i(603)](),this[i(528)](e)}if(e)switch(t[i(323)]){case i(448):this[i(471)](t);break;case i(447):case i(469):case i(415):this[i(423)](t);break;case i(365):this[i(317)](t);break;case i(623):this[i(440)](t)}}else this[i(541)](t,e)}[yt(612)](t,e){const i=yt,s=t[i(606)]();return s[i(523)]=t[i(523)],this[i(498)](s,e),s}[yt(339)](t){const e=yt;return t[e(550)](t=>{const i=e,s=this[i(618)](t);return Number(t[i(337)][i(361)](s))})}[yt(506)](t,e){const i=yt;if(t.is(i(519),i(325)))e[i(437)]({item:t,type:i(574)});else{t.is(i(519))&&e[i(437)]({item:t,type:i(457)});for(const s of t[i(558)]())this[i(506)](s,e);t.is(i(519))&&e[i(437)]({item:t,type:i(315)})}return e}[yt(630)](){const t=yt,e=new Map(this[t(459)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(486)][t(345)](),...this[t(380)][t(345)]()]);a[t(547)](t(597));for(const e of a){const i=this[t(380)][t(591)](e)||St(e,!1),s=this[t(486)][t(591)](e)||St(e,!1);i[t(341)]()||s[t(341)]()?(n[t(620)][e]=It(i),n[t(436)][e]=It(s),this[t(573)](n[t(436)][e],s),this[t(573)](n[t(620)][e],i),r[t(620)][e]=this[t(506)](this[t(383)][t(591)](e),[]),r[t(436)][e]=this[t(506)](this[t(538)][t(591)](e)||St(e,!1),[])):a[t(547)](e)}for(const n of a){const o=r[t(620)][n];for(const n of o){const r=this[t(618)](n),o=n[t(337)][t(361)](r);i[t(547)](o),o>=this[t(468)]&&s[t(546)](o,e[t(591)](o))}}for(const n of a){const a=r[t(620)][n],c=this[t(339)](r[t(436)][n]);let u=0;for(const n of a){const r=this[t(618)](n),a=n[t(337)][t(361)](r);if(!s[t(484)](a)&&!o[t(484)](a))if(i[t(484)](a))u++;else{if(a!=c[u]){const s=e[t(591)](a)||e[t(591)](c[u]);for(;a!=c[u];)i[t(484)](c[u])||(o[t(546)](c[u],s),e[t(546)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(620)][e];for(const e of n){const n=this[t(618)](e),r=e[t(337)][t(361)](n);if(o[t(484)](r)){const e=o[t(591)](r);i[t(484)](r)||i[t(546)](r,{...e}),s[t(546)](r,{...e})}}}for(const e of i[t(345)]())e>=this[t(468)]&&i[t(547)](e);const c=new Map;for(const e of a){let n=r[t(620)][e];for(const e of n)if(e[t(337)].is(t(519),t(336))){const i=this[t(618)](e),n=e[t(337)][t(361)](i);if(s[t(484)](n)){const i=e[t(337)][t(515)][t(515)][t(361)](t(566)),r=c[t(591)](i)||new Set;r[t(570)](s[t(591)](n)[t(487)]),c[t(546)](i,r)}}n=r[t(436)][e];for(const e of n)if(e[t(337)].is(t(519),t(336))){const s=this[t(618)](e),n=e[t(337)][t(361)](s);if(i[t(484)](n)){const s=e[t(337)][t(515)][t(515)][t(361)](t(566)),r=c[t(591)](s)||new Set;r[t(570)](i[t(591)](n)[t(487)]),c[t(546)](s,r)}}for(const e of c[t(345)]())(s[t(484)](e)||i[t(484)](e))&&c[t(547)](e)}for(const e of a){const n=r[t(620)][e];let o=null,a=null;for(const e of n){const n=this[t(618)](e),r=e[t(337)][t(361)](n),u=c[t(591)](r);u&&t(457)==e[t(323)]&&(o=Array[t(394)](u)[0],a=e[t(337)][t(361)](t(579))),o&&(i[t(546)](r,{userId:o}),s[t(546)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(436)][e],a=n[t(620)][e];for(const{userId:e}of this[t(368)][t(622)]())null!==e&&l[t(570)](e);for(const{userId:e}of this[t(429)][t(622)]())null!==e&&l[t(570)](e);this[t(507)](a,r[t(620)][e],s,t(420),l),this[t(507)](o,r[t(436)][e],i,t(446),l),u[e]={insertions:this[t(555)](a),deletions:this[t(555)](o),attachChange:this[t(429)][t(591)](e)||null,attributesBefore:E(this[t(422)][t(591)](e))||{},attributesAfter:E(this[t(350)][t(591)](e))}}return{diffData:u,authorsIds:Array[t(394)](l)}}[yt(427)](t){const e=yt;for(const[,i]of t[e(503)]){const t=i[e(633)][e(413)]()[e(367)](t=>e(336)==t[e(590)]);for(const i of t)1==i[e(529)]&&i[e(320)](0).is(e(519),e(568))&&i[e(320)](0)[e(338)](e(372),!0)}}[yt(555)](t){const e=yt;this[e(427)](t);const i=this[e(386)][e(531)][e(318)](t,{}),s=Array[e(394)](i[e(558)]())[e(550)](t=>this[e(575)](t));return JSON[e(634)](s)}[yt(575)](t){const e=yt;if(t.is(e(325)))return t[e(531)];{const i=this[e(386)][e(543)][e(591)](e(343)),s=t,n=this[e(386)][e(531)][e(619)][e(626)],r={type:i[e(508)](s),name:s[e(590)],attributes:Array[e(394)](s[e(316)]()),children:Array[e(394)](s[e(558)]())[e(550)](t=>this[e(575)](t))};if(t.is(e(624))&&e(393)!=t[e(590)]){const i=t[e(428)](n[e(460)],n);r[e(576)][e(437)](i[e(552)])}else if(t.is(e(514))){const i=n[e(460)][e(431)](s[e(590)]);t[e(428)](i,n),r[e(576)][e(437)](i[e(347)])}const o=Array[e(394)](s[e(581)]());o[e(351)]>0&&(r[e(397)]=o);const a=s[e(384)]();return null!==a&&(r[e(430)]=a),r}}[yt(507)](t,e,i,s,n){const r=yt;let o=null,a=null,c=0;const u=this[r(386)][r(554)];for(let s=0;s<e[r(351)];s++){const n=this[r(618)](e[s]),c=e[s][r(337)][r(361)](n),h=i[r(591)](c),d=s==e[r(351)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(487)]!=o[r(487)])&&(l(h,Ot(a,t,u),Ot(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,Ot(a,t,u),Tt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(487)],d=l(379)+s+":"+h+":"+c++,f=u[l(444)](i,a);t[l(503)][l(546)](d,f),null!==h&&n[l(570)](h)}}[yt(618)](t){const e=yt;switch(t[e(323)]){case e(457):return e(566);case e(315):return e(579);default:return e(396)}}[yt(498)](t,e){const i=yt;t[i(545)]=null;for(const s in t){const n=t[s];if(n instanceof st.ModelPosition){const r=e[i(591)](n[i(509)][i(349)]);t[s]=this[i(567)](n,r)}if(n instanceof st.ModelRange){const r=e[i(591)](n[i(509)][i(349)]);t[s]=this[i(330)](n,r)}i(509)===s&&(t[i(509)]=e[i(591)](t[i(509)][i(349)]))}}[yt(330)](t,e){const i=yt;return this[i(386)][i(554)][i(444)](this[i(567)](t[i(633)],e),this[i(567)](t[i(419)],e))}[yt(567)](t,e){const i=yt;return this[i(386)][i(554)][i(565)](e,t[i(539)],t[i(596)])}[yt(471)](t){const e=yt,i=this[e(383)][e(591)](t[e(344)][e(509)][e(349)]),s=this[e(567)](t[e(344)],i),n=null===t[e(523)]?null:t[e(523)]||this[e(386)][e(543)][e(591)](e(499)).me.id,r=s[e(515)],o=this[e(585)],a=[];for(const i of t[e(632)])if(i.is(e(519)))a[e(437)](this[e(421)](i));else for(let t=0;t<i[e(388)];t++)a[e(437)](new st.ModelElement(e(325),{vid:this[e(585)]++}));const c=this[e(585)];for(let t=o;t<c;t++)this[e(459)][e(546)](t,{userId:n});r[e(382)](s[e(588)],a)}[yt(423)](t){const e=yt;(t=this[e(612)](t,this[e(383)]))[e(603)]();const i=null===t[e(523)]?null:t[e(523)]||this[e(386)][e(543)][e(591)](e(499)).me.id,s=t[e(481)](),n=s[e(515)],r=s[e(588)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(320)](e);r.is(a(519),a(325))?s[a(546)](r[a(361)](a(396)),{userId:i}):(s[a(546)](r[a(361)](a(566)),{userId:i}),t(s,r,0,r[a(529)]),s[a(546)](r[a(361)](a(579)),{userId:i}))}}(this[e(459)],n,r,r+t[e(569)])}[yt(317)](t){const e=yt,i=null===(t=this[e(612)](t,this[e(383)]))[e(523)]?null:t[e(523)]||this[e(386)][e(543)][e(591)](e(499)).me.id,s=t[e(556)][e(515)],n=t[e(417)][e(515)],r=s[e(361)](e(579)),o=n[e(361)](e(566));s[e(338)](e(579),n[e(361)](e(579))),n[e(338)](e(579),r),this[e(459)][e(546)](o,{userId:i}),this[e(459)][e(546)](r,{userId:i}),t[e(603)]()}[yt(440)](t){const e=yt,i=null===(t=this[e(612)](t,this[e(383)]))[e(523)]?null:t[e(523)]||this[e(386)][e(543)][e(591)](e(499)).me.id,s=t[e(377)],n=t[e(378)][e(515)];t[e(603)]();const r=n[e(361)](e(579)),o=t[e(525)][e(611)];if(s){const t=o[e(361)](e(579)),s=n[e(361)](e(579));n[e(338)](e(579),t),o[e(338)](e(579),s),this[e(459)][e(546)](n[e(361)](e(579)),{userId:i}),this[e(459)][e(546)](o[e(361)](e(566)),{userId:i})}else{const t=this[e(585)]++,s=this[e(585)]++;n[e(338)](e(579),t),o[e(338)](e(566),s),o[e(338)](e(579),r),this[e(459)][e(546)](t,{userId:i}),this[e(459)][e(546)](s,{userId:i})}}[yt(335)](t){const e=yt;if(!t[e(348)])return;const i=(t=this[e(612)](t,this[e(380)]))[e(340)]?t[e(340)][e(509)]:null,s=t[e(512)]?t[e(512)][e(509)]:null;i&&this[e(604)][e(547)](t[e(590)]),s&&this[e(604)][e(546)](t[e(590)],t[e(512)][e(606)]());const n=null===t[e(523)]?null:t[e(523)]||this[e(386)][e(543)][e(591)](e(499)).me.id,r=t[e(590)];if(!this[e(368)][e(484)](r))return void this[e(368)][e(546)](r,{range:t[e(340)],userId:n});const o=this[e(368)][e(591)](r),a=o[e(534)],c=t[e(512)];null==a&&null==c||a&&c&&a[e(563)](c)?this[e(368)][e(547)](t[e(590)]):o[e(487)]=n}[yt(541)](t,e){const i=yt;this[i(380)][i(484)](t[i(349)])?this[i(380)][i(591)](t[i(349)])[i(319)]=t[i(610)]:(this[i(380)][i(546)](t[i(349)],St(t[i(349)],!0)),this[i(350)][i(546)](t[i(349)],{}),e&&this[i(383)][i(546)](t[i(349)],St(t[i(349)],!0)));const s=null===t[i(523)]?null:t[i(523)]||this[i(386)][i(543)][i(591)](i(499)).me.id,n=this[i(429)][i(591)](t[i(349)]);n&&n[i(487)]===s?this[i(429)][i(547)](t[i(349)]):this[i(429)][i(546)](t[i(349)],{userId:s,isAttached:t[i(610)]})}[yt(461)](t){const e=yt,i=this[e(350)][e(591)](t[e(509)][e(349)]);null===t[e(381)]?delete i[t[e(333)]]:i[t[e(333)]]=t[e(381)]}}function _t(t,e){const i=kt();return(_t=function(t,e){return i[t-=315]})(t,e)}function It(t){const e=yt,i=St(t[e(349)],t[e(341)]());for(const s of t[e(558)]()){const t=s[e(453)](!0);i[e(527)](t)}return i}function St(t,e=!0){const i=yt,s=new st.ModelDocumentFragment;return s[i(349)]=t,s[i(319)]=e,s[i(341)]=()=>s[i(319)],s}function Ot(t,e,i){const s=yt,n=s(315)==t[s(323)]?i[s(452)](t[s(337)],s(419)):i[s(617)](t[s(337)]);return i[s(565)](e,n[s(539)],n[s(596)])}function Tt(t,e,i){const s=yt,n=s(457)==t[s(323)]?i[s(452)](t[s(337)],0):i[s(470)](t[s(337)]);return i[s(565)](e,n[s(539)],n[s(596)])}var xt=i(355),Nt=i(311),At=i(789),Rt=i.n(At),Mt=i(437),Et=i.n(Mt),Vt=i(298),Dt=i.n(Vt),Ct=i(207),Ft=i.n(Ct),jt=i(825),Lt=i.n(jt),Pt=i(416),Wt={attributes:{"data-cke":!0}};Wt.setAttributes=Ft(),Wt.insert=Dt().bind(null,"head"),Wt.domAPI=Et(),Wt.insertStyleElement=Lt();Rt()(Pt.A,Wt);Pt.A&&Pt.A.locals&&Pt.A.locals;var zt=i(450),Ut={attributes:{"data-cke":!0}};Ut.setAttributes=Ft(),Ut.insert=Dt().bind(null,"head"),Ut.domAPI=Et(),Ut.insertStyleElement=Lt();Rt()(zt.A,Ut);zt.A&&zt.A.locals&&zt.A.locals;const Ht=Zt;function Zt(t,e){const i=qt();return(Zt=function(t,e){return i[t-=405]})(t,e)}function qt(){const t=["stopPropagation","errorText","element","trim","_createRevisionNameInput","arrowleft","arrowdown","render","set","arrowup","input","keystrokes","21DWyBjy","focus","revisionNameInputValue","208DYSIUh","919400wOFpJd","focusTracker","optional","4051336RtdVRJ","listenTo","ck-revision-history-save-revision-form","add","220","arrowright","43563uchBvp","Name of the revision","revisionName","ck-responsive-form","form","extendTemplate","revisionNameInputView","3740319IudkRY","initializeCssTransitionDisablerMixin","7079832Kbmsqr","778052GKACNZ","label","6609930dYyExy","locale","setTemplate","reset","fieldView","value"];return(qt=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(915638===-parseInt(e(425))/1+-parseInt(e(406))/2+parseInt(e(415))/3*(parseInt(e(405))/4)+parseInt(e(427))/5+parseInt(e(424))/6+-parseInt(e(445))/7*(parseInt(e(409))/8)+parseInt(e(422))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt extends((0,Nt.CssTransitionDisablerMixin)(Nt.View)){[Ht(407)];[Ht(444)];[Ht(421)];constructor(e,i){const s=Ht;super(e),this[s(407)]=new t.FocusTracker,this[s(444)]=new t.KeystrokeHandler,this[s(441)](s(447),""),this[s(421)]=this[s(437)](i),this[s(429)]({tag:s(419),attributes:{class:["ck",s(411),s(418)],tabindex:"-1"},children:[this[s(421)]]}),this[s(423)]()}[Ht(440)](){const t=Ht;super[t(440)](),(0,Nt.submitHandler)({view:this}),this[t(407)][t(412)](this[t(421)][t(435)]),this[t(444)][t(410)](this[t(435)]);const e=e=>e[t(433)]();this[t(444)][t(441)](t(414),e),this[t(444)][t(441)](t(438),e),this[t(444)][t(441)](t(442),e),this[t(444)][t(441)](t(439),e)}[Ht(446)](){const t=Ht;this[t(421)][t(446)]()}get[Ht(417)](){const t=Ht;return this[t(421)][t(431)][t(435)][t(432)][t(436)]()}set[Ht(417)](t){const e=Ht;this[e(421)][e(431)][e(435)][e(432)]=t[e(436)]()}[Ht(430)](){const t=Ht;this[t(421)][t(431)][t(435)][t(432)]="",this[t(421)][t(434)]=null}[Ht(437)](t){const e=Ht,i=new Nt.LabeledFieldView(this[e(428)],Nt.createLabeledInputText),s=i[e(431)];s[e(420)]({attributes:{maxlength:e(413)}});let n=dt(this[e(428)],e(416));return!t&&(n+=" ("+dt(this[e(428)],e(408))+")"),i[e(426)]=n,s.on(e(443),()=>{const t=e;this[t(447)]=s[t(435)][t(432)][t(436)]()}),i}}const $t=Yt;function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(451862===-parseInt(e(308))/1*(parseInt(e(298))/2)+-parseInt(e(318))/3+-parseInt(e(315))/4*(-parseInt(e(282))/5)+-parseInt(e(307))/6*(-parseInt(e(319))/7)+parseInt(e(302))/8*(-parseInt(e(269))/9)+-parseInt(e(293))/10*(parseInt(e(314))/11)+parseInt(e(258))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Jt extends et.Plugin{static get[$t(317)](){return $t(254)}static get[$t(300)](){return!0}static get[$t(284)](){return!0}static get[$t(322)](){return[bt]}[$t(275)];[$t(285)](){const t=$t,e=this[t(280)],i=e[t(321)][t(255)](t(316));e.ui[t(271)][t(312)](t(270),s=>{const n=t,r=(0,Nt.createDropdown)(s),o=r[n(320)][n(259)],a=new Nt.ListView(s),c=new Nt.ListItemView(s),u=this[n(325)](Nt.ButtonView),l=new Nt.ListItemView(s),h=this[n(294)](Nt.ButtonView);return r[n(299)](n(265)).to(i,n(253),i,n(265),e,n(306),(t,e,i)=>t&&e&&!i),r[n(301)][n(288)]({icon:xt.IconHistory,label:dt(s,n(257)),tooltip:!0}),u[n(288)]({withText:!0,role:n(303)}),h[n(288)]({withText:!0,role:n(303)}),this[n(278)](h,n(311),()=>{const t=n;r[t(297)]=!1,e[t(264)][t(286)][t(327)]()},{priority:n(273)}),c[n(259)][n(312)](u),l[n(259)][n(312)](h),a[n(260)]=n(281),a[n(287)][n(304)]([c,l]),o[n(312)](a),r}),e.ui[t(271)][t(312)](t(272),()=>this[t(277)]())}[$t(277)](){const t=$t,e=this[t(280)],i=e[t(266)],s=e[t(321)][t(255)](t(316)),n=new Nt.MenuBarMenuView(i),r=new Nt.MenuBarMenuListView(i);n[t(299)](t(265)).to(s,t(253),s,t(265),e,t(306),(t,e,i)=>t&&e&&!i),n[t(301)][t(288)]({icon:xt.IconHistory,label:dt(i,t(257))});const o=new Nt.MenuBarMenuListItemView(i,n),a=this[t(325)](Nt.MenuBarMenuListItemButtonView);a[t(326)](t(311)).to(n),o[t(259)][t(312)](a),r[t(287)][t(312)](o);const c=new Nt.MenuBarMenuListItemView(i,n),u=this[t(294)](Nt.MenuBarMenuListItemButtonView);return u[t(326)](t(311)).to(n),c[t(259)][t(312)](u),r[t(287)][t(312)](c),n[t(320)][t(259)][t(312)](r),n}[$t(325)](t){const e=$t,i=this[e(280)],s=i[e(321)][e(255)](e(316)),n=new t(i[e(266)]);return n[e(288)]({label:dt(i[e(266)],e(262))}),n[e(299)](e(265)).to(s,e(253),s,e(265),i,e(306),(t,e,i)=>t&&e&&!i),this[e(278)](n,e(311),()=>{this[e(261)]()}),n}[$t(294)](t){const e=$t,i=this[e(280)],s=i[e(321)][e(255)](e(316)),n=new t(i[e(266)]);return n[e(288)]({label:dt(i[e(266)],e(256))}),n[e(299)](e(265)).to(s,e(253),i,e(306),(t,e)=>t&&!e),this[e(278)](n,e(311),()=>{const t=e;i[t(290)][t(255)](t(270))[t(313)]()}),n}[$t(261)](){const t=$t,e=this[t(280)],i=e[t(266)],s=e[t(321)][t(255)](t(296)),n=e[t(321)][t(255)](t(316));function r(n){const r=t;e[r(290)][r(255)](r(267))&&""===n[r(263)]?n[r(292)][r(279)]=dt(i,r(268)):(e[r(321)][r(255)](bt)[r(309)]({name:n[r(263)]}),s[r(276)]())}this[t(275)]||(this[t(324)](),this[t(275)].on(t(323),()=>r(this[t(275)]))),this[t(275)][t(295)](),s[t(289)]({id:t(291),title:dt(i,t(262)),isModal:!0,content:this[t(275)],actionButtons:[{label:dt(e[t(266)],t(305)),withText:!0,onExecute:()=>s[t(276)]()},{label:dt(e[t(266)],t(310)),class:t(274),withText:!0,onCreate(i){const s=t;i[s(299)](s(265)).to(n,s(253),n,s(265),e,s(306),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(275)])}]})}[$t(324)](){const t=$t,e=this[t(280)],i=e[t(266)];this[t(275)]=new Bt(i,e[t(290)][t(255)](t(267))),this[t(275)][t(283)]()}}function Gt(){const t=["set","show","config","revisionSave","revisionNameInputView","7009690NcZtsd","_createOpenRevisionButton","reset","Dialog","isOpen","2QFMRUd","bind","isOfficialPlugin","buttonView","351112IMwNHz","menuitem","addMany","Cancel","isReadOnly","89274lBpWGb","574159kAEpxl","saveRevision","Accept","execute","add","showRevisionViewerCallback","11mDRsAE","650108KHlLyu","RevisionTracker","pluginName","2665713CglQRd","49YJZDFM","panelView","plugins","requires","submit","_createSaveRevisionFormView","_createSaveRevisionButton","delegate","focus","isReady","RevisionHistoryUI","get","Open revision history","Revision history","23915604zFtTBR","children","role","_showDialog","Save current revision","revisionName","editing","isEnabled","locale","revisionHistory.requireRevisionName","The revision name cannot be empty.","27SdswNf","revisionHistory","componentFactory","menuBar:revisionHistory","low","ck-button-action","_saveRevisionFormView","hide","_registerMenuComponent","listenTo","errorText","editor","menu","20NXFQym","render","isPremiumPlugin","init","view","items"];return(Gt=function(){return t})()}const Kt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(199064===parseInt(e(139))/1*(parseInt(e(136))/2)+-parseInt(e(116))/3*(parseInt(e(141))/4)+-parseInt(e(110))/5+parseInt(e(137))/6*(parseInt(e(138))/7)+parseInt(e(123))/8+-parseInt(e(120))/9*(parseInt(e(126))/10)+-parseInt(e(124))/11*(parseInt(e(114))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class Qt extends Nt.View{[Kt(133)];[Kt(121)];constructor(t,e){const i=Kt;super(t),this[i(121)]=e,this[i(133)]=e.id;const s=this[i(140)],n=dt(t,e[i(131)][i(119)]?i(127):i(142)==e[i(134)]?i(132):i(129));this[i(111)](i(134),e[i(134)]),this[i(113)]({tag:i(125),attributes:{class:[i(130),i(112),s.to(i(134),t=>i(143)+t)],tabindex:-1},children:[{tag:i(117),children:[{tag:i(117),attributes:{class:[i(118)]},children:[{text:n}]},{text:" "+e[i(128)][i(135)]}]}]})}[Kt(122)](){const t=Kt;this[t(115)][t(122)]()}}function te(){const t=["ck-revision-change","setTemplate","2365032nigwtX","element","9FJWalb","span","ck-revision-change__label","isSuggestion","72GayITw","_model","focus","646360KpeCWN","11cAIkvt","div","41140ZCrHIc","Suggested by","author","Removed by","ck-annotation","data","Added by","changeId","type","name","356194hNMhDh","188910SjoRCw","77JAIGhg","1STkHJz","bindTemplate","25720pIcBlZ","add","ck-revision-change__","784375rVUCTm","set"];return(te=function(){return t})()}function ee(){var t=["3874016YnLsro","206248HAYEHb","1187154QiGqgW","data","6TUBTho","15kHazOg","60KjFVpj","2576910aRElqi","set","rootName","1587380bvodwE","author","21nXsnmK","21029701WmcXJW","toJSON","744716LMBBIW","type","createdAt"];return(ee=function(){return t})()}var ie=se;function se(t,e){var i=ee();return(se=function(t,e){return i[t-=427]})(t,e)}!function(t){for(var e=se,i=t();;)try{if(692395===parseInt(e(432))/1*(-parseInt(e(429))/2)+-parseInt(e(433))/3*(parseInt(e(443))/4)+parseInt(e(438))/5+-parseInt(e(435))/6*(-parseInt(e(440))/7)+-parseInt(e(428))/8+-parseInt(e(430))/9*(parseInt(e(434))/10)+parseInt(e(441))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne extends((0,t.ObservableMixin)()){id;[ie(439)];[ie(444)];[ie(431)];[ie(437)];constructor(e){var i=ie;super(),this.id=e.id||(0,t.uid)(),this[i(439)]=e[i(439)],this[i(444)]=e[i(444)],this[i(431)]=e[i(431)]||{},this[i(437)]=e[i(437)],this[i(436)](i(427),e[i(427)])}[ie(442)](){var t=ie;return{id:this.id,authorId:this[t(439)].id,type:this[t(444)],data:this[t(431)],createdAt:this[t(427)]}}}function re(t,e){const i=ae();return(re=function(t,e){return i[t-=222]})(t,e)}const oe=re;function ae(){const t=["_setChanges","1055584TyFmnv","4666810DscdLF","22064GmjCyx","oldRevisionId","284012xMPqNY","132hfSuCE","9yaAxrB","changes","newRevisionId","5bskYHc","2917651NnkYJi","107933mavjxL","10768VPLSHS","192HdBBbC","24NvEzNR","add"];return(ae=function(){return t})()}!function(t){const e=re,i=t();for(;;)try{if(777573===parseInt(e(228))/1+parseInt(e(236))/2*(parseInt(e(237))/3)+parseInt(e(226))/4*(parseInt(e(233))/5)+-parseInt(e(229))/6*(-parseInt(e(235))/7)+-parseInt(e(224))/8+parseInt(e(230))/9*(parseInt(e(225))/10)+-parseInt(e(234))/11*(parseInt(e(238))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce{[oe(232)];[oe(227)];[oe(231)];constructor(e,i){const s=oe;this[s(232)]=e,this[s(227)]=i,this[s(231)]=new t.Collection}[oe(223)](t){const e=oe;for(const i of t)this[e(231)][e(222)](i)}}var ue=i(434),le={attributes:{"data-cke":!0}};le.setAttributes=Ft(),le.insert=Dt().bind(null,"head"),le.domAPI=Et(),le.insertStyleElement=Lt();Rt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;function he(){const t=["RevisionsRepository","_refreshStartEndIndex","all","sort","highest","modelRange","ck-suggestion-marker-","removeMarker:revision-suggestion","vid_start","view","forEach","_makeTape","observeMarkers","_getRevisionsRange","conversion","markers","getIndex","ck-editor__editable__overlay","side","_changeIdToChange","consume","end","next","markerToData","object","revisionHistory","userId","dataDowncast","isOnRoot","addMarker:revision","elementEnd","_getViewForChange","ck-revision-history-root-","getCustomProperty","range","RevisionHistoryUtils","isAtEnd","item","toViewElement","_utils","revision","WidgetToolbarRepository","revision-suggestion:","isAfter","mousedown","ck-revision-history-root--active","endIndex","pluginName","delete","setAttribute","3731959JrFtQk","model","ck-suggestion-preview-marker","flat","addClass","concat","_cleanUp","addRevision","getChild","push","deletions","8uOlDVk","getDomRoot","_data","startIndex","first","toViewPosition","isCollapsed","hasAttribute","attachChange","addRoot","currentChangeNumber","change:isEnabled","getAttributes","change","12372129keJbrm","changeId","_update","isBefore","test","88324JCeDbM","loadRevisionData","viewItem","change:isReady","bindElementToMarker","slice","POSITIVE_INFINITY","isInline","element:pre","showNextChange","from","execute","forceDisabled","isNavigationMode","createRangeIn","isAttached","restoreRevisionCallback","stop","_appendChild","vid_end","isAtStart","revisionHistoryAttachChange","removeAttribute","revision-comment:","numberOfChanges","attributesAfter","authors","requires","RevisionViewer","oldRevisionId","restoreRevision","downcastDispatcher","_makeModelFromViewString","_setChanges","isLimit","roots","level","_sortAndFilterDiffChanges","string","getRevisionDocumentData","unshift","low","hasClass","isEqual","mouseover","markerRange","data-change-id","keys","removeMarker:revision","isObject","length","activeView","_markMismatchedRemovedTags","addMarker:revision-suggestion:insertion","left","listenTo","includes","nextSibling","insertion","splice","24ZUpSiD","previousPosition","_threeWayMerge","comment","domEvent","text","-new","element","getRevision","createPositionBefore","elementToAttribute","editor","2433084vKVrXI","pairId","attribute:vid","addHighlight","isAdded","createPositionFromPath","document","mapper","distance","_removeUnsupportedChanges","then","isEnabled","span","detachRoot","vid","resolve","isRemoveSuggestion","diff","softBreak","ck-suggestion-marker","code","9RvCApf","_makeModelFromTape","top","clear","ck-suggestion-marker--active","parent","suggestion","dataToMarker","upcast","_processTape","_getChangeFromId","removeMarker","add","5892810fwbKUl","nextPosition","consumable","wrap","isAddSuggestion","markerToHighlight","index","startsWith","adapter","getRootNames","markersStart","return","_step","createAttributeElement","maxOffset","elementStart","refresh","_cleanMarkers","values","destroy","getRoot","catch","schema","type","remove","bind","attributes","done","isOfficialPlugin","_markSuggestions","_initInteractions","ck-suggestion-preview-marker-","indexOf","reconvertMarker","markerNameToElements","revisionHistoryLabel","domConverter","toViewRange","728236sldhLC","createUIElement","backward","get","name","addRevisionData","enableReadOnlyMode","_setConversion","offsetSize","config","updatePosition","editingDowncast","getLaterVisibleRevision","getAttribute","revision-suggestion","isSuggestion","addMarker:revision-suggestion:deletion","getItems","find","rootName","change:numberOfChanges","pop","attributesBefore","repository","mapViewToDom","map","_revisions","split","isContent","abs","createRevision","ck-suggestion-marker-split","markersEnd","_setDistance","diffData","merge","editing","uiElement","891665sfFQAZ","unbindElementFromMarkerName","_getDiff","nodeAfter","insertions","right","forward","shift","ck-revision-history-root-add","_markInsertions","getClientRects","plugins","compare","getRevisionRootsAttributes","_balloon","_fixObsoleteTags","locale","isReady","isRemoved","affectsData","error","target","checkAttribute","removeClass","has","insert","isBlock","writer","init","activeChange","change:activeChange","isPremiumPlugin","for","createRange","start","ck-suggestion-marker-merge","findIndex","high","bottom","set","changes","isIncorrect","getWalker","showStack","revision-viewer","filter","revision:","change:activeView","_findChangeIdFromDomTarget","commands","1ociKtF","data","markerName","_markMarkers","suggestion:","showPreviousChange","_changeView","ck-revision-history-root-remove","deletion","enqueueChange","_activeViewTarget","_removeMissingPairs","selection","_joinTapes","newRevisionId"];return(he=function(){return t})()}const de=fe;function fe(t,e){const i=he();return(fe=function(t,e){return i[t-=428]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(297278===parseInt(e(658))/1*(-parseInt(e(570))/2)+parseInt(e(486))/3*(parseInt(e(753))/4)+-parseInt(e(608))/5+-parseInt(e(498))/6+-parseInt(e(723))/7*(-parseInt(e(734))/8)+-parseInt(e(519))/9*(parseInt(e(532))/10)+parseInt(e(748))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class me extends et.Plugin{[de(593)];[de(540)]=null;[de(712)];[de(668)];[de(664)];[de(692)];[de(622)];static get[de(720)](){return de(454)}static get[de(560)](){return!0}static get[de(639)](){return!0}static get[de(453)](){return[it.Users,Nt.ContextualBalloon,at,ht]}constructor(t){const e=de;super(t),this[e(593)]=this[e(497)][e(619)][e(573)](e(673)),this[e(712)]=this[e(497)][e(619)][e(573)](e(708)),this[e(647)](e(637),null),this[e(647)](e(477),null),this[e(668)]=null,this[e(647)](e(515),null),this[e(647)](e(625),!1),this[e(647)](e(509),!0),this.on(e(745),(t,i,s)=>{const n=e;this[n(637)]=null,this[n(477)]=null,this[n(497)][n(606)][n(682)][n(747)](t=>{const e=n;for(const i of this[e(497)][e(606)][e(682)][e(504)][e(461)])s?t[e(631)](e(690),i):t[e(727)](e(690),i)})}),this[e(557)](e(439)).to(this,e(637),t=>null!==t),this[e(557)](e(744)).to(this,e(625),this,e(515),this,e(637),(t,i,s)=>t&&s?i[e(648)][e(689)](s):0),this[e(557)](e(450)).to(this,e(625),this,e(515),(t,i)=>t?i[e(648)][e(476)]:0),this[e(664)]=null,this[e(692)]=new Map,this[e(622)]=this[e(497)][e(619)][e(573)](Nt.ContextualBalloon)}[de(636)](){const t=de,e=this[t(497)],i=new ge(e,{direction:t(572)}),s=new ge(e,{direction:t(614)});e[t(657)][t(531)](t(663),i),e[t(657)][t(531)](t(435),s),e[t(657)][t(531)](t(456),new ve(e)),this.on(t(590),()=>{const e=t;i[e(548)](),s[e(548)]()}),this[t(577)](),this[t(562)](),e[t(576)](t(652)),e[t(619)][t(632)](t(714))&&e[t(619)][t(573)](t(714))[t(438)](t(652))}async[de(465)](t){const e=de;return await this[e(712)][e(754)](t,this[e(540)]),this[e(712)][e(465)](t)}async[de(621)](t){const e=de;return await this[e(712)][e(754)](t,this[e(540)]),this[e(712)][e(621)](t)}async[de(620)](t,e,i=!1){const s=de;if(!this[s(509)])return;const n=this[s(515)],r=this[s(593)],o=s(464)==typeof t?r[s(494)](t):t,a=s(464)==typeof e?r[s(494)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(515)]&&this[s(515)][s(672)]===c&&this[s(515)][s(455)]===u)return Promise[s(513)]();this[s(625)]=!1,this[s(477)]=null,this[s(637)]=null,this[s(515)]=new ce(c,u);const l=this[s(686)](o,a,!0)[s(595)](t=>this[s(712)][s(754)](t,this[s(540)]));return l[s(732)](new Promise(t=>{setTimeout(t,20)})),Promise[s(675)](l)[s(508)](()=>{const t=s;if(!this[t(509)])return;this[t(729)]();const e=this[t(610)](c,u);for(const i of e[t(648)])this[t(692)][t(647)](i.id,i);this[t(497)][t(724)][t(667)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(497)][s(724)][s(504)][s(541)]())i[s(511)](t);for(const t of Object[s(473)](e[s(724)])){const n=i[s(743)](t);for(const r of Object[s(473)](e[s(558)][t]))i[s(722)](r,e[s(558)][t][r],n);i[s(633)](e[s(724)][t],n,0)}}),this[t(515)][t(459)](this[t(463)](e[t(648)])),this[t(625)]=!0})[s(553)](t=>{const e=s;console[e(628)](t),this[e(729)](),n&&(this[e(515)]=n),this[e(625)]=!0})}[de(575)](t,e){const i=de,s=this[i(593)][i(600)](t);return s.on(i(750),(t,i,n)=>e(i,n,s)),this[i(593)][i(730)](s),s}[de(729)](){const t=de;this[t(637)]=null,this[t(549)](),this[t(664)]&&this[t(664)][t(551)](),this[t(664)]=null,this[t(692)][t(522)](),this[t(497)][t(724)][t(667)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(497)][i(724)][i(504)][i(541)]())e[i(511)](t)})}[de(463)](t){const e=de,i=[],s=new Map;for(const t of this[e(497)][e(724)][e(504)][e(541)]()){const n=this[e(497)][e(606)][e(682)][e(735)](t);if(!n)continue;const r=n[e(618)]()[e(710)](0);r&&(i[e(732)](t),s[e(647)](t,r))}return i[e(676)]((t,i)=>{const n=e,r=s[n(573)](t),o=s[n(573)](i);return r.y-o.y||r.x-o.x}),(t=t[e(653)](t=>i[e(482)](t[e(589)])))[e(676)]((t,s)=>i[e(564)](t[e(589)])-i[e(564)](s[e(589)])),t}[de(684)](t){const e=de,i=Array[e(436)](t[e(688)])[e(653)](([t,i])=>t[e(539)](e(654))&&!i[e(740)]),s=Array[e(436)](this[e(497)][e(724)][e(440)](t)[e(650)]({singleCharacters:!0}));if(0!=i[e(476)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(597)](":");if(n[e(694)][e(469)](t[e(533)])&&i[e(615)](),(t[e(487)][e(469)](n[e(642)])||t[e(487)][e(716)](n[e(642)]))&&(e(484)==r?t[e(502)]={userId:o}:e(666)==r&&(t[e(626)]={userId:o})),0==i[e(476)])break}return s}[de(674)](t){const e=de,i=new Map;for(let s=0;s<t[e(476)];s++)e(491)===t[s][e(555)]?(t[s][e(710)][e(737)]=s,t[s][e(710)][e(719)]=s):(e(547)===t[s][e(555)]?t[s][e(710)][e(737)]=s:e(703)===t[s][e(555)]&&(t[s][e(710)][e(719)]=s),i[e(647)](t[s].id,s));for(const s of i[e(550)]())e(547)===t[s][e(555)]?t[s][e(710)][e(719)]=i[e(573)](t[s][e(499)]):e(703)===t[s][e(555)]&&(t[s][e(710)][e(737)]=i[e(573)](t[s][e(499)]))}[de(528)](t){const e=de;for(let i=0;i<t[e(476)];i++){if(e(547)===t[i][e(555)])t[i][e(710)][e(737)]=i;else if(e(703)===t[i][e(555)]){t[i][e(710)][e(719)]=i;const s=t[i][e(710)][e(737)];t[s][e(499)]=t[i].id,t[i][e(499)]=t[s].id}else t[i][e(710)][e(737)]=i,t[i][e(710)][e(719)]=i,t[i][e(499)]=null;t[i][e(542)]||(t[i][e(542)]=[],t[i][e(602)]=[])}}[de(617)](t,e){const i=de,s=t[i(653)](t=>!t[i(502)]);for(let t=0;t<e[i(476)];t++)e[t][i(502)]&&(s[t][i(502)]=e[t][i(502)])}[de(610)](t,e=null){const i=de,s=this[i(593)][i(494)](t),n=e?this[i(593)][i(494)](e):null,r=this[i(686)](s,n),o=r[r[i(476)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(476)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(473)](e[i(604)]))if(e[i(604)][t][i(742)]){const s=e[i(604)][t][i(742)];s[i(441)]?(u[i(531)](t),l[i(632)](t)&&l[i(573)](t)[i(699)]==s[i(699)]?l[i(721)](t):l[i(647)](t,s)):l[i(632)](t)?(u[i(721)](t),l[i(721)](t)):(u[i(531)](t),l[i(647)](t,s))}else u[i(531)](t)}for(const t of u){const e=l[i(632)](t)&&!l[i(573)](t)[i(441)];let s=e?r[i(476)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(604)][t]){const s=e?o[i(604)][t][i(592)]:o[i(604)][t][i(451)];c[i(558)][t]=s?E(s):{};break}s+=n}}for(const t of r){t[i(724)]={};for(const e of t[i(452)])a[i(647)](e.id,e);for(const e of u){const s=t[i(604)][e]?t[i(604)][e][i(612)]:"[]",n=t[i(604)][e]?t[i(604)][e][i(733)]:"[]";t[i(724)][e]={insertions:this[i(712)][i(458)](s),deletions:this[i(712)][i(458)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(436)](s[i(724)][t][i(612)][i(688)])[i(653)](([t])=>!t[i(539)](i(654))));let h=0;for(const o of r){const r=this[i(684)](o[i(724)][t][i(612)]);o==s?(e=r,n=e[i(476)],e[i(683)](t=>{t.id=h++}),this[i(528)](e)):this[i(617)](e,r);const a=e[i(653)](t=>!t[i(502)])[i(595)](t=>t.id);let c=0;const l=this[i(684)](o[i(724)][t][i(733)]);l[i(683)](t=>{t[i(626)]?t.id=n++:t.id=a[c++]}),this[i(528)](l),this[i(603)](e,i(502)),this[i(603)](l,i(626)),o==s&&this[i(661)](e,u),e=this[i(671)](e,l),this[i(674)](e),this[i(603)](e,i(626))}e=e[i(653)](t=>!(t[i(502)]&&t[i(626)]));const d=new Map(o[i(724)][t][i(733)][i(688)]),f=new Set(u[i(473)]());for(const t of d[i(473)]())f[i(721)](t);this[i(561)](e,f),this[i(623)](e),e=this[i(669)](e),e=this[i(478)](e),e=this[i(507)](e);const{root:m,changes:p}=this[i(520)](e,a,t);c[i(724)][t]=m;const v=l[i(573)](t);if(v){const e=a[i(573)](v[i(699)]),s=new ne({author:e,type:v[i(441)]?i(531):i(556),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(466)](s),c[i(558)][t][i(447)]=s.id}c[i(648)]=c[i(648)][i(728)](p)}return c}[de(661)](t,e){const i=de;for(let s=0;s<t[i(476)];s++)for(const[n,r]of e)!r[i(740)]&&r[i(642)][i(469)](t[s][i(487)])&&t[s][i(542)][i(732)](n),r[i(694)][i(469)](t[s][i(533)])&&t[s][i(602)][i(732)](n)}[de(671)](t,e){const i=de;let s=[],n=0,r=0;for(;n<t[i(476)]||r<e[i(476)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(732)](o);else if(a[i(626)]&&o[i(502)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(488)](t,n,e,r);s=s[i(728)](o),n=a,r=c}else a[i(626)]?(r++,s[i(732)](a)):(n++,s[i(732)](o))}return s}[de(561)](t,e){const i=de,s=[];for(let o=0;o<t[i(476)];o++){for(let r=0;r<t[o][i(542)][i(476)];r++){const a=t[o][i(542)][r];if(!e[i(632)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(584)!=c||i(484)!=u&&i(666)!=u||(s[i(466)]({type:u,name:a,userId:l}),t[o][i(542)][i(485)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(602)][i(476)];r++){const a=t[o][i(602)][r];if(!e[i(632)](a))continue;const{group:c,type:u}=n(a);if(i(584)!=c||i(484)!=u&&i(666)!=u)continue;t[o][i(602)][i(485)](r,1),r--;const l=s[i(644)](t=>t[i(574)]==a);l>-1&&s[i(485)](l,1)}}function n(t){const e=i,s=t[e(597)](":");return{group:s[0],type:s[1],subType:s[e(476)]>=5?s[2]:null,id:s[e(476)]<5?s[2]:s[3],authorId:s[e(476)]<5?s[3]:s[4],markerCount:6==s[e(476)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(476)];i++){if(t[e(502)]&&e(484)==s[i][e(555)]&&t[e(502)][e(699)]==s[i][e(699)])return t[e(536)]=s[i],void delete t[e(502)];if(!t[e(502)]&&!t[e(626)]&&e(666)==s[i][e(555)])return void(t[e(514)]=s[i])}}}[de(603)](t,e){const i=de;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(647)](o.id,s);for(let s=0;s<t[i(476)];s++){if(i(626)==e&&t[s][i(502)]||i(502)==e&&t[s][i(626)])continue;if(i(491)==t[s][i(555)]){t[s][i(506)]=0;continue}const n=r[i(573)](t[s][i(499)]),o=r[i(573)](t[s].id);t[s][i(506)]=n-o}}[de(686)](t,e,i=!1){const s=de,n=[];let r=this[s(593)][s(689)](t),o=this[s(593)][s(689)](e);for(-1==o&&(o=this[s(593)][s(596)][s(476)],i=!1);r<o;)n[s(732)](this[s(593)][s(494)](r)),r++;return i&&n[s(732)](this[s(593)][s(494)](r)),n}[de(488)](t,e,i,s){const n=de,r=this[n(497)][n(724)][n(554)];let o=e;for(;t[o]&&t[o][n(502)];)o++;let a=s;for(;i[a]&&i[a][n(626)];)a++;u(t,e,o),u(i,s,a);const c=i[n(431)](s,a)[n(728)](t[n(431)](e,o));return c[n(676)]((t,e)=>t[n(691)]!=e[n(691)]?t[n(691)]-e[n(691)]:t[n(462)]!=e[n(462)]?t[n(462)]-e[n(462)]:t[n(506)]!=e[n(506)]?e[n(506)]-t[n(506)]:!!t[n(502)]!=!!e[n(502)]?-1==t[n(691)]||0==t[n(691)]?t[n(502)]?-1:1:t[n(502)]?1:-1:t[n(538)]-e[n(538)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(432)],c=!0;for(let n=e;n<i;n++)if(r[s(433)](t[n][s(710)])||(c=!1),t[n][s(710)][s(737)]<e&&(o=n),t[n][s(710)][s(719)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(691)]=n<=o?-1:n<a?0:1,t[n][s(538)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(506)]?t[i][s(462)]=u:(u++,t[i][s(462)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(691)]&&(t[n][s(462)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(506)]?t[e][s(462)]=u:(u--,t[e][s(462)]=u,u--)}}[de(623)](t){const e=de,i=new Map,s=this[e(497)][e(724)][e(554)];for(let n=1;n<t[e(476)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(491)==c[e(555)])continue;if(c[e(555)]!=u[e(555)])continue;if(!s[e(634)](u[e(710)])||s[e(460)](u[e(710)]))continue;if(!s[e(634)](c[e(710)])||s[e(460)](c[e(710)]))continue;if((t[n][e(502)]||t[n][e(536)])&&t[n-1][e(626)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(626)]||!t[n-1][e(502)]&&!t[n-1][e(536)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(462)]==o[e(462)],h=Math[e(599)](r[e(462)])<Math[e(599)](o[e(462)])&&0==o[e(506)];(l||h)&&(i[e(647)](o.id,r.id),t[e(485)](a,1),n--,r[e(502)]=!1)}for(let s=0;s<t[e(476)];s++)i[e(632)](t[s][e(499)])&&(t[s][e(499)]=i[e(573)](t[s][e(499)]))}[de(669)](t){const e=de,i=new Set(t[e(595)](t=>t.id));for(let s=0;s<t[e(476)];s++)i[e(632)](t[s][e(499)])||0==t[s][e(506)]||(t[s][e(649)]=!0);return t[e(653)](t=>!t[e(649)])}[de(478)](t){const e=de,i=new Set;for(let s=0;s<t[e(476)];s++){if(i[e(632)](t[s].id)&&t[s][e(626)]&&(t[s][e(649)]=!0),t[s][e(649)])continue;if(0==t[s][e(506)])continue;if(e(547)!=t[s][e(555)])continue;if(null==t[s][e(499)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(499)];)e(547)==t[n][e(555)]?r++:e(703)==t[n][e(555)]&&r--,n++;if(0!=r)if(t[s][e(626)])t[s][e(649)]=!0;else for(;n!=s;)t[n][e(626)]&&0!=t[n][e(506)]&&(t[n][e(649)]=!0,i[e(531)](t[n][e(499)])),n--}return t[e(653)](t=>!t[e(649)])}[de(507)](t){const e=de,i=this[e(497)][e(724)][e(554)];for(let s=0;s<t[e(476)];s++){if(!(t[s][e(502)]||t[s][e(536)]||t[s][e(626)]||t[s][e(514)]))continue;if(0==t[s][e(506)])continue;const n=t[s][e(710)];i[e(634)](n)||i[e(460)](n)||(t[s][e(502)]&&delete t[s][e(502)],t[s][e(536)]&&delete t[s][e(536)],t[s][e(514)]&&delete t[s][e(514)],t[s][e(626)]&&(t[s][e(649)]=!0))}return t[e(653)](t=>!t[e(649)])}[de(520)](t,e,i){const s=de,n=new st.ModelDocumentFragment,r=[],o=new Map,a=this[s(497)][s(724)],c=a[s(554)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(476)];e++)if(s(547)===t[e][s(555)]){t[e][s(487)]=a[s(503)](n,f);const i=new st.ModelElement(t[e][s(710)][s(574)],t[e][s(710)][s(746)]());u[0][s(444)](i),f[s(732)](0),u[s(466)](i),t[e][s(533)]=a[s(503)](n,f)}else s(703)===t[e][s(555)]?(u[s(615)](),t[e][s(487)]=a[s(503)](n,f),f[s(591)](),f[f[s(476)]-1]++,t[e][s(533)]=a[s(503)](n,f)):(t[e][s(487)]=a[s(503)](n,f),d?d[s(736)]+=t[e][s(710)][s(659)]:d=new st.ModelText(t[e][s(710)][s(659)],t[e][s(710)][s(746)]()),t[e+1]&&s(491)===t[e+1][s(555)]&&v(d,t[e+1][s(710)])||(u[0][s(444)](d),d=null),f[f[s(476)]-1]+=t[e][s(710)][s(578)],t[e][s(533)]=a[s(503)](n,f));for(let e=0;e<t[s(476)];e++){const i=t[e][s(487)],n=t[e][s(533)];for(const n of t[e][s(542)])o[s(647)](n,{start:i,end:null});m(s(514),e,i,n),m(s(536),e,i,n),m(s(626),e,i,n),m(s(502),e,i,n);for(const i of t[e][s(602)]){const t=o[s(573)](i);t?t[s(694)]=n:o[s(647)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(497)][s(724)][s(641)](e[s(642)],e[s(694)]);n[s(688)][s(647)](t,i)}return r[s(676)]((t,e)=>{const i=s,r=n[i(688)][i(573)](i(654)+t.id),o=n[i(688)][i(573)](i(654)+e.id);return r[i(642)][i(751)](o[i(642)])?-1:r[i(642)][i(716)](o[i(642)])?1:r[i(694)][i(751)](o[i(694)])?-1:r[i(694)][i(716)](o[i(694)])?1:i(531)===t[i(555)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(699)]:null,d=i===t[o(476)]-1,f=h[e][0],m=c[o(475)](t[i][o(710)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(694)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(699)]!==u&&(l[e][o(694)]=n,f&&f[o(699)]===l[e][o(699)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(547)!==t[i][o(555)]||f&&f[o(699)]===u||h[e][o(466)]({userId:u,object:t[i][o(710)],change:l[e]}),o(703)===t[i][o(555)]&&f&&f[o(697)]===t[i][o(710)]&&(h[e][o(615)](),l[e]=f[o(747)])),l[e]&&d&&(l[e][o(694)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(710)],f=a[h(554)][h(634)](d)&&!a[h(554)][h(460)](d),m=t[h(611)]==o[h(524)]&&o[h(446)];if(f&&m)return;const p=a[h(641)](t,o),v=e[h(573)](u),g=new ne({author:v,type:h(502)==l||h(536)==l?h(531):h(556),data:{isSuggestion:h(536)==l||h(514)==l},createdAt:new Date,rootName:i});r[h(732)](g),n[h(688)][h(647)](h(654)+g.id,p)}function v(t,e){const i=s,n=t[i(746)](),r=e[i(746)]();for(const t of n){if(t[1]!==e[i(583)](t[0]))return!1;r[i(695)]()}return r[i(695)]()[i(559)]}}[de(577)](){const t=de;this[t(497)][t(687)][t(640)](t(527))[t(526)]({view:t(713)}),this[t(497)][t(687)][t(640)](t(581))[t(537)]({model:t(713),view:e=>{const i=t,s=e[i(660)][i(597)](":")[1],n=this[i(529)](s);if(!n)return null;const r=i(531)==n[i(555)]?i(484):i(666),o=[i(517),i(679)+r];return n[i(659)][i(585)]&&o[i(732)](i(679)+r+i(492)),this[i(637)]==n&&o[i(732)](i(523)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(497)][t(687)][t(640)](t(527))[t(531)](e=>{const i=t;e.on(i(434),(t,e,s)=>{const n=i,r=e[n(428)][n(731)](0);if(!r||!r.is(n(493),n(518)))return;if(!s[n(534)][n(693)](r,{attributes:[n(681),n(445)]}))return;const o=e[n(678)][n(642)][n(611)];s[n(635)][n(722)](n(681),r[n(583)](n(681)),o),s[n(635)][n(722)](n(445),r[n(583)](n(445)),o)},{priority:i(467)})}),this[t(497)][t(687)][t(640)](t(527))[t(531)](e=>{const i=t;e.on(i(493),(t,e,s)=>{const n=i;if(!s[n(534)][n(693)](e[n(428)],{attributes:[n(681),n(445)]}))return;if(e[n(678)][n(740)])return;const r=e[n(678)][n(642)][n(611)];r[n(741)](n(681))||r[n(741)](n(512))||(s[n(635)][n(722)](n(681),e[n(428)][n(583)](n(681)),r),s[n(635)][n(722)](n(445),e[n(428)][n(583)](n(445)),r))},{priority:i(467)})}),this[t(497)][t(687)][t(640)](t(527))[t(496)]({view:{name:t(510),attributes:{vid:!0}},model:{key:t(512),value:e=>e[t(583)](t(512))}}),this[t(497)][t(724)][t(554)].on(t(630),(e,[,i])=>{const s=t;[s(681),s(445),s(512)][s(482)](i)&&(e[s(543)]=!0,e[s(443)]())},{priority:t(677)}),this[t(497)][t(687)][t(640)](t(700))[t(531)](e=>{const i=t;e.on(i(500),(t,e,s)=>{const n=i;if(" "!=e[n(710)][n(659)]||e[n(710)][n(524)][n(546)]>1)return;if(!s[n(534)][n(693)](e[n(710)],t[n(574)]))return;const r=s[n(635)],o=s[n(505)][n(569)](e[n(707)]);r[n(535)](o,r[n(545)](n(510)))})}),this[t(497)][t(687)][t(640)](t(700))[t(696)]({model:t(713)}),this[t(497)][t(606)][t(457)].on(t(702),function(e){const i=t,s=e[i(619)][i(573)](i(454));return(t,n,r)=>{const o=i,a=n[o(660)][o(597)](":")[1],c=s[o(529)](a);if(!c)return null;const u=o(531)==c[o(555)]?o(597):o(605);if(!r[o(534)][o(752)](n[o(471)],t[o(574)]))return;const l=n[o(471)][o(650)](),h=n[o(471)][o(642)],d=e[o(724)][o(554)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(710)];p=p||d[o(598)](e);const i=r[o(505)][o(711)](e);if(i&&i[o(706)](o(501)))return;o(703)==t[o(555)]&&d[o(634)](e)&&!d[o(460)](e)&&(e[o(483)]||h[o(709)]?f&&f[o(524)]==e||(f=e,g(t[o(487)]),v=!0):m=m||t[o(487)])}function g(t){const e=o,i=r[e(635)][e(571)](e(510),{class:e(679)+u}),a=r[e(505)][e(739)](t);c[e(659)][e(585)]&&r[e(635)][e(727)](e(679)+u+e(492),i),s[e(637)]==c&&r[e(635)][e(727)](e(523),i),r[e(635)][e(633)](a,i),r[e(505)][e(430)](i,n[e(660)])}p||v||!m||g(m)}}(this[t(497)]),{priority:t(645)}),this[t(497)][t(606)][t(457)].on(t(474),(e,i,s)=>{const n=t,r=s[n(505)][n(566)](i[n(660)]);if(r)for(const t of r)(t[n(468)](n(601))||t[n(468)](n(643)))&&(s[n(505)][n(609)](t,i[n(660)]),s[n(635)][n(556)](t))},{priority:t(645)}),this[t(497)][t(606)][t(457)].on(t(702),(e,i,s)=>{const n=t,r=i[n(660)][n(597)](":")[1],o=this[n(529)](r);if(!o)return null;const a=n(531)==o[n(555)]?n(597):n(605);if(s[n(534)][n(752)](i[n(471)],e[n(574)]))for(const t of i[n(471)][n(587)]()){if(!t.is(n(493),n(516)))continue;const e=s[n(635)][n(571)](n(510),{class:n(679)+a}),r=s[n(505)][n(739)](this[n(497)][n(724)][n(495)](t));o[n(659)][n(585)]&&s[n(635)][n(727)](n(679)+a+n(492),e),this[n(637)]==o&&s[n(635)][n(727)](n(523),e),s[n(635)][n(633)](r,e),s[n(505)][n(430)](e,i[n(660)])}},{priority:t(645)}),this[t(497)][t(724)][t(504)].on(t(747),()=>{const e=t;this[e(497)][e(606)][e(682)][e(747)](t=>{const i=e;for(const e of this[i(497)][i(724)][i(504)][i(541)]()){const s=this[i(497)][i(724)][i(504)][i(552)](e),n=this[i(497)][i(606)][i(682)][i(504)][i(552)](e);if(n){const e=s[i(583)](i(447));if(t[i(448)](i(472),n),t[i(631)](i(616),n),t[i(631)](i(665),n),t[i(631)](i(718),n),e){const s=this[i(529)](e);if(!s)return null;t[i(722)](i(472),e,n),t[i(727)](i(705)+s[i(555)],n),this[i(637)]==s&&t[i(727)](i(718),n)}}}})}),this[t(497)][t(687)][t(640)](t(527))[t(526)]({view:t(489),model:e=>t(449)+e,converterPriority:t(677)}),this[t(497)][t(687)][t(640)](t(527))[t(526)]({view:t(525),model:e=>t(715)+e,converterPriority:t(677)}),this[t(497)][t(687)][t(640)](t(700))[t(696)]({model:t(584),view:e=>({name:t(662)+e,group:t(584)}),converterPriority:t(677)}),this[t(497)][t(687)][t(640)](t(581))[t(537)]({model:t(584),view:e=>{const i=t,s=e[i(660)][i(597)](":")[1];return i(484)!=s&&i(666)!=s?null:{classes:[i(725),i(563)+s]}}}),this[t(497)][t(606)][t(457)].on(t(586),pe(this[t(497)],t(605)),{priority:t(645)}),this[t(497)][t(606)][t(457)].on(t(479),pe(this[t(497)],t(597)),{priority:t(645)}),this[t(497)][t(606)][t(457)].on(t(680),(e,i,s)=>{const n=t,r=s[n(505)][n(566)](i[n(660)]);if(r)for(const t of r)t.is(n(607))&&(s[n(505)][n(609)](t,i[n(660)]),s[n(635)][n(556)](t))},{priority:t(645)})}[de(529)](t){const e=de;return this[e(692)][e(573)](t)}[de(704)](t){const e=de;return this[e(664)]&&this[e(664)][e(551)](),this[e(664)]=new Qt(this[e(497)][e(624)],t),this[e(664)]}[de(562)](){const t=de;this[t(497)][t(724)][t(504)][t(670)][t(685)](t(713)),this.on(t(655),(e,i,s,n)=>{const r=t;n&&this[r(622)][r(556)](n),s&&(this[r(622)][r(531)]({view:s,stackId:r(567),position:{target:()=>{const t=r,e=this[t(497)][t(606)],i=this[t(529)](s[t(749)]);let n;if(i[t(659)][t(701)]){const s=e[t(682)][t(735)](i[t(589)]);n=Array[t(436)](s[t(618)]())}else{const i=this[t(497)][t(724)][t(688)][t(573)](t(654)+s[t(749)]);n=Array[t(436)](e[t(505)][t(566)](i[t(574)]))[t(595)](i=>e[t(682)][t(568)][t(594)](i))[t(595)](e=>Array[t(436)](e[t(618)]()))[t(726)]()}return this[t(668)]&&n[t(588)](e=>e[t(521)]-3<=this[t(668)].y&&e[t(646)]+3>=this[t(668)].y&&e[t(480)]-3<=this[t(668)].x&&e[t(613)]+3>=this[t(668)].x)||n[0]}}}),this[r(622)][r(651)](r(567)))}),this.on(t(638),(e,i,s,n)=>{const r=t;this[r(477)]=s?this[r(704)](s):null,this[r(497)][r(724)][r(747)](()=>{const t=r,e=this[t(497)][t(606)];n&&(n[t(659)][t(701)]?e[t(682)][t(747)](i=>{const s=t;i[s(631)](s(718),e[s(682)][s(504)][s(552)](n[s(589)]))}):e[t(565)](t(654)+n.id)),s&&(s[t(659)][t(701)]?e[t(682)][t(747)](i=>{const n=t;i[n(727)](n(718),e[n(682)][n(504)][n(552)](s[n(589)]))}):e[t(565)](t(654)+s.id))})}),this[t(481)](this[t(497)][t(606)][t(682)][t(504)],t(470),(e,i)=>{const s=t;if(this[s(637)])return;const n=this[s(656)](i[s(629)]),r=this[s(692)][s(573)](n);r?(this[s(668)]={x:i[s(490)].x,y:i[s(490)].y},this[s(477)]=this[s(704)](r)):(this[s(668)]=null,this[s(477)]=null)}),this[t(481)](this[t(497)][t(606)][t(682)][t(504)],t(717),(e,i)=>{const s=t,n=this[s(656)](i[s(629)]),r=this[s(692)][s(573)](n);r?(this[s(668)]={x:i[s(490)].x,y:i[s(490)].y},r===this[s(637)]?this[s(622)][s(580)]():this[s(637)]=r):(this[s(668)]=null,this[s(637)]=null)})}[de(656)](t){const e=de;do{const i=t[e(583)](e(472));if(i)return i;t=t[e(524)]}while(t);return null}[de(549)](){const t=de;this[t(497)][t(724)][t(747)](e=>{const i=t;for(const t of this[i(497)][i(724)][i(688)])e[i(530)](t)})}}function pe(t,e){return(i,s,n)=>{const r=fe;if(!n[r(534)][r(752)](s[r(471)],i[r(574)]))return;const o=s[r(471)][r(650)](),a=s[r(471)][r(642)],c=t[r(724)][r(554)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(710)];h=h||c[r(598)](e);const i=n[r(505)][r(711)](e);if(i&&i[r(706)](r(501)))return;r(703)==t[r(555)]&&c[r(634)](e)&&!c[r(460)](e)&&(e[r(483)]||a[r(709)]?u&&u[r(524)]==e||(u=e,f(t[r(487)]),d=!0):l=l||t[r(487)])}function f(t){const i=r,o=n[i(505)][i(739)](t),a=n[i(635)][i(571)](i(510),{class:i(563)+e});n[i(635)][i(633)](o,a),n[i(505)][i(430)](a,s[i(660)])}h||d||!l||f(l)}}class ve extends et.Command{constructor(t){const e=de;super(t);const i=t[e(619)][e(573)](me);this[e(627)]=!1,this[e(481)](i,e(429),()=>this[e(548)]()),this[e(481)](i,e(745),()=>this[e(548)]())}[de(437)](){const t=de,e=this[t(497)],i=e[t(619)][t(573)](me),s=i[t(625)]?i[t(515)][t(672)]:null;e[t(579)][t(573)](t(698))[t(442)](s)}[de(548)](){const t=de,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(497)][t(619)][t(573)](me),r=n&&s[t(582)](n[t(672)]);this[t(509)]=e&&i&&Boolean(r)}}class ge extends et.Command{[de(544)];constructor(t,{direction:e}){const i=de;super(t);const s=t[i(619)][i(573)](me);this[i(627)]=!1,this[i(544)]=i(614)===e?1:-1,this[i(481)](s,i(429),()=>this[i(548)]()),this[i(481)](s,i(745),()=>this[i(548)]()),this[i(481)](s,i(638),()=>this[i(548)]())}[de(437)](){const e=de,i=this[e(497)],s=i[e(619)][e(573)](me),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(637)]=n?s[e(515)][e(648)][e(573)](r+this[e(544)]):s[e(515)][e(648)][e(738)],s[e(637)][e(659)][e(701)])o=i[e(606)][e(682)][e(735)](s[e(637)][e(589)]);else{const t=i[e(724)][e(688)][e(573)](e(654)+s[e(637)].id);o=(0,it.getMarkerDomElement)(i[e(606)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[de(548)](){const t=de,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(497)][t(619)][t(573)](me);this[t(509)]=!!(r&&n&&s)&&(!e||(1===this[t(544)]?i<s-1:i>0))}}var ye=i(522),ke={attributes:{"data-cke":!0}};ke.setAttributes=Ft(),ke.insert=Dt().bind(null,"head"),ke.domAPI=Et(),ke.insertStyleElement=Lt();Rt()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["13036ZtRoXs","ck-revision-history-ui__changes-navigation__navigation","EDIT_X_OF_Y_REVISIONS","8279856qRevcs","ck-revision-history-ui__changes-navigation__label","508018BasKNq","Loading...","1517110BkAYvi","isBackwardNavigationEnabled","Show next change","forward","isForwardNavigationEnabled","span","X_OF_Y_CHANGES","ck-hidden","ck-revision-history-ui__changes-navigation__wrapper","11HLcqJR","55252LhNKSV","backward","div","NUMBER_OF_CHANGES","153mUgbuh","execute","isNavigationMode","isReady","bind","No changes","ck-revision-history-ui","14777CtLiQu","Show previous change","_statusText","Total","66sxjdiF","_isStatusLabelVisible","isEnabled","setTemplate","set","ck-revision-history-ui__changes-navigation","numberOfChanges","452432WyplYt","currentChangeNumber","33IOxyoY","bindTemplate","fire","520BJLiUe"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(629056===-parseInt(e(257))/1+-parseInt(e(224))/2*(parseInt(e(248))/3)+parseInt(e(252))/4*(-parseInt(e(251))/5)+parseInt(e(239))/6*(-parseInt(e(235))/7)+parseInt(e(246))/8*(parseInt(e(228))/9)+-parseInt(e(259))/10*(-parseInt(e(223))/11)+parseInt(e(255))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class _e extends Nt.View{constructor(t){const e=we;super(t);const i=this[e(249)],s=new Nt.ButtonView(t),n=new Nt.ButtonView(t);this[e(243)](e(230),!1),this[e(243)](e(231),!1),this[e(243)](e(247),0),this[e(243)](e(245),0),this[e(243)](e(218),!1),this[e(243)](e(215),!1),this[e(232)](e(240)).to(this,e(231),this,e(245),(t,e)=>t&&e>0),this[e(232)](e(237)).to(this,e(231),this,e(247),this,e(245),this,e(230),(i,s,n,r)=>{const o=e;if(!i)return dt(t,o(258));if(!n)return dt(t,o(233));const a=dt(t,o(227),n);return r?dt(t,o(220),[s+1,n]):a}),s[e(243)]({label:dt(t,e(236)),tooltip:!0,icon:xt.IconChevronUp}),n[e(243)]({label:dt(t,e(216)),tooltip:!0,icon:xt.IconChevronDown}),s[e(232)](e(241)).to(this,e(215)),n[e(232)](e(241)).to(this,e(218)),s.on(e(229),()=>this[e(250)](e(229),e(225))),n.on(e(229),()=>this[e(250)](e(229),e(217))),this[e(242)]({tag:e(226),attributes:{class:["ck",e(234),e(244)]},children:[{tag:e(219),attributes:{class:[e(222)]},children:[{tag:e(219),attributes:{class:[e(256),i.if(e(240),e(221),t=>!t)]},children:[{text:i.to(e(230),i=>i?dt(t,e(254))+": ":dt(t,e(238))+": ")}]},{text:i.to(e(237))}]},new Nt.ToolbarSeparatorView,{tag:e(226),attributes:{class:[e(253)]},children:[s,n]}]})}}var Ie=i(418),Se={attributes:{"data-cke":!0}};Se.setAttributes=Ft(),Se.insert=Dt().bind(null,"head"),Se.domAPI=Et(),Se.insertStyleElement=Lt();Rt()(Ie.A,Se);Ie.A&&Ie.A.locals&&Ie.A.locals;function Oe(){const t=["isPremiumPlugin","RevisionViewerLoadingOverlay","change","removeClass","addClass","pluginName","roots","hide","editing","7306825Smxgai","1398iDSiYC","show","2678832pCgyEL","2943bWdkTq","document","82770uUKHHa","isOfficialPlugin","166539YIJatK","2776gVrrDo","518328MvHHrk","805WpYBWc","21006SkXwhw","ck-editor__editable__loading-overlay","view","editor"];return(Oe=function(){return t})()}const Te=xe;function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(761424===parseInt(e(131))/1+-parseInt(e(133))/2+parseInt(e(149))/3*(-parseInt(e(132))/4)+-parseInt(e(148))/5+-parseInt(e(135))/6*(parseInt(e(134))/7)+parseInt(e(126))/8+parseInt(e(127))/9*(parseInt(e(129))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);const Ne=Te(136);class Ae extends et.Plugin{static get[Te(144)](){return Te(140)}static get[Te(130)](){return!0}static get[Te(139)](){return!0}[Te(150)](){const t=Te,e=this[t(138)][t(147)][t(137)];e[t(141)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(143)](Ne,t)})}[Te(146)](){const t=Te,e=this[t(138)][t(147)][t(137)];e[t(141)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(142)](Ne,t)})}}const Re=Ee;function Me(){const t=["Restore this revision","plugins","isNavigationMode","get","5533812jWfrzm","6ZBjLSJ","listenTo","2MBaqMl","RevisionViewerUI","showPreviousChange","pluginName","numberOfChanges","isForwardNavigationEnabled","set","add","552867gdbLiJ","Back to editing","889461GBEKQK","hide","closeRevisionViewerCallback","ck-revision-history-ui__back-to-editing","config","init","show","isBackwardNavigationEnabled","9501928cthWMP","1392951cMrogD","23300sBlHiS","showNextChange","commands","restoreRevision","editor","requires","exitToEditing","isEnabled","isPremiumPlugin","forward","change:isReady","changesNavigation","isReady","bind","execute","currentChangeNumber","8328380exhdqt","componentFactory","isOfficialPlugin","revisionHistory","508YyjOWk"];return(Me=function(){return t})()}function Ee(t,e){const i=Me();return(Ee=function(t,e){return i[t-=300]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(618868===parseInt(e(320))/1+parseInt(e(310))/2*(parseInt(e(329))/3)+parseInt(e(302))/4*(parseInt(e(330))/5)+-parseInt(e(308))/6*(-parseInt(e(318))/7)+-parseInt(e(328))/8+parseInt(e(307))/9+-parseInt(e(346))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ve extends et.Plugin{static get[Re(313)](){return Re(311)}static get[Re(300)](){return!0}static get[Re(338)](){return!0}static get[Re(335)](){return[me,Ae]}[Re(325)](){const t=Re,e=this[t(334)],i=e[t(304)][t(306)](me),s=e[t(304)][t(306)](Ae);e.ui[t(347)][t(317)](t(336),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(316)]({label:dt(i,s(319)),icon:xt.IconUndo,withText:!0,tooltip:!0,class:s(323)}),this[s(309)](n,s(344),()=>{const t=s;e[t(324)][t(306)](t(301))[t(322)]()}),n}),e.ui[t(347)][t(317)](t(333),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(316)]({label:dt(i,s(303)),withText:!0,tooltip:!0}),n[s(343)](s(337)).to(e[s(332)][s(306)](s(333))),this[s(309)](n,s(344),()=>e[s(344)](s(333))),n}),e.ui[t(347)][t(317)](t(341),s=>{const n=t,r=new _e(s),o=e[n(332)][n(306)](n(312)),a=e[n(332)][n(306)](n(331));return r[n(343)](n(327)).to(o,n(337)),r[n(343)](n(315)).to(a,n(337)),r[n(343)](n(342),n(345),n(314),n(305)).to(i),this[n(309)](r,n(344),(t,i)=>{const s=n;e[s(344)](s(339)===i?s(331):s(312))}),r}),s[t(326)](),i.on(t(340),(e,i,n)=>{const r=t;n?s[r(321)]():s[r(326)]()})}}var De=i(223),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ft(),Ce.insert=Dt().bind(null,"head"),Ce.domAPI=Et(),Ce.insertStyleElement=Lt();Rt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;const Fe=Le;function je(){const t=["1756582BiSLNn","Revision name","render","destroy","input","_tooltipString","listenTo","set","ck-tooltip_multi-line","5887462zPIhyA","clientWidth","Enter the revision name","785745icSSHg","8wyrSdD","130bGHAsx","bindTemplate","1870YaqOzE","1165FKvXVw","extendTemplate","scrollWidth","7604cMCYFR","span","ck-revision-history-sidebar__revision-name","placeholder","99089HYChYY","_updateTooltipText","3tdOJxY","_resizeObserver","value","8149158qhnpkv","220812zyYCvR","fieldView","element"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(740501===parseInt(e(234))/1+-parseInt(e(243))/2*(-parseInt(e(236))/3)+parseInt(e(230))/4*(-parseInt(e(227))/5)+parseInt(e(239))/6+-parseInt(e(219))/7*(-parseInt(e(223))/8)+-parseInt(e(222))/9*(-parseInt(e(224))/10)+parseInt(e(226))/11*(-parseInt(e(240))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends Nt.LabeledFieldView{[Fe(237)]=null;constructor(t,e){const i=Fe;super(t,e);const s=this[i(225)];this[i(217)]({label:dt(t,i(244)),_tooltipString:""}),this[i(241)][i(233)]=dt(t,i(221)),this[i(228)]({tag:i(231),attributes:{class:[i(232)],"data-cke-tooltip-text":s.to(i(215)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(218)}})}[Fe(212)](){const e=Fe;super[e(212)](),this[e(237)]=new t.ResizeObserver(this[e(241)][e(242)],()=>this[e(235)]()),this[e(216)](this[e(241)],e(214),()=>this[e(235)]())}[Fe(213)](){const t=Fe;super[t(213)](),this[t(237)]&&this[t(237)][t(213)]()}[Fe(235)](){const t=Fe,e=this[t(241)][t(242)];this[t(215)]=e[t(229)]>e[t(220)]&&e[t(238)]||""}}var We=i(443),ze={attributes:{"data-cke":!0}};ze.setAttributes=Ft(),ze.insert=Dt().bind(null,"head"),ze.domAPI=Et(),ze.insertStyleElement=Lt();Rt()(We.A,ze);We.A&&We.A.locals&&We.A.locals;function Ue(){const t=["0 0 11 10","set","Revision author","185608YQRdlz","998004ZklVUj","push","808238piTAIn","9201320Nscwyp","Revision creator","span","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author_creator","name","3494262gmPyYg","553pyYseQ","setTemplate","50499171rJtqug","37848QliiMq","ck-revision-history-sidebar__revision-author","63ZMIwVA"];return(Ue=function(){return t})()}function He(t,e){const i=Ue();return(He=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=He,i=t();for(;;)try{if(966615===parseInt(e(196))/1+-parseInt(e(203))/2+parseInt(e(189))/3*(-parseInt(e(187))/4)+-parseInt(e(197))/5+parseInt(e(194))/6+-parseInt(e(204))/7*(parseInt(e(193))/8)+parseInt(e(186))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends Nt.View{constructor(t,e,i){const s=He;super(t);const n=new Nt.IconView;n[s(191)]({content:xt.IconUser,viewBox:s(190)});const r=["ck",s(188)];i&&r[s(195)](s(201));const o=[{tag:s(199),attributes:{class:["ck",s(200)],title:dt(t,s(i?198:192))},children:[n,e[s(202)]]}];this[s(185)]({tag:"li",attributes:{class:r},children:o})}}function qe(t,e){var i=Be();return(qe=function(t,e){return i[t-=285]})(t,e)}function Be(){var t=["1281520tvZSzP","1890245fSehVO","numeric","2375590gMtTXe","4957150oLIHdi","9356HdMDFJ","16yHCMDG","6UFEyKq","630156qjESvY","toLocaleDateString","9vTozwB","long","toLocaleTimeString","1274434MQGuyE","894CyFMMw"];return(Be=function(){return t})()}!function(t){for(var e=qe,i=t();;)try{if(381370===-parseInt(e(289))/1+-parseInt(e(296))/2+-parseInt(e(295))/3*(-parseInt(e(286))/4)+parseInt(e(297))/5*(parseInt(e(288))/6)+parseInt(e(294))/7*(parseInt(e(287))/8)+parseInt(e(291))/9*(-parseInt(e(299))/10)+parseInt(e(285))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Be);var $e=i(433),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Ft(),Ye.insert=Dt().bind(null,"head"),Ye.domAPI=Et(),Ye.insertStyleElement=Lt();Rt()($e.A,Ye);$e.A&&$e.A.locals&&$e.A.locals;function Je(){const t=["7HwyLjb","menuitem","button","panelPosition","extendTemplate","find","isOpen","stopPropagation","buttonView","model","items","isReady","ck-on","execute","name","Name this revision","10150811WqLLCH","4983618MyRwvW","isVisible","Show more items","listView","395kyasLh","isEnabled","listenTo","1099611aTxMAo","menu","action","487680JGbuwF","ck-revision-history-sidebar__revision__actions","430210bjyrfy","isActionsDropdownOpen","48WBYclQ","change:isActionsDropdownOpen","bind","children","Compare against selected","function","class","1621599dKZKrX","_action","locale","40SqzGJw","set","source","add","first","map","Restore this revision","4310COahFU","bindTemplate"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(519370===parseInt(e(522))/1*(parseInt(e(499))/2)+-parseInt(e(539))/3+-parseInt(e(542))/4*(parseInt(e(530))/5)+-parseInt(e(518))/6*(-parseInt(e(501))/7)+-parseInt(e(532))/8*(parseInt(e(525))/9)+parseInt(e(528))/10+parseInt(e(517))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);var Ke=i(898),Xe={attributes:{"data-cke":!0}};Xe.setAttributes=Ft(),Xe.insert=Dt().bind(null,"head"),Xe.domAPI=Et(),Xe.insertStyleElement=Lt();Rt()(Ke.A,Xe);Ke.A&&Ke.A.locals&&Ke.A.locals;const Qe=ei;function ti(){const t=["length","extendTemplate","isConfirm","isEnabled",".ck-confirm-view","11oXrZmR","change","unhighlight","isActionsDropdownOpen","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-authors","408tLEhAO","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1353016fYumku","creator","select","setTemplate","createdAt","name","filter","closest","uiLanguage","632730jLBxUj","750195ynjGFF","ck-reset","1283505AUxkjX","ck-revision-history-sidebar__revision-wrapper","220","from","4669970uVdiaD","isSelected","_createdAtFormatted","authors","unshift","listenTo","srcElement","set","ck-revision-history-sidebar__actions_dropdown_open","span","bind","9GVEdZl","ck-revision-history-sidebar__revision_highlighted","div","isHighlighted","fire","1879760HEeMWU","ck-revision-history-sidebar__revision__controls-wrapper","_revision","deselect","revisionActionsView","value","1PdiPhB","element","_requireRevisionName","isReady","23548fyPtDX","render","map","revisionNameView","highlight","ck-disabled","fieldView","setName","bindTemplate"];return(ti=function(){return t})()}function ei(t,e){const i=ti();return(ei=function(t,e){return i[t-=177]})(t,e)}!function(t){const e=ei,i=t();for(;;)try{if(188040===-parseInt(e(181))/1*(-parseInt(e(218))/2)+-parseInt(e(219))/3+parseInt(e(209))/4+parseInt(e(221))/5+parseInt(e(206))/6*(parseInt(e(185))/7)+parseInt(e(241))/8*(-parseInt(e(236))/9)+-parseInt(e(225))/10*(parseInt(e(199))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ti);class ii extends((0,it.ConfirmMixin)(Nt.View)){id;[Qe(188)];[Qe(179)];[Qe(177)];[Qe(183)];constructor(e,i,s,n){const r=Qe;super(e);const o=this[r(193)],a=function(t,e){const i=r,s=Array[i(224)](e[i(228)])[i(215)](t=>t!=e[i(210)]);return e[i(210)]&&s[i(229)](e[i(210)]),s[i(187)](s=>new Ze(t,s,s==e[i(210)]))}(e,i);this.id=i.id,this[r(177)]=i,this[r(183)]=n,this[r(235)](r(214),r(213)).to(i),this[r(235)](r(227)).to(this,r(213),t=>{return i=e[r(217)],(s=t)[(n=qe)(290)](i,{month:n(292),day:n(298)})+", "+s[n(293)](i,{hour:n(298),minute:n(298)});var i,s,n}),this[r(232)](r(226),!1),this[r(232)](r(239),!1),this[r(232)](r(202),!1),this[r(232)](r(184),!1),this[r(232)](r(197),!1),this[r(188)]=new Pe(e,Nt.createLabeledInputText),this[r(188)][r(191)][r(195)]({attributes:{maxlength:r(223)}}),this[r(188)][r(191)][r(235)](r(180)).to(this,r(214),t=>t||this[r(227)]),this[r(188)][r(235)](r(197)).to(this,r(226),this,r(197),(t,e)=>t&&e),this[r(179)]=s&&s[r(194)]?function(e,i){const s=Ge,n=e[s(500)],r=e[s(541)],o=(0,Nt.createDropdown)(r);o[s(504)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ge,s=t[i(541)],n={"Compare against selected":dt(s,i(536)),"Name this revision":dt(s,i(516)),"Restore this revision":dt(s,i(498))};return e[i(497)](t=>{const e=i,s=n[t[e(515)]];return s&&s!==t[e(515)]&&(t[e(515)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(503),model:new Nt.UIModel({label:t[n(515)],class:t[n(538)],withText:!0,role:n(502),_action:t[n(527)]})};i[n(510)][n(534)](n(523)).to(e,n(531),i=>n(537)!=typeof t[n(523)]||!i||t[n(523)](e)),o[n(545)](i)}return o}(e,i);return e[s(534)](s(531)).to(o,s(507)),o[s(509)][s(543)]({label:dt(r,s(520)),tooltip:!0,tooltipPosition:"sw",icon:xt.IconThreeVerticalDots}),o[s(505)]({attributes:{class:[s(529),n.if(s(531),s(513))]},on:{click:n.to(t=>t[s(508)]())}}),o.on(s(514),t=>{const i=s;e[i(512)]&&i(537)==typeof t[i(544)][i(540)]&&t[i(544)][i(540)](e)}),(0,Nt.addListToDropdown)(o,a,{role:s(526)}),o[s(524)](e,s(533),(t,n,r)=>{const a=s;if(r)for(const t of o[a(521)][a(511)]){const s=t[a(535)][a(546)],n=i[a(506)](t=>t[a(527)]===s[a(540)])[a(519)];t[a(519)]=void 0===n||n(e)}}),o}(this,s):"",this[r(179)]&&this[r(179)][r(235)](r(197)).to(this),this[r(212)]({tag:r(238),attributes:{class:["ck",r(220),r(222),o.if(r(196),r(208))]},children:[{tag:r(238),attributes:{class:["ck",r(220),r(207),o.if(r(197),r(190),t=>!t),o.if(r(226),r(204)),o.if(r(239),r(237)),o.if(r(202),r(233))]},children:[this[r(188)],{tag:r(234),attributes:{class:["ck",r(203)]},children:[{text:o.to(r(227))}]},{tag:r(238),attributes:{class:["ck",r(242)]},children:[{tag:"ul",attributes:{class:["ck",r(205)]},children:a}]},this[r(179)]],on:{click:o.to(t=>{const e=r;t[e(231)][e(216)](e(198))||this[e(184)]&&this[e(197)]&&this[e(240)](e(211),{id:this.id})})}}]})}[Qe(186)](){const t=Qe;super[t(186)]();const e=this[t(188)][t(191)][t(182)];this[t(230)](e,t(200),()=>{const i=t;this[i(183)]&&!e[i(180)]||this[i(240)](i(192),{id:this.id,name:e[i(180)]}),e[i(180)]||(e[i(180)]=this[i(214)]?this[i(214)]:this[i(227)])})}[Qe(211)](){this[Qe(226)]=!0}[Qe(178)](){this[Qe(226)]=!1}[Qe(189)](){this[Qe(239)]=!0}[Qe(201)](){this[Qe(239)]=!1}}class si extends Error{}class ni extends si{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ri extends si{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class oi extends si{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends si{}class ci extends si{constructor(t){super(`Invalid unit ${t}`)}}class ui extends si{}class li extends si{constructor(){super("Zone is an abstract class")}}const hi="numeric",di="short",fi="long",mi={year:hi,month:hi,day:hi},pi={year:hi,month:di,day:hi},vi={year:hi,month:di,day:hi,weekday:di},gi={year:hi,month:fi,day:hi},yi={year:hi,month:fi,day:hi,weekday:fi},ki={hour:hi,minute:hi},bi={hour:hi,minute:hi,second:hi},wi={hour:hi,minute:hi,second:hi,timeZoneName:di},_i={hour:hi,minute:hi,second:hi,timeZoneName:fi},Ii={hour:hi,minute:hi,hourCycle:"h23"},Si={hour:hi,minute:hi,second:hi,hourCycle:"h23"},Oi={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:di},Ti={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:fi},xi={year:hi,month:hi,day:hi,hour:hi,minute:hi},Ni={year:hi,month:hi,day:hi,hour:hi,minute:hi,second:hi},Ai={year:hi,month:di,day:hi,hour:hi,minute:hi},Ri={year:hi,month:di,day:hi,hour:hi,minute:hi,second:hi},Mi={year:hi,month:di,day:hi,weekday:di,hour:hi,minute:hi},Ei={year:hi,month:fi,day:hi,hour:hi,minute:hi,timeZoneName:di},Vi={year:hi,month:fi,day:hi,hour:hi,minute:hi,second:hi,timeZoneName:di},Di={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,timeZoneName:fi},Ci={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,second:hi,timeZoneName:fi};class Fi{get type(){throw new li}get name(){throw new li}get ianaName(){return this.name}get isUniversal(){throw new li}offsetName(t,e){throw new li}formatOffset(t,e){throw new li}offset(t){throw new li}equals(t){throw new li}get isValid(){throw new li}}let ji=null;class Li extends Fi{static get instance(){return null===ji&&(ji=new Li),ji}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i)}formatOffset(t,e){return un(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Pi=new Map;const Wi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const zi=new Map;class Ui extends Fi{static create(t){let e=zi.get(t);return void 0===e&&zi.set(t,e=new Ui(t)),e}static resetCache(){zi.clear(),Pi.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=Ui.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i,this.name)}formatOffset(t,e){return un(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=Pi.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"}),Pi.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Wi[e];"era"===e?s[r]=n:js(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(tn({year:s,month:n,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 Hi={};const Zi=new Map;function qi(t,e={}){const i=JSON.stringify([t,e]);let s=Zi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Zi.set(i,s)),s}const Bi=new Map;const $i=new Map;let Yi=null;const Ji=new Map;function Gi(t){let e=Ji.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ji.set(t,e)),e}const Ki=new Map;function Xi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Qi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Bi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Bi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Bs(this.floor?Math.floor(t):Gs(t,3),this.padTo)}}class ts{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ui.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=qi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class es{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ws()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=$i.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),$i.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const is={firstDay:1,minimalDays:4,weekend:[6,7]};class ss{static fromOpts(t){return ss.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ws.defaultLocale,o=r||(n?"en-US":Yi||(Yi=(new Intl.DateTimeFormat).resolvedOptions().locale,Yi)),a=e||ws.defaultNumberingSystem,c=i||ws.defaultOutputCalendar,u=Zs(s)||ws.defaultWeekSettings;return new ss(o,a,c,u,r)}static resetCache(){Yi=null,Zi.clear(),Bi.clear(),$i.clear(),Ji.clear(),Ki.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return ss.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=qi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=qi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Gi(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?ss.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Zs(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 Xi(this,t,mn,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=yo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Xi(this,t,yn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=yo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Xi(this,void 0,()=>kn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[yo.utc(2016,11,13,9),yo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Xi(this,t,In,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[yo.utc(-40,1,1),yo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Qi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ts(t,this.intl,e)}relFormatter(t={}){return new es(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Hi[i];return s||(s=new Intl.ListFormat(t,e),Hi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Gi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:zs()?function(t){let e=Ki.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...is,...e}),Ki.set(t,e)}return e}(this.locale):is}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 ns=null;class rs extends Fi{static get utcInstance(){return null===ns&&(ns=new rs(0)),ns}static instance(t){return 0===t?rs.utcInstance:new rs(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new rs(on(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${un(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${un(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return un(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 os extends Fi{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 as(t,e){if(js(t)||null===t)return e;if(t instanceof Fi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Li.instance:"utc"===i||"gmt"===i?rs.utcInstance:rs.parseSpecifier(i)||Ui.create(t)}return Ls(t)?rs.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new os(t)}const cs={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={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]},ls=cs.hanidec.replace(/[\[|\]]/g,"").split("");const hs=new Map;function ds({numberingSystem:t},e=""){const i=t||"latn";let s=hs.get(i);void 0===s&&(s=new Map,hs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${cs[i]}${e}`),s.set(e,n)),n}let fs,ms=()=>Date.now(),ps="system",vs=null,gs=null,ys=null,ks=60,bs=null;class ws{static get now(){return ms}static set now(t){ms=t}static set defaultZone(t){ps=t}static get defaultZone(){return as(ps,Li.instance)}static get defaultLocale(){return vs}static set defaultLocale(t){vs=t}static get defaultNumberingSystem(){return gs}static set defaultNumberingSystem(t){gs=t}static get defaultOutputCalendar(){return ys}static set defaultOutputCalendar(t){ys=t}static get defaultWeekSettings(){return bs}static set defaultWeekSettings(t){bs=Zs(t)}static get twoDigitCutoffYear(){return ks}static set twoDigitCutoffYear(t){ks=t%100}static get throwOnInvalid(){return fs}static set throwOnInvalid(t){fs=t}static resetCaches(){ss.resetCache(),Ui.resetCache(),yo.resetCache(),hs.clear()}}class _s{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Is=[0,31,59,90,120,151,181,212,243,273,304,334],Ss=[0,31,60,91,121,152,182,213,244,274,305,335];function Os(t,e){return new _s("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ts(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function xs(t,e,i){return i+(Ks(t)?Ss:Is)[e-1]}function Ns(t,e){const i=Ks(t)?Ss:Is,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function As(t,e){return(t-e+7)%7+1}function Rs(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=xs(s,n,r),a=As(Ts(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=sn(c,e,i)):u>sn(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...ln(t)}}function Ms(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=As(Ts(s,1,e),i),a=Xs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Xs(c)):u>a?(c=s+1,u-=Xs(s)):c=s;const{month:l,day:h}=Ns(c,u);return{year:c,month:l,day:h,...ln(t)}}function Es(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:xs(e,i,s),...ln(t)}}function Vs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Ns(e,i);return{year:e,month:s,day:n,...ln(t)}}function Ds(t,e){if(!js(t.localWeekday)||!js(t.localWeekNumber)||!js(t.localWeekYear)){if(!js(t.weekday)||!js(t.weekNumber)||!js(t.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return js(t.localWeekday)||(t.weekday=t.localWeekday),js(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),js(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 Cs(t){const e=Ps(t.year),i=qs(t.month,1,12),s=qs(t.day,1,Qs(t.year,t.month));return e?i?!s&&Os("day",t.day):Os("month",t.month):Os("year",t.year)}function Fs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=qs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=qs(i,0,59),a=qs(s,0,59),c=qs(n,0,999);return r?o?a?!c&&Os("millisecond",n):Os("second",s):Os("minute",i):Os("hour",e)}function js(t){return void 0===t}function Ls(t){return"number"==typeof t}function Ps(t){return"number"==typeof t&&t%1==0}function Ws(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function zs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Us(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Hs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Zs(t){if(null==t)return null;if("object"!=typeof t)throw new ui("Week settings must be an object");if(!qs(t.firstDay,1,7)||!qs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!qs(t,1,7)))throw new ui("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function qs(t,e,i){return Ps(t)&&t>=e&&t<=i}function Bs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function $s(t){return js(t)||null===t||""===t?void 0:parseInt(t,10)}function Ys(t){return js(t)||null===t||""===t?void 0:parseFloat(t)}function Js(t){if(!js(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Gs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Ks(t){return t%4==0&&(t%100!=0||t%400==0)}function Xs(t){return Ks(t)?366:365}function Qs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Ks(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function tn(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 en(t,e,i){return-As(Ts(t,1,e),i)+e-1}function sn(t,e=4,i=1){const s=en(t,e,i),n=en(t+1,e,i);return(Xs(t)-s+n)/7}function nn(t){return t>99?t:t>ws.twoDigitCutoffYear?1900+t:2e3+t}function rn(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function on(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function an(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ui(`Invalid unit value ${t}`);return e}function cn(t,e){const i={};for(const s in t)if(Hs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=an(n)}return i}function un(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Bs(i,2)}:${Bs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Bs(i,2)}${Bs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ln(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const hn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["J","F","M","A","M","J","J","A","S","O","N","D"];function mn(t){switch(t){case"narrow":return[...fn];case"short":return[...dn];case"long":return[...hn];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 pn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gn=["M","T","W","T","F","S","S"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const kn=["AM","PM"],bn=["Before Christ","Anno Domini"],wn=["BC","AD"],_n=["B","A"];function In(t){switch(t){case"narrow":return[..._n];case"short":return[...wn];case"long":return[...bn];default:return null}}function Sn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const On={D:mi,DD:pi,DDD:gi,DDDD:yi,t:ki,tt:bi,ttt:wi,tttt:_i,T:Ii,TT:Si,TTT:Oi,TTTT:Ti,f:xi,ff:Ai,fff:Ei,ffff:Di,F:Ni,FF:Ri,FFF:Vi,FFFF:Ci};class Tn{static create(t,e={}){return new Tn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return On[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 Bs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return kn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return mn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return yn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Tn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return In(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return Sn(Tn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Tn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return Sn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const xn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Nn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function An(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Rn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Mn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=$s(e[i+n]);return[s,null,i+n]}}const En=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Dn=RegExp(`${Vn.source}${`(?:${En.source}?(?:\\[(${xn.source})\\])?)?`}`),Cn=RegExp(`(?:T${Dn.source})?`),Fn=Mn("weekYear","weekNumber","weekDay"),jn=Mn("year","ordinal"),Ln=RegExp(`${Vn.source} ?(?:${En.source}|(${xn.source}))?`),Pn=RegExp(`(?: ${Ln.source})?`);function Wn(t,e,i){const s=t[e];return js(s)?i:$s(s)}function zn(t,e){return[{hours:Wn(t,e,0),minutes:Wn(t,e+1,0),seconds:Wn(t,e+2,0),milliseconds:Js(t[e+3])},null,e+4]}function Un(t,e){const i=!t[e]&&!t[e+1],s=on(t[e+1],t[e+2]);return[{},i?null:rs.instance(s),e+3]}function Hn(t,e){return[{},t[e]?Ui.create(t[e]):null,e+1]}const Zn=RegExp(`^T?${Vn.source}$`),qn=/^-?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 Bn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ys(i)),months:d(Ys(s)),weeks:d(Ys(n)),days:d(Ys(r)),hours:d(Ys(o)),minutes:d(Ys(a)),seconds:d(Ys(c),"-0"===c),milliseconds:d(Js(u),h)}]}const $n={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yn(t,e,i,s,n,r,o){const a={year:2===e.length?nn($s(e)):$s(e),month:dn.indexOf(i)+1,day:$s(s),hour:$s(n),minute:$s(r)};return o&&(a.second=$s(o)),t&&(a.weekday=t.length>3?pn.indexOf(t)+1:vn.indexOf(t)+1),a}const Jn=/^(?:(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 Gn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Yn(e,n,s,i,r,o,a);let f;return f=c?$n[c]:u?0:on(l,h),[d,new rs(f)]}const Kn=/^(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$/,Xn=/^(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$/,Qn=/^(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 tr(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,n,s,i,r,o,a),rs.utcInstance]}function er(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,a,i,s,n,r,o),rs.utcInstance]}const ir=Nn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Cn),sr=Nn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cn),nr=Nn(/(\d{4})-?(\d{3})/,Cn),rr=Nn(Dn),or=An(function(t,e){return[{year:Wn(t,e),month:Wn(t,e+1,1),day:Wn(t,e+2,1)},null,e+3]},zn,Un,Hn),ar=An(Fn,zn,Un,Hn),cr=An(jn,zn,Un,Hn),ur=An(zn,Un,Hn);const lr=An(zn);const hr=Nn(/(\d{4})-(\d\d)-(\d\d)/,Pn),dr=Nn(Ln),fr=An(zn,Un,Hn);const mr="Invalid Duration",pr={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}},vr={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},...pr},gr=365.2425,yr=30.436875,kr={years:{quarters:4,months:12,weeks:52.1775,days:gr,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:yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...pr},br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wr=br.slice(0).reverse();function _r(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Or(s)}function Ir(t,e){let i=e.milliseconds??0;for(const s of wr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function Sr(t,e){const i=Ir(t,e)<0?-1:1;br.reduceRight((s,n)=>{if(js(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),br.reduce((i,s)=>{if(js(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class Or{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?kr:vr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ss.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Or.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ui("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Or({values:cn(t,Or.normalizeUnit),loc:ss.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ls(t))return Or.fromMillis(t);if(Or.isDuration(t))return t;if("object"==typeof t)return Or.fromObject(t);throw new ui(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Rn(t,[qn,Bn])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Rn(t,[Zn,lr])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the Duration is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new oi(i);return new Or({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 ci(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?Tn.create(this.loc,i).formatDurationFromString(this,t):mr}toHuman(t={}){if(!this.isValid)return mr;const e=br.map(e=>{const i=this.values[e];return js(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+=Gs(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 yo.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?Ir(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Or.fromDurationLike(t),i={};for(const t of br)(Hs(e.values,t)||Hs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return _r(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Or.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]=an(t(this.values[i],i));return _r(this,{values:e},!0)}get(t){return this[Or.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return _r(this,{values:{...this.values,...cn(t,Or.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return _r(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sr(this.matrix,t),_r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return _r(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>Or.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of br)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ls(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ls(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return Sr(this.matrix,e),_r(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 _r(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 br)if(!e(this.values[i],t.values[i]))return!1;return!0}}const Tr="Invalid Interval";class xr{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 ui("need to specify a reason the Interval is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ri(i);return new xr({invalid:i})}static fromDateTimes(t,e){const i=ko(t),s=ko(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?xr.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:xr.invalid("missing or invalid end"):xr.invalid("missing or invalid start")}(i,s);return null==n?new xr({start:i,end:s}):n}static after(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=yo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=yo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return xr.fromDateTimes(t,r);if(n){const i=Or.fromISO(s,e);if(i.isValid)return xr.after(t,i)}else if(o){const t=Or.fromISO(i,e);if(t.isValid)return xr.before(r,t)}}return xr.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?xr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ko).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(xr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=Or.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(xr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:xr.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 xr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(xr.fromDateTimes(e,t.time)),e=null);return xr.merge(s)}difference(...t){return xr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Tr}[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=mi,e={}){return this.isValid?Tn.create(this.s.loc.clone(e),t).formatInterval(this):Tr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Tr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Tr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Tr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Tr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Or.invalid(this.invalidReason)}mapEndpoints(t){return xr.fromDateTimes(t(this.s),t(this.e))}}class Nr{static hasDST(t=ws.defaultZone){const e=yo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ui.isValidZone(t)}static normalizeZone(t){return as(t,ws.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ss.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ss.create(e,null,"gregory").eras(t)}static features(){return{relative:Ws(),localeWeek:zs()}}}function Ar(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(Or.fromMillis(s).as("days"))}function Rr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ar(t,e);return(i-i%7)/7}],["days",Ar]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=Or.fromObject(r,s);return u.length>0?Or.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Rr,"name",{value:"default",configurable:!0});function Mr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(cs.hanidec))e+=ls.indexOf(t[i]);else for(const t in us){const[i,n]=us[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Er=`[ ${String.fromCharCode(160)}]`,Vr=new RegExp(Er,"g");function Dr(t){return t.replace(/\./g,"\\.?").replace(Vr,Er)}function Cr(t){return t.replace(/\./g,"").replace(Vr," ").toLowerCase()}function Fr(t,e){return null===t?null:{regex:RegExp(t.map(Dr).join("|")),deser:([i])=>t.findIndex(t=>Cr(i)===Cr(t))+e}}function jr(t,e){return{regex:t,deser:([,t,e])=>on(t,e),groups:e}}function Lr(t){return{regex:t,deser:([t])=>t}}const Pr={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 Wr=null;function zr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Zr(Tn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Ur{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=zr(Tn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=ds(e),s=ds(e,"{2}"),n=ds(e,"{3}"),r=ds(e,"{4}"),o=ds(e,"{6}"),a=ds(e,"{1,2}"),c=ds(e,"{1,3}"),u=ds(e,"{1,6}"),l=ds(e,"{1,9}"),h=ds(e,"{2,4}"),d=ds(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 Fr(e.eras("short"),0);case"GG":return Fr(e.eras("long"),0);case"y":return Mr(u);case"yy":case"kk":return Mr(h,nn);case"yyyy":case"kkkk":return Mr(r);case"yyyyy":return Mr(d);case"yyyyyy":return Mr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Mr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Mr(s);case"MMM":return Fr(e.months("short",!0),1);case"MMMM":return Fr(e.months("long",!0),1);case"LLL":return Fr(e.months("short",!1),1);case"LLLL":return Fr(e.months("long",!1),1);case"o":case"S":return Mr(c);case"ooo":case"SSS":return Mr(n);case"u":return Lr(l);case"uu":return Lr(a);case"uuu":case"E":case"c":return Mr(i);case"a":return Fr(e.meridiems(),0);case"EEE":return Fr(e.weekdays("short",!1),1);case"EEEE":return Fr(e.weekdays("long",!1),1);case"ccc":return Fr(e.weekdays("short",!0),1);case"cccc":return Fr(e.weekdays("long",!0),1);case"Z":case"ZZ":return jr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return jr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Lr(/[a-z_+-/]{1,256}?/i);case" ":return Lr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Hs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return js(t.z)||(i=Ui.create(t.z)),js(t.Z)||(i||(i=new rs(t.Z)),e=t.Z),js(t.q)||(t.M=3*(t.q-1)+1),js(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),js(t.u)||(t.S=Js(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Hs(i,"a")&&Hs(i,"H"))throw new ai("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Hr(t,e,i){return new Ur(t,i).explainFromTokens(e)}function Zr(t,e){if(!t)return null;const i=Tn.create(e,t).dtFormatter((Wr||(Wr=yo.fromMillis(1555555555555)),Wr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Pr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const qr="Invalid DateTime",Br=864e13;function $r(t){return new _s("unsupported zone",`the zone "${t.name}" is not supported`)}function Yr(t){return null===t.weekData&&(t.weekData=Rs(t.c)),t.weekData}function Jr(t){return null===t.localWeekData&&(t.localWeekData=Rs(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new yo({...i,...e,old:i})}function Kr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Xr(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 Qr(t,e,i){return Kr(tn(t),e,i)}function to(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Qs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Or.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=tn(r);let[c,u]=Kr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function eo(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=yo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return yo.invalid(new _s("unparsable",`the input "${n}" can't be parsed as ${s}`))}function io(t,e,i=!0){return t.isValid?Tn.create(ss.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function so(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Bs(t.c.year,i?6:4),e?(s+="-",s+=Bs(t.c.month),s+="-",s+=Bs(t.c.day)):(s+=Bs(t.c.month),s+=Bs(t.c.day)),s}function no(t,e,i,s,n,r){let o=Bs(t.c.hour);return e?(o+=":",o+=Bs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Bs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Bs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Bs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Bs(Math.trunc(-t.o/60)),o+=":",o+=Bs(Math.trunc(-t.o%60))):(o+="+",o+=Bs(Math.trunc(t.o/60)),o+=":",o+=Bs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const ro={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},oo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ao={ordinal:1,hour:0,minute:0,second:0,millisecond:0},co=["year","month","day","hour","minute","second","millisecond"],uo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lo=["year","ordinal","hour","minute","second","millisecond"];function ho(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 ci(t);return e}(t)}}function fo(t,e){const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid($r(i));const s=ss.fromObject(e);let n,r;if(js(t.year))n=ws.now();else{for(const e of co)js(t[e])&&(t[e]=ro[e]);const e=Cs(t)||Fs(t);if(e)return yo.invalid(e);const s=function(t){if(void 0===vo&&(vo=ws.now()),"iana"!==t.type)return t.offset(vo);const e=t.name;let i=go.get(e);return void 0===i&&(i=t.offset(vo),go.set(e,i)),i}(i);[n,r]=Qr(t,s,i)}return new yo({ts:n,zone:i,loc:s,o:r})}function mo(t,e,i){const s=!!js(i.round)||i.round,n=(t,n)=>{t=Gs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function po(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 vo;const go=new Map;class yo{constructor(t){const e=t.zone||ws.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new _s("invalid input"):null)||(e.isValid?null:$r(e));this.ts=js(t.ts)?ws.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ls(t.o)&&!t.old?t.o:e.offset(this.ts);s=Xr(this.ts,r),i=Number.isNaN(s.year)?new _s("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||ss.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new yo({})}static local(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return t.zone=rs.utcInstance,fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return yo.invalid("invalid input");const n=as(e.zone,ws.defaultZone);return n.isValid?new yo({ts:i,zone:n,loc:ss.fromObject(e)}):yo.invalid($r(n))}static fromMillis(t,e={}){if(Ls(t))return t<-Br||t>Br?yo.invalid("Timestamp out of range"):new yo({ts:t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ls(t))return new yo({ts:1e3*t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid($r(i));const s=ss.fromObject(e),n=cn(t,ho),{minDaysInFirstWeek:r,startOfWeek:o}=Ds(n,s),a=ws.now(),c=js(e.specificOffset)?i.offset(a):e.specificOffset,u=!js(n.ordinal),l=!js(n.year),h=!js(n.month)||!js(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ai("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Xr(a,c);m?(p=uo,v=oo,g=Rs(g,r,o)):u?(p=lo,v=ao,g=Es(g)):(p=co,v=ro);let y=!1;for(const t of p){js(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ps(t.weekYear),n=qs(t.weekNumber,1,sn(t.weekYear,e,i)),r=qs(t.weekday,1,7);return s?n?!r&&Os("weekday",t.weekday):Os("week",t.weekNumber):Os("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ps(t.year),i=qs(t.ordinal,1,Xs(t.year));return e?!i&&Os("ordinal",t.ordinal):Os("year",t.year)}(n):Cs(n),b=k||Fs(n);if(b)return yo.invalid(b);const w=m?Ms(n,r,o):u?Vs(n):n,[_,I]=Qr(w,c,i),S=new yo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?yo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:yo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Rn(t,[ir,or],[sr,ar],[nr,cr],[rr,ur])}(t);return eo(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Rn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Jn,Gn])}(t);return eo(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Rn(t,[Kn,tr],[Xn,tr],[Qn,er])}(t);return eo(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Hr(t,e,i);return[s,n,r,o]}(r,t,e);return u?yo.invalid(u):eo(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return yo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Rn(t,[hr,or],[dr,fr])}(t);return eo(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the DateTime is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ni(i);return new yo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Zr(t,ss.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return zr(Tn.parseFormat(t),ss.fromObject(e)).map(t=>t.val).join("")}static resetCache(){vo=void 0,go.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?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Jr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Jr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Jr(this).weekYear:NaN}get ordinal(){return this.isValid?Es(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nr.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=tn(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Xr(a,r),l=Xr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Gr(this,{ts:a}),Gr(this,{ts:c})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Qs(this.year,this.month)}get daysInYear(){return this.isValid?Xs(this.year):NaN}get weeksInWeekYear(){return this.isValid?sn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=Tn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(rs.instance(t),e)}toLocal(){return this.setZone(ws.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=as(t,ws.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Qr(i,e,t)}return Gr(this,{ts:s,zone:t})}return yo.invalid($r(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Gr(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=cn(t,ho),{minDaysInFirstWeek:i,startOfWeek:s}=Ds(e,this.loc),n=!js(e.weekYear)||!js(e.weekNumber)||!js(e.weekday),r=!js(e.ordinal),o=!js(e.year),a=!js(e.month)||!js(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ai("Can't mix ordinal dates with month/day");let l;n?l=Ms({...Rs(this.c,i,s),...e},i,s):js(e.ordinal)?(l={...this.toObject(),...e},js(e.day)&&(l.day=Math.min(Qs(l.year,l.month),l.day))):l=Vs({...Es(this.c),...e});const[h,d]=Qr(l,this.o,this.zone);return Gr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=Or.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Tn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qr}toLocaleString(t=mi,e={}){return this.isValid?Tn.create(this.loc.clone(e),t).formatDateTime(this):qr}toLocaleParts(t={}){return this.isValid?Tn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=so(this,r);return o+="T",o+=no(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?so(this,"extended"===t):null}toISOWeekDate(){return io(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+no(this,"extended"===r,e,t,i,n)}toRFC2822(){return io(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return io(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?so(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),io(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qr}[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 Or.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(Or.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Rr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(yo.now(),t,e)}until(t){return this.isValid?xr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||yo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),mo(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?mo(t.base||yo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(yo.isDateTime))throw new ui("min requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(yo.isDateTime))throw new ui("max requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Hr(ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return yo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=ss.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Ur(n,t)}static fromFormatParser(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ui(`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?yo.invalid(u):eo(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return mi}static get DATE_MED(){return pi}static get DATE_MED_WITH_WEEKDAY(){return vi}static get DATE_FULL(){return gi}static get DATE_HUGE(){return yi}static get TIME_SIMPLE(){return ki}static get TIME_WITH_SECONDS(){return bi}static get TIME_WITH_SHORT_OFFSET(){return wi}static get TIME_WITH_LONG_OFFSET(){return _i}static get TIME_24_SIMPLE(){return Ii}static get TIME_24_WITH_SECONDS(){return Si}static get TIME_24_WITH_SHORT_OFFSET(){return Oi}static get TIME_24_WITH_LONG_OFFSET(){return Ti}static get DATETIME_SHORT(){return xi}static get DATETIME_SHORT_WITH_SECONDS(){return Ni}static get DATETIME_MED(){return Ai}static get DATETIME_MED_WITH_SECONDS(){return Ri}static get DATETIME_MED_WITH_WEEKDAY(){return Mi}static get DATETIME_FULL(){return Ei}static get DATETIME_FULL_WITH_SECONDS(){return Vi}static get DATETIME_HUGE(){return Di}static get DATETIME_HUGE_WITH_SECONDS(){return Ci}}function ko(t){if(yo.isDateTime(t))return t;if(t&&t.valueOf&&Ls(t.valueOf()))return yo.fromJSDate(t);if(t&&"object"==typeof t)return yo.fromObject(t);throw new ui(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function bo(){const t=["toRelativeCalendar","minus","1501715lDjZPh","484015EtRaaY","153778qCxvfu","monthLong","916960runvNx","1RBPrXT","weekdayLong","fromJSDate","day","week","month","12COVGzN","startOf","toJSDate","setLocale","year","hasSame","local","7367024JdEcPG","8792280WbgPfS","1637160MsqUwA"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=247]})(t,e)}function _o(t,e){const i=wo,s=yo[i(252)](t)[i(259)](e),n=yo[i(262)](),r=n[i(267)]({days:1})[i(257)](i(253));let o,a;return s[i(261)](n,i(253))?(o=s[i(257)](i(253))[i(258)](),a=s[i(266)]()):s[i(261)](r,i(253))?(o=r[i(258)](),a=s[i(266)]()):s[i(261)](n,i(254))?(o=s[i(257)](i(254))[i(258)](),a=s[i(251)]||""):s[i(261)](n,i(260))?(o=s[i(257)](i(255))[i(258)](),a=s[i(248)]||""):(o=s[i(257)](i(260))[i(258)](),a=String(s[i(260)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=wo,i=t();for(;;)try{if(486282===parseInt(e(250))/1*(parseInt(e(247))/2)+-parseInt(e(265))/3+parseInt(e(249))/4+-parseInt(e(268))/5*(-parseInt(e(256))/6)+parseInt(e(269))/7+-parseInt(e(263))/8+parseInt(e(264))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);var Io=i(4),So={attributes:{"data-cke":!0}};So.setAttributes=Ft(),So.insert=Dt().bind(null,"head"),So.domAPI=Et(),So.insertStyleElement=Lt();Rt()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=No();return(Oo=function(t,e){return i[t-=123]})(t,e)}const To=Oo;!function(t){const e=Oo,i=t();for(;;)try{if(880547===-parseInt(e(156))/1*(-parseInt(e(145))/2)+-parseInt(e(124))/3*(-parseInt(e(138))/4)+-parseInt(e(154))/5+-parseInt(e(140))/6*(parseInt(e(126))/7)+-parseInt(e(155))/8*(-parseInt(e(137))/9)+parseInt(e(146))/10*(-parseInt(e(148))/11)+-parseInt(e(133))/12*(parseInt(e(143))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends Nt.View{[To(157)];[To(131)];[To(123)];[To(144)];constructor(t,e,i,s){const n=To;super(t);const r=_o(e,this[n(153)][n(134)])[n(139)];this[n(157)]=e,this[n(131)]=this[n(150)](),this[n(123)]=i,this[n(144)]=s,this[n(131)][n(129)](n(128)).to(this),this[n(131)][n(129)](n(142)).to(this),this[n(147)]({tag:n(130),attributes:{class:["ck",n(125)]},children:[{tag:n(136),attributes:{class:["ck",n(149)]},children:[{text:r}]},{tag:n(130),attributes:{class:["ck",n(152)]},children:this[n(131)]}]})}[To(135)](t){const e=To,i=new ii(this[e(153)],t,this[e(123)],this[e(144)]);this[e(131)][e(127)](i)}[To(132)](t){const e=To,i=this[e(131)][e(141)](e=>e.id===t.id);this[e(131)][e(151)](i)}}function No(){const t=["add","select","delegate","div","revisionViews","removeRevision","12ZIVddB","uiLanguage","addRevision","span","45ODAufu","4KPeHla","localizedPeriodName","2113338eVcKsh","find","setName","13410137lENUeJ","_requireRevisionName","1150AfQTlN","20uxxxFN","setTemplate","4636863aAPkmK","ck-revision-history-sidebar__time-period__label","createCollection","remove","ck-revision-history-sidebar__time-period__revisions","locale","1327605uJmgTD","2062992WXzwum","1163bUosHM","startDate","_revisionActions","4244433dHGJCr","ck-revision-history-sidebar__time-period","7RFFrqt"];return(No=function(){return t})()}var Ao=i(651),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Ft(),Ro.insert=Dt().bind(null,"head"),Ro.domAPI=Et(),Ro.insertStyleElement=Lt();Rt()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=109]})(t,e)}function Eo(){const t=["448518pjXVvJ","ck-reset_all","div","setTemplate","1687135yPYXpl","span","4RJDAEW","ck-revision-history-sidebar__header__label","11688327jxXFtz","ck-revision-history-sidebar__header","5453864rKSBCB","3bSeZJA","452338xIQscb","content","4293078xKFBUk","16178wtAOXJ","Revision history"];return(Eo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(417157===parseInt(e(116))/1+-parseInt(e(113))/2*(-parseInt(e(112))/3)+parseInt(e(124))/4*(parseInt(e(122))/5)+-parseInt(e(115))/6+-parseInt(e(118))/7+-parseInt(e(111))/8+parseInt(e(109))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends Nt.View{constructor(t){const e=Mo;super(t);const i=new Nt.IconView;i[e(114)]=xt.IconHistory,this[e(121)]({tag:e(120),attributes:{class:["ck",e(119),e(110)]},children:[i,{tag:e(123),attributes:{class:["ck",e(125)]},children:[dt(t,e(117))]}]})}}var Do=i(812),Co={attributes:{"data-cke":!0}};Co.setAttributes=Ft(),Co.insert=Dt().bind(null,"head"),Co.domAPI=Et(),Co.insertStyleElement=Lt();Rt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;const Fo=Lo;function jo(){const t=["getTime","delegate","ck-revision-history-sidebar","73344aPIvIz","fire","isEnabled","bindTemplate","locale","setName","7557865QNEcty","38OxyxIf","_revisionActions","addRevision","removeRevision","_getTimePeriodViewByStartDate","remove","set","unhighlight","div","ck-disabled","revisionSelected","uiLanguage","_removeRevision","createdAt","_revisions","find","ck-reset","revisionViews","11419864JdxpAO","1786093dwpiaw","2889621prODTU","flat","createCollection","ck-revision-history-sidebar__timeline","deselect","_requireRevisionName","setTemplate","84530kBwZAC","ck-rounded-corners","render","_addRevision","some","map","add","selectRevision","timePeriodViews","2253900qWnPSD","highlightRevisions","startDate","get","select","148VvNnZP","revisionSetName","highlight"];return(jo=function(){return t})()}function Lo(t,e){const i=jo();return(Lo=function(t,e){return i[t-=124]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(989266===parseInt(e(154))/1+-parseInt(e(135))/2*(parseInt(e(128))/3)+parseInt(e(176))/4*(-parseInt(e(162))/5)+-parseInt(e(171))/6+-parseInt(e(134))/7+parseInt(e(153))/8+parseInt(e(155))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends Nt.View{[Fo(170)];[Fo(149)];[Fo(136)];[Fo(160)];constructor(t,e,i,s){const n=Fo;super(t);const r=this[n(131)];this[n(170)]=this[n(157)](),this[n(170)][n(126)](n(175)).to(this),this[n(170)][n(126)](n(133)).to(this),this[n(149)]=e,this[n(136)]=i,this[n(160)]=s,this.on(n(175),(t,e)=>{const i=n;this[i(129)](i(145),e)}),this.on(n(133),(t,e)=>{const i=n;this[i(129)](i(177),e)}),this[n(141)](n(130),!1),this[n(161)]({tag:n(143),attributes:{class:["ck",n(151),n(163),n(127)]},children:[new Vo(t),{tag:n(143),attributes:{class:["ck",n(158),r.if(n(130),n(144),t=>!t)]},children:this[n(170)]}]})}[Fo(164)](){const t=Fo;super[t(164)]();for(const e of this[t(149)])this[t(165)](e);this[t(149)].on(t(168),(e,i)=>{this[t(165)](i)}),this[t(149)].on(t(140),(e,i)=>{this[t(147)](i)})}get[Fo(152)](){const t=Fo;return this[t(170)][t(167)](e=>e[t(152)][t(167)](t=>t))[t(156)]()}[Fo(169)](t){const e=Fo;for(const i of this[e(152)])t&&t.id===i.id?i[e(175)]():i[e(159)]()}[Fo(172)](t){const e=Fo;for(const i of this[e(152)])t[e(166)](({id:t})=>t===i.id)?i[e(124)]():i[e(142)]()}[Fo(165)](t){const e=Fo,i=_o(t[e(148)],this[e(132)][e(146)])[e(173)];let s=this[e(170)][e(174)](0);s&&s[e(173)][e(125)]()===i[e(125)]()||(s=new xo(this[e(132)],i,this[e(136)],this[e(160)]),this[e(170)][e(168)](s)),s[e(137)](t)}[Fo(147)](t){const e=Fo,i=_o(t[e(148)],this[e(132)][e(146)])[e(173)];this[e(139)](i)[e(138)](t)}[Fo(139)](t){const e=Fo;return this[e(170)][e(150)](i=>i[e(173)][e(125)]()===t[e(125)]())}}const Wo=Uo;function zo(){const t=["isEnabled","appendChild","revisionHistory.revisionActions","_revisionViewer","isPremiumPlugin","_revisions","1369520HhHLEZ","remove","fieldView","revisionHistory.requireRevisionName","1181232YFzugS","getLaterVisibleRevision","revisionSetName","getIndex","config","_handleDiffChange","listenTo","change:diff","isOfficialPlugin","add","action","getEarlierVisibleRevision","Restore this revision","locale","compareAgainstSelected","isSelected","focus","pluginName","requires","getRevisionsInDiff","revisionHistory.viewerSidebarContainer","RevisionsSidebar","_handleRevisionSelected","2022IfWjMW","_revisionsRepository","availableRevisionActions","map","plugins","setName","selectRevision","name","diff","data","Compare against selected","highlightRevisions","4787272VzcVuu","get","repository","init","isVisible","restoreRevisionCallback","destroy","defaultRevisionActions","381199gZNWxc","restoreRevision","nameRevision","string","_handleEditorDataReady","compare","select","revisionHistory","7765xQreWQ","359766SXskET","1326526boloWh","_createRevisionActions","editor","element","getRevision","_handleRevisionSetName","_sidebarView","length","1QGEtYw","render","ready","revisionSelected","revisionViews","bind","newRevisionId","timePeriodViews","isReady","Name this revision","assign"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=274]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(415440===-parseInt(e(325))/1*(parseInt(e(317))/2)+parseInt(e(346))/3+-parseInt(e(342))/4+parseInt(e(315))/5*(parseInt(e(287))/6)+-parseInt(e(307))/7+parseInt(e(299))/8+-parseInt(e(316))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends et.Plugin{[Wo(339)];[Wo(288)];[Wo(323)];static[Wo(306)]=[Wo(278),Wo(308),Wo(309)];static[Wo(289)]=function(){const t=Wo;return{compareAgainstSelected:{name:t(297),action:({plugins:e},i)=>{const s=t,n=e[s(300)](me),r=n[s(301)];let o=n[s(295)][s(331)],a=i.id;r[s(349)](o)>r[s(349)](a)&&([o,a]=[a,o]),n[s(312)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(300)](me);return!(n[s(301)][s(283)](n[s(295)])[s(324)]>2||i[s(279)])}},restoreRevision:{name:t(276),action:(e,{id:i})=>{const s=t;e[s(350)][s(300)](s(314))[s(304)](i)},isVisible:({plugins:e},i)=>!!e[t(300)](me)[t(301)][t(347)](i.id)},nameRevision:{name:t(334),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(300)](me),o=r[n(301)][n(275)](i);r[n(312)](i,o),s[n(280)](),s[n(344)][n(313)]()}}}}();static get[Wo(281)](){return Wo(285)}static get[Wo(354)](){return!0}static get[Wo(340)](){return!0}static get[Wo(282)](){return[me]}constructor(t){const e=Wo;super(t),this[e(339)]=t[e(291)][e(300)](me),this[e(288)]=this[e(339)][e(301)],this[e(323)]=null}[Wo(302)](){const t=Wo,e=this[t(288)][t(341)],i=this[t(318)](),s=this[t(319)][t(350)][t(300)](t(284));this[t(323)]=new Po(this[t(319)][t(277)],e,i,this[t(319)][t(350)][t(300)](t(345))),this[t(323)].on(t(328),this[t(286)][t(330)](this)),this[t(323)].on(t(348),this[t(322)][t(330)](this)),this[t(323)][t(330)](t(336)).to(this[t(339)]),this[t(323)][t(332)].on(t(355),(e,i)=>{const s=t;i[s(329)].on(s(355),(t,e)=>{const i=s;e[i(330)](i(336),i(333)).to(this[i(339)])})}),this[t(323)][t(326)](),this[t(352)](this[t(319)][t(296)],t(327),this[t(311)][t(330)](this)),this[t(352)](this[t(339)],t(353),this[t(351)][t(330)](this)),s[t(337)](this[t(323)][t(320)])}[Wo(305)](){const t=Wo;this[t(323)][t(320)][t(343)](),this[t(323)][t(305)]()}[Wo(311)](){const t=Wo,e=this[t(288)][t(321)](0);if(e){const i=this[t(288)][t(275)](e.id);this[t(339)][t(312)](e,i)}}[Wo(286)](t,e){const i=Wo,s=this[i(288)][i(321)](e.id),n=this[i(288)][i(275)](s.id);this[i(339)][i(312)](s,n)}[Wo(322)](t,e){const i=Wo;this[i(288)][i(321)](e.id)[i(292)](e[i(294)])}[Wo(351)](t,e,i){const s=Wo,n=this[s(288)][s(283)](i);n[s(324)]>2?(this[s(323)][s(298)](n),this[s(323)][s(293)](null)):(this[s(323)][s(298)]([]),this[s(323)][s(293)](n[0]))}[Wo(318)](){const t=Wo,e=this[t(319)],i=Ho[t(289)],s=e[t(350)][t(300)](t(338))||Ho[t(306)];if(s[t(324)])return s[t(290)](s=>{const n=t,r=n(310)==typeof s?Object[n(335)]({},i[s]):s;return r[n(274)]=r[n(274)][n(330)](this,e),r[n(303)]&&(r[n(303)]=r[n(303)][n(330)](this,e)),r})}}function Zo(t,e){const i=Bo();return(Zo=function(t,e){return i[t-=389]})(t,e)}const qo=Zo;function Bo(){const t=["viewportTopOffset","_elementReplacer","isActive","518638PYEjGM","15vGXbAB","2216071qcmeoE","13013160XtebWd","5gacZvj","config","_view","2gWbReB","editor","110upzQrg","bind","stickyPanel","restore","element","view","fillFromConfig","name","editing","addToolbar","destroy","attachDomRoot","focusTracker","rootName","limiterElement","init","setEditableElement","12385242NunJYQ","get","viewportOffset","getRoot","6108466XBmacy","editable","fire","_toolbarConfig","1159824joiTRn","toolbar","replace","componentFactory","ready","511188abDJHx","detachDomRoot","render","document","isFocused","_initToolbar"];return(Bo=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(813406===-parseInt(e(433))/1*(-parseInt(e(426))/2)+parseInt(e(427))/3*(-parseInt(e(412))/4)+-parseInt(e(430))/5*(-parseInt(e(417))/6)+parseInt(e(408))/7+parseInt(e(429))/8+parseInt(e(404))/9+parseInt(e(435))/10*(-parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class $o extends Nt.EditorUI{[qo(432)];[qo(411)];[qo(424)];get[qo(392)](){return this[qo(432)]}constructor(e,i){const s=qo;super(e),this[s(432)]=i,this[s(411)]=(0,Nt.normalizeToolbarConfig)(e[s(431)][s(405)](s(413))),this[s(424)]=new t.ElementReplacer}get[qo(391)](){const t=qo;return this[t(392)][t(391)]}[qo(402)](t){const e=qo,i=this[e(434)],s=this[e(392)],n=i[e(395)][e(392)],r=s[e(409)],o=n[e(420)][e(407)]();r[e(394)]=o[e(400)],s[e(419)]();const a=r[e(391)];this[e(403)](r[e(394)],a),s[e(409)][e(436)](e(421)).to(this[e(399)]),n[e(398)](a),this[e(424)][e(414)](t,this[e(391)]),this[e(422)](),this[e(410)](e(416))}[qo(397)](){const t=qo;super[t(397)]();const e=this[t(392)],i=this[t(434)][t(395)][t(392)];this[t(424)][t(390)](),i[t(418)](e[t(409)][t(394)]),e[t(397)]()}[qo(422)](){const t=qo,e=this[t(392)];e[t(389)][t(436)](t(425)).to(this[t(399)],t(421)),e[t(389)][t(401)]=e[t(391)],e[t(389)][t(436)](t(423)).to(this,t(406),({top:t})=>t),e[t(413)][t(393)](this[t(411)],this[t(415)]),this[t(396)](e[t(413)])}}var Yo=i(76),Jo={attributes:{"data-cke":!0}};Jo.setAttributes=Ft(),Jo.insert=Dt().bind(null,"head"),Jo.domAPI=Et(),Jo.insertStyleElement=Lt();Rt()(Yo.A,Jo);Yo.A&&Yo.A.locals&&Yo.A.locals;var Go=Ko;function Ko(t,e){var i=Xo();return(Ko=function(t,e){return i[t-=404]})(t,e)}function Xo(){var t=["15WsFqYM","editable","22614hlnbRu","shouldToolbarGroupWhenFull","_editable","292636bsZnEX","19SldJZs","add","840IhQaIC","content","stickyPanel","200MrNOxb","toolbar","15458179HpqBAa","28266qSXYRy","top","52659lxEEiC","12ETMvAp","render","97425hpjvYq","4266410cbgaUR","main"];return(Xo=function(){return t})()}!function(t){for(var e=Ko,i=t();;)try{if(294090===-parseInt(e(422))/1*(-parseInt(e(418))/2)+parseInt(e(416))/3*(parseInt(e(421))/4)+-parseInt(e(413))/5+-parseInt(e(408))/6*(-parseInt(e(424))/7)+parseInt(e(405))/8*(parseInt(e(410))/9)+parseInt(e(414))/10+-parseInt(e(407))/11*(parseInt(e(411))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Qo extends Nt.BoxedEditorUIView{[Go(420)];[Go(404)];[Go(406)];get[Go(417)](){return this[Go(420)]}constructor(t,e,i={}){var s=Go;super(t),this[s(404)]=new Nt.StickyPanelView(t),this[s(406)]=new Nt.ToolbarView(t,{shouldGroupWhenFull:i[s(419)]}),this[s(420)]=new Nt.InlineEditableUIView(t,e)}[Go(412)](){var t=Go;super[t(412)](),this[t(404)][t(425)][t(423)](this[t(406)]),this[t(409)][t(423)](this[t(404)]),this[t(415)][t(423)](this[t(417)])}}const ta=ea;function ea(t,e){const i=sa();return(ea=function(t,e){return i[t-=321]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(671252===-parseInt(e(337))/1*(-parseInt(e(326))/2)+-parseInt(e(343))/3*(-parseInt(e(325))/4)+-parseInt(e(324))/5*(parseInt(e(347))/6)+-parseInt(e(330))/7+parseInt(e(323))/8+parseInt(e(348))/9+parseInt(e(331))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);class ia extends((0,et.ElementApiMixin)(et.Editor)){[ta(344)];get ui(){return this[ta(344)]}constructor(t,e){const i=ta;super(e),this[i(336)]=t,this[i(321)][i(328)][i(335)]();const s=new Qo(this[i(346)],this[i(332)][i(340)],{shouldToolbarGroupWhenFull:!0});this[i(344)]=new $o(this,s)}[ta(334)](){const t=ta;return this[t(333)](),this.ui[t(334)](),super[t(334)]()}static async[ta(338)](t,e){const i=ta,s=new this(t,e);return await s[i(342)](),await s.ui[i(339)](t),await s[i(322)][i(339)](s[i(327)][i(341)](i(349))||""),s[i(345)](i(329)),s}}function sa(){const t=["createRoot","sourceElement","20087RkeqBc","create","init","view","get","initPlugins","3Nigrlh","_ui","fire","locale","3381018fKiwLW","5287347swaiTh","initialData","model","data","5512608NDaQMA","5kIFYbv","3297176qhdzGu","4xfIeUQ","config","document","ready","8904028aYlgXT","3657320uTyWLe","editing","updateSourceElement","destroy"];return(sa=function(){return t})()}const na=oa;function ra(){const t=["none","AITranslate","PaginationLookup","enableReadOnlyMode","isAttached","define","hide","4nDVYGv","AIActions","users","toLocaleTimeString","isReady","enqueueChange","roots","_enhanceCloseRevisionViewerCallback","9jfDLVi",".ck-ai-chat__prompt-input .ck-textarea","markers","document","addRevisionData","toJSON","style","revisionHistory.viewerEditorElement","restrictedEditingException","_restoreRevision","block","adapter","pluginName","join","update","exitToEditing","fromCharCode","2644bxVWxX","RestrictedEditingMode","isAnonymous","long","ck-tab-panel_disabled","showRevisionViewerCallback","requires","createRangeIn","AITabs","256597ihqgnP","isOpen","DocumentOutline","view","setAttribute","changesNavigation","revisionHistory.editorContainer",".ck-ai-chat-history .ck-input","RevisionHistoryUtils","revisionHistory.restoreRevisionCallback","uiLanguage","refreshPositioning","detachRoot","DocumentOutlineUI","getRevisionDocumentData","catch","AIChatShortcuts","repository","isPremiumPlugin","Restored","$graveyard","revisionHistory","521968VkYRey","_closeRevisionViewer","removeSelectionAttribute","then","destroy","AIReviewMode","getRevision","RevisionsRepository","RevisionViewer","editor","Autosave","Dialog","lazyRoots","data","removeMarker","AIChat","loadRevisionData","translations","addUser","AIChatHistory","AIQuickActions","Users","plugins","includes","closeRevisionViewerCallback","set","_getRevisionViewerEditorConfig","_recalculatePageBreaks","insert","RevisionHistoryUI"," ck-tab-panel_disabled","RevisionHistory","2542040rYdYHs","init","890323SFoIfj","toolbar","_viewerEditor","addRoot","setSelection","RevisionTracker","_update","end","name","has","_showRevisionViewer","getMarkersGroup","config","_cleanUp","selection","error","result","_enhanceShowRevisionViewerCallback","revision-history-missing-configuration","isReadOnly","getUser","getRoot","parse","disableReadOnlyMode","1431BhYgrz","getAttributeKeys","getRevisionRootsAttributes","querySelector","panelViews","fromVersion","toVersion","element","revisionHistory.requireRevisionName","class","get","3451940znjZrV","replace","model","1139652FflJCO","AIBalloon","RevisionViewerIntegration","remove","isOfficialPlugin","Annotations","keys","display","create","refreshVisibility","tabindex","createdAt","revisionHistory.viewerContainer","indexOf","numeric","map","creator","isEnabled","saveRevision","rootName","isRevisionViewerOpen","restoreRevision","change","getRevisions","save","bind","commands","push","from","locale","revisionHistory.closeRevisionViewerCallback","toLocaleDateString","revision-history-viewer-opened","removeAttribute","revisionHistory.showRevisionViewerCallback"];return(ra=function(){return t})()}function oa(t,e){const i=ra();return(oa=function(t,e){return i[t-=490]})(t,e)}!function(t){const e=oa,i=t();for(;;)try{if(358618===parseInt(e(572))/1*(parseInt(e(538))/2)+-parseInt(e(652))/3*(parseInt(e(563))/4)+parseInt(e(626))/5+parseInt(e(496))/6+-parseInt(e(628))/7+parseInt(e(594))/8*(-parseInt(e(546))/9)+-parseInt(e(493))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra);const aa=[na(623),na(564),na(609),na(599),na(497),na(614),na(539),na(588),na(532)];class ca extends et.Plugin{[na(644)];static get[na(558)](){return na(498)}static get[na(500)](){return!0}static get[na(590)](){return!0}constructor(t){const e=na;function i(t){const e=oa;return t[e(511)](t=>String[e(562)](t))[e(559)]("")}super(t),this[e(644)]=e(635),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 ua extends et.Plugin{[na(630)];static get[na(558)](){return na(625)}static get[na(500)](){return!0}static get[na(590)](){return!0}static get[na(569)](){return[bt,Jt]}constructor(e){const i=na;if(super(e),!this[i(603)][i(640)][i(492)](i(593)))throw new t.CKEditorError(i(646),this);this[i(630)]=null,this[i(619)](i(516),!1),this[i(603)][i(640)][i(536)](i(530),t=>this[i(638)]({...t,translations:this[i(603)][i(525)][i(611)]})),this[i(603)][i(640)][i(536)](i(526),t=>this[i(595)](t)),this[i(603)][i(640)][i(536)](i(581),t=>this[i(555)](t)),this[i(603)][i(640)][i(536)](i(490),!1),this[i(645)](),this[i(545)]()}set[na(557)](t){const e=na;this[e(603)][e(616)][e(492)](e(633))[e(557)]=t}get[na(557)](){const t=na;return this[t(603)][t(616)][t(492)](t(633))[t(557)]}[na(550)](t){const e=na;return this[e(603)][e(616)][e(492)](e(633))[e(550)](t)}[na(600)](t){const e=na;return this[e(603)][e(616)][e(492)](e(601))[e(600)](t)}[na(519)](t){const e=na;return this[e(603)][e(616)][e(492)](e(601))[e(519)](t||{toJSON:!1})}[na(620)](){const e=na,i=this[e(603)],s=(0,it.sanitizeEditorConfig)(i,aa),n=i[e(616)][e(492)](e(633)),r=i[e(616)][e(492)](e(615))[e(540)];return s[e(629)]=[e(561),e(517),e(577)],delete s[e(606)],s[e(616)][e(523)](ca,me,Ve,class extends et.Plugin{static get[e(569)](){return[me,e(615)]}[e(627)](){const s=e,o=this[s(603)][s(616)][s(492)](s(615));for(const t of r)t[s(565)]||o[s(648)](t.id)||o[s(612)](t);const a=n[s(589)][s(519)]();let c=null;const u=this[s(603)][s(616)][s(492)](s(602));u[s(557)]=n[s(557)],u[s(521)](s(513)).to(n),this[s(603)][s(522)][s(492)](s(517))[s(521)](s(513)).to(i,s(647),t=>!t);for(const e of a){const i=null===e[s(512)];if(i&&e[s(658)]===e[s(657)])continue;const r=e[s(551)]();u[s(550)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(634)](r,o);else if(!o){const e=a[u(551)]();e.id=(0,t.uid)(),n[u(514)](e,a[u(658)])[u(597)](t=>{c=t})}}else e[u(634)](r,o)})}}},Ho),s}[na(645)](){const t=na,e=this[t(603)][t(640)][t(492)](t(593))[t(568)];this[t(603)][t(640)][t(619)](t(530),async()=>{const i=t;this[i(603)][i(534)](i(528));const s=this[i(603)][i(616)][i(492)](i(633));if(this[i(603)][i(616)][i(637)](i(604))){const t=this[i(603)][i(616)][i(492)](i(604));await t[i(520)]()}else await s[i(560)]();if(this[i(603)][i(616)][i(637)](i(533))&&this[i(603)][i(616)][i(492)](i(533))[i(621)](),this[i(603)][i(616)][i(637)](i(605))){const t=this[i(603)][i(616)][i(492)](i(605));t[i(573)]&&t[i(537)]()}if(this[i(603)][i(616)][i(637)](i(571))){const t=this[i(603)][i(616)][i(492)](i(571))[i(575)][i(656)];for(const e of t)e[i(491)]=e[i(491)]?e[i(491)]+i(624):i(567);if(this[i(603)][i(616)][i(637)](i(609))){const t=document[i(655)](i(547));t&&t[i(576)](i(506),"-1")}if(this[i(603)][i(616)][i(637)](i(613))){const t=document[i(655)](i(579));t&&t[i(576)](i(506),"-1")}}const n=this[i(620)]();return e(n)[i(597)](t=>{const e=i;return this[e(630)]=t,this[e(603)][e(616)][e(637)](e(501))&&this[e(603)][e(616)][e(492)](e(501))[e(505)](),this[e(603)][e(616)][e(637)](e(574))&&(this[e(603)][e(616)][e(492)](e(585))[e(575)][e(659)][e(552)][e(503)]=e(531)),t})[i(587)](t=>(console[i(643)](t),this[i(603)][i(651)](i(528)),null))})}[na(545)](){const t=na,e=this[t(603)][t(640)][t(492)](t(593))[t(618)];this[t(603)][t(640)][t(619)](t(526),()=>{const i=t;if(this[i(603)][i(616)][i(637)](i(533))&&this[i(603)][i(616)][i(492)](i(533))[i(621)](),this[i(603)][i(616)][i(637)](i(574))&&(this[i(603)][i(616)][i(492)](i(585))[i(575)][i(659)][i(552)][i(503)]=""),this[i(603)][i(616)][i(637)](i(571))){const t=this[i(603)][i(616)][i(492)](i(571))[i(575)][i(656)];for(const e of t)e[i(491)]=i(567)===e[i(491)]?"":e[i(491)][i(494)](i(624),"");if(this[i(603)][i(616)][i(637)](i(609))){const t=document[i(655)](i(547));t&&t[i(529)](i(506))}if(this[i(603)][i(616)][i(637)](i(613))){const t=document[i(655)](i(579));t&&t[i(529)](i(506))}}return this[i(630)][i(616)][i(492)](i(602))[i(641)](),e(this[i(630)])[i(597)](()=>{const t=i;if(this[t(603)][t(651)](t(528)),this[t(630)]=null,this[t(603)][t(616)][t(637)](t(501))){const e=this[t(603)][t(616)][t(492)](t(501));e[t(505)](),e[t(583)]()}})})}[na(638)](t){const e=na,i=this[e(603)][e(640)][e(492)](e(578)),s=this[e(603)][e(640)][e(492)](e(508)),n=this[e(603)][e(640)][e(492)](e(553));return ia[e(504)](n,t)[e(597)](t=>(s[e(552)][e(503)]=e(556),i[e(552)][e(503)]=e(531),this[e(516)]=!0,t))}[na(595)](t){const e=na,i=this[e(603)][e(640)][e(492)](e(578));return this[e(603)][e(640)][e(492)](e(508))[e(552)][e(503)]=e(531),i[e(552)][e(503)]="",this[e(516)]=!1,t[e(598)]()}async[na(555)](t){const e=na,i=this[e(603)],s=this[e(630)][e(616)][e(492)](e(602)),n=i[e(616)][e(492)](e(633)),r=i[e(616)][e(492)](e(580)),o=s[e(589)][e(600)](t);let a,c,u;try{await r[e(610)](o,this[e(557)]),a=r[e(586)](o),c=r[e(654)](o)}catch(t){return void console[e(643)](t)}i[e(495)][e(518)](t=>{const s=e;for(const e of Array[s(524)](i[s(495)][s(548)][s(639)](s(554))))t[s(608)](e)}),s[e(542)]=!1,i[e(495)][e(543)](t=>{const s=e;t[s(632)](null),t[s(596)](i[s(495)][s(549)][s(642)][s(653)]());const n=Object[s(502)](a);for(const e of i[s(495)][s(549)][s(544)])s(592)!=e[s(515)]&&e[s(535)]()&&!n[s(617)](e[s(515)])&&t[s(584)](e);for(const e of n){let n=i[s(495)][s(549)][s(649)](e);n&&n[s(535)]()||(n=t[s(631)](e));const r=c[e],o=Object[s(502)](r),u=a[e];for(const e of n[s(653)]())o[s(617)](e)||t[s(529)](e,n);for(const i of o)t[s(576)](i,c[e][i],n);t[s(499)](t[s(570)](n)),t[s(622)](i[s(607)][s(650)](u,n),n,0)}});const l=dt(i[e(525)],e(591));return u=o[e(636)]?-1==o[e(636)][e(509)](l)?l+": "+o[e(636)]:o[e(636)]:l+": "+o[e(507)][e(527)](i[e(525)][e(582)],{month:e(566),day:e(510)})+", "+o[e(507)][e(541)](i[e(525)][e(582)],{hour:e(510),minute:e(510)}),await n[e(514)]({name:u}),s[e(542)]=!0,i[e(640)][e(492)](e(593))[e(618)]()}}function la(){var t=["1290sXbmUe","262248gWWeXa","30jfcQOk","902kKTlaB","1428198SxtavC","3obUClz","99CzrLTU","35GEviwL","3118466CAkEnl","452028wAOgAR","1111427KbDDBp","5390764XIMGUV"];return(la=function(){return t})()}function ha(t,e){var i=la();return(ha=function(t,e){return i[t-=221]})(t,e)}!function(t){for(var e=ha,i=t();;)try{if(923261===-parseInt(e(232))/1+parseInt(e(230))/2+parseInt(e(227))/3*(-parseInt(e(221))/4)+parseInt(e(224))/5*(-parseInt(e(226))/6)+parseInt(e(229))/7*(parseInt(e(223))/8)+-parseInt(e(228))/9*(parseInt(e(222))/10)+-parseInt(e(225))/11*(-parseInt(e(231))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(la)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay: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{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>ve,Revision:()=>tt,RevisionHistory:()=>ua,RevisionHistoryUI:()=>Gt,RevisionHistoryUtils:()=>lt,RevisionTracker:()=>bt,RevisionViewer:()=>fe,RevisionViewerEditor:()=>sa,RevisionViewerIntegration:()=>aa,RevisionViewerLoadingOverlay:()=>Ae,RevisionViewerUI:()=>De,RevisionsRepository:()=>at,RevisionsSidebar:()=>Zo,ShowChangeCommand:()=>ge});var t=i(584);function e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const n="[object RegExp]",r="[object String]",o="[object Number]",a="[object Boolean]",c="[object Arguments]",u="[object Symbol]",l="[object Date]",h="[object Map]",d="[object Set]",f="[object Array]",m="[object ArrayBuffer]",p="[object Object]",v="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",k="[object Uint16Array]",b="[object Uint32Array]",w="[object Int8Array]",_="[object Int16Array]",I="[object Int32Array]",S="[object Float32Array]",O="[object Float64Array]";function T(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}const N="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof i.g&&i.g||function(){return this}();function x(t){return void 0!==N.Buffer&&N.Buffer.isBuffer(t)}function A(t,i,s,T=new Map,N=void 0){const M=N?.(t,i,s,T);if(void 0!==M)return M;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(T.has(t))return T.get(t);if(Array.isArray(t)){const e=new Array(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,N);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;T.set(t,e);for(const[i,n]of t)e.set(i,A(n,i,s,T,N));return e}if(t instanceof Set){const e=new Set;T.set(t,e);for(const i of t)e.add(A(i,void 0,s,T,N));return e}if(x(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,N);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 T.set(t,e),R(e,t,s,T,N),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return T.set(t,e),R(e,t,s,T,N),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof Error){const e=structuredClone(t);return T.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,R(e,t,s,T,N),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof Number){const e=new Number(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if(t instanceof String){const e=new String(t.valueOf());return T.set(t,e),R(e,t,s,T,N),e}if("object"==typeof t&&function(t){switch(e(t)){case c:case f:case m:case v:case a:case l:case S:case O:case w:case _:case I:case h:case o:case p:case n:case d:case r:case u:case g:case y:case k:case b:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return T.set(t,e),R(e,t,s,T,N),e}return t}function R(t,e,i=t,s,n){const r=[...Object.keys(e),...T(e)];for(let o=0;o<r.length;o++){const a=r[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=A(e[a],a,i,s,n))}}function M(t,i){return function(t,e){return A(t,void 0,t,new Map,e)}(t,(s,n,u,l)=>{const h=i?.(s,n,u,l);if(void 0!==h)return h;if("object"==typeof t){if("[object Object]"===e(t)&&"function"!=typeof t.constructor){const e={};return l.set(t,e),R(e,t,u,l),e}switch(Object.prototype.toString.call(t)){case o:case r:case a:{const e=new t.constructor(t?.valueOf());return R(e,t),e}case c:{const e={};return R(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}})}function V(t){return M(t)}function D(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function E(t){return"symbol"==typeof t||t instanceof Symbol}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(C).join(",");if(E(t))return t.toString();const e=t+"";return"0"===e&&Object.is(Number(t),-0)?"-0":e}function F(t){if(Array.isArray(t))return t.map(D);if("symbol"==typeof t)return[t];var e;const i=[],s=(t=null==(e=t)?"":C(e)).length;if(0===s)return i;let n=0,r="",o="",a=!1,c=!1;const u=/^-?\d+(?:\.\d+)?$/;for(46===t.charCodeAt(0)&&i.push("");n<s;){const e=t[n];if(o)"\\"===e&&n+1<s?(n++,r+=t[n]):e===o?o="":r+=e;else if(a)if('"'===e||"'"===e)o=e,c=!0;else if("]"===e){if(a=!1,c||!r.includes(".")||u.test(r))i.push(r);else{const t=r.split(".");for(let e=0;e<t.length;e++)""!==t[e]&&i.push(t[e])}r=""}else r+=e;else if("["===e)a=!0,c=!1,r&&(i.push(r),r="");else if("."===e){r&&(i.push(r),r="");const e=t[n+1];void 0!==e&&"."!==e||i.push("")}else r+=e;n++}return r&&i.push(r),i}function j(t){return"__proto__"===t}const L=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function P(t){switch(typeof t){case"number":case"symbol":default:return!1;case"string":return""!==t&&!t.startsWith(".")&&!t.endsWith(".")&&L.test(t)}}function z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(j(e))return i;const s=t[e];return void 0===s?P(e)&&!Object.hasOwn(t,e)?z(t,F(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=D(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(j(e[t]))return i;s=s[e[t]]}return void 0===s?i:s}(t,e,i);if(j(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}const U=/^(?:0|[1-9]\d*)$/;function Z(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 U.test(t)}}const H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/;function $(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const B=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&$(s,i)&&(void 0!==i||e in t)||(t[e]=i)};function Y(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function J(t,e,i,s){if(null==t&&!W(t))return t;let n;var r,o;r=e,o=t,n=!Array.isArray(r)&&("number"==typeof r||"boolean"==typeof r||null==r||E(r)||"string"==typeof r&&(q.test(r)||!H.test(r))||null!=o&&Object.hasOwn(o,r))?[e]:Array.isArray(e)?e:F(e);const a=i(z(t,n));let c=t;for(let e=0;e<n.length&&null!=c;e++){const i=D(n[e]);if(Y(i))return t;let r;if(e===n.length-1)r=a;else{const o=c[i],a=s?.(o,i,t);r=void 0!==a?a:W(o)?o:Z(n[e+1])?[]:{}}B(c,i,r),c=c[i]}return t}function G(t,e){const i=1===e.length?t:z(t,e.slice(0,-1)),s=e[e.length-1];if(void 0===i?.[s])return!0;if(j(s))return!1;try{return delete i[s],!0}catch{return!1}}const K=Q;function Q(t,e){const i=X();return(Q=function(t,e){return i[t-=484]})(t,e)}function X(){const t=["14069znAHmL","4ilAzUY","1554972vGSBCy","16696GpJJGs","toJSON","12751606zOCOIY","fire","authors","model","778514QeWbve","851394xLYnNf","createdAt","attributes","setName","6PdggNS","set","fromVersion","14330gjkwoV","authorsIds","_update","map","333gBzwzd","removeAttribute","toVersion","creator","name","creatorId","setAttribute","diffData","7343500WCCHOa"];return(X=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(918317===parseInt(e(507))/1+parseInt(e(512))/2*(parseInt(e(500))/3)+-parseInt(e(499))/4*(parseInt(e(497))/5)+parseInt(e(508))/6+parseInt(e(503))/7+-parseInt(e(501))/8*(parseInt(e(489))/9)+parseInt(e(485))/10*(-parseInt(e(498))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class tt extends((0,t.ObservableMixin)()){id;[K(492)];[K(505)];[K(496)];[K(491)];[K(484)];[K(506)];constructor(e){const i=K;super(),this.id=e.id||(0,t.uid)(),this[i(492)]=e[i(492)]||null,this[i(505)]=e[i(505)]||[],this[i(496)]=e[i(496)]||null,this[i(491)]=e[i(491)]||0,this[i(484)]=e[i(484)]||0,this[i(513)](i(493),e[i(493)]||""),this[i(513)](i(509),e[i(509)]||new Date),this[i(513)](i(510),e[i(510)]||{})}[K(511)](t){this[K(487)]({name:t})}[K(495)](t,e){const i=K,s=V(this[i(510)]);var n;n=e,J(s,t,()=>n,()=>{}),this[i(487)]({attributes:s})}[K(490)](t){const e=K,i=V(this[e(510)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return G(t,e);if("number"==typeof e?e=D(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),j(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]&&P(e)&&!Object.hasOwn(t,e))return G(t,F(e));if(j(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(487)]({attributes:i})}[K(487)](t,e=!1){const i=K;let s=!1;const n={id:this.id},r=[i(493),i(509),i(496),i(505),i(510),i(491),i(484),i(494)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(505)]&&(n[i(486)]=n[i(505)][i(488)](t=>t.id),delete n[i(505)]),this[i(504)](i(487),n,e))}[K(502)](){const t=K;return{id:this.id,name:this[t(493)],creatorId:this[t(492)]?this[t(492)].id:null,authorsIds:this[t(505)][t(488)](t=>t.id),diffData:this[t(496)],createdAt:this[t(509)],attributes:this[t(510)],fromVersion:this[t(484)],toVersion:this[t(491)]}}}var et=i(782),it=i(211),st=i(783);const nt=rt;function rt(t,e){const i=ot();return(rt=function(t,e){return i[t-=448]})(t,e)}function ot(){const t=["afterInit","getRevisionsIterator","editor","isPremiumPlugin","getLaterVisibleRevision","data","743439KcSSHs","createdAt","requires","1717149DXPfFU","fromVersion","9049608pfLVdT","get","attributes","9fQhFRI","authorsIds","1564256LURcaf","getIndex","earlier","getRevision","createRevision","diffData","pluginName","RevisionsRepository","getEarlierVisibleRevision","push","addRevision","110815SfUAps","reverse","join","fromCharCode","isNaN","10KYRgeu","length","oldRevisionId","3NxynRr","438gGaZCx","toJSON","add","plugins","map","4283876DxpuIQ","isOfficialPlugin","_revisions","Users","later","name","creatorId","getRevisionsInDiff","getRevisions","getUser","href","16745135wiLcqx","4NQMYjZ","newRevisionId","from","toVersion"];return(ot=function(){return t})()}!function(t){const e=rt,i=t();for(;;)try{if(895632===parseInt(e(500))/1*(-parseInt(e(490))/2)+parseInt(e(472))/3*(-parseInt(e(478))/4)+-parseInt(e(464))/5*(-parseInt(e(473))/6)+-parseInt(e(503))/7+-parseInt(e(453))/8*(parseInt(e(451))/9)+-parseInt(e(469))/10*(-parseInt(e(489))/11)+parseInt(e(448))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends et.Plugin{[nt(480)];static get[nt(502)](){return[it.Users]}static get[nt(459)](){return nt(460)}static get[nt(479)](){return!0}static get[nt(497)](){return!0}get[nt(470)](){const t=nt;return this[t(480)][t(470)]}constructor(e){const i=nt;super(e),this[i(480)]=new t.Collection}[nt(494)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=rt;return t[e(477)](t=>String[e(467)](t))[e(466)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1789689600;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=rt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(488)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=rt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(468)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[nt(457)](t){const e=nt,i=this[e(496)][e(476)][e(449)](e(481));return new tt({id:t.id,name:t[e(483)],creator:t[e(484)]?i[e(487)](t[e(484)]):null,diffData:t[e(458)]||t[e(499)],authors:t[e(452)][e(477)](t=>i[e(487)](t)),createdAt:new Date(t[e(501)]),attributes:t[e(450)],fromVersion:t[e(504)],toVersion:t[e(493)]})}[nt(463)](t,e=0){const i=nt;this[i(480)][i(475)](t,e)}[nt(456)](t){const e=nt;return this[e(480)][e(449)](t)}[nt(486)](t={toJSON:!1}){const e=nt,i=Array[e(492)](this[e(480)]);return i[e(465)](),t[e(474)]?i[e(477)](t=>t[e(474)]()):i}[nt(454)](t){const e=nt;return this[e(480)][e(454)](t)}[nt(461)](t){const e=nt,[,i]=this[e(495)](t,{direction:e(455)});return i}[nt(498)](t){const e=nt,[,i]=this[e(495)](t,{direction:e(482)});return i}[nt(485)](t){const e=nt,i=[];for(const s of this[e(495)](t[e(491)]))if(i[e(462)](s),s.id===t[e(471)])break;return i}*[nt(495)](t,{direction:e=nt(455),filter:i=()=>!0}={}){const s=nt,n=s(455)===e?1:-1;let r=this[s(480)][s(449)](t),o=this[s(454)](r);for(yield r;r;){if(o+=n,r=this[s(456)](o),!r)return;i(r)&&(yield r)}}}const ct=ut;function ut(t,e){const i=ht();return(ut=function(t,e){return i[t-=192]})(t,e)}!function(t){const e=ut,i=t();for(;;)try{if(389962===-parseInt(e(198))/1+parseInt(e(265))/2+-parseInt(e(248))/3+-parseInt(e(223))/4+-parseInt(e(209))/5+parseInt(e(210))/6*(parseInt(e(263))/7)+-parseInt(e(257))/8*(-parseInt(e(232))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ht);class lt extends et.Plugin{static get[ct(250)](){return ct(238)}static get[ct(245)](){return!0}static get[ct(230)](){return!0}[ct(261)]=new Map([[st.ViewContainerElement,"c"],[st.ViewAttributeElement,"a"],[st.ViewEmptyElement,"e"],[st.ViewRawElement,"r"],[st.ViewUIElement,"u"]]);[ct(252)]=new Map([["c",st.ViewContainerElement],["a",st.ViewAttributeElement],["e",st.ViewEmptyElement],["r",st.ViewRawElement],["u",st.ViewUIElement]]);async[ct(221)](t,e){const i=ct;if(t[i(222)]||!e)return;const s=this[i(242)][i(215)][i(244)](i(220)),n=await e[i(228)]({channelId:s,revisionId:t.id});t[i(222)]=n[i(222)]}[ct(255)](t){const e=ct,i={};for(const s in t[e(222)]){if(t[e(222)][s][e(200)]&&!t[e(222)][s][e(200)][e(224)])continue;const n=this[e(253)](JSON[e(204)](t[e(222)][s][e(197)])),r=this[e(242)][e(260)][e(239)][e(206)],o=new st.ViewDocumentFragment(r,n[e(259)](t=>this[e(216)](t,!1)));this[e(242)][e(218)][e(214)][e(256)](e(236)),i[s]=this[e(242)][e(218)][e(214)][e(194)](o),this[e(242)][e(218)][e(214)][e(256)](e(231))}return i}[ct(193)](t){const e=ct,i={};for(const s in t[e(222)])t[e(222)][s][e(200)]&&!t[e(222)][s][e(200)][e(224)]||(i[s]=t[e(222)][s][e(240)]||{});return i}[ct(229)](t){const e=ct;return this[e(261)][e(244)](t[e(249)])}[ct(216)](t,e){const i=ct,s=this[i(242)][i(260)][i(239)][i(206)];if(i(235)==typeof t)return new st.ViewText(s,t);{let n,r;r="u"==t[i(213)]||"r"==t[i(213)]?[]:t[i(196)][i(259)](t=>this[i(216)](t,e));const o=this[i(252)][i(244)](t[i(213)])||st.ViewElement,a=this[i(242)][i(218)][i(199)][i(195)];if(n=new o(s,t[i(233)],t[i(246)],r),"u"==t[i(213)]&&t[i(196)][0]){const r=t[i(196)][0];if(n[i(247)]=function(t){const e=i,s=t[e(258)](e(226));return s[e(241)]=r,s[e(211)][0]},e){const t=new st.ViewDocumentFragment(s);t[i(243)](n);const e=Array[i(225)](a[i(262)](t,{bind:!1})),r=a[i(234)][i(258)](i(226));r[i(208)](...e),n=Array[i(225)](a[i(251)](r))[0]}}else if("r"==t[i(213)]&&t[i(196)][0]){const r=t[i(196)][0];if(n[i(247)]=function(t){t[i(241)]=r},e){const t=new st.ViewDocumentFragment(s);t[i(243)](n);const e=Array[i(225)](a[i(262)](t,{bind:!1})),r=a[i(234)][i(258)](i(226));r[i(208)](...e);const o=Array[i(225)](a[i(251)](r));o[i(205)]>1?n[i(243)](o):n=o[0]}}if(t[i(207)])for(const[e,s]of t[i(207)])n[i(192)](e,s);const c=void 0===t[i(254)]?null:t[i(254)];return null!==c&&(n[i(203)]=()=>c),n}}[ct(212)](t){const e=ct,i=JSON[e(204)](t),s=this[e(242)][e(260)][e(239)][e(206)],n=new st.ViewDocumentFragment(s,i[e(259)](t=>this[e(216)](t,!0)));return this[e(242)][e(218)][e(217)](n)}[ct(253)](t){const e=ct;return(t=t[e(202)](t=>!t[e(233)]||e(264)!==t[e(233)]&&e(201)!==t[e(233)]))[e(227)](t=>{const i=e;i(235)!=typeof t&&(t[i(196)]=this[i(253)](t[i(196)]),t[i(246)]=t[i(246)][i(202)](t=>!t[0][i(219)](i(237))))}),t}}function ht(){const t=["483208WACTJc","isAttached","from","div","forEach","getRevision","_getTypeCharForViewElement","isPremiumPlugin","default","9CVOrAk","name","domDocument","string","marked","data-revision-","RevisionHistoryUtils","view","attributesAfter","innerHTML","editor","_appendChild","get","isOfficialPlugin","attributes","render","1623435vZsOly","constructor","pluginName","domChildrenToView","_typeCharToViewClass","_removeRevisionMarkers","fillerOffset","getRevisionDocumentData","useFillerType","2108152VKIGPM","createElement","map","editing","_viewClassToTypeChar","viewChildrenToDom","313439IYOGYg","revision-start","1348600ENkiTm","_setCustomProperty","getRevisionRootsAttributes","toData","domConverter","children","insertions","149872DEXxod","htmlProcessor","attachChange","revision-end","filter","getFillerOffset","parse","length","document","customProperties","append","247385TSoSFT","42vezRZt","childNodes","_makeModelFromViewString","type","processor","config","_getViewFromDiffObj","toModel","data","startsWith","collaboration.channelId","loadRevisionData","diffData"];return(ht=function(){return t})()}function dt(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ft(){}function mt(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 pt(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return vt(t,e,r,o)}return vt(t,e,r,o)}function vt(t,i,s,c){if(Object.is(t,i))return!0;let N=e(t),A=e(i);if("[object Arguments]"===N&&(N=p),"[object Arguments]"===A&&(A=p),N!==A)return!1;switch(N){case r:return t.toString()===i.toString();case o:return $(t.valueOf(),i.valueOf());case a:case l:case u:return Object.is(t.valueOf(),i.valueOf());case n:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case h:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!pt(n,i.get(e),e,t,i,s,c))return!1;return!0;case d:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>pt(o,e,void 0,t,i,s,c));if(-1===a)return!1;n.splice(a,1)}return!0}case f:case g:case y:case k:case b:case"[object BigUint64Array]":case w:case _:case I:case"[object BigInt64Array]":case S:case O:if(x(t)!==x(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!pt(t[e],i[e],e,t,i,s,c))return!1;return!0;case m:return t.byteLength===i.byteLength&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case v:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case"[object Error]":return t.name===i.name&&t.message===i.message;case p:{if(!(vt(t.constructor,i.constructor,s,c)||mt(t)&&mt(i)))return!1;const e=[...Object.keys(t),...T(t)],n=[...Object.keys(i),...T(i)];if(e.length!==n.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!pt(o,i[r],r,t,i,s,c))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function gt(t,e){return function(t,e,i){return pt(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ft)}function yt(){const t=["16fyKeLZ","_fixPosition","set","trim","toVersion","oldRange","_getViewJson","pluginName","_markers","sourcePosition","_handleRootAttributeOperation","revisionHistoryLicenseKeyNotAllowed","_update","howMany","item","define","reInit","addRevision","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyExpired","_startingRevisionId","deletions","getFillerOffset","destroy","merge","_showLicenseError","type","outerHTML","getRevision","_savedMetaData","680850aXzRxa","vid","upcast","domainLimit","loadRevisionData","for","getWalker","getCustomProperties","_getBaseVids","getAttribute","clear","nodes","map","rootsAttributes","revisionHistoryLicenseKeyEvaluationLimit","uiElement","getAncestors","_isAttached","rootName","RevisionsRepository","changeRootAttribute","_setAttribute","getCurrentRevisionId","_loadedStateData","_revisionDataBuilder","_cloneOperation","usageLimit","getLatestVersion","createRevision","insertion","elementEnd","splitPosition","dataDowncast","finally","904344MgMvEV","updateRevisions","config","featureNotAllowed","_calculateMetaData","_loadState","getTime","creator","fillerOffset","_source","_execute","getRevisions","fromEntries","getChildren","_makeIdsRoot","path","createPositionFromPath","hasContent","creatorId","isEqual","_operations","history","shift","some","_removePendingAction","ready","isPremiumPlugin","tableCell","_createInitialRevision","_handleRootOperation","_clone","$comment","includes","remove","update","createRangeIn","from","_getPreviousFrom","locale","size","toView","isReady","RevisionHistoryUtils","_findInsertionIndex","version","_lastFrom","_createCurrentRevision","add","16869330eCaavu","isAttached","buildRevisionData","split","rawElement","childCount","paragraph","collaboration.channelId","$text","_isPendingUpdate","elementStart","evaluationLimit","_touchedRoots","addRevisionData","element","_handleMarkerOperation","marker","_getFromVersion","_insertChild","insertions","slice","_initialRevisionId","_getVidAttributeName","setRevisionData","key","_touchedMarkers","RealTimeCollaborationClient","_saveMetaData","PendingActions","customProperties","reverse","init","children","range","bind","getMovedRangeStart","_bufferUpdate","createPositionAfter","push","isAdd","_isInit","start","root","getRevisionDocumentData","setSource","model","filter","move","insertionPosition","_createFromRanges","_pendingAction","adapter","detachRoot","max","startsWith","_transformMarkers","diffData","isOfficialPlugin","getTransformedByOperation","authorsIds","_utils","5ilZfla","_licenseKeyCheckInterval","authors","_baseRootsAttributes","getAttributes","_fixOperation","stringify","$graveyard","_diffRootsAttributes","getOperations","saveRevision","createElement","_baseRoots","_appendChild","editor-initial-data-replaced-with-revision-data","documentFragment","addRoot","length","keepParagraph","isEnabled","_handleMoveOperation","_getState","text","_generateTape","render","getUser","_getTypeCharForViewElement","createRange","createPositionBefore","_handleMergeOperation","1343896SICYvI","fromVersion","addRootAttribute","insert","previousPosition","_lastTo","get","offset","_handleOperation","_authorId","_makeRevision","revision","_prepareViewToSave","attributesAfter","_removeMetaData","source","vid_start","revisionHistoryLicenseKeyUsageLimit","_replaceEditorDataWithRevisionData","getRoot","newValue","_revisionId","conversion","dataToMarker","getChild","affectsData","find","end","markers","1155004PEdAsT","nodeAfter","_startingVersion","loadState","attributesBefore","sendBufferedUpdates","_copyMarkers","getData","revision:","createdAt","425929ALmWna","_handleInsertOperation","afterInit","_idsRoots","_continueCurrentRevision","revisionHistoryLicenseKeyDomainLimit","_markChanges","repository","clone","RevisionHistory","getIndex","sort","createPositionAt","getRange","deletion","roots","currentRevision","_touched","_processRootBeforeSave","_fixRange","keys","RevisionTracker","values","Empty document","innerHTML","_applyOperations","expired","invalid","resolve","position","graveyardPosition","_baseIdsRoots","_reset","Initial revision","offsetSize","markerToData","string","requires","domConverter","2372524qmtMMi","Users","revisionHistoryLicenseKeyValid","getRootNames","name","htmlProcessor","NEGATIVE_INFINITY","vid_end","_handleSplitOperation","document","_addPendingAction","delete","_bufferedUpdates","parent","userId","domDocument","attachChange","_diffRoots","removeRootAttribute","licenseKey","baseVersion","initial","plugins","initialData","stickiness","revisionHistory.resumeUnsavedRevision","has","then","_setConversion","_makeModelFromViewString","newRange","getOperation","reinsert","getNodeByPath","getRevisionRootsAttributes","data","targetPosition","PENDING_ACTION_REVISION_HISTORY","editor"];return(yt=function(){return t})()}const kt=Ot;!function(t){const e=Ot,i=t();for(;;)try{if(557822===parseInt(e(329))/1+parseInt(e(319))/2+parseInt(e(471))/3+parseInt(e(610))/4*(parseInt(e(580))/5)+parseInt(e(437))/6+-parseInt(e(368))/7*(-parseInt(e(407))/8)+-parseInt(e(519))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yt);class bt extends et.Plugin{[kt(387)];[kt(581)];[kt(345)]=null;[kt(336)];[kt(570)]=null;[kt(461)];[kt(480)];[kt(540)];[kt(380)];[kt(579)];[kt(569)];[kt(333)];[kt(321)];[kt(460)];static get[kt(414)](){return kt(350)}static get[kt(576)](){return!0}static get[kt(497)](){return!0}static get[kt(366)](){return[it.Users,at,lt,et.PendingActions]}constructor(e){const i=kt;super(e),this[i(336)]=this[i(406)][i(390)][i(616)](i(456)),this[i(579)]=this[i(406)][i(390)][i(616)](i(513)),this[i(461)]=new wt(this[i(406)]),this[i(540)]=this[i(406)][i(473)][i(616)](i(526))||i(389),this[i(380)]=new Map,this[i(460)]=null;const s=(0,t.uid)();this[i(480)]={history:this[i(406)][i(564)][i(377)][i(492)],getLatestVersion:()=>Promise[i(357)](this[i(406)][i(564)][i(377)][i(515)]),getCurrentRevisionId:()=>s},this[i(409)](i(512),!1),this[i(409)](i(599),!0),this[i(409)](i(528),!1),this[i(406)][i(473)][i(422)](i(393),!0),this[i(406)][i(312)][i(442)](i(439))[i(313)]({view:i(621)})}[kt(550)](){const t=kt;this[t(396)](),this[t(406)][t(403)].on(t(496),()=>{const e=t,i=this[e(336)][e(435)](0),s=i&&null===i[e(478)]?i:null;if(this[e(333)]=!!s&&this[e(406)][e(473)][e(616)](e(393)),this[e(406)][e(390)][e(394)](e(545))){const t=this[e(480)][e(459)](),n=this[e(336)][e(435)](t);if(n)this[e(321)]=n[e(611)],this[e(333)]=!1;else{const t=this[e(480)][e(492)][e(491)][e(316)](t=>!t[e(559)]),n=t?t[e(388)]:this[e(480)][e(492)][e(515)];i?(i[e(411)]<n&&i[e(419)]({toVersion:n}),this[e(333)]?(this[e(480)][e(459)]=()=>s.id,this[e(321)]=s[e(611)]):(this[e(321)]=i[e(411)],this[e(333)]=!1)):(this[e(321)]=n,this[e(333)]=!1)}}else s&&(this[e(406)][e(564)][e(377)][e(492)][e(515)]=Math[e(572)](s[e(411)],this[e(406)][e(564)][e(377)][e(492)][e(515)]),s[e(611)]===s[e(411)]?(0!==s[e(611)]&&(this[e(480)][e(459)]=()=>s.id),this[e(333)]=!1):this[e(333)]&&(this[e(480)][e(459)]=()=>s.id,this[e(321)]=s[e(611)])),this[e(333)]||(this[e(321)]=this[e(406)][e(564)][e(377)][e(515)]);this[e(461)][e(550)](this[e(480)][e(492)]),this[e(499)](this[e(321)]),this[e(517)](this[e(321)]),this[e(570)]&&this[e(324)]()}),this[t(553)](t(512)).to(this,t(528),t=>!t),this[t(387)]=this[t(406)][t(473)][t(616)](t(387));const e=this[t(406)];this[t(581)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(370)==r||i(425)==r||i(426)==r||i(334)==r||i(418)==r||i(451)==r||i(627)==r){delete e[n],s=r,clearInterval(this[i(581)]),this[i(581)]=void 0;break}}i(425)==s&&e[i(432)](i(356)),i(426)==s&&e[i(432)](i(355)),i(334)==s&&e[i(432)](i(440)),i(418)==s&&e[i(432)](i(474),i(338)),i(451)==s&&e[i(432)](i(530)),i(627)==s&&e[i(432)](i(463))},1e3)}async[kt(331)](){const t=kt;if(this[t(336)][t(597)]>0){const e=this[t(336)][t(435)](0),i=await this[t(562)](e),s=await this[t(402)](e);this[t(308)](i,s)}}[kt(430)](){const t=kt;super[t(430)](),this[t(581)]&&clearInterval(this[t(581)])}[kt(563)](t){this[kt(480)]=t}async[kt(505)](){const t=kt,e=await this[t(480)][t(464)]();if(e>this[t(345)][t(411)]){await this[t(476)]();const i=this[t(521)]({revision:this[t(345)],to:e});i[t(582)]=i[t(578)][t(449)](e=>this[t(406)][t(390)][t(616)](t(369))[t(605)](e)),this[t(345)][t(419)](i)}}async[kt(590)](e={},i=null){const s=kt,n=[];await this[s(476)](),this[s(333)]=!1,i>this[s(345)][s(411)]&&(i=null),null===i&&(i=await this[s(480)][s(464)]());const r=this[s(536)](i),o=this[s(521)]({from:r,to:i});if(this[s(345)][s(411)]<i){const t=this[s(521)]({revision:this[s(345)],from:i,to:i});t[s(582)]=[],t[s(578)]=[],t.id=this[s(345)].id,this[s(345)][s(419)](t,!0),delete t[s(582)],n[s(557)](t)}e[s(489)]=this[s(406)][s(390)][s(616)](s(369)).me.id,e[s(372)]=e[s(372)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(532)](e);n[s(557)](e);const c=this[s(336)][s(339)](a);if(0!==c){const t=this[s(336)][s(435)](c-1);if(t[s(611)]!==i){const r=this[s(461)][s(326)](i,t[s(411)]),o={id:t.id,diffData:r[s(575)],authorsIds:r[s(578)],authors:r[s(578)][s(449)](t=>this[s(406)][s(390)][s(616)](s(369))[s(605)](t)),fromVersion:i};t===this[s(345)]&&(o[s(328)]=new Date(e[s(328)][s(477)]()+10)),t[s(419)](o,!0),delete o[s(582)],n[s(557)](o)}}if(this[s(570)]){for(const t of n)this[s(555)](t.id,t,!0);this[s(324)]()}return a}[kt(532)](t){const e=kt,i=this[e(336)][e(465)](t);return this[e(570)]&&i.on(e(419),(t,i,s)=>{const n=e;s||(this[n(555)](i.id,i,!0),this[n(324)]())}),this[e(336)][e(424)](i,this[e(514)](i)),i}async[kt(562)](t){const e=kt;return await this[e(579)][e(441)](t,this[e(570)]),this[e(579)][e(562)](t)}async[kt(402)](t){const e=kt;return await this[e(579)][e(441)](t,this[e(570)]),this[e(579)][e(402)](t)}[kt(324)](){const t=kt;if(0===this[t(380)][t(510)])return;if(this[t(528)])return;let e=Array[t(507)](this[t(380)][t(351)]());this[t(380)][t(447)]();for(let i=0;i<e[t(597)];i++){const s=e[i];let n=!1;for(const e of Object[t(349)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(565)](t=>null!==t),!e[t(597)])return;for(let i=0;i<e[t(597)];i++){const s=e[i];void 0!==s[t(611)]&&void 0===s[t(411)]&&(s[t(411)]=this[t(336)][t(435)](s.id)[t(411)]),void 0!==s[t(411)]&&void 0===s[t(611)]&&(s[t(611)]=this[t(336)][t(435)](s.id)[t(611)])}const i=this[t(406)][t(473)][t(616)](t(526));this[t(528)]=!0,this[t(378)](),this[t(570)][t(472)](e,i)[t(470)](()=>{this[t(528)]=!1})[t(395)](e=>{const i=t;if(e)for(const t of e)this[i(542)]({id:t.id,createdAt:t[i(328)]});this[i(495)](),this[i(324)]()})}[kt(521)]({revision:t=null,from:e=null,to:i=null}){const s=kt;e=null!==e?e:t[s(611)],i=null!==i?i:t[s(411)];const n=this[s(461)][s(326)](e,i),r={diffData:n[s(575)],authorsIds:n[s(578)],fromVersion:e,toVersion:i};if(!t||i!==t[s(411)]){const t=i-1,e=this[s(480)][s(492)][s(399)](t);r[s(328)]=e&&e[s(328)]||new Date}if(this[s(460)]&&e===this[s(460)][s(611)])for(const t of this[s(460)][s(582)])r[s(578)][s(503)](t.id)||r[s(578)][s(557)](t.id);return r}[kt(555)](t,e,i){const s=kt;if(this[s(380)][s(394)](t)){const n=this[s(380)][s(616)](t);e=i?{...n,...e}:{...e,...n}}this[s(380)][s(409)](t,e)}[kt(542)](t){const e=kt,i=this[e(336)][e(435)](t.id);if(t[e(328)]&&(t[e(328)]=new Date(t[e(328)])),t[e(578)]){const i=this[e(406)][e(390)][e(616)](e(369));t[e(582)]=t[e(578)][e(449)](t=>i[e(605)](t))}i[e(419)](t,!0)}[kt(499)](t){const e=kt,i=this[e(336)][e(435)](this[e(336)][e(597)]-1);if(i)this[e(540)]=i.id;else{const i=!this[e(406)][e(564)][e(377)][e(344)][e(316)](t=>this[e(406)][e(564)][e(488)](t)),s=this[e(406)][e(390)][e(616)](e(369)).me.id,n=dt(this[e(406)][e(509)],e(i?352:362));this[e(620)]({from:t,to:t,id:this[e(540)],name:n,creatorId:s})}}[kt(517)](t){const e=kt,i=this[e(480)][e(459)]();this[e(345)]=this[e(336)][e(435)](i),this[e(345)]||(this[e(345)]=this[e(620)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[kt(476)](){const t=kt;this[t(333)]&&!this[t(460)]&&(await this[t(579)][t(441)](this[t(345)],this[t(570)]),this[t(461)][t(322)](this[t(345)]),this[t(460)]={fromVersion:this[t(345)][t(611)],authors:this[t(345)][t(582)][t(539)]()})}[kt(308)](e,i){const s=kt;let n=this[s(406)][s(473)][s(616)](s(391)),r=this[s(406)][s(473)][s(616)](s(450));if(void 0===n){n={};for(const t of this[s(406)][s(564)][s(377)][s(371)]())n[t]=""}if(s(365)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(406)][s(564)][s(377)][s(371)]())r[t]={}}let o=!1;const a=Object[s(349)](n),c=Object[s(349)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(410)]()){o=!0;break}if(!gt(r[t],i[t])&&Object[s(349)](r[t])[s(597)]>0){o=!0;break}}o||(o=c[s(494)](t=>!this[s(406)][s(564)][s(377)][s(309)](t))),o&&(0,t.logWarning)(s(594),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(406)][s(473)][s(409)](s(391),e),this[s(406)][s(473)][s(409)](s(450),i)}[kt(378)](){const t=kt;if(!this[t(569)]){const e=this[t(406)][t(390)][t(616)](t(547));this[t(569)]=e[t(518)](dt(this[t(406)][t(509)],t(405)))}}[kt(495)](){const t=kt;this[t(569)]&&(this[t(406)][t(390)][t(616)](t(547))[t(504)](this[t(569)]),this[t(569)]=null)}[kt(514)](t){const e=kt,i=this[e(336)][e(482)]();i[e(549)]();let s=0;for(;s<i[e(597)];){const n=i[s];if(n===this[e(345)]){s++;continue}if(n.id===this[e(540)])break;const r=t[e(411)]-n[e(411)]||t[e(611)]-n[e(611)];if(r>0)break;if(r<0)s++;else{if(!t[e(478)]&&n[e(478)])break;if(n[e(478)]||!t[e(478)]){if(t[e(328)]>n[e(328)])break;s++}else s++}}return s}[kt(536)](t){const e=kt,i=this[e(336)][e(482)]();i[e(549)](),i[e(493)]();const s=i[e(316)](i=>i[e(411)]<=t)[e(411)];return s<this[e(321)]?this[e(321)]:s}[kt(620)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=kt,o=this[r(521)]({from:e,to:i});o[r(372)]=t,o[r(489)]=s,o.id=n;const a=this[r(532)](o);return this[r(570)]&&this[r(555)](o.id,o,!0),a}[kt(396)](){const t=kt;this[t(406)][t(312)][t(442)](t(469))[t(364)]({model:t(621)})}}class wt{[kt(406)];[kt(625)];[kt(436)];[kt(516)];[kt(615)];[kt(415)];[kt(385)];[kt(588)];[kt(592)];[kt(583)];[kt(332)];[kt(360)];[kt(346)];[kt(544)];[kt(531)];[kt(311)];[kt(427)];constructor(t){const e=kt;this[e(406)]=t,this[e(436)]=new Map,this[e(516)]=-1,this[e(615)]=-1,this[e(415)]=new Map,this[e(385)]=new Map,this[e(588)]=new Map,this[e(592)]=new Map,this[e(583)]=new Map,this[e(332)]=new Map,this[e(360)]=new Map,this[e(346)]=new Map,this[e(544)]=new Map,this[e(531)]=new Map,this[e(311)]=1}[kt(550)](t){const e=kt;this[e(625)]=t;const i=new Map,s=new Map,n=this[e(406)][e(564)][e(377)][e(344)][e(449)](t=>t[e(455)]);for(const t of n){const n=this[e(406)][e(564)][e(377)][e(309)](t),r=_t(n);i[e(409)](t,r),s[e(409)](t,Object[e(483)](n[e(584)]()))}const r=Array[e(507)](this[e(406)][e(564)][e(318)])[e(449)](t=>[t[e(372)],t[e(342)]()]),o=this[e(625)][e(515)];this[e(546)](o,i,r,s),this[e(427)]=this[e(311)];const a=new Map,c=new Map;for(const t of n){const i=It(t);a[e(409)](t,i),c[e(409)](t,{})}this[e(546)](Number[e(374)],a,[],c)}[kt(326)](t,e){const i=kt;if(this[i(516)]===t&&this[i(615)]<=e)this[i(436)][i(510)]>1&&this[i(624)](this[i(615)]),this[i(354)](this[i(615)],e,!0);else{if(!this[i(436)][i(394)](t)){const e=this[i(508)](t);this[i(475)](e,t,!1)}this[i(475)](t,e,!0)}return this[i(516)]=t,this[i(615)]=e,this[i(601)]()}[kt(322)](t){const e=kt;if(!this[e(436)][e(394)](t[e(611)])){const i=this[e(508)](t[e(611)]);this[e(475)](i,t[e(611)],!1)}this[e(475)](t[e(611)],t[e(411)],!1);const i=this[e(406)][e(390)][e(616)](e(513));this[e(361)](),this[e(516)]=t[e(611)],this[e(615)]=t[e(411)];for(const s in t[e(575)]){const n=t[e(575)][s][e(384)],r=V(t[e(575)][s][e(323)])||{},o=i[e(397)](t[e(575)][s][e(428)]);o[e(455)]=s,o[e(454)]=!n||!n[e(520)],o[e(520)]=()=>o[e(454)],this[e(592)][e(409)](s,o),this[e(583)][e(409)](s,r),n&&this[e(531)][e(409)](s,n);const a=this[e(485)](o);this[e(360)][e(409)](s,a);for(const[t,i]of o[e(318)]){if(!t[e(573)](e(327)))continue;const s=t[e(522)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),n=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)],r=a[e(401)](n)[e(446)](i);this[e(346)][e(409)](r,{userId:s})}o[e(318)][e(379)](t)}}this[e(427)]=this[e(311)];const s=[...Array(this[e(311)])[e(349)]()][e(539)](1)[e(565)](t=>!this[e(346)][e(394)](t));let n=0;const r=new Map;for(const o in t[e(575)]){const a=t[e(575)][o][e(384)],c=V(t[e(575)][o][e(623)])||{},u=i[e(397)](t[e(575)][o][e(538)]);u[e(455)]=o,u[e(454)]=!a||a[e(520)],u[e(520)]=()=>u[e(454)],this[e(385)][e(409)](o,u),this[e(588)][e(409)](o,c);const l=this[e(485)](u,Number[e(374)]);this[e(332)][e(409)](o,l),r[e(409)](o,u[e(520)]()?c:{});for(const[t,i]of u[e(318)]){if(!t[e(573)](e(327)))continue;const s=t[e(522)](":")[2];for(const t of i[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),n=this[e(311)]++,r=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)];l[e(401)](r)[e(458)](i,n),this[e(346)][e(409)](n,{userId:s})}u[e(318)][e(379)](t)}for(const t of this[e(406)][e(564)][e(506)](u)[e(443)]({singleCharacters:!0})){const i=this[e(541)](t),r=e(467)==t[e(433)]?t[e(614)][e(486)][e(539)](0,-1):t[e(614)][e(486)],o=l[e(401)](r);o[e(446)](i)>0||o[e(458)](i,s[n++])}for(const[t,i]of u[e(318)])t[e(573)](e(327))||this[e(415)][e(409)](t,i)}const{roots:o}=this[e(436)][e(616)](t[e(611)]),{roots:a}=this[e(436)][e(616)](t[e(411)]),c=_t(o[e(616)](e(587)));this[e(592)][e(409)](e(587),c),this[e(360)][e(409)](e(587),this[e(485)](c,Number[e(374)]));const u=_t(a[e(616)](e(587)));this[e(385)][e(409)](e(587),u),this[e(332)][e(409)](e(587),this[e(485)](u));const l=Array[e(507)](this[e(385)])[e(449)](([t,e])=>[t,_t(e)]);this[e(546)](this[e(615)],l,this[e(415)],r)}[kt(423)](){const t=kt;this[t(361)](),this[t(516)]=-1,this[t(615)]=-1,this[t(436)][t(447)](),this[t(550)](this[t(625)])}[kt(546)](t,e,i,s){const n=kt,r=new Map(e),o=new Map(V(s)),a=new Map;for(const[t,e]of i)a[n(409)](t,{start:e[n(560)][n(337)](),end:e[n(317)][n(337)](),rootName:e[n(561)][n(455)]});this[n(436)][n(409)](t,{roots:r,markers:a,rootsAttributes:o})}[kt(624)](t){const e=kt;this[e(436)][e(379)](t)}[kt(361)](){const t=kt;this[t(346)][t(447)](),this[t(544)][t(447)](),this[t(531)][t(447)](),this[t(385)][t(447)](),this[t(588)][t(447)](),this[t(592)][t(447)](),this[t(583)][t(447)](),this[t(332)][t(447)](),this[t(360)][t(447)](),this[t(415)][t(447)](),this[t(311)]=1,this[t(427)]=this[t(311)]}[kt(485)](t,e=null){const i=kt;let s=null;t.is(i(595))||(s=new st.ModelElement(t[i(372)],{vid_start:null===e?this[i(311)]++:e++}));const n=[];for(const s of t[i(484)]())if(s.is(i(533))){n[i(557)](this[i(485)](s,e));const t=n[n[i(597)]-1];null!==e&&(e=t.is(i(533),i(527))?t[i(446)](i(438))+1:t[i(446)](i(375))+1)}else for(let t=0;t<s[i(363)];t++)n[i(557)](new st.ModelElement(i(527),{vid:null===e?this[i(311)]++:e++}));if(t.is(i(595))){const e=It(t[i(455)]);return e[i(537)](0,n),e}return s[i(458)](i(375),null===e?this[i(311)]++:e++),s[i(537)](0,n),s}[kt(475)](t,e,i){const s=kt;this[s(361)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(436)][s(616)](t);this[s(592)]=new Map(n),this[s(583)]=new Map(V(o));for(const[t,e]of this[s(592)])if(s(587)!==t&&(this[s(385)][s(409)](t,_t(e)),this[s(588)]=new Map(V(o)),i)){const i=this[s(311)];this[s(332)][s(409)](t,this[s(485)](e)),this[s(360)][s(409)](t,this[s(485)](e,i))}this[s(427)]=this[s(311)],this[s(385)][s(409)](s(587),_t(this[s(592)][s(616)](s(587)))),i&&this[s(332)][s(409)](s(587),this[s(485)](this[s(592)][s(616)](s(587))));for(const[t,e]of r){const i=this[s(592)][s(616)](e[s(455)]),n=this[s(385)][s(616)](e[s(455)]),r=new st.ModelRange(this[s(408)](e[s(560)],i),this[s(408)](e[s(317)],i)),o=this[s(348)](r,n);i[s(318)][s(409)](t,r),this[s(415)][s(409)](t,o)}this[s(354)](t,e,i)}[kt(354)](t,e,i){const s=kt;for(const n of this[s(625)][s(589)](t,e))this[s(618)](n,i);for(const t of this[s(385)][s(351)]())t[s(318)][s(447)]();for(const[t,e]of this[s(415)])this[s(385)][s(616)](e[s(561)][s(455)])[s(318)][s(409)](t,e[s(337)]());const n=new Map,r=new Map;for(const[t,e]of this[s(385)])n[s(409)](t,_t(e)),r[s(409)](t,this[s(588)][s(616)](t));this[s(546)](e,n,this[s(415)],r)}[kt(508)](t){const e=kt,i=Array[e(507)](this[e(436)][e(349)]());i[e(340)]((t,e)=>t-e),i[e(549)]();for(const e of i)if(e<t)return e;return Number[e(374)]}[kt(325)](t,e){const i=kt,s=Array[i(507)](e[i(318)])[i(449)](([e,s])=>[e,this[i(348)](s,t)]);t[i(318)]=new Map(s)}[kt(574)](t){const e=kt;for(const i of this[e(415)][e(351)]()){const s=i[e(577)](t),n=st.ModelRange[e(568)](s);i[e(560)]=n[e(560)],i[e(317)]=n[e(317)]}}[kt(618)](t,e){const i=kt;if(i(596)!=t[i(433)]&&i(571)!=t[i(433)]){if(i(613)==t[i(433)]){const s=t[i(358)][i(561)][i(455)];this[i(385)][i(394)](s)||(this[i(385)][i(409)](s,It(s,!0)),this[i(588)][i(409)](s,{}),e&&this[i(332)][i(409)](s,It(s,!0)))}else{if(i(612)==t[i(433)]||i(386)==t[i(433)]||i(457)==t[i(433)])return void this[i(417)](t);i(535)==t[i(433)]&&this[i(534)](t)}if(i(535)!==t[i(433)]){const e=this[i(462)](t,this[i(385)]);e[i(481)](),this[i(574)](e)}if(e)switch(t[i(433)]){case i(613):this[i(330)](t);break;case i(566):case i(504):case i(400):this[i(600)](t);break;case i(431):this[i(609)](t);break;case i(522):this[i(376)](t)}}else this[i(500)](t,e)}[kt(462)](t,e){const i=kt,s=t[i(337)]();return s[i(619)]=t[i(619)],this[i(585)](s,e),s}[kt(445)](t){const e=kt;return t[e(449)](t=>{const i=e,s=this[i(541)](t);return Number(t[i(421)][i(446)](s))})}[kt(603)](t,e){const i=kt;if(t.is(i(533),i(527)))e[i(557)]({item:t,type:i(602)});else{t.is(i(533))&&e[i(557)]({item:t,type:i(529)});for(const s of t[i(484)]())this[i(603)](s,e);t.is(i(533))&&e[i(557)]({item:t,type:i(467)})}return e}[kt(601)](){const t=kt,e=new Map(this[t(346)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(592)][t(349)](),...this[t(385)][t(349)]()]);a[t(379)](t(587));for(const e of a){const i=this[t(385)][t(616)](e)||It(e,!1),s=this[t(592)][t(616)](e)||It(e,!1);i[t(520)]()||s[t(520)]()?(n[t(538)][e]=_t(i),n[t(428)][e]=_t(s),this[t(325)](n[t(428)][e],s),this[t(325)](n[t(538)][e],i),r[t(538)][e]=this[t(603)](this[t(332)][t(616)](e),[]),r[t(428)][e]=this[t(603)](this[t(360)][t(616)](e)||It(e,!1),[])):a[t(379)](e)}for(const n of a){const o=r[t(538)][n];for(const n of o){const r=this[t(541)](n),o=n[t(421)][t(446)](r);i[t(379)](o),o>=this[t(427)]&&s[t(409)](o,e[t(616)](o))}}for(const n of a){const a=r[t(538)][n],c=this[t(445)](r[t(428)][n]);let u=0;for(const n of a){const r=this[t(541)](n),a=n[t(421)][t(446)](r);if(!s[t(394)](a)&&!o[t(394)](a))if(i[t(394)](a))u++;else{if(a!=c[u]){const s=e[t(616)](a)||e[t(616)](c[u]);for(;a!=c[u];)i[t(394)](c[u])||(o[t(409)](c[u],s),e[t(409)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(538)][e];for(const e of n){const n=this[t(541)](e),r=e[t(421)][t(446)](n);if(o[t(394)](r)){const e=o[t(616)](r);i[t(394)](r)||i[t(409)](r,{...e}),s[t(409)](r,{...e})}}}for(const e of i[t(349)]())e>=this[t(427)]&&i[t(379)](e);const c=new Map;for(const e of a){let n=r[t(538)][e];for(const e of n)if(e[t(421)].is(t(533),t(498))){const i=this[t(541)](e),n=e[t(421)][t(446)](i);if(s[t(394)](n)){const i=e[t(421)][t(381)][t(381)][t(446)](t(626)),r=c[t(616)](i)||new Set;r[t(518)](s[t(616)](n)[t(382)]),c[t(409)](i,r)}}n=r[t(428)][e];for(const e of n)if(e[t(421)].is(t(533),t(498))){const s=this[t(541)](e),n=e[t(421)][t(446)](s);if(i[t(394)](n)){const s=e[t(421)][t(381)][t(381)][t(446)](t(626)),r=c[t(616)](s)||new Set;r[t(518)](i[t(616)](n)[t(382)]),c[t(409)](s,r)}}for(const e of c[t(349)]())(s[t(394)](e)||i[t(394)](e))&&c[t(379)](e)}for(const e of a){const n=r[t(538)][e];let o=null,a=null;for(const e of n){const n=this[t(541)](e),r=e[t(421)][t(446)](n),u=c[t(616)](r);u&&t(529)==e[t(433)]&&(o=Array[t(507)](u)[0],a=e[t(421)][t(446)](t(375))),o&&(i[t(409)](r,{userId:o}),s[t(409)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(428)][e],a=n[t(538)][e];for(const{userId:e}of this[t(544)][t(351)]())null!==e&&l[t(518)](e);for(const{userId:e}of this[t(531)][t(351)]())null!==e&&l[t(518)](e);this[t(335)](a,r[t(538)][e],s,t(466),l),this[t(335)](o,r[t(428)][e],i,t(343),l),u[e]={insertions:this[t(622)](a),deletions:this[t(622)](o),attachChange:this[t(531)][t(616)](e)||null,attributesBefore:V(this[t(583)][t(616)](e))||{},attributesAfter:V(this[t(588)][t(616)](e))}}return{diffData:u,authorsIds:Array[t(507)](l)}}[kt(347)](t){const e=kt;for(const[,i]of t[e(318)]){const t=i[e(560)][e(453)]()[e(565)](t=>e(498)==t[e(372)]);for(const i of t)1==i[e(524)]&&i[e(314)](0).is(e(533),e(525))&&i[e(314)](0)[e(458)](e(598),!0)}}[kt(622)](t){const e=kt;this[e(347)](t);const i=this[e(406)][e(403)][e(511)](t,{}),s=Array[e(507)](i[e(484)]())[e(449)](t=>this[e(413)](t));return JSON[e(586)](s)}[kt(413)](t){const e=kt;if(t.is(e(527)))return t[e(403)];{const i=this[e(406)][e(390)][e(616)](e(513)),s=t,n=this[e(406)][e(403)][e(373)][e(367)],r={type:i[e(606)](s),name:s[e(372)],attributes:Array[e(507)](s[e(584)]()),children:Array[e(507)](s[e(484)]())[e(449)](t=>this[e(413)](t))};if(t.is(e(452))&&e(502)!=t[e(372)]){const i=t[e(604)](n[e(383)],n);r[e(551)][e(557)](i[e(434)])}else if(t.is(e(523))){const i=n[e(383)][e(591)](s[e(372)]);t[e(604)](i,n),r[e(551)][e(557)](i[e(353)])}const o=Array[e(507)](s[e(444)]());o[e(597)]>0&&(r[e(548)]=o);const a=s[e(429)]();return null!==a&&(r[e(479)]=a),r}}[kt(335)](t,e,i,s,n){const r=kt;let o=null,a=null,c=0;const u=this[r(406)][r(564)];for(let s=0;s<e[r(597)];s++){const n=this[r(541)](e[s]),c=e[s][r(421)][r(446)](n),h=i[r(616)](c),d=s==e[r(597)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(382)]!=o[r(382)])&&(l(h,St(a,t,u),St(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,St(a,t,u),Tt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(382)],d=l(327)+s+":"+h+":"+c++,f=u[l(607)](i,a);t[l(318)][l(409)](d,f),null!==h&&n[l(518)](h)}}[kt(541)](t){const e=kt;switch(t[e(433)]){case e(529):return e(626);case e(467):return e(375);default:return e(438)}}[kt(585)](t,e){const i=kt;t[i(388)]=null;for(const s in t){const n=t[s];if(n instanceof st.ModelPosition){const r=e[i(616)](n[i(561)][i(455)]);t[s]=this[i(408)](n,r)}if(n instanceof st.ModelRange){const r=e[i(616)](n[i(561)][i(455)]);t[s]=this[i(348)](n,r)}i(561)===s&&(t[i(561)]=e[i(616)](t[i(561)][i(455)]))}}[kt(348)](t,e){const i=kt;return this[i(406)][i(564)][i(607)](this[i(408)](t[i(560)],e),this[i(408)](t[i(317)],e))}[kt(408)](t,e){const i=kt;return this[i(406)][i(564)][i(487)](e,t[i(486)],t[i(392)])}[kt(330)](t){const e=kt,i=this[e(332)][e(616)](t[e(358)][e(561)][e(455)]),s=this[e(408)](t[e(358)],i),n=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,r=s[e(381)],o=this[e(311)],a=[];for(const i of t[e(448)])if(i.is(e(533)))a[e(557)](this[e(485)](i));else for(let t=0;t<i[e(363)];t++)a[e(557)](new st.ModelElement(e(527),{vid:this[e(311)]++}));const c=this[e(311)];for(let t=o;t<c;t++)this[e(346)][e(409)](t,{userId:n});r[e(537)](s[e(617)],a)}[kt(600)](t){const e=kt;(t=this[e(462)](t,this[e(332)]))[e(481)]();const i=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(554)](),n=s[e(381)],r=s[e(617)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(314)](e);r.is(a(533),a(527))?s[a(409)](r[a(446)](a(438)),{userId:i}):(s[a(409)](r[a(446)](a(626)),{userId:i}),t(s,r,0,r[a(524)]),s[a(409)](r[a(446)](a(375)),{userId:i}))}}(this[e(346)],n,r,r+t[e(420)])}[kt(609)](t){const e=kt,i=null===(t=this[e(462)](t,this[e(332)]))[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(404)][e(381)],n=t[e(416)][e(381)],r=s[e(446)](e(375)),o=n[e(446)](e(626));s[e(458)](e(375),n[e(446)](e(375))),n[e(458)](e(375),r),this[e(346)][e(409)](o,{userId:i}),this[e(346)][e(409)](r,{userId:i}),t[e(481)]()}[kt(376)](t){const e=kt,i=null===(t=this[e(462)](t,this[e(332)]))[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,s=t[e(359)],n=t[e(468)][e(381)];t[e(481)]();const r=n[e(446)](e(375)),o=t[e(567)][e(320)];if(s){const t=o[e(446)](e(375)),s=n[e(446)](e(375));n[e(458)](e(375),t),o[e(458)](e(375),s),this[e(346)][e(409)](n[e(446)](e(375)),{userId:i}),this[e(346)][e(409)](o[e(446)](e(626)),{userId:i})}else{const t=this[e(311)]++,s=this[e(311)]++;n[e(458)](e(375),t),o[e(458)](e(626),s),o[e(458)](e(375),r),this[e(346)][e(409)](t,{userId:i}),this[e(346)][e(409)](s,{userId:i})}}[kt(534)](t){const e=kt;if(!t[e(315)])return;const i=(t=this[e(462)](t,this[e(385)]))[e(412)]?t[e(412)][e(561)]:null,s=t[e(398)]?t[e(398)][e(561)]:null;i&&this[e(415)][e(379)](t[e(372)]),s&&this[e(415)][e(409)](t[e(372)],t[e(398)][e(337)]());const n=null===t[e(619)]?null:t[e(619)]||this[e(406)][e(390)][e(616)](e(369)).me.id,r=t[e(372)];if(!this[e(544)][e(394)](r))return void this[e(544)][e(409)](r,{range:t[e(412)],userId:n});const o=this[e(544)][e(616)](r),a=o[e(552)],c=t[e(398)];null==a&&null==c||a&&c&&a[e(490)](c)?this[e(544)][e(379)](t[e(372)]):o[e(382)]=n}[kt(500)](t,e){const i=kt;this[i(385)][i(394)](t[i(455)])?this[i(385)][i(616)](t[i(455)])[i(454)]=t[i(558)]:(this[i(385)][i(409)](t[i(455)],It(t[i(455)],!0)),this[i(588)][i(409)](t[i(455)],{}),e&&this[i(332)][i(409)](t[i(455)],It(t[i(455)],!0)));const s=null===t[i(619)]?null:t[i(619)]||this[i(406)][i(390)][i(616)](i(369)).me.id,n=this[i(531)][i(616)](t[i(455)]);n&&n[i(382)]===s?this[i(531)][i(379)](t[i(455)]):this[i(531)][i(409)](t[i(455)],{userId:s,isAttached:t[i(558)]})}[kt(417)](t){const e=kt,i=this[e(588)][e(616)](t[e(561)][e(455)]);null===t[e(310)]?delete i[t[e(543)]]:i[t[e(543)]]=t[e(310)]}}function _t(t){const e=kt,i=It(t[e(455)],t[e(520)]());for(const s of t[e(484)]()){const t=s[e(501)](!0);i[e(593)](t)}return i}function It(t,e=!0){const i=kt,s=new st.ModelDocumentFragment;return s[i(455)]=t,s[i(454)]=e,s[i(520)]=()=>s[i(454)],s}function St(t,e,i){const s=kt,n=s(467)==t[s(433)]?i[s(341)](t[s(421)],s(317)):i[s(608)](t[s(421)]);return i[s(487)](e,n[s(486)],n[s(392)])}function Ot(t,e){const i=yt();return(Ot=function(t,e){return i[t-=308]})(t,e)}function Tt(t,e,i){const s=kt,n=s(529)==t[s(433)]?i[s(341)](t[s(421)],0):i[s(556)](t[s(421)]);return i[s(487)](e,n[s(486)],n[s(392)])}var Nt=i(355),xt=i(311),At=i(789),Rt=i.n(At),Mt=i(437),Vt=i.n(Mt),Dt=i(298),Et=i.n(Dt),Ct=i(207),Ft=i.n(Ct),jt=i(825),Lt=i.n(jt),Pt=i(416),zt={attributes:{"data-cke":!0}};zt.setAttributes=Ft(),zt.insert=Et().bind(null,"head"),zt.domAPI=Vt(),zt.insertStyleElement=Lt();Rt()(Pt.A,zt);Pt.A&&Pt.A.locals&&Pt.A.locals;var Wt=i(450),Ut={attributes:{"data-cke":!0}};Ut.setAttributes=Ft(),Ut.insert=Et().bind(null,"head"),Ut.domAPI=Vt(),Ut.insertStyleElement=Lt();Rt()(Wt.A,Ut);Wt.A&&Wt.A.locals&&Wt.A.locals;const Zt=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=342]})(t,e)}function qt(){const t=["ck-revision-history-save-revision-form","set","extendTemplate","arrowleft","locale","reset","setTemplate","render","322UKEFhE","focus","_createRevisionNameInput","473132yiRQRN","optional","label","170ItfFxr","7JZzLzV","1848800kMmyYI","220","904395IVKdha","focusTracker","76995owzBts","arrowup","revisionNameInputView","value","19044wyXSuM","input","fieldView","632144zOLPbl","form","arrowdown","listenTo","1889IbLPDj","72fOGCyW","Name of the revision","ck-responsive-form","element","keystrokes","add","initializeCssTransitionDisablerMixin","revisionNameInputValue","arrowright","trim","revisionName","stopPropagation","errorText"];return(qt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(328216===parseInt(e(375))/1*(parseInt(e(352))/2)+parseInt(e(362))/3+-parseInt(e(360))/4+parseInt(e(364))/5*(parseInt(e(376))/6)+-parseInt(e(359))/7*(-parseInt(e(371))/8)+parseInt(e(368))/9*(-parseInt(e(358))/10)+-parseInt(e(355))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class $t extends((0,xt.CssTransitionDisablerMixin)(xt.View)){[Zt(363)];[Zt(380)];[Zt(366)];constructor(e,i){const s=Zt;super(e),this[s(363)]=new t.FocusTracker,this[s(380)]=new t.KeystrokeHandler,this[s(345)](s(383),""),this[s(366)]=this[s(354)](i),this[s(350)]({tag:s(372),attributes:{class:["ck",s(344),s(378)],tabindex:"-1"},children:[this[s(366)]]}),this[s(382)]()}[Zt(351)](){const t=Zt;super[t(351)](),(0,xt.submitHandler)({view:this}),this[t(363)][t(381)](this[t(366)][t(379)]),this[t(380)][t(374)](this[t(379)]);const e=e=>e[t(342)]();this[t(380)][t(345)](t(384),e),this[t(380)][t(345)](t(347),e),this[t(380)][t(345)](t(365),e),this[t(380)][t(345)](t(373),e)}[Zt(353)](){const t=Zt;this[t(366)][t(353)]()}get[Zt(386)](){const t=Zt;return this[t(366)][t(370)][t(379)][t(367)][t(385)]()}set[Zt(386)](t){const e=Zt;this[e(366)][e(370)][e(379)][e(367)]=t[e(385)]()}[Zt(349)](){const t=Zt;this[t(366)][t(370)][t(379)][t(367)]="",this[t(366)][t(343)]=null}[Zt(354)](t){const e=Zt,i=new xt.LabeledFieldView(this[e(348)],xt.createLabeledInputText),s=i[e(370)];s[e(346)]({attributes:{maxlength:e(361)}});let n=dt(this[e(348)],e(377));return!t&&(n+=" ("+dt(this[e(348)],e(356))+")"),i[e(357)]=n,s.on(e(369),()=>{const t=e;this[t(383)]=s[t(379)][t(367)][t(385)]()}),i}}function Bt(){const t=["10074534GsjJJO","_createSaveRevisionFormView","locale","_showDialog","listenTo","delegate","3447FDaZuI","2426bsiYKF","isPremiumPlugin","init","_registerMenuComponent","isReady","get","menuBar:revisionHistory","Open revision history","revisionSave","885550TsGtvB","execute","menuitem","items","RevisionTracker","_createSaveRevisionButton","buttonView","children","add","317760zxFHIA","Revision history","Dialog","show","role","low","bind","config","isReadOnly","revisionNameInputView","showRevisionViewerCallback","Cancel","Accept","submit","view","editing","2590301kJqCpf","componentFactory","errorText","plugins","_saveRevisionFormView","hide","Save current revision","7038895yRQsMC","isOpen","revisionName","panelView","The revision name cannot be empty.","render","isEnabled","revisionHistory.requireRevisionName","addMany","RevisionHistoryUI","set","menu","isOfficialPlugin","requires","saveRevision","_createOpenRevisionButton","revisionHistory","focus","reset","pluginName","15505200FbVFfk","ck-button-action","editor"];return(Bt=function(){return t})()}const Yt=Jt;function Jt(t,e){const i=Bt();return(Jt=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Jt,i=t();for(;;)try{if(903050===parseInt(e(403))/1+-parseInt(e(394))/2*(-parseInt(e(393))/3)+-parseInt(e(412))/4+-parseInt(e(435))/5+parseInt(e(458))/6+parseInt(e(428))/7+-parseInt(e(455))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt extends et.Plugin{static get[Yt(454)](){return Yt(444)}static get[Yt(447)](){return!0}static get[Yt(395)](){return!0}static get[Yt(448)](){return[bt]}[Yt(432)];[Yt(396)](){const t=Yt,e=this[t(457)],i=e[t(431)][t(399)](t(407));e.ui[t(429)][t(411)](t(451),s=>{const n=t,r=(0,xt.createDropdown)(s),o=r[n(438)][n(410)],a=new xt.ListView(s),c=new xt.ListItemView(s),u=this[n(408)](xt.ButtonView),l=new xt.ListItemView(s),h=this[n(450)](xt.ButtonView);return r[n(418)](n(441)).to(i,n(398),i,n(441),e,n(420),(t,e,i)=>t&&e&&!i),r[n(409)][n(445)]({icon:Nt.IconHistory,label:dt(s,n(413)),tooltip:!0}),u[n(445)]({withText:!0,role:n(405)}),h[n(445)]({withText:!0,role:n(405)}),this[n(391)](h,n(404),()=>{const t=n;r[t(436)]=!1,e[t(427)][t(426)][t(452)]()},{priority:n(417)}),c[n(410)][n(411)](u),l[n(410)][n(411)](h),a[n(416)]=n(446),a[n(406)][n(443)]([c,l]),o[n(411)](a),r}),e.ui[t(429)][t(411)](t(400),()=>this[t(397)]())}[Yt(397)](){const t=Yt,e=this[t(457)],i=e[t(389)],s=e[t(431)][t(399)](t(407)),n=new xt.MenuBarMenuView(i),r=new xt.MenuBarMenuListView(i);n[t(418)](t(441)).to(s,t(398),s,t(441),e,t(420),(t,e,i)=>t&&e&&!i),n[t(409)][t(445)]({icon:Nt.IconHistory,label:dt(i,t(413))});const o=new xt.MenuBarMenuListItemView(i,n),a=this[t(408)](xt.MenuBarMenuListItemButtonView);a[t(392)](t(404)).to(n),o[t(410)][t(411)](a),r[t(406)][t(411)](o);const c=new xt.MenuBarMenuListItemView(i,n),u=this[t(450)](xt.MenuBarMenuListItemButtonView);return u[t(392)](t(404)).to(n),c[t(410)][t(411)](u),r[t(406)][t(411)](c),n[t(438)][t(410)][t(411)](r),n}[Yt(408)](t){const e=Yt,i=this[e(457)],s=i[e(431)][e(399)](e(407)),n=new t(i[e(389)]);return n[e(445)]({label:dt(i[e(389)],e(434))}),n[e(418)](e(441)).to(s,e(398),s,e(441),i,e(420),(t,e,i)=>t&&e&&!i),this[e(391)](n,e(404),()=>{this[e(390)]()}),n}[Yt(450)](t){const e=Yt,i=this[e(457)],s=i[e(431)][e(399)](e(407)),n=new t(i[e(389)]);return n[e(445)]({label:dt(i[e(389)],e(401))}),n[e(418)](e(441)).to(s,e(398),i,e(420),(t,e)=>t&&!e),this[e(391)](n,e(404),()=>{const t=e;i[t(419)][t(399)](t(451))[t(422)]()}),n}[Yt(390)](){const t=Yt,e=this[t(457)],i=e[t(389)],s=e[t(431)][t(399)](t(414)),n=e[t(431)][t(399)](t(407));function r(n){const r=t;e[r(419)][r(399)](r(442))&&""===n[r(437)]?n[r(421)][r(430)]=dt(i,r(439)):(e[r(431)][r(399)](bt)[r(449)]({name:n[r(437)]}),s[r(433)]())}this[t(432)]||(this[t(459)](),this[t(432)].on(t(425),()=>r(this[t(432)]))),this[t(432)][t(453)](),s[t(415)]({id:t(402),title:dt(i,t(434)),isModal:!0,content:this[t(432)],actionButtons:[{label:dt(e[t(389)],t(423)),withText:!0,onExecute:()=>s[t(433)]()},{label:dt(e[t(389)],t(424)),class:t(456),withText:!0,onCreate(i){const s=t;i[s(418)](s(441)).to(n,s(398),n,s(441),e,s(420),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(432)])}]})}[Yt(459)](){const t=Yt,e=this[t(457)],i=e[t(389)];this[t(432)]=new $t(i,e[t(419)][t(399)](t(442))),this[t(432)][t(440)]()}}const Kt=Qt;function Qt(t,e){const i=Xt();return(Qt=function(t,e){return i[t-=130]})(t,e)}function Xt(){const t=["changeId","4170067UeqjPX","4020PatqPG","div","ck-annotation","type","44mWCVwO","setTemplate","author","ck-revision-change","580115nyZlVe","18NbzBIG","span","bindTemplate","_model","ck-revision-change__label","isSuggestion","330745IgfDHb","12087iwLzoH","Removed by","element","Suggested by","add","363DvZSYL","353731kHrRhN","data","Added by","name","11006fIhuwf","focus","ck-revision-change__","161360VTqtBp","set"];return(Xt=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(448861===-parseInt(e(149))/1+parseInt(e(134))/2*(parseInt(e(162))/3)+parseInt(e(145))/4*(-parseInt(e(156))/5)+-parseInt(e(150))/6*(-parseInt(e(130))/7)+parseInt(e(137))/8+parseInt(e(157))/9*(parseInt(e(141))/10)+parseInt(e(140))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class te extends xt.View{[Kt(139)];[Kt(153)];constructor(t,e){const i=Kt;super(t),this[i(153)]=e,this[i(139)]=e.id;const s=this[i(152)],n=dt(t,e[i(131)][i(155)]?i(160):i(161)==e[i(144)]?i(132):i(158));this[i(138)](i(144),e[i(144)]),this[i(146)]({tag:i(142),attributes:{class:[i(143),i(148),s.to(i(144),t=>i(136)+t)],tabindex:-1},children:[{tag:i(151),children:[{tag:i(151),attributes:{class:[i(154)]},children:[{text:n}]},{text:" "+e[i(147)][i(133)]}]}]})}[Kt(135)](){const t=Kt;this[t(159)][t(135)]()}}var ee=se;function ie(){var t=["276bCDBiP","10111820zSeJqV","14240RjTUda","type","54EaukLA","data","createdAt","author","583363GEhoXN","4599lxKcPx","2820QDulEb","toJSON","6038508yLjBWF","286719tySXkV","106782cyfftZ","944oigBFM","6lbVrTY","set","rootName"];return(ie=function(){return t})()}function se(t,e){var i=ie();return(se=function(t,e){return i[t-=491]})(t,e)}!function(t){for(var e=se,i=t();;)try{if(702856===-parseInt(e(495))/1+parseInt(e(496))/2*(parseInt(e(505))/3)+parseInt(e(497))/4*(-parseInt(e(492))/5)+parseInt(e(498))/6*(parseInt(e(494))/7)+-parseInt(e(503))/8*(parseInt(e(491))/9)+-parseInt(e(502))/10+parseInt(e(509))/11*(parseInt(e(501))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne extends((0,t.ObservableMixin)()){id;[ee(508)];[ee(504)];[ee(506)];[ee(500)];constructor(e){var i=ee;super(),this.id=e.id||(0,t.uid)(),this[i(508)]=e[i(508)],this[i(504)]=e[i(504)],this[i(506)]=e[i(506)]||{},this[i(500)]=e[i(500)],this[i(499)](i(507),e[i(507)])}[ee(493)](){var t=ee;return{id:this.id,authorId:this[t(508)].id,type:this[t(504)],data:this[t(506)],createdAt:this[t(507)]}}}const re=ae;function oe(){const t=["245eTRwqq","172398HtXjTO","newRevisionId","1785824FuURQq","oldRevisionId","12iDVHyI","23977750sSjvFF","add","152868uqHWek","24JEaugN","586977mqiksi","_setChanges","136505PdNYdg","changes","8731377Qersdi"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=228]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(530168===parseInt(e(240))/1+parseInt(e(235))/2*(parseInt(e(238))/3)+parseInt(e(239))/4*(-parseInt(e(242))/5)+parseInt(e(231))/6*(parseInt(e(230))/7)+parseInt(e(233))/8+parseInt(e(229))/9+-parseInt(e(236))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce{[re(232)];[re(234)];[re(228)];constructor(e,i){const s=re;this[s(232)]=e,this[s(234)]=i,this[s(228)]=new t.Collection}[re(241)](t){const e=re;for(const i of t)this[e(228)][e(237)](i)}}var ue=i(434),le={attributes:{"data-cke":!0}};le.setAttributes=Ft(),le.insert=Et().bind(null,"head"),le.domAPI=Vt(),le.insertStyleElement=Lt();Rt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=pe;function de(){const t=["domConverter","editor","concat","forward","flat","end","test","ck-suggestion-marker-merge","softBreak","vid","offsetSize","_getRevisionsRange","merge","nextPosition","change:isReady","revision-viewer","-new","refresh","indexOf","return","isNavigationMode","enableReadOnlyMode","element","getLaterVisibleRevision","commands","createRangeIn","markersEnd","markers","for","values","4063128zeWrQR","_getViewForChange","filter","split","endIndex","maxOffset","data","code","attribute:vid","roots","getRevisionRootsAttributes","currentChangeNumber","_getChangeFromId","bindElementToMarker","keys","authors","isAtStart","wrap","revisionHistoryAttachChange","pop","_makeModelFromViewString","diffData","createRevision","isAdded","all","revision:","vid_end","addHighlight","isPremiumPlugin","_getDiff","showStack","downcastDispatcher","push","toViewElement","splice","pairId","repository","abs","remove","insert","_fixObsoleteTags","left","isAttached","change","addMarker:revision-suggestion:insertion","_joinTapes","_removeMissingPairs","attributesAfter","domEvent","item","setAttribute","top","adapter","checkAttribute","shift","markerToHighlight","suggestion:","deletions","includes","getCustomProperty","isRemoveSuggestion","name","dataToMarker","writer","toViewPosition","_makeModelFromTape","_appendChild","elementToAttribute","revision-comment:","createPositionBefore","startIndex","_refreshStartEndIndex","mapper","3708yUejNV","isRemoved","isOfficialPlugin","insertions","createAttributeElement","stop","compare","ck-suggestion-preview-marker","markerRange","markerName","revisionHistoryLabel","getRootNames","numberOfChanges","find","activeChange","hasClass","length","addRoot","_utils","reconvertMarker","28xvFlIS","execute","attributes","_markSuggestions","document","_processTape","_findChangeIdFromDomTarget","add","attributesBefore","hasAttribute","_markMismatchedRemovedTags","get","schema","changeId","done","_makeTape","change:activeView","ck-suggestion-marker-split","nodeAfter","insertion","6xkjYMm","isEnabled","consumable","_sortAndFilterDiffChanges","ck-suggestion-marker","revision-suggestion:","_markInsertions","mousedown","low","isContent","element:pre","_removeUnsupportedChanges","level","first","getAttribute","addMarker:revision","changes","revision-suggestion","deletion","isIncorrect","_markMarkers","removeAttribute","createRange","bottom","has","5916igamuL","isBlock","ck-revision-history-root-","change:numberOfChanges","addMarker:revision-suggestion:deletion","isAtEnd","elementEnd","userId","_data","_cleanUp","createPositionFromPath","requires","_setChanges","toViewRange","findIndex","detachRoot","_initInteractions","isInline","getRoot","catch","side","isCollapsed","markerToData","removeClass","mapViewToDom","bind","ck-revision-history-root-remove","getItems","1552840deNzuJ","backward","showPreviousChange","revision","14740rRAckO","RevisionHistoryUtils","_revisions","clear","oldRevisionId","createUIElement","ck-revision-history-root-add","model","31292yKMItz","suggestion","string","isAddSuggestion","delete","_setConversion","span","editingDowncast","isOnRoot","ck-suggestion-preview-marker-","7925183DdCeNr","WidgetToolbarRepository","_update","POSITIVE_INFINITY","range","type","enqueueChange","_balloon","newRevisionId","sort","set","_activeViewTarget","removeMarker:revision-suggestion","pluginName","getWalker","rootName","locale","addRevisionData","previousPosition","viewItem","map","loadRevisionData","change:activeChange","restoreRevisionCallback","getRevision","start","config","observeMarkers","forEach","_step","isLimit","conversion","markersStart","updatePosition","forceDisabled","getChild","data-change-id","getIndex","dataDowncast","getClientRects","plugins","consume","comment","modelRange","getAttributes","unshift","high","view","diff","unbindElementFromMarkerName","_threeWayMerge","target","upcast","isEqual","getDomRoot","304869USTXGH","highest","isAfter","from","uiElement","getRevisionDocumentData","parent","addRevision","index","addClass","ck-suggestion-marker-","startsWith","slice","isReady","editing","change:isEnabled","restoreRevision","then","isBefore","vid_start","next","isSuggestion","ck-revision-history-root--active","ck-editor__editable__overlay","removeMarker","resolve","removeMarker:revision","markerNameToElements","error","ck-suggestion-marker--active","listenTo","_cleanMarkers","distance","attachChange","_changeIdToChange","init","revisionHistory","text","destroy","isObject","showNextChange","RevisionViewer","RevisionsRepository","elementStart","_changeView","affectsData","object","right","mouseover","selection","_setDistance","activeView","nextSibling"];return(de=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(612642===parseInt(e(343))/1+parseInt(e(519))/2*(-parseInt(e(238))/3)+parseInt(e(278))/4+parseInt(e(266))/5+-parseInt(e(213))/6*(-parseInt(e(288))/7)+-parseInt(e(426))/8+parseInt(e(499))/9*(-parseInt(e(270))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);class fe extends et.Plugin{[he(462)];[he(478)]=null;[he(517)];[he(299)];[he(387)];[he(377)];[he(295)];static get[he(301)](){return he(384)}static get[he(501)](){return!0}static get[he(454)](){return!0}static get[he(249)](){return[it.Users,xt.ContextualBalloon,at,lt]}constructor(t){const e=he;super(t),this[e(462)]=this[e(397)][e(328)][e(204)](e(385)),this[e(517)]=this[e(397)][e(328)][e(204)](e(271)),this[e(298)](e(513),null),this[e(298)](e(394),null),this[e(299)]=null,this[e(298)](e(336),null),this[e(298)](e(356),!1),this[e(298)](e(214),!0),this.on(e(358),(t,i,s)=>{const n=e;this[n(513)]=null,this[n(394)]=null,this[n(397)][n(357)][n(335)][n(469)](t=>{const e=n;for(const i of this[e(397)][e(357)][e(335)][e(523)][e(435)])s?t[e(261)](e(366),i):t[e(352)](e(366),i)})}),this[e(263)](e(416)).to(this,e(513),t=>null!==t),this[e(263)](e(437)).to(this,e(356),this,e(336),this,e(513),(t,i,s)=>t&&s?i[e(229)][e(325)](s):0),this[e(263)](e(511)).to(this,e(356),this,e(336),(t,i)=>t?i[e(229)][e(515)]:0),this[e(387)]=null,this[e(377)]=new Map,this[e(295)]=this[e(397)][e(328)][e(204)](xt.ContextualBalloon)}[he(378)](){const t=he,e=this[t(397)],i=new ge(e,{direction:t(267)}),s=new ge(e,{direction:t(399)});e[t(420)][t(200)](t(268),i),e[t(420)][t(200)](t(383),s),e[t(420)][t(200)](t(359),new ve(e)),this.on(t(241),()=>{const e=t;i[e(413)](),s[e(413)]()}),this[t(283)](),this[t(254)](),e[t(417)](t(411)),e[t(328)][t(237)](t(289))&&e[t(328)][t(204)](t(289))[t(322)](t(411))}async[he(348)](t){const e=he;return await this[e(517)][e(309)](t,this[e(478)]),this[e(517)][e(348)](t)}async[he(436)](t){const e=he;return await this[e(517)][e(309)](t,this[e(478)]),this[e(517)][e(436)](t)}async[he(505)](t,e,i=!1){const s=he;if(!this[s(214)])return;const n=this[s(336)],r=this[s(462)],o=s(280)==typeof t?r[s(312)](t):t,a=s(280)==typeof e?r[s(312)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(336)]&&this[s(336)][s(296)]===c&&this[s(336)][s(274)]===u)return Promise[s(368)]();this[s(356)]=!1,this[s(394)]=null,this[s(513)]=null,this[s(336)]=new ce(c,u);const l=this[s(407)](o,a,!0)[s(308)](t=>this[s(517)][s(309)](t,this[s(478)]));return l[s(458)](new Promise(t=>{setTimeout(t,20)})),Promise[s(450)](l)[s(360)](()=>{const t=s;if(!this[t(214)])return;this[t(247)]();const e=this[t(455)](c,u);for(const i of e[t(229)])this[t(377)][t(298)](i.id,i);this[t(397)][t(277)][t(294)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(397)][s(277)][s(523)][s(510)]())i[s(253)](t);for(const t of Object[s(440)](e[s(277)])){const n=i[s(516)](t);for(const r of Object[s(440)](e[s(521)][t]))i[s(476)](r,e[s(521)][t][r],n);i[s(465)](e[s(277)][t],n,0)}}),this[t(336)][t(250)](this[t(216)](e[t(229)])),this[t(356)]=!0})[s(257)](t=>{const e=s;console[e(371)](t),this[e(247)](),n&&(this[e(336)]=n),this[e(356)]=!0})}[he(305)](t,e){const i=he,s=this[i(462)][i(448)](t);return s.on(i(290),(t,i,n)=>e(i,n,s)),this[i(462)][i(350)](s),s}[he(247)](){const t=he;this[t(513)]=null,this[t(374)](),this[t(387)]&&this[t(387)][t(381)](),this[t(387)]=null,this[t(377)][t(273)](),this[t(397)][t(277)][t(294)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(397)][i(277)][i(523)][i(510)]())e[i(253)](t)})}[he(216)](t){const e=he,i=[],s=new Map;for(const t of this[e(397)][e(277)][e(523)][e(510)]()){const n=this[e(397)][e(357)][e(335)][e(342)](t);if(!n)continue;const r=n[e(327)]()[e(475)](0);r&&(i[e(458)](t),s[e(298)](t,r))}return i[e(297)]((t,i)=>{const n=e,r=s[n(204)](t),o=s[n(204)](i);return r.y-o.y||r.x-o.x}),(t=t[e(428)](t=>i[e(484)](t[e(303)])))[e(297)]((t,s)=>i[e(414)](t[e(303)])-i[e(414)](s[e(303)])),t}[he(208)](t){const e=he,i=Array[e(346)](t[e(423)])[e(428)](([t,i])=>t[e(354)](e(451))&&!i[e(259)]),s=Array[e(346)](this[e(397)][e(277)][e(421)](t)[e(302)]({singleCharacters:!0}));if(0!=i[e(515)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(429)](":");if(n[e(401)][e(341)](t[e(409)])&&i[e(480)](),(t[e(306)][e(341)](n[e(313)])||t[e(306)][e(345)](n[e(313)]))&&(e(212)==r?t[e(449)]={userId:o}:e(231)==r&&(t[e(500)]={userId:o})),0==i[e(515)])break}return s}[he(497)](t){const e=he,i=new Map;for(let s=0;s<t[e(515)];s++)e(380)===t[s][e(293)]?(t[s][e(475)][e(496)]=s,t[s][e(475)][e(430)]=s):(e(386)===t[s][e(293)]?t[s][e(475)][e(496)]=s:e(244)===t[s][e(293)]&&(t[s][e(475)][e(430)]=s),i[e(298)](t[s].id,s));for(const s of i[e(425)]())e(386)===t[s][e(293)]?t[s][e(475)][e(430)]=i[e(204)](t[s][e(461)]):e(244)===t[s][e(293)]&&(t[s][e(475)][e(496)]=i[e(204)](t[s][e(461)]))}[he(198)](t){const e=he;for(let i=0;i<t[e(515)];i++){if(e(386)===t[i][e(293)])t[i][e(475)][e(496)]=i;else if(e(244)===t[i][e(293)]){t[i][e(475)][e(430)]=i;const s=t[i][e(475)][e(496)];t[s][e(461)]=t[i].id,t[i][e(461)]=t[s].id}else t[i][e(475)][e(496)]=i,t[i][e(475)][e(430)]=i,t[i][e(461)]=null;t[i][e(320)]||(t[i][e(320)]=[],t[i][e(422)]=[])}}[he(219)](t,e){const i=he,s=t[i(428)](t=>!t[i(449)]);for(let t=0;t<e[i(515)];t++)e[t][i(449)]&&(s[t][i(449)]=e[t][i(449)])}[he(455)](t,e=null){const i=he,s=this[i(462)][i(312)](t),n=e?this[i(462)][i(312)](e):null,r=this[i(407)](s,n),o=r[r[i(515)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(515)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(447)]))if(e[i(447)][t][i(376)]){const s=e[i(447)][t][i(376)];s[i(468)]?(u[i(200)](t),l[i(237)](t)&&l[i(204)](t)[i(245)]==s[i(245)]?l[i(282)](t):l[i(298)](t,s)):l[i(237)](t)?(u[i(282)](t),l[i(282)](t)):(u[i(200)](t),l[i(298)](t,s))}else u[i(200)](t)}for(const t of u){const e=l[i(237)](t)&&!l[i(204)](t)[i(468)];let s=e?r[i(515)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(447)][t]){const s=e?o[i(447)][t][i(201)]:o[i(447)][t][i(473)];c[i(521)][t]=s?V(s):{};break}s+=n}}for(const t of r){t[i(277)]={};for(const e of t[i(441)])a[i(298)](e.id,e);for(const e of u){const s=t[i(447)][e]?t[i(447)][e][i(502)]:"[]",n=t[i(447)][e]?t[i(447)][e][i(483)]:"[]";t[i(277)][e]={insertions:this[i(517)][i(446)](s),deletions:this[i(517)][i(446)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(346)](s[i(277)][t][i(502)][i(423)])[i(428)](([t])=>!t[i(354)](i(451))));let h=0;for(const o of r){const r=this[i(208)](o[i(277)][t][i(502)]);o==s?(e=r,n=e[i(515)],e[i(316)](t=>{t.id=h++}),this[i(198)](e)):this[i(219)](e,r);const a=e[i(428)](t=>!t[i(449)])[i(308)](t=>t.id);let c=0;const l=this[i(208)](o[i(277)][t][i(483)]);l[i(316)](t=>{t[i(500)]?t.id=n++:t.id=a[c++]}),this[i(198)](l),this[i(393)](e,i(449)),this[i(393)](l,i(500)),o==s&&this[i(233)](e,u),e=this[i(471)](e,l),this[i(497)](e),this[i(393)](e,i(500))}e=e[i(428)](t=>!(t[i(449)]&&t[i(500)]));const d=new Map(o[i(277)][t][i(483)][i(423)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(282)](t);this[i(522)](e,f),this[i(466)](e),e=this[i(472)](e),e=this[i(203)](e),e=this[i(224)](e);const{root:m,changes:p}=this[i(491)](e,a,t);c[i(277)][t]=m;const v=l[i(204)](t);if(v){const e=a[i(204)](v[i(245)]),s=new ne({author:e,type:v[i(468)]?i(200):i(464),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(333)](s),c[i(521)][t][i(444)]=s.id}c[i(229)]=c[i(229)][i(398)](p)}return c}[he(233)](t,e){const i=he;for(let s=0;s<t[i(515)];s++)for(const[n,r]of e)!r[i(259)]&&r[i(313)][i(341)](t[s][i(306)])&&t[s][i(320)][i(458)](n),r[i(401)][i(341)](t[s][i(409)])&&t[s][i(422)][i(458)](n)}[he(471)](t,e){const i=he;let s=[],n=0,r=0;for(;n<t[i(515)]||r<e[i(515)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(458)](o);else if(a[i(500)]&&o[i(449)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(338)](t,n,e,r);s=s[i(398)](o),n=a,r=c}else a[i(500)]?(r++,s[i(458)](a)):(n++,s[i(458)](o))}return s}[he(522)](t,e){const i=he,s=[];for(let o=0;o<t[i(515)];o++){for(let r=0;r<t[o][i(320)][i(515)];r++){const a=t[o][i(320)][r];if(!e[i(237)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(230)!=c||i(212)!=u&&i(231)!=u||(s[i(333)]({type:u,name:a,userId:l}),t[o][i(320)][i(460)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(422)][i(515)];r++){const a=t[o][i(422)][r];if(!e[i(237)](a))continue;const{group:c,type:u}=n(a);if(i(230)!=c||i(212)!=u&&i(231)!=u)continue;t[o][i(422)][i(460)](r,1),r--;const l=s[i(252)](t=>t[i(487)]==a);l>-1&&s[i(460)](l,1)}}function n(t){const e=i,s=t[e(429)](":");return{group:s[0],type:s[1],subType:s[e(515)]>=5?s[2]:null,id:s[e(515)]<5?s[2]:s[3],authorId:s[e(515)]<5?s[3]:s[4],markerCount:6==s[e(515)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(515)];i++){if(t[e(449)]&&e(212)==s[i][e(293)]&&t[e(449)][e(245)]==s[i][e(245)])return t[e(281)]=s[i],void delete t[e(449)];if(!t[e(449)]&&!t[e(500)]&&e(231)==s[i][e(293)])return void(t[e(486)]=s[i])}}}[he(393)](t,e){const i=he;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(298)](o.id,s);for(let s=0;s<t[i(515)];s++){if(i(500)==e&&t[s][i(449)]||i(449)==e&&t[s][i(500)])continue;if(i(380)==t[s][i(293)]){t[s][i(375)]=0;continue}const n=r[i(204)](t[s][i(461)]),o=r[i(204)](t[s].id);t[s][i(375)]=n-o}}[he(407)](t,e,i=!1){const s=he,n=[];let r=this[s(462)][s(325)](t),o=this[s(462)][s(325)](e);for(-1==o&&(o=this[s(462)][s(272)][s(515)],i=!1);r<o;)n[s(458)](this[s(462)][s(312)](r)),r++;return i&&n[s(458)](this[s(462)][s(312)](r)),n}[he(338)](t,e,i,s){const n=he,r=this[n(397)][n(277)][n(205)];let o=e;for(;t[o]&&t[o][n(449)];)o++;let a=s;for(;i[a]&&i[a][n(500)];)a++;u(t,e,o),u(i,s,a);const c=i[n(355)](s,a)[n(398)](t[n(355)](e,o));return c[n(297)]((t,e)=>t[n(258)]!=e[n(258)]?t[n(258)]-e[n(258)]:t[n(225)]!=e[n(225)]?t[n(225)]-e[n(225)]:t[n(375)]!=e[n(375)]?e[n(375)]-t[n(375)]:!!t[n(449)]!=!!e[n(449)]?-1==t[n(258)]||0==t[n(258)]?t[n(449)]?-1:1:t[n(449)]?1:-1:t[n(351)]-e[n(351)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(291)],c=!0;for(let n=e;n<i;n++)if(r[s(255)](t[n][s(475)])||(c=!1),t[n][s(475)][s(496)]<e&&(o=n),t[n][s(475)][s(430)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(258)]=n<=o?-1:n<a?0:1,t[n][s(351)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(375)]?t[i][s(225)]=u:(u++,t[i][s(225)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(258)]&&(t[n][s(225)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(375)]?t[e][s(225)]=u:(u--,t[e][s(225)]=u,u--)}}[he(466)](t){const e=he,i=new Map,s=this[e(397)][e(277)][e(205)];for(let n=1;n<t[e(515)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(380)==c[e(293)])continue;if(c[e(293)]!=u[e(293)])continue;if(!s[e(239)](u[e(475)])||s[e(318)](u[e(475)]))continue;if(!s[e(239)](c[e(475)])||s[e(318)](c[e(475)]))continue;if((t[n][e(449)]||t[n][e(281)])&&t[n-1][e(500)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(500)]||!t[n-1][e(449)]&&!t[n-1][e(281)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(225)]==o[e(225)],h=Math[e(463)](r[e(225)])<Math[e(463)](o[e(225)])&&0==o[e(375)];(l||h)&&(i[e(298)](o.id,r.id),t[e(460)](a,1),n--,r[e(449)]=!1)}for(let s=0;s<t[e(515)];s++)i[e(237)](t[s][e(461)])&&(t[s][e(461)]=i[e(204)](t[s][e(461)]))}[he(472)](t){const e=he,i=new Set(t[e(308)](t=>t.id));for(let s=0;s<t[e(515)];s++)i[e(237)](t[s][e(461)])||0==t[s][e(375)]||(t[s][e(232)]=!0);return t[e(428)](t=>!t[e(232)])}[he(203)](t){const e=he,i=new Set;for(let s=0;s<t[e(515)];s++){if(i[e(237)](t[s].id)&&t[s][e(500)]&&(t[s][e(232)]=!0),t[s][e(232)])continue;if(0==t[s][e(375)])continue;if(e(386)!=t[s][e(293)])continue;if(null==t[s][e(461)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(461)];)e(386)==t[n][e(293)]?r++:e(244)==t[n][e(293)]&&r--,n++;if(0!=r)if(t[s][e(500)])t[s][e(232)]=!0;else for(;n!=s;)t[n][e(500)]&&0!=t[n][e(375)]&&(t[n][e(232)]=!0,i[e(200)](t[n][e(461)])),n--}return t[e(428)](t=>!t[e(232)])}[he(224)](t){const e=he,i=this[e(397)][e(277)][e(205)];for(let s=0;s<t[e(515)];s++){if(!(t[s][e(449)]||t[s][e(281)]||t[s][e(500)]||t[s][e(486)]))continue;if(0==t[s][e(375)])continue;const n=t[s][e(475)];i[e(239)](n)||i[e(318)](n)||(t[s][e(449)]&&delete t[s][e(449)],t[s][e(281)]&&delete t[s][e(281)],t[s][e(486)]&&delete t[s][e(486)],t[s][e(500)]&&(t[s][e(232)]=!0))}return t[e(428)](t=>!t[e(232)])}[he(491)](t,e,i){const s=he,n=new st.ModelDocumentFragment,r=[],o=new Map,a=this[s(397)][s(277)],c=a[s(205)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(515)];e++)if(s(386)===t[e][s(293)]){t[e][s(306)]=a[s(248)](n,f);const i=new st.ModelElement(t[e][s(475)][s(487)],t[e][s(475)][s(332)]());u[0][s(492)](i),f[s(458)](0),u[s(333)](i),t[e][s(409)]=a[s(248)](n,f)}else s(244)===t[e][s(293)]?(u[s(480)](),t[e][s(306)]=a[s(248)](n,f),f[s(445)](),f[f[s(515)]-1]++,t[e][s(409)]=a[s(248)](n,f)):(t[e][s(306)]=a[s(248)](n,f),d?d[s(246)]+=t[e][s(475)][s(432)]:d=new st.ModelText(t[e][s(475)][s(432)],t[e][s(475)][s(332)]()),t[e+1]&&s(380)===t[e+1][s(293)]&&v(d,t[e+1][s(475)])||(u[0][s(492)](d),d=null),f[f[s(515)]-1]+=t[e][s(475)][s(406)],t[e][s(409)]=a[s(248)](n,f));for(let e=0;e<t[s(515)];e++){const i=t[e][s(306)],n=t[e][s(409)];for(const n of t[e][s(320)])o[s(298)](n,{start:i,end:null});m(s(486),e,i,n),m(s(281),e,i,n),m(s(500),e,i,n),m(s(449),e,i,n);for(const i of t[e][s(422)]){const t=o[s(204)](i);t?t[s(401)]=n:o[s(298)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(397)][s(277)][s(235)](e[s(313)],e[s(401)]);n[s(423)][s(298)](t,i)}return r[s(297)]((t,e)=>{const i=s,r=n[i(423)][i(204)](i(451)+t.id),o=n[i(423)][i(204)](i(451)+e.id);return r[i(313)][i(361)](o[i(313)])?-1:r[i(313)][i(345)](o[i(313)])?1:r[i(401)][i(361)](o[i(401)])?-1:r[i(401)][i(345)](o[i(401)])?1:i(200)===t[i(293)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(245)]:null,d=i===t[o(515)]-1,f=h[e][0],m=c[o(382)](t[i][o(475)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(401)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(245)]!==u&&(l[e][o(401)]=n,f&&f[o(245)]===l[e][o(245)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(386)!==t[i][o(293)]||f&&f[o(245)]===u||h[e][o(333)]({userId:u,object:t[i][o(475)],change:l[e]}),o(244)===t[i][o(293)]&&f&&f[o(389)]===t[i][o(475)]&&(h[e][o(480)](),l[e]=f[o(469)])),l[e]&&d&&(l[e][o(401)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(475)],f=a[h(205)][h(239)](d)&&!a[h(205)][h(318)](d),m=t[h(211)]==o[h(349)]&&o[h(442)];if(f&&m)return;const p=a[h(235)](t,o),v=e[h(204)](u),g=new ne({author:v,type:h(449)==l||h(281)==l?h(200):h(464),data:{isSuggestion:h(281)==l||h(486)==l},createdAt:new Date,rootName:i});r[h(458)](g),n[h(423)][h(298)](h(451)+g.id,p)}function v(t,e){const i=s,n=t[i(332)](),r=e[i(332)]();for(const t of n){if(t[1]!==e[i(227)](t[0]))return!1;r[i(363)]()}return r[i(363)]()[i(207)]}}[he(283)](){const t=he;this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(269)}),this[t(397)][t(319)][t(424)](t(285))[t(481)]({model:t(269),view:e=>{const i=t,s=e[i(508)][i(429)](":")[1],n=this[i(438)](s);if(!n)return null;const r=i(200)==n[i(293)]?i(212):i(231),o=[i(217),i(353)+r];return n[i(432)][i(364)]&&o[i(458)](i(353)+r+i(412)),this[i(513)]==n&&o[i(458)](i(372)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(397)][t(319)][t(424)](t(340))[t(200)](e=>{const i=t;e.on(i(223),(t,e,s)=>{const n=i,r=e[n(307)][n(323)](0);if(!r||!r.is(n(418),n(433)))return;if(!s[n(215)][n(329)](r,{attributes:[n(362),n(452)]}))return;const o=e[n(331)][n(313)][n(211)];s[n(489)][n(476)](n(362),r[n(227)](n(362)),o),s[n(489)][n(476)](n(452),r[n(227)](n(452)),o)},{priority:i(221)})}),this[t(397)][t(319)][t(424)](t(340))[t(200)](e=>{const i=t;e.on(i(418),(t,e,s)=>{const n=i;if(!s[n(215)][n(329)](e[n(307)],{attributes:[n(362),n(452)]}))return;if(e[n(331)][n(259)])return;const r=e[n(331)][n(313)][n(211)];r[n(202)](n(362))||r[n(202)](n(405))||(s[n(489)][n(476)](n(362),e[n(307)][n(227)](n(362)),r),s[n(489)][n(476)](n(452),e[n(307)][n(227)](n(452)),r))},{priority:i(221)})}),this[t(397)][t(319)][t(424)](t(340))[t(493)]({view:{name:t(284),attributes:{vid:!0}},model:{key:t(405),value:e=>e[t(227)](t(405))}}),this[t(397)][t(277)][t(205)].on(t(479),(e,[,i])=>{const s=t;[s(362),s(452),s(405)][s(484)](i)&&(e[s(415)]=!0,e[s(504)]())},{priority:t(344)}),this[t(397)][t(319)][t(424)](t(326))[t(200)](e=>{const i=t;e.on(i(434),(t,e,s)=>{const n=i;if(" "!=e[n(475)][n(432)]||e[n(475)][n(349)][n(431)]>1)return;if(!s[n(215)][n(329)](e[n(475)],t[n(487)]))return;const r=s[n(489)],o=s[n(498)][n(251)](e[n(292)]);r[n(443)](o,r[n(503)](n(284)))})}),this[t(397)][t(319)][t(424)](t(326))[t(260)]({model:t(269)}),this[t(397)][t(357)][t(457)].on(t(228),function(e){const i=t,s=e[i(328)][i(204)](i(384));return(t,n,r)=>{const o=i,a=n[o(508)][o(429)](":")[1],c=s[o(438)](a);if(!c)return null;const u=o(200)==c[o(293)]?o(429):o(408);if(!r[o(215)][o(402)](n[o(507)],t[o(487)]))return;const l=n[o(507)][o(302)](),h=n[o(507)][o(313)],d=e[o(277)][o(205)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(475)];p=p||d[o(222)](e);const i=r[o(498)][o(459)](e);if(i&&i[o(485)](o(453)))return;o(244)==t[o(293)]&&d[o(239)](e)&&!d[o(318)](e)&&(e[o(395)]||h[o(243)]?f&&f[o(349)]==e||(f=e,g(t[o(306)]),v=!0):m=m||t[o(306)])}function g(t){const e=o,i=r[e(489)][e(275)](e(284),{class:e(353)+u}),a=r[e(498)][e(490)](t);c[e(432)][e(364)]&&r[e(489)][e(352)](e(353)+u+e(412),i),s[e(513)]==c&&r[e(489)][e(352)](e(372),i),r[e(489)][e(465)](a,i),r[e(498)][e(439)](i,n[e(508)])}p||v||!m||g(m)}}(this[t(397)]),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(369),(e,i,s)=>{const n=t,r=s[n(498)][n(370)](i[n(508)]);if(r)for(const t of r)(t[n(514)](n(210))||t[n(514)](n(403)))&&(s[n(498)][n(337)](t,i[n(508)]),s[n(489)][n(464)](t))},{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(228),(e,i,s)=>{const n=t,r=i[n(508)][n(429)](":")[1],o=this[n(438)](r);if(!o)return null;const a=n(200)==o[n(293)]?n(429):n(408);if(s[n(215)][n(402)](i[n(507)],e[n(487)]))for(const t of i[n(507)][n(265)]()){if(!t.is(n(418),n(404)))continue;const e=s[n(489)][n(275)](n(284),{class:n(353)+a}),r=s[n(498)][n(490)](this[n(397)][n(277)][n(495)](t));o[n(432)][n(364)]&&s[n(489)][n(352)](n(353)+a+n(412),e),this[n(513)]==o&&s[n(489)][n(352)](n(372),e),s[n(489)][n(465)](r,e),s[n(498)][n(439)](e,i[n(508)])}},{priority:t(334)}),this[t(397)][t(277)][t(523)].on(t(469),()=>{const e=t;this[e(397)][e(357)][e(335)][e(469)](t=>{const i=e;for(const e of this[i(397)][i(277)][i(523)][i(510)]()){const s=this[i(397)][i(277)][i(523)][i(256)](e),n=this[i(397)][i(357)][i(335)][i(523)][i(256)](e);if(n){const e=s[i(227)](i(444));if(t[i(234)](i(324),n),t[i(261)](i(276),n),t[i(261)](i(264),n),t[i(261)](i(365),n),e){const s=this[i(438)](e);if(!s)return null;t[i(476)](i(324),e,n),t[i(352)](i(240)+s[i(293)],n),this[i(513)]==s&&t[i(352)](i(365),n)}}}})}),this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(330),model:e=>t(494)+e,converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(340))[t(488)]({view:t(279),model:e=>t(218)+e,converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(326))[t(260)]({model:t(230),view:e=>({name:t(482)+e,group:t(230)}),converterPriority:t(344)}),this[t(397)][t(319)][t(424)](t(285))[t(481)]({model:t(230),view:e=>{const i=t,s=e[i(508)][i(429)](":")[1];return i(212)!=s&&i(231)!=s?null:{classes:[i(506),i(287)+s]}}}),this[t(397)][t(357)][t(457)].on(t(242),me(this[t(397)],t(408)),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(470),me(this[t(397)],t(429)),{priority:t(334)}),this[t(397)][t(357)][t(457)].on(t(300),(e,i,s)=>{const n=t,r=s[n(498)][n(370)](i[n(508)]);if(r)for(const t of r)t.is(n(347))&&(s[n(498)][n(337)](t,i[n(508)]),s[n(489)][n(464)](t))},{priority:t(334)})}[he(438)](t){const e=he;return this[e(377)][e(204)](t)}[he(427)](t){const e=he;return this[e(387)]&&this[e(387)][e(381)](),this[e(387)]=new te(this[e(397)][e(304)],t),this[e(387)]}[he(254)](){const t=he;this[t(397)][t(277)][t(523)][t(392)][t(315)](t(269)),this.on(t(209),(e,i,s,n)=>{const r=t;n&&this[r(295)][r(464)](n),s&&(this[r(295)][r(200)]({view:s,stackId:r(509),position:{target:()=>{const t=r,e=this[t(397)][t(357)],i=this[t(438)](s[t(206)]);let n;if(i[t(432)][t(286)]){const s=e[t(335)][t(342)](i[t(303)]);n=Array[t(346)](s[t(327)]())}else{const i=this[t(397)][t(277)][t(423)][t(204)](t(451)+s[t(206)]);n=Array[t(346)](e[t(498)][t(370)](i[t(487)]))[t(308)](i=>e[t(335)][t(396)][t(262)](i))[t(308)](e=>Array[t(346)](e[t(327)]()))[t(400)]()}return this[t(299)]&&n[t(512)](e=>e[t(477)]-3<=this[t(299)].y&&e[t(236)]+3>=this[t(299)].y&&e[t(467)]-3<=this[t(299)].x&&e[t(390)]+3>=this[t(299)].x)||n[0]}}}),this[r(295)][r(456)](r(509)))}),this.on(t(310),(e,i,s,n)=>{const r=t;this[r(394)]=s?this[r(427)](s):null,this[r(397)][r(277)][r(469)](()=>{const t=r,e=this[t(397)][t(357)];n&&(n[t(432)][t(286)]?e[t(335)][t(469)](i=>{const s=t;i[s(261)](s(365),e[s(335)][s(523)][s(256)](n[s(303)]))}):e[t(518)](t(451)+n.id)),s&&(s[t(432)][t(286)]?e[t(335)][t(469)](i=>{const n=t;i[n(352)](n(365),e[n(335)][n(523)][n(256)](s[n(303)]))}):e[t(518)](t(451)+s.id))})}),this[t(373)](this[t(397)][t(357)][t(335)][t(523)],t(391),(e,i)=>{const s=t;if(this[s(513)])return;const n=this[s(199)](i[s(339)]),r=this[s(377)][s(204)](n);r?(this[s(299)]={x:i[s(474)].x,y:i[s(474)].y},this[s(394)]=this[s(427)](r)):(this[s(299)]=null,this[s(394)]=null)}),this[t(373)](this[t(397)][t(357)][t(335)][t(523)],t(220),(e,i)=>{const s=t,n=this[s(199)](i[s(339)]),r=this[s(377)][s(204)](n);r?(this[s(299)]={x:i[s(474)].x,y:i[s(474)].y},r===this[s(513)]?this[s(295)][s(321)]():this[s(513)]=r):(this[s(299)]=null,this[s(513)]=null)})}[he(199)](t){const e=he;do{const i=t[e(227)](e(324));if(i)return i;t=t[e(349)]}while(t);return null}[he(374)](){const t=he;this[t(397)][t(277)][t(469)](e=>{const i=t;for(const t of this[i(397)][i(277)][i(423)])e[i(367)](t)})}}function me(t,e){return(i,s,n)=>{const r=pe;if(!n[r(215)][r(402)](s[r(507)],i[r(487)]))return;const o=s[r(507)][r(302)](),a=s[r(507)][r(313)],c=t[r(277)][r(205)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(475)];h=h||c[r(222)](e);const i=n[r(498)][r(459)](e);if(i&&i[r(485)](r(453)))return;r(244)==t[r(293)]&&c[r(239)](e)&&!c[r(318)](e)&&(e[r(395)]||a[r(243)]?u&&u[r(349)]==e||(u=e,f(t[r(306)]),d=!0):l=l||t[r(306)])}function f(t){const i=r,o=n[i(498)][i(490)](t),a=n[i(489)][i(275)](i(284),{class:i(287)+e});n[i(489)][i(465)](o,a),n[i(498)][i(439)](a,s[i(508)])}h||d||!l||f(l)}}function pe(t,e){const i=de();return(pe=function(t,e){return i[t-=198]})(t,e)}class ve extends et.Command{constructor(t){const e=he;super(t);const i=t[e(328)][e(204)](fe);this[e(388)]=!1,this[e(373)](i,e(410),()=>this[e(413)]()),this[e(373)](i,e(358),()=>this[e(413)]())}[he(520)](){const t=he,e=this[t(397)],i=e[t(328)][t(204)](fe),s=i[t(356)]?i[t(336)][t(296)]:null;e[t(314)][t(204)](t(379))[t(311)](s)}[he(413)](){const t=he,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(397)][t(328)][t(204)](fe),r=n&&s[t(419)](n[t(296)]);this[t(214)]=e&&i&&Boolean(r)}}class ge extends et.Command{[he(317)];constructor(t,{direction:e}){const i=he;super(t);const s=t[i(328)][i(204)](fe);this[i(388)]=!1,this[i(317)]=i(399)===e?1:-1,this[i(373)](s,i(410),()=>this[i(413)]()),this[i(373)](s,i(358),()=>this[i(413)]()),this[i(373)](s,i(310),()=>this[i(413)]())}[he(520)](){const e=he,i=this[e(397)],s=i[e(328)][e(204)](fe),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(513)]=n?s[e(336)][e(229)][e(204)](r+this[e(317)]):s[e(336)][e(229)][e(226)],s[e(513)][e(432)][e(286)])o=i[e(357)][e(335)][e(342)](s[e(513)][e(303)]);else{const t=i[e(277)][e(423)][e(204)](e(451)+s[e(513)].id);o=(0,it.getMarkerDomElement)(i[e(357)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[he(413)](){const t=he,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(397)][t(328)][t(204)](fe);this[t(214)]=!!(r&&n&&s)&&(!e||(1===this[t(317)]?i<s-1:i>0))}}var ye=i(522),ke={attributes:{"data-cke":!0}};ke.setAttributes=Ft(),ke.insert=Et().bind(null,"head"),ke.domAPI=Vt(),ke.insertStyleElement=Lt();Rt()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["div","forward","No changes","6JhLvMp","backward","isBackwardNavigationEnabled","isForwardNavigationEnabled","69588Usugwt","2577969Ywfarj","ck-revision-history-ui__changes-navigation","set","Show previous change","execute","EDIT_X_OF_Y_REVISIONS","setTemplate","48231fuzaRu","5GPNdKn","isNavigationMode","Loading...","_statusText","isReady","bind","ck-hidden","NUMBER_OF_CHANGES","currentChangeNumber","804tOPchK","Show next change","span","_isStatusLabelVisible","fire","175844RmndZx","1847600dkFgep","ck-revision-history-ui__changes-navigation__label","14042qvCQkb","isEnabled","ck-revision-history-ui","bindTemplate","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__navigation","numberOfChanges","Total","2605830FojoqI"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=210]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(157006===parseInt(e(246))/1+parseInt(e(219))/2*(-parseInt(e(231))/3)+-parseInt(e(223))/4*(-parseInt(e(232))/5)+-parseInt(e(241))/6*(-parseInt(e(249))/7)+-parseInt(e(247))/8+-parseInt(e(224))/9+parseInt(e(215))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class _e extends xt.View{constructor(t){const e=we;super(t);const i=this[e(252)],s=new xt.ButtonView(t),n=new xt.ButtonView(t);this[e(226)](e(233),!1),this[e(226)](e(236),!1),this[e(226)](e(240),0),this[e(226)](e(213),0),this[e(226)](e(222),!1),this[e(226)](e(221),!1),this[e(237)](e(244)).to(this,e(236),this,e(213),(t,e)=>t&&e>0),this[e(237)](e(235)).to(this,e(236),this,e(240),this,e(213),this,e(233),(i,s,n,r)=>{const o=e;if(!i)return dt(t,o(234));if(!n)return dt(t,o(218));const a=dt(t,o(239),n);return r?dt(t,o(210),[s+1,n]):a}),s[e(226)]({label:dt(t,e(227)),tooltip:!0,icon:Nt.IconChevronUp}),n[e(226)]({label:dt(t,e(242)),tooltip:!0,icon:Nt.IconChevronDown}),s[e(237)](e(250)).to(this,e(221)),n[e(237)](e(250)).to(this,e(222)),s.on(e(228),()=>this[e(245)](e(228),e(220))),n.on(e(228),()=>this[e(245)](e(228),e(217))),this[e(230)]({tag:e(216),attributes:{class:["ck",e(251),e(225)]},children:[{tag:e(243),attributes:{class:[e(211)]},children:[{tag:e(243),attributes:{class:[e(248),i.if(e(244),e(238),t=>!t)]},children:[{text:i.to(e(233),i=>i?dt(t,e(229))+": ":dt(t,e(214))+": ")}]},{text:i.to(e(235))}]},new xt.ToolbarSeparatorView,{tag:e(216),attributes:{class:[e(212)]},children:[s,n]}]})}}var Ie=i(418),Se={attributes:{"data-cke":!0}};Se.setAttributes=Ft(),Se.insert=Et().bind(null,"head"),Se.domAPI=Vt(),Se.insertStyleElement=Lt();Rt()(Ie.A,Se);Ie.A&&Ie.A.locals&&Ie.A.locals;function Oe(){const t=["editing","hide","ck-editor__editable__loading-overlay","isPremiumPlugin","document","5zZtcwi","3294018JjAcBe","view","438849UIvItY","288LyHxoZ","removeClass","422546YPXWwu","show","roots","2108106yQCbVx","RevisionViewerLoadingOverlay","editor","change","pluginName","2110972lZqmnd","112224lgbyYv","isOfficialPlugin","20dAsLGr","90296LpsjAX","6QRoCYt","addClass"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=403]})(t,e)}const Ne=Te;!function(t){const e=Te,i=t();for(;;)try{if(302416===parseInt(e(404))/1+parseInt(e(418))/2*(parseInt(e(405))/3)+parseInt(e(426))/4*(-parseInt(e(412))/5)+-parseInt(e(413))/6+-parseInt(e(427))/7*(-parseInt(e(416))/8)+-parseInt(e(415))/9*(-parseInt(e(403))/10)+parseInt(e(421))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);const xe=Ne(409);class Ae extends et.Plugin{static get[Ne(425)](){return Ne(422)}static get[Ne(428)](){return!0}static get[Ne(410)](){return!0}[Ne(419)](){const t=Ne,e=this[t(423)][t(407)][t(414)];e[t(424)](i=>{const s=t;for(const t of e[s(411)][s(420)])i[s(406)](xe,t)})}[Ne(408)](){const t=Ne,e=this[t(423)][t(407)][t(414)];e[t(424)](i=>{const s=t;for(const t of e[s(411)][s(420)])i[s(417)](xe,t)})}}const Re=Ve;function Me(){const t=["isForwardNavigationEnabled","exitToEditing","hide","ck-revision-history-ui__back-to-editing","change:isReady","25074eszXEK","execute","isReady","plugins","isNavigationMode","302616NIVIxu","requires","isBackwardNavigationEnabled","isPremiumPlugin","3225rhKsDF","RevisionViewerUI","218215rNvWfX","config","show","add","110ecXixE","editor","get","4IlFQAu","numberOfChanges","set","isEnabled","bind","listenTo","forward","currentChangeNumber","198430yeZdkB","isOfficialPlugin","closeRevisionViewerCallback","2fBpfnK","showPreviousChange","componentFactory","pluginName","Back to editing","25804EiazoM","921739JChZQd","Restore this revision","showNextChange","544HFbUqJ","revisionHistory","init","commands","restoreRevision","changesNavigation"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=156]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(106987===-parseInt(e(168))/1*(parseInt(e(163))/2)+-parseInt(e(192))/3+parseInt(e(201))/4*(parseInt(e(194))/5)+-parseInt(e(188))/6+parseInt(e(169))/7+-parseInt(e(172))/8*(parseInt(e(183))/9)+parseInt(e(160))/10*(parseInt(e(198))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends et.Plugin{static get[Re(166)](){return Re(193)}static get[Re(161)](){return!0}static get[Re(191)](){return!0}static get[Re(189)](){return[fe,Ae]}[Re(174)](){const t=Re,e=this[t(199)],i=e[t(186)][t(200)](fe),s=e[t(186)][t(200)](Ae);e.ui[t(165)][t(197)](t(179),i=>{const s=t,n=new xt.ButtonView(i);return n[s(203)]({label:dt(i,s(167)),icon:Nt.IconUndo,withText:!0,tooltip:!0,class:s(181)}),this[s(157)](n,s(184),()=>{const t=s;e[t(195)][t(200)](t(173))[t(162)]()}),n}),e.ui[t(165)][t(197)](t(176),i=>{const s=t,n=new xt.ButtonView(i);return n[s(203)]({label:dt(i,s(170)),withText:!0,tooltip:!0}),n[s(156)](s(204)).to(e[s(175)][s(200)](s(176))),this[s(157)](n,s(184),()=>e[s(184)](s(176))),n}),e.ui[t(165)][t(197)](t(177),s=>{const n=t,r=new _e(s),o=e[n(175)][n(200)](n(164)),a=e[n(175)][n(200)](n(171));return r[n(156)](n(190)).to(o,n(204)),r[n(156)](n(178)).to(a,n(204)),r[n(156)](n(185),n(159),n(202),n(187)).to(i),this[n(157)](r,n(184),(t,i)=>{const s=n;e[s(184)](s(158)===i?s(171):s(164))}),r}),s[t(196)](),i.on(t(182),(e,i,n)=>{const r=t;n?s[r(180)]():s[r(196)]()})}}var Ee=i(223),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ft(),Ce.insert=Et().bind(null,"head"),Ce.domAPI=Vt(),Ce.insertStyleElement=Lt();Rt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;const Fe=Le;function je(){const t=["set","1773745BSznKd","468180MVrzVI","3855472CAtJkV","render","753hWOaze","22751zwdidN","span","extendTemplate","ck-tooltip_multi-line","bindTemplate","5068134sVSrgK","placeholder","7YwCBtT","input","clientWidth","value","ck-revision-history-sidebar__revision-name","_tooltipString","Enter the revision name","_resizeObserver","1059666TScKuR","2162RPRmPf","listenTo","element","_updateTooltipText","Revision name","scrollWidth","destroy","fieldView","30JXdXAH"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(618179===-parseInt(e(413))/1+-parseInt(e(398))/2*(parseInt(e(412))/3)+-parseInt(e(409))/4+-parseInt(e(408))/5+-parseInt(e(397))/6*(-parseInt(e(389))/7)+-parseInt(e(410))/8+-parseInt(e(418))/9*(-parseInt(e(406))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends xt.LabeledFieldView{[Fe(396)]=null;constructor(t,e){const i=Fe;super(t,e);const s=this[i(417)];this[i(407)]({label:dt(t,i(402)),_tooltipString:""}),this[i(405)][i(419)]=dt(t,i(395)),this[i(415)]({tag:i(414),attributes:{class:[i(393)],"data-cke-tooltip-text":s.to(i(394)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(416)}})}[Fe(411)](){const e=Fe;super[e(411)](),this[e(396)]=new t.ResizeObserver(this[e(405)][e(400)],()=>this[e(401)]()),this[e(399)](this[e(405)],e(390),()=>this[e(401)]())}[Fe(404)](){const t=Fe;super[t(404)](),this[t(396)]&&this[t(396)][t(404)]()}[Fe(401)](){const t=Fe,e=this[t(405)][t(400)];this[t(394)]=e[t(403)]>e[t(391)]&&e[t(392)]||""}}var ze=i(443),We={attributes:{"data-cke":!0}};We.setAttributes=Ft(),We.insert=Et().bind(null,"head"),We.domAPI=Vt(),We.insertStyleElement=Lt();Rt()(ze.A,We);ze.A&&ze.A.locals&&ze.A.locals;function Ue(){const t=["2617950wsVlYR","38420556FMTcIN","Revision author","ck-revision-history-sidebar__revision-author","name","11TIUAhp","ck-revision-history-sidebar__revision-author__name","9pjWuSk","20HrOEjO","setTemplate","push","9929718kRwHDt","63142jKkjHJ","474792ysAwNI","0 0 11 10","Revision creator","set","230540IONUfH","10SxnseA","3089415lUFwBJ","span","24roFahQ","ck-revision-history-sidebar__revision-author_creator"];return(Ue=function(){return t})()}function Ze(t,e){const i=Ue();return(Ze=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(889267===parseInt(e(492))/1*(-parseInt(e(511))/2)+parseInt(e(510))/3*(parseInt(e(493))/4)+-parseInt(e(497))/5+parseInt(e(503))/6+-parseInt(e(499))/7*(parseInt(e(501))/8)+-parseInt(e(491))/9*(parseInt(e(498))/10)+-parseInt(e(508))/11*(-parseInt(e(504))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends xt.View{constructor(t,e,i){const s=Ze;super(t);const n=new xt.IconView;n[s(496)]({content:Nt.IconUser,viewBox:s(494)});const r=["ck",s(506)];i&&r[s(490)](s(502));const o=[{tag:s(500),attributes:{class:["ck",s(509)],title:dt(t,s(i?495:505))},children:[n,e[s(507)]]}];this[s(489)]({tag:"li",attributes:{class:r},children:o})}}function qe(t,e){var i=$e();return(qe=function(t,e){return i[t-=410]})(t,e)}function $e(){var t=["toLocaleTimeString","186kAbtli","17592trUznV","long","4422192yOkdqc","8668290lFQMdd","1506yIvdmY","toLocaleDateString","7zejvZB","38217wKFRKW","1158508KqGRlh","4225743CtEEiO","numeric","5335IyTuyK"];return($e=function(){return t})()}!function(t){for(var e=qe,i=t();;)try{if(280997===-parseInt(e(418))/1+parseInt(e(411))/2*(parseInt(e(410))/3)+parseInt(e(419))/4+-parseInt(e(422))/5*(-parseInt(e(415))/6)+parseInt(e(417))/7*(parseInt(e(413))/8)+-parseInt(e(420))/9+-parseInt(e(414))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var Be=i(433),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Ft(),Ye.insert=Et().bind(null,"head"),Ye.domAPI=Vt(),Ye.insertStyleElement=Lt();Rt()(Be.A,Ye);Be.A&&Be.A.locals&&Be.A.locals;function Je(){const t=["499179aNudYc","name","listenTo","menu","stopPropagation","function","button","isVisible","isOpen","isActionsDropdownOpen","5188842POZuVP","bind","1513216ecAktG","model","Compare against selected","388724SUnjeO","execute","Name this revision","Restore this revision","1459120dqxwqf","isEnabled","menuitem","class","buttonView","_action","find","panelPosition","items","set","change:isActionsDropdownOpen","1508068joIzLS","action","ck-on","4rrVXDh","first","listView","Show more items","isReady","41188800LjsGBh","add","extendTemplate","children","114YnPhre","bindTemplate","map","ck-revision-history-sidebar__revision__actions","5NjSmrM","source","locale"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=441]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(794731===-parseInt(e(475))/1+-parseInt(e(489))/2*(-parseInt(e(456))/3)+-parseInt(e(486))/4*(parseInt(e(453))/5)+parseInt(e(449))/6*(-parseInt(e(471))/7)+-parseInt(e(468))/8+-parseInt(e(466))/9+parseInt(e(445))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);var Ke=i(898),Qe={attributes:{"data-cke":!0}};Qe.setAttributes=Ft(),Qe.insert=Et().bind(null,"head"),Qe.domAPI=Vt(),Qe.insertStyleElement=Lt();Rt()(Ke.A,Qe);Ke.A&&Ke.A.locals&&Ke.A.locals;const Xe=ti;function ti(t,e){const i=ei();return(ti=function(t,e){return i[t-=456]})(t,e)}function ei(){const t=["select","169977NBlVrI","isReady","ck-revision-history-sidebar__actions_dropdown_open","filter","unshift","220","createdAt","ck-revision-history-sidebar__revision-wrapper","10zQNEDT","isHighlighted","value","isActionsDropdownOpen","revisionNameView","deselect","fire","closest","revisionActionsView","bind",".ck-confirm-view","34888ZGcWWR","creator","setName","_requireRevisionName","ck-revision-history-sidebar__revision__date","map","uiLanguage","highlight","length","extendTemplate","div","bindTemplate","change","isSelected","1710455leRynU","unhighlight","authors","isEnabled","listenTo","setTemplate","srcElement","set","1414440aIrPZD","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","18wKhRLN","fieldView","name","ck-revision-history-sidebar__revision_highlighted","ck-reset","35253EWGIca","962112mDpNnb","ck-revision-history-sidebar__revision","ck-disabled","from","_revision","isConfirm","1430960wnvgHx","element","span","_createdAtFormatted","ck-revision-history-sidebar__revision-authors","6SMXZCo","ck-revision-history-sidebar__revision_selected","render"];return(ei=function(){return t})()}!function(t){const e=ti,i=t();for(;;)try{if(306025===-parseInt(e(487))/1+-parseInt(e(495))/2*(parseInt(e(471))/3)+parseInt(e(463))/4+-parseInt(e(520))/5*(-parseInt(e(483))/6)+parseInt(e(506))/7+parseInt(e(472))/8+-parseInt(e(466))/9*(parseInt(e(478))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ei);class ii extends((0,it.ConfirmMixin)(xt.View)){id;[Xe(499)];[Xe(503)];[Xe(476)];[Xe(509)];constructor(e,i,s,n){const r=Xe;super(e);const o=this[r(517)],a=function(t,e){const i=r,s=Array[i(475)](e[i(457)])[i(490)](t=>t!=e[i(507)]);return e[i(507)]&&s[i(491)](e[i(507)]),s[i(511)](s=>new He(t,s,s==e[i(507)]))}(e,i);this.id=i.id,this[r(476)]=i,this[r(509)]=n,this[r(504)](r(468),r(493)).to(i),this[r(504)](r(481)).to(this,r(493),t=>{return i=e[r(512)],(s=t)[(n=qe)(416)](i,{month:n(412),day:n(421)})+", "+s[n(423)](i,{hour:n(421),minute:n(421)});var i,s,n}),this[r(462)](r(519),!1),this[r(462)](r(496),!1),this[r(462)](r(498),!1),this[r(462)](r(488),!1),this[r(462)](r(458),!1),this[r(499)]=new Pe(e,xt.createLabeledInputText),this[r(499)][r(467)][r(515)]({attributes:{maxlength:r(492)}}),this[r(499)][r(467)][r(504)](r(497)).to(this,r(468),t=>t||this[r(481)]),this[r(499)][r(504)](r(458)).to(this,r(519),this,r(458),(t,e)=>t&&e),this[r(503)]=s&&s[r(514)]?function(e,i){const s=Ge,n=e[s(450)],r=e[s(455)],o=(0,xt.createDropdown)(r);o[s(482)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ge,s=t[i(455)],n={"Compare against selected":dt(s,i(470)),"Name this revision":dt(s,i(473)),"Restore this revision":dt(s,i(474))};return e[i(451)](t=>{const e=i,s=n[t[e(457)]];return s&&s!==t[e(457)]&&(t[e(457)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(462),model:new xt.UIModel({label:t[n(457)],class:t[n(478)],withText:!0,role:n(477),_action:t[n(487)]})};i[n(469)][n(467)](n(476)).to(e,n(465),i=>n(461)!=typeof t[n(476)]||!i||t[n(476)](e)),o[n(446)](i)}return o}(e,i);return e[s(467)](s(465)).to(o,s(464)),o[s(479)][s(484)]({label:dt(r,s(443)),tooltip:!0,tooltipPosition:"sw",icon:Nt.IconThreeVerticalDots}),o[s(447)]({attributes:{class:[s(452),n.if(s(465),s(488))]},on:{click:n.to(t=>t[s(460)]())}}),o.on(s(472),t=>{const i=s;e[i(444)]&&i(461)==typeof t[i(454)][i(480)]&&t[i(454)][i(480)](e)}),(0,xt.addListToDropdown)(o,a,{role:s(459)}),o[s(458)](e,s(485),(t,n,r)=>{const a=s;if(r)for(const t of o[a(442)][a(483)]){const s=t[a(448)][a(441)],n=i[a(481)](t=>t[a(487)]===s[a(480)])[a(463)];t[a(463)]=void 0===n||n(e)}}),o}(this,s):"",this[r(503)]&&this[r(503)][r(504)](r(458)).to(this),this[r(460)]({tag:r(516),attributes:{class:["ck",r(470),r(494),o.if(r(477),r(465))]},children:[{tag:r(516),attributes:{class:["ck",r(470),r(473),o.if(r(458),r(474),t=>!t),o.if(r(519),r(484)),o.if(r(496),r(469)),o.if(r(498),r(489))]},children:[this[r(499)],{tag:r(480),attributes:{class:["ck",r(510)]},children:[{text:o.to(r(481))}]},{tag:r(516),attributes:{class:["ck",r(464)]},children:[{tag:"ul",attributes:{class:["ck",r(482)]},children:a}]},this[r(503)]],on:{click:o.to(t=>{const e=r;t[e(461)][e(502)](e(505))||this[e(488)]&&this[e(458)]&&this[e(501)](e(486),{id:this.id})})}}]})}[Xe(485)](){const t=Xe;super[t(485)]();const e=this[t(499)][t(467)][t(479)];this[t(459)](e,t(518),()=>{const i=t;this[i(509)]&&!e[i(497)]||this[i(501)](i(508),{id:this.id,name:e[i(497)]}),e[i(497)]||(e[i(497)]=this[i(468)]?this[i(468)]:this[i(481)])})}[Xe(486)](){this[Xe(519)]=!0}[Xe(500)](){this[Xe(519)]=!1}[Xe(513)](){this[Xe(496)]=!0}[Xe(456)](){this[Xe(496)]=!1}}class si extends Error{}class ni extends si{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ri extends si{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class oi extends si{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends si{}class ci extends si{constructor(t){super(`Invalid unit ${t}`)}}class ui extends si{}class li extends si{constructor(){super("Zone is an abstract class")}}const hi="numeric",di="short",fi="long",mi={year:hi,month:hi,day:hi},pi={year:hi,month:di,day:hi},vi={year:hi,month:di,day:hi,weekday:di},gi={year:hi,month:fi,day:hi},yi={year:hi,month:fi,day:hi,weekday:fi},ki={hour:hi,minute:hi},bi={hour:hi,minute:hi,second:hi},wi={hour:hi,minute:hi,second:hi,timeZoneName:di},_i={hour:hi,minute:hi,second:hi,timeZoneName:fi},Ii={hour:hi,minute:hi,hourCycle:"h23"},Si={hour:hi,minute:hi,second:hi,hourCycle:"h23"},Oi={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:di},Ti={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:fi},Ni={year:hi,month:hi,day:hi,hour:hi,minute:hi},xi={year:hi,month:hi,day:hi,hour:hi,minute:hi,second:hi},Ai={year:hi,month:di,day:hi,hour:hi,minute:hi},Ri={year:hi,month:di,day:hi,hour:hi,minute:hi,second:hi},Mi={year:hi,month:di,day:hi,weekday:di,hour:hi,minute:hi},Vi={year:hi,month:fi,day:hi,hour:hi,minute:hi,timeZoneName:di},Di={year:hi,month:fi,day:hi,hour:hi,minute:hi,second:hi,timeZoneName:di},Ei={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,timeZoneName:fi},Ci={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,second:hi,timeZoneName:fi};class Fi{get type(){throw new li}get name(){throw new li}get ianaName(){return this.name}get isUniversal(){throw new li}offsetName(t,e){throw new li}formatOffset(t,e){throw new li}offset(t){throw new li}equals(t){throw new li}get isValid(){throw new li}}let ji=null;class Li extends Fi{static get instance(){return null===ji&&(ji=new Li),ji}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i)}formatOffset(t,e){return un(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Pi=new Map;const zi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Wi=new Map;class Ui extends Fi{static create(t){let e=Wi.get(t);return void 0===e&&Wi.set(t,e=new Ui(t)),e}static resetCache(){Wi.clear(),Pi.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=Ui.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i,this.name)}formatOffset(t,e){return un(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=Pi.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"}),Pi.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=zi[e];"era"===e?s[r]=n:js(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(tn({year:s,month:n,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 Zi={};const Hi=new Map;function qi(t,e={}){const i=JSON.stringify([t,e]);let s=Hi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Hi.set(i,s)),s}const $i=new Map;const Bi=new Map;let Yi=null;const Ji=new Map;function Gi(t){let e=Ji.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ji.set(t,e)),e}const Ki=new Map;function Qi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Xi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=$i.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),$i.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return $s(this.floor?Math.floor(t):Gs(t,3),this.padTo)}}class ts{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ui.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=qi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class es{constructor(t,e,i){this.opts={style:"long",...i},!e&&zs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Bi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Bi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const is={firstDay:1,minimalDays:4,weekend:[6,7]};class ss{static fromOpts(t){return ss.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ws.defaultLocale,o=r||(n?"en-US":Yi||(Yi=(new Intl.DateTimeFormat).resolvedOptions().locale,Yi)),a=e||ws.defaultNumberingSystem,c=i||ws.defaultOutputCalendar,u=Hs(s)||ws.defaultWeekSettings;return new ss(o,a,c,u,r)}static resetCache(){Yi=null,Hi.clear(),$i.clear(),Bi.clear(),Ji.clear(),Ki.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return ss.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=qi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=qi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Gi(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?ss.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Hs(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 Qi(this,t,mn,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=yo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Qi(this,t,yn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=yo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Qi(this,void 0,()=>kn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[yo.utc(2016,11,13,9),yo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Qi(this,t,In,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[yo.utc(-40,1,1),yo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Xi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ts(t,this.intl,e)}relFormatter(t={}){return new es(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Zi[i];return s||(s=new Intl.ListFormat(t,e),Zi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Gi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ws()?function(t){let e=Ki.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...is,...e}),Ki.set(t,e)}return e}(this.locale):is}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 ns=null;class rs extends Fi{static get utcInstance(){return null===ns&&(ns=new rs(0)),ns}static instance(t){return 0===t?rs.utcInstance:new rs(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new rs(on(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${un(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${un(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return un(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 os extends Fi{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 as(t,e){if(js(t)||null===t)return e;if(t instanceof Fi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Li.instance:"utc"===i||"gmt"===i?rs.utcInstance:rs.parseSpecifier(i)||Ui.create(t)}return Ls(t)?rs.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new os(t)}const cs={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={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]},ls=cs.hanidec.replace(/[\[|\]]/g,"").split("");const hs=new Map;function ds({numberingSystem:t},e=""){const i=t||"latn";let s=hs.get(i);void 0===s&&(s=new Map,hs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${cs[i]}${e}`),s.set(e,n)),n}let fs,ms=()=>Date.now(),ps="system",vs=null,gs=null,ys=null,ks=60,bs=null;class ws{static get now(){return ms}static set now(t){ms=t}static set defaultZone(t){ps=t}static get defaultZone(){return as(ps,Li.instance)}static get defaultLocale(){return vs}static set defaultLocale(t){vs=t}static get defaultNumberingSystem(){return gs}static set defaultNumberingSystem(t){gs=t}static get defaultOutputCalendar(){return ys}static set defaultOutputCalendar(t){ys=t}static get defaultWeekSettings(){return bs}static set defaultWeekSettings(t){bs=Hs(t)}static get twoDigitCutoffYear(){return ks}static set twoDigitCutoffYear(t){ks=t%100}static get throwOnInvalid(){return fs}static set throwOnInvalid(t){fs=t}static resetCaches(){ss.resetCache(),Ui.resetCache(),yo.resetCache(),hs.clear()}}class _s{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Is=[0,31,59,90,120,151,181,212,243,273,304,334],Ss=[0,31,60,91,121,152,182,213,244,274,305,335];function Os(t,e){return new _s("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ts(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function Ns(t,e,i){return i+(Ks(t)?Ss:Is)[e-1]}function xs(t,e){const i=Ks(t)?Ss:Is,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function As(t,e){return(t-e+7)%7+1}function Rs(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=Ns(s,n,r),a=As(Ts(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=sn(c,e,i)):u>sn(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...ln(t)}}function Ms(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=As(Ts(s,1,e),i),a=Qs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Qs(c)):u>a?(c=s+1,u-=Qs(s)):c=s;const{month:l,day:h}=xs(c,u);return{year:c,month:l,day:h,...ln(t)}}function Vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:Ns(e,i,s),...ln(t)}}function Ds(t){const{year:e,ordinal:i}=t,{month:s,day:n}=xs(e,i);return{year:e,month:s,day:n,...ln(t)}}function Es(t,e){if(!js(t.localWeekday)||!js(t.localWeekNumber)||!js(t.localWeekYear)){if(!js(t.weekday)||!js(t.weekNumber)||!js(t.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return js(t.localWeekday)||(t.weekday=t.localWeekday),js(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),js(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 Cs(t){const e=Ps(t.year),i=qs(t.month,1,12),s=qs(t.day,1,Xs(t.year,t.month));return e?i?!s&&Os("day",t.day):Os("month",t.month):Os("year",t.year)}function Fs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=qs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=qs(i,0,59),a=qs(s,0,59),c=qs(n,0,999);return r?o?a?!c&&Os("millisecond",n):Os("second",s):Os("minute",i):Os("hour",e)}function js(t){return void 0===t}function Ls(t){return"number"==typeof t}function Ps(t){return"number"==typeof t&&t%1==0}function zs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ws(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Us(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Zs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Hs(t){if(null==t)return null;if("object"!=typeof t)throw new ui("Week settings must be an object");if(!qs(t.firstDay,1,7)||!qs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!qs(t,1,7)))throw new ui("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function qs(t,e,i){return Ps(t)&&t>=e&&t<=i}function $s(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Bs(t){return js(t)||null===t||""===t?void 0:parseInt(t,10)}function Ys(t){return js(t)||null===t||""===t?void 0:parseFloat(t)}function Js(t){if(!js(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Gs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Ks(t){return t%4==0&&(t%100!=0||t%400==0)}function Qs(t){return Ks(t)?366:365}function Xs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Ks(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function tn(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 en(t,e,i){return-As(Ts(t,1,e),i)+e-1}function sn(t,e=4,i=1){const s=en(t,e,i),n=en(t+1,e,i);return(Qs(t)-s+n)/7}function nn(t){return t>99?t:t>ws.twoDigitCutoffYear?1900+t:2e3+t}function rn(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function on(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function an(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ui(`Invalid unit value ${t}`);return e}function cn(t,e){const i={};for(const s in t)if(Zs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=an(n)}return i}function un(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${$s(i,2)}:${$s(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${$s(i,2)}${$s(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ln(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const hn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["J","F","M","A","M","J","J","A","S","O","N","D"];function mn(t){switch(t){case"narrow":return[...fn];case"short":return[...dn];case"long":return[...hn];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 pn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gn=["M","T","W","T","F","S","S"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const kn=["AM","PM"],bn=["Before Christ","Anno Domini"],wn=["BC","AD"],_n=["B","A"];function In(t){switch(t){case"narrow":return[..._n];case"short":return[...wn];case"long":return[...bn];default:return null}}function Sn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const On={D:mi,DD:pi,DDD:gi,DDDD:yi,t:ki,tt:bi,ttt:wi,tttt:_i,T:Ii,TT:Si,TTT:Oi,TTTT:Ti,f:Ni,ff:Ai,fff:Vi,ffff:Ei,F:xi,FF:Ri,FFF:Di,FFFF:Ci};class Tn{static create(t,e={}){return new Tn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return On[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 $s(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return kn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return mn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return yn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Tn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return In(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return Sn(Tn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Tn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return Sn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const Nn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function xn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function An(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Rn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Mn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Bs(e[i+n]);return[s,null,i+n]}}const Vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Dn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,En=RegExp(`${Dn.source}${`(?:${Vn.source}?(?:\\[(${Nn.source})\\])?)?`}`),Cn=RegExp(`(?:T${En.source})?`),Fn=Mn("weekYear","weekNumber","weekDay"),jn=Mn("year","ordinal"),Ln=RegExp(`${Dn.source} ?(?:${Vn.source}|(${Nn.source}))?`),Pn=RegExp(`(?: ${Ln.source})?`);function zn(t,e,i){const s=t[e];return js(s)?i:Bs(s)}function Wn(t,e){return[{hours:zn(t,e,0),minutes:zn(t,e+1,0),seconds:zn(t,e+2,0),milliseconds:Js(t[e+3])},null,e+4]}function Un(t,e){const i=!t[e]&&!t[e+1],s=on(t[e+1],t[e+2]);return[{},i?null:rs.instance(s),e+3]}function Zn(t,e){return[{},t[e]?Ui.create(t[e]):null,e+1]}const Hn=RegExp(`^T?${Dn.source}$`),qn=/^-?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 $n(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ys(i)),months:d(Ys(s)),weeks:d(Ys(n)),days:d(Ys(r)),hours:d(Ys(o)),minutes:d(Ys(a)),seconds:d(Ys(c),"-0"===c),milliseconds:d(Js(u),h)}]}const Bn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yn(t,e,i,s,n,r,o){const a={year:2===e.length?nn(Bs(e)):Bs(e),month:dn.indexOf(i)+1,day:Bs(s),hour:Bs(n),minute:Bs(r)};return o&&(a.second=Bs(o)),t&&(a.weekday=t.length>3?pn.indexOf(t)+1:vn.indexOf(t)+1),a}const Jn=/^(?:(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 Gn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Yn(e,n,s,i,r,o,a);let f;return f=c?Bn[c]:u?0:on(l,h),[d,new rs(f)]}const Kn=/^(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$/,Qn=/^(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$/,Xn=/^(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 tr(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,n,s,i,r,o,a),rs.utcInstance]}function er(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,a,i,s,n,r,o),rs.utcInstance]}const ir=xn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Cn),sr=xn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cn),nr=xn(/(\d{4})-?(\d{3})/,Cn),rr=xn(En),or=An(function(t,e){return[{year:zn(t,e),month:zn(t,e+1,1),day:zn(t,e+2,1)},null,e+3]},Wn,Un,Zn),ar=An(Fn,Wn,Un,Zn),cr=An(jn,Wn,Un,Zn),ur=An(Wn,Un,Zn);const lr=An(Wn);const hr=xn(/(\d{4})-(\d\d)-(\d\d)/,Pn),dr=xn(Ln),fr=An(Wn,Un,Zn);const mr="Invalid Duration",pr={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}},vr={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},...pr},gr=365.2425,yr=30.436875,kr={years:{quarters:4,months:12,weeks:52.1775,days:gr,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:yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...pr},br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wr=br.slice(0).reverse();function _r(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Or(s)}function Ir(t,e){let i=e.milliseconds??0;for(const s of wr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function Sr(t,e){const i=Ir(t,e)<0?-1:1;br.reduceRight((s,n)=>{if(js(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),br.reduce((i,s)=>{if(js(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class Or{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?kr:vr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ss.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Or.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ui("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Or({values:cn(t,Or.normalizeUnit),loc:ss.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ls(t))return Or.fromMillis(t);if(Or.isDuration(t))return t;if("object"==typeof t)return Or.fromObject(t);throw new ui(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Rn(t,[qn,$n])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Rn(t,[Hn,lr])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the Duration is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new oi(i);return new Or({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 ci(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?Tn.create(this.loc,i).formatDurationFromString(this,t):mr}toHuman(t={}){if(!this.isValid)return mr;const e=br.map(e=>{const i=this.values[e];return js(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+=Gs(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 yo.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?Ir(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Or.fromDurationLike(t),i={};for(const t of br)(Zs(e.values,t)||Zs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return _r(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Or.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]=an(t(this.values[i],i));return _r(this,{values:e},!0)}get(t){return this[Or.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return _r(this,{values:{...this.values,...cn(t,Or.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return _r(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sr(this.matrix,t),_r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return _r(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>Or.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of br)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ls(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ls(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return Sr(this.matrix,e),_r(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 _r(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 br)if(!e(this.values[i],t.values[i]))return!1;return!0}}const Tr="Invalid Interval";class Nr{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 ui("need to specify a reason the Interval is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ri(i);return new Nr({invalid:i})}static fromDateTimes(t,e){const i=ko(t),s=ko(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Nr.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:Nr.invalid("missing or invalid end"):Nr.invalid("missing or invalid start")}(i,s);return null==n?new Nr({start:i,end:s}):n}static after(t,e){const i=Or.fromDurationLike(e),s=ko(t);return Nr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=Or.fromDurationLike(e),s=ko(t);return Nr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=yo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=yo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return Nr.fromDateTimes(t,r);if(n){const i=Or.fromISO(s,e);if(i.isValid)return Nr.after(t,i)}else if(o){const t=Or.fromISO(i,e);if(t.isValid)return Nr.before(r,t)}}return Nr.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Nr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ko).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(Nr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=Or.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(Nr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Nr.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 Nr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(Nr.fromDateTimes(e,t.time)),e=null);return Nr.merge(s)}difference(...t){return Nr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Tr}[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=mi,e={}){return this.isValid?Tn.create(this.s.loc.clone(e),t).formatInterval(this):Tr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Tr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Tr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Tr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Tr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Or.invalid(this.invalidReason)}mapEndpoints(t){return Nr.fromDateTimes(t(this.s),t(this.e))}}class xr{static hasDST(t=ws.defaultZone){const e=yo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ui.isValidZone(t)}static normalizeZone(t){return as(t,ws.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ss.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ss.create(e,null,"gregory").eras(t)}static features(){return{relative:zs(),localeWeek:Ws()}}}function Ar(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(Or.fromMillis(s).as("days"))}function Rr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ar(t,e);return(i-i%7)/7}],["days",Ar]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=Or.fromObject(r,s);return u.length>0?Or.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Rr,"name",{value:"default",configurable:!0});function Mr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(cs.hanidec))e+=ls.indexOf(t[i]);else for(const t in us){const[i,n]=us[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Vr=`[ ${String.fromCharCode(160)}]`,Dr=new RegExp(Vr,"g");function Er(t){return t.replace(/\./g,"\\.?").replace(Dr,Vr)}function Cr(t){return t.replace(/\./g,"").replace(Dr," ").toLowerCase()}function Fr(t,e){return null===t?null:{regex:RegExp(t.map(Er).join("|")),deser:([i])=>t.findIndex(t=>Cr(i)===Cr(t))+e}}function jr(t,e){return{regex:t,deser:([,t,e])=>on(t,e),groups:e}}function Lr(t){return{regex:t,deser:([t])=>t}}const Pr={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 zr=null;function Wr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Hr(Tn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Ur{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Wr(Tn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=ds(e),s=ds(e,"{2}"),n=ds(e,"{3}"),r=ds(e,"{4}"),o=ds(e,"{6}"),a=ds(e,"{1,2}"),c=ds(e,"{1,3}"),u=ds(e,"{1,6}"),l=ds(e,"{1,9}"),h=ds(e,"{2,4}"),d=ds(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 Fr(e.eras("short"),0);case"GG":return Fr(e.eras("long"),0);case"y":return Mr(u);case"yy":case"kk":return Mr(h,nn);case"yyyy":case"kkkk":return Mr(r);case"yyyyy":return Mr(d);case"yyyyyy":return Mr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Mr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Mr(s);case"MMM":return Fr(e.months("short",!0),1);case"MMMM":return Fr(e.months("long",!0),1);case"LLL":return Fr(e.months("short",!1),1);case"LLLL":return Fr(e.months("long",!1),1);case"o":case"S":return Mr(c);case"ooo":case"SSS":return Mr(n);case"u":return Lr(l);case"uu":return Lr(a);case"uuu":case"E":case"c":return Mr(i);case"a":return Fr(e.meridiems(),0);case"EEE":return Fr(e.weekdays("short",!1),1);case"EEEE":return Fr(e.weekdays("long",!1),1);case"ccc":return Fr(e.weekdays("short",!0),1);case"cccc":return Fr(e.weekdays("long",!0),1);case"Z":case"ZZ":return jr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return jr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Lr(/[a-z_+-/]{1,256}?/i);case" ":return Lr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Zs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return js(t.z)||(i=Ui.create(t.z)),js(t.Z)||(i||(i=new rs(t.Z)),e=t.Z),js(t.q)||(t.M=3*(t.q-1)+1),js(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),js(t.u)||(t.S=Js(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Zs(i,"a")&&Zs(i,"H"))throw new ai("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Zr(t,e,i){return new Ur(t,i).explainFromTokens(e)}function Hr(t,e){if(!t)return null;const i=Tn.create(e,t).dtFormatter((zr||(zr=yo.fromMillis(1555555555555)),zr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Pr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const qr="Invalid DateTime",$r=864e13;function Br(t){return new _s("unsupported zone",`the zone "${t.name}" is not supported`)}function Yr(t){return null===t.weekData&&(t.weekData=Rs(t.c)),t.weekData}function Jr(t){return null===t.localWeekData&&(t.localWeekData=Rs(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new yo({...i,...e,old:i})}function Kr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Qr(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 Xr(t,e,i){return Kr(tn(t),e,i)}function to(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Xs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Or.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=tn(r);let[c,u]=Kr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function eo(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=yo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return yo.invalid(new _s("unparsable",`the input "${n}" can't be parsed as ${s}`))}function io(t,e,i=!0){return t.isValid?Tn.create(ss.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function so(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=$s(t.c.year,i?6:4),e?(s+="-",s+=$s(t.c.month),s+="-",s+=$s(t.c.day)):(s+=$s(t.c.month),s+=$s(t.c.day)),s}function no(t,e,i,s,n,r){let o=$s(t.c.hour);return e?(o+=":",o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=$s(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=$s(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=$s(Math.trunc(-t.o/60)),o+=":",o+=$s(Math.trunc(-t.o%60))):(o+="+",o+=$s(Math.trunc(t.o/60)),o+=":",o+=$s(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const ro={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},oo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ao={ordinal:1,hour:0,minute:0,second:0,millisecond:0},co=["year","month","day","hour","minute","second","millisecond"],uo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lo=["year","ordinal","hour","minute","second","millisecond"];function ho(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 ci(t);return e}(t)}}function fo(t,e){const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e);let n,r;if(js(t.year))n=ws.now();else{for(const e of co)js(t[e])&&(t[e]=ro[e]);const e=Cs(t)||Fs(t);if(e)return yo.invalid(e);const s=function(t){if(void 0===vo&&(vo=ws.now()),"iana"!==t.type)return t.offset(vo);const e=t.name;let i=go.get(e);return void 0===i&&(i=t.offset(vo),go.set(e,i)),i}(i);[n,r]=Xr(t,s,i)}return new yo({ts:n,zone:i,loc:s,o:r})}function mo(t,e,i){const s=!!js(i.round)||i.round,n=(t,n)=>{t=Gs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function po(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 vo;const go=new Map;class yo{constructor(t){const e=t.zone||ws.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new _s("invalid input"):null)||(e.isValid?null:Br(e));this.ts=js(t.ts)?ws.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ls(t.o)&&!t.old?t.o:e.offset(this.ts);s=Qr(this.ts,r),i=Number.isNaN(s.year)?new _s("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||ss.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new yo({})}static local(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return t.zone=rs.utcInstance,fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return yo.invalid("invalid input");const n=as(e.zone,ws.defaultZone);return n.isValid?new yo({ts:i,zone:n,loc:ss.fromObject(e)}):yo.invalid(Br(n))}static fromMillis(t,e={}){if(Ls(t))return t<-$r||t>$r?yo.invalid("Timestamp out of range"):new yo({ts:t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ls(t))return new yo({ts:1e3*t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e),n=cn(t,ho),{minDaysInFirstWeek:r,startOfWeek:o}=Es(n,s),a=ws.now(),c=js(e.specificOffset)?i.offset(a):e.specificOffset,u=!js(n.ordinal),l=!js(n.year),h=!js(n.month)||!js(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ai("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Qr(a,c);m?(p=uo,v=oo,g=Rs(g,r,o)):u?(p=lo,v=ao,g=Vs(g)):(p=co,v=ro);let y=!1;for(const t of p){js(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ps(t.weekYear),n=qs(t.weekNumber,1,sn(t.weekYear,e,i)),r=qs(t.weekday,1,7);return s?n?!r&&Os("weekday",t.weekday):Os("week",t.weekNumber):Os("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ps(t.year),i=qs(t.ordinal,1,Qs(t.year));return e?!i&&Os("ordinal",t.ordinal):Os("year",t.year)}(n):Cs(n),b=k||Fs(n);if(b)return yo.invalid(b);const w=m?Ms(n,r,o):u?Ds(n):n,[_,I]=Xr(w,c,i),S=new yo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?yo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:yo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Rn(t,[ir,or],[sr,ar],[nr,cr],[rr,ur])}(t);return eo(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Rn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Jn,Gn])}(t);return eo(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Rn(t,[Kn,tr],[Qn,tr],[Xn,er])}(t);return eo(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Zr(t,e,i);return[s,n,r,o]}(r,t,e);return u?yo.invalid(u):eo(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return yo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Rn(t,[hr,or],[dr,fr])}(t);return eo(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the DateTime is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ni(i);return new yo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Hr(t,ss.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Wr(Tn.parseFormat(t),ss.fromObject(e)).map(t=>t.val).join("")}static resetCache(){vo=void 0,go.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?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Jr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Jr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Jr(this).weekYear:NaN}get ordinal(){return this.isValid?Vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?xr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?xr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?xr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?xr.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=tn(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Qr(a,r),l=Qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Gr(this,{ts:a}),Gr(this,{ts:c})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Xs(this.year,this.month)}get daysInYear(){return this.isValid?Qs(this.year):NaN}get weeksInWeekYear(){return this.isValid?sn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=Tn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(rs.instance(t),e)}toLocal(){return this.setZone(ws.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=as(t,ws.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Xr(i,e,t)}return Gr(this,{ts:s,zone:t})}return yo.invalid(Br(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Gr(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=cn(t,ho),{minDaysInFirstWeek:i,startOfWeek:s}=Es(e,this.loc),n=!js(e.weekYear)||!js(e.weekNumber)||!js(e.weekday),r=!js(e.ordinal),o=!js(e.year),a=!js(e.month)||!js(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ai("Can't mix ordinal dates with month/day");let l;n?l=Ms({...Rs(this.c,i,s),...e},i,s):js(e.ordinal)?(l={...this.toObject(),...e},js(e.day)&&(l.day=Math.min(Xs(l.year,l.month),l.day))):l=Ds({...Vs(this.c),...e});const[h,d]=Xr(l,this.o,this.zone);return Gr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=Or.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Tn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qr}toLocaleString(t=mi,e={}){return this.isValid?Tn.create(this.loc.clone(e),t).formatDateTime(this):qr}toLocaleParts(t={}){return this.isValid?Tn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=so(this,r);return o+="T",o+=no(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?so(this,"extended"===t):null}toISOWeekDate(){return io(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+no(this,"extended"===r,e,t,i,n)}toRFC2822(){return io(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return io(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?so(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),io(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qr}[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 Or.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(Or.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Rr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(yo.now(),t,e)}until(t){return this.isValid?Nr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||yo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),mo(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?mo(t.base||yo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(yo.isDateTime))throw new ui("min requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(yo.isDateTime))throw new ui("max requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Zr(ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return yo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=ss.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Ur(n,t)}static fromFormatParser(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ui(`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?yo.invalid(u):eo(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return mi}static get DATE_MED(){return pi}static get DATE_MED_WITH_WEEKDAY(){return vi}static get DATE_FULL(){return gi}static get DATE_HUGE(){return yi}static get TIME_SIMPLE(){return ki}static get TIME_WITH_SECONDS(){return bi}static get TIME_WITH_SHORT_OFFSET(){return wi}static get TIME_WITH_LONG_OFFSET(){return _i}static get TIME_24_SIMPLE(){return Ii}static get TIME_24_WITH_SECONDS(){return Si}static get TIME_24_WITH_SHORT_OFFSET(){return Oi}static get TIME_24_WITH_LONG_OFFSET(){return Ti}static get DATETIME_SHORT(){return Ni}static get DATETIME_SHORT_WITH_SECONDS(){return xi}static get DATETIME_MED(){return Ai}static get DATETIME_MED_WITH_SECONDS(){return Ri}static get DATETIME_MED_WITH_WEEKDAY(){return Mi}static get DATETIME_FULL(){return Vi}static get DATETIME_FULL_WITH_SECONDS(){return Di}static get DATETIME_HUGE(){return Ei}static get DATETIME_HUGE_WITH_SECONDS(){return Ci}}function ko(t){if(yo.isDateTime(t))return t;if(t&&t.valueOf&&Ls(t.valueOf()))return yo.fromJSDate(t);if(t&&"object"==typeof t)return yo.fromObject(t);throw new ui(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function bo(){const t=["273513DSudkW","minus","month","113911cXZiYq","1848uzamMC","monthLong","614908JpTWOM","1860096dJrknr","local","startOf","2590YeGciC","weekdayLong","fromJSDate","toJSDate","768920ukfZCH","day","hasSame","week","year","31030TYNsls","toRelativeCalendar","setLocale"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=114]})(t,e)}function _o(t,e){const i=wo,s=yo[i(114)](t)[i(123)](e),n=yo[i(132)](),r=n[i(125)]({days:1})[i(133)](i(117));let o,a;return s[i(118)](n,i(117))?(o=s[i(133)](i(117))[i(115)](),a=s[i(122)]()):s[i(118)](r,i(117))?(o=r[i(115)](),a=s[i(122)]()):s[i(118)](n,i(119))?(o=s[i(133)](i(119))[i(115)](),a=s[i(135)]||""):s[i(118)](n,i(120))?(o=s[i(133)](i(126))[i(115)](),a=s[i(129)]||""):(o=s[i(133)](i(120))[i(115)](),a=String(s[i(120)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=wo,i=t();for(;;)try{if(139099===-parseInt(e(127))/1+-parseInt(e(121))/2+parseInt(e(124))/3+parseInt(e(116))/4+parseInt(e(134))/5*(-parseInt(e(128))/6)+-parseInt(e(130))/7+parseInt(e(131))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);var Io=i(4),So={attributes:{"data-cke":!0}};So.setAttributes=Ft(),So.insert=Et().bind(null,"head"),So.domAPI=Vt(),So.insertStyleElement=Lt();Rt()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=170]})(t,e)}function No(){const t=["setTemplate","3PZQUEx","addRevision","9824580ovIprK","delegate","24889744rODiws","createCollection","localizedPeriodName","50aCLsOZ","removeRevision","9NuXUdn","_requireRevisionName","3306954iNMDna","5588725vWUvos","revisionViews","2420408BOwdYx","startDate","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","find","locale","uiLanguage","14383zNCfJx","ck-revision-history-sidebar__time-period__revisions","7DDjKhi","293432leEMow","setName","span","_revisionActions","select","remove","div","add"];return(No=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(574902===-parseInt(e(189))/1*(parseInt(e(175))/2)+-parseInt(e(201))/3*(parseInt(e(182))/4)+-parseInt(e(180))/5+-parseInt(e(179))/6*(parseInt(e(191))/7)+-parseInt(e(192))/8*(parseInt(e(177))/9)+parseInt(e(170))/10+parseInt(e(172))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends xt.View{[Oo(183)];[Oo(181)];[Oo(195)];[Oo(178)];constructor(t,e,i,s){const n=Oo;super(t);const r=_o(e,this[n(187)][n(188)])[n(174)];this[n(183)]=e,this[n(181)]=this[n(173)](),this[n(195)]=i,this[n(178)]=s,this[n(181)][n(171)](n(196)).to(this),this[n(181)][n(171)](n(193)).to(this),this[n(200)]({tag:n(198),attributes:{class:["ck",n(185)]},children:[{tag:n(194),attributes:{class:["ck",n(184)]},children:[{text:r}]},{tag:n(198),attributes:{class:["ck",n(190)]},children:this[n(181)]}]})}[Oo(202)](t){const e=Oo,i=new ii(this[e(187)],t,this[e(195)],this[e(178)]);this[e(181)][e(199)](i)}[Oo(176)](t){const e=Oo,i=this[e(181)][e(186)](e=>e.id===t.id);this[e(181)][e(197)](i)}}var Ao=i(651),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Ft(),Ro.insert=Et().bind(null,"head"),Ro.domAPI=Vt(),Ro.insertStyleElement=Lt();Rt()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(){const t=["40311kwNkoz","ck-revision-history-sidebar__header","1975jEOwjv","160867RwkUBj","1303812ynqykq","1122Pptksx","50beSPOM","99430SVxEqS","content","span","112oggokj","div","Revision history","ck-revision-history-sidebar__header__label","20603mctVHv","13074cvQVCC","3232960jhYjAV","ck-reset_all","setTemplate"];return(Mo=function(){return t})()}function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(534563===-parseInt(e(298))/1*(parseInt(e(309))/2)+parseInt(e(307))/3+parseInt(e(300))/4+parseInt(e(305))/5*(parseInt(e(299))/6)+parseInt(e(306))/7+-parseInt(e(313))/8*(parseInt(e(303))/9)+-parseInt(e(310))/10*(parseInt(e(308))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends xt.View{constructor(t){const e=Vo;super(t);const i=new xt.IconView;i[e(311)]=Nt.IconHistory,this[e(302)]({tag:e(314),attributes:{class:["ck",e(301),e(304)]},children:[i,{tag:e(312),attributes:{class:["ck",e(316)]},children:[dt(t,e(315))]}]})}}var Eo=i(812),Co={attributes:{"data-cke":!0}};Co.setAttributes=Ft(),Co.insert=Et().bind(null,"head"),Co.domAPI=Vt(),Co.insertStyleElement=Lt();Rt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(){const t=["_revisionActions","delegate","flat","7286392STZARC","1290058BqjvZR","_removeRevision","71259zKPVGB","locale","revisionSelected","createdAt","uiLanguage","getTime","set","revisionSetName","9bDaTIQ","_addRevision","ck-revision-history-sidebar__timeline","fire","createCollection","some","timePeriodViews","removeRevision","find","highlightRevisions","14291128iPDXOl","addRevision","remove","div","ck-reset","revisionViews","select","add","setName","2559997fEFrCv","startDate","map","1335220JoonlA","ck-rounded-corners","_revisions","80gpqqAC","deselect","bindTemplate","selectRevision","isEnabled","23574JiQpCn","_requireRevisionName","_getTimePeriodViewByStartDate","render","3MLcIto","unhighlight","ck-revision-history-sidebar","847IwhCQG","highlight","ck-disabled","get","setTemplate"];return(Fo=function(){return t})()}const jo=Lo;function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=455]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(972370===-parseInt(e(510))/1+-parseInt(e(508))/2+-parseInt(e(496))/3*(-parseInt(e(507))/4)+parseInt(e(484))/5+parseInt(e(492))/6*(-parseInt(e(499))/7)+parseInt(e(472))/8*(-parseInt(e(462))/9)+-parseInt(e(487))/10*(-parseInt(e(481))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends xt.View{[jo(468)];[jo(486)];[jo(504)];[jo(493)];constructor(t,e,i,s){const n=jo;super(t);const r=this[n(489)];this[n(468)]=this[n(466)](),this[n(468)][n(505)](n(478)).to(this),this[n(468)][n(505)](n(480)).to(this),this[n(486)]=e,this[n(504)]=i,this[n(493)]=s,this.on(n(478),(t,e)=>{const i=n;this[i(465)](i(456),e)}),this.on(n(480),(t,e)=>{const i=n;this[i(465)](i(461),e)}),this[n(460)](n(491),!1),this[n(503)]({tag:n(475),attributes:{class:["ck",n(476),n(485),n(498)]},children:[new Do(t),{tag:n(475),attributes:{class:["ck",n(464),r.if(n(491),n(501),t=>!t)]},children:this[n(468)]}]})}[jo(495)](){const t=jo;super[t(495)]();for(const e of this[t(486)])this[t(463)](e);this[t(486)].on(t(479),(e,i)=>{this[t(463)](i)}),this[t(486)].on(t(474),(e,i)=>{this[t(509)](i)})}get[jo(477)](){const t=jo;return this[t(468)][t(483)](e=>e[t(477)][t(483)](t=>t))[t(506)]()}[jo(490)](t){const e=jo;for(const i of this[e(477)])t&&t.id===i.id?i[e(478)]():i[e(488)]()}[jo(471)](t){const e=jo;for(const i of this[e(477)])t[e(467)](({id:t})=>t===i.id)?i[e(500)]():i[e(497)]()}[jo(463)](t){const e=jo,i=_o(t[e(457)],this[e(455)][e(458)])[e(482)];let s=this[e(468)][e(502)](0);s&&s[e(482)][e(459)]()===i[e(459)]()||(s=new xo(this[e(455)],i,this[e(504)],this[e(493)]),this[e(468)][e(479)](s)),s[e(473)](t)}[jo(509)](t){const e=jo,i=_o(t[e(457)],this[e(455)][e(458)])[e(482)];this[e(494)](i)[e(469)](t)}[jo(494)](t){const e=jo;return this[e(468)][e(470)](i=>i[e(482)][e(459)]()===t[e(459)]())}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=154]})(t,e)}function Uo(){const t=["getIndex","isVisible","_revisions","compare","name","18FddiDF","10517820zrmYXy","634146rBDzkI","145WPqsHV","listenTo","revisionHistory.revisionActions","Name this revision","locale","select","revisionHistory.requireRevisionName","revisionViews","map","Compare against selected","get","requires","highlightRevisions","getRevision","56dRowbj","isSelected","change:diff","diff","bind","revisionHistory","RevisionsSidebar","render","newRevisionId","restoreRevisionCallback","action","restoreRevision","editor","66395439PLNAlP","getEarlierVisibleRevision","revisionHistory.viewerSidebarContainer","fieldView","remove","714427SVriST","revisionSetName","add","nameRevision","_handleRevisionSetName","4818753iVRuad","string","destroy","isOfficialPlugin","_handleRevisionSelected","element","_revisionsRepository","ready","appendChild","3COhTTX","getLaterVisibleRevision","assign","focus","_createRevisionActions","config","getRevisionsInDiff","12KRyowY","selectRevision","init","_handleEditorDataReady","repository","_revisionViewer","116pNBCtE","revisionSelected","data","availableRevisionActions","7431190BnBuDD","isPremiumPlugin","isEnabled","compareAgainstSelected","isReady","length","pluginName","setName","timePeriodViews","defaultRevisionActions","_handleDiffChange","Restore this revision","_sidebarView","plugins"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(952857===-parseInt(e(174))/1*(parseInt(e(212))/2)+-parseInt(e(165))/3+parseInt(e(187))/4*(-parseInt(e(213))/5)+-parseInt(e(211))/6+-parseInt(e(160))/7*(-parseInt(e(227))/8)+parseInt(e(210))/9*(-parseInt(e(191))/10)+parseInt(e(155))/11*(parseInt(e(181))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends et.Plugin{[zo(186)];[zo(171)];[zo(203)];static[zo(200)]=[zo(194),zo(238),zo(163)];static[zo(190)]=function(){const t=zo;return{compareAgainstSelected:{name:t(222),action:({plugins:e},i)=>{const s=t,n=e[s(223)](fe),r=n[s(185)];let o=n[s(230)][s(235)],a=i.id;r[s(205)](o)>r[s(205)](a)&&([o,a]=[a,o]),n[s(208)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(223)](fe);return!(n[s(185)][s(180)](n[s(230)])[s(196)]>2||i[s(228)])}},restoreRevision:{name:t(202),action:(e,{id:i})=>{const s=t;e[s(179)][s(223)](s(232))[s(236)](i)},isVisible:({plugins:e},i)=>!!e[t(223)](fe)[t(185)][t(175)](i.id)},nameRevision:{name:t(216),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(223)](fe),o=r[n(185)][n(156)](i);r[n(208)](i,o),s[n(177)](),s[n(158)][n(218)]()}}}}();static get[zo(197)](){return zo(233)}static get[zo(168)](){return!0}static get[zo(192)](){return!0}static get[zo(224)](){return[fe]}constructor(t){const e=zo;super(t),this[e(186)]=t[e(204)][e(223)](fe),this[e(171)]=this[e(186)][e(185)],this[e(203)]=null}[zo(183)](){const t=zo,e=this[t(171)][t(207)],i=this[t(178)](),s=this[t(154)][t(179)][t(223)](t(157));this[t(203)]=new Po(this[t(154)][t(217)],e,i,this[t(154)][t(179)][t(223)](t(219))),this[t(203)].on(t(188),this[t(169)][t(231)](this)),this[t(203)].on(t(161),this[t(164)][t(231)](this)),this[t(203)][t(231)](t(193)).to(this[t(186)]),this[t(203)][t(199)].on(t(162),(e,i)=>{const s=t;i[s(220)].on(s(162),(t,e)=>{const i=s;e[i(231)](i(193),i(195)).to(this[i(186)])})}),this[t(203)][t(234)](),this[t(214)](this[t(154)][t(189)],t(172),this[t(184)][t(231)](this)),this[t(214)](this[t(186)],t(229),this[t(201)][t(231)](this)),s[t(173)](this[t(203)][t(170)])}[zo(167)](){const t=zo;this[t(203)][t(170)][t(159)](),this[t(203)][t(167)]()}[zo(184)](){const t=zo,e=this[t(171)][t(226)](0);if(e){const i=this[t(171)][t(156)](e.id);this[t(186)][t(208)](e,i)}}[zo(169)](t,e){const i=zo,s=this[i(171)][i(226)](e.id),n=this[i(171)][i(156)](s.id);this[i(186)][i(208)](s,n)}[zo(164)](t,e){const i=zo;this[i(171)][i(226)](e.id)[i(198)](e[i(209)])}[zo(201)](t,e,i){const s=zo,n=this[s(171)][s(180)](i);n[s(196)]>2?(this[s(203)][s(225)](n),this[s(203)][s(182)](null)):(this[s(203)][s(225)]([]),this[s(203)][s(182)](n[0]))}[zo(178)](){const t=zo,e=this[t(154)],i=Zo[t(190)],s=e[t(179)][t(223)](t(215))||Zo[t(200)];if(s[t(196)])return s[t(221)](s=>{const n=t,r=n(166)==typeof s?Object[n(176)]({},i[s]):s;return r[n(237)]=r[n(237)][n(231)](this,e),r[n(206)]&&(r[n(206)]=r[n(206)][n(231)](this,e)),r})}}function Ho(){const t=["editable","stickyPanel","document","destroy","limiterElement","bind","64tQVGjy","216891DCRXOB","element","init","name","componentFactory","replace","1372530xkmwcW","_view","viewportTopOffset","133BmuTch","_elementReplacer","getRoot","isActive","editing","_toolbarConfig","rootName","editor","ready","addToolbar","render","5689800Hfslqz","fire","config","viewportOffset","isFocused","detachDomRoot","attachDomRoot","view","get","277488gEQLHn","258276pPvNtE","fillFromConfig","292709aDeOZu","setEditableElement","toolbar","focusTracker","2490436Fbljlz","restore","_initToolbar"];return(Ho=function(){return t})()}const qo=$o;function $o(t,e){const i=Ho();return($o=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(595783===-parseInt(e(156))/1+parseInt(e(130))/2+parseInt(e(153))/3+parseInt(e(160))/4+-parseInt(e(144))/5+parseInt(e(154))/6*(parseInt(e(133))/7)+-parseInt(e(123))/8*(parseInt(e(124))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Bo extends xt.EditorUI{[qo(131)];[qo(138)];[qo(134)];get[qo(151)](){return this[qo(131)]}constructor(e,i){const s=qo;super(e),this[s(131)]=i,this[s(138)]=(0,xt.normalizeToolbarConfig)(e[s(146)][s(152)](s(158))),this[s(134)]=new t.ElementReplacer}get[qo(125)](){const t=qo;return this[t(151)][t(125)]}[qo(126)](t){const e=qo,i=this[e(140)],s=this[e(151)],n=i[e(137)][e(151)],r=s[e(163)],o=n[e(119)][e(135)]();r[e(127)]=o[e(139)],s[e(143)]();const a=r[e(125)];this[e(157)](r[e(127)],a),s[e(163)][e(122)](e(148)).to(this[e(159)]),n[e(150)](a),this[e(134)][e(129)](t,this[e(125)]),this[e(162)](),this[e(145)](e(141))}[qo(120)](){const t=qo;super[t(120)]();const e=this[t(151)],i=this[t(140)][t(137)][t(151)];this[t(134)][t(161)](),i[t(149)](e[t(163)][t(127)]),e[t(120)]()}[qo(162)](){const t=qo,e=this[t(151)];e[t(164)][t(122)](t(136)).to(this[t(159)],t(148)),e[t(164)][t(121)]=e[t(125)],e[t(164)][t(122)](t(132)).to(this,t(147),({top:t})=>t),e[t(158)][t(155)](this[t(138)],this[t(128)]),this[t(142)](e[t(158)])}}var Yo=i(76),Jo={attributes:{"data-cke":!0}};Jo.setAttributes=Ft(),Jo.insert=Et().bind(null,"head"),Jo.domAPI=Vt(),Jo.insertStyleElement=Lt();Rt()(Yo.A,Jo);Yo.A&&Yo.A.locals&&Yo.A.locals;var Go=Qo;function Ko(){var t=["21842JzdKee","956658DbcIdC","91756rrQOFz","2245460NNNwIs","3644901pQtDkm","add","content","toolbar","16dHsmFY","14FHLbFZ","1162352gmJvmt","main","_editable","289735cLDNSK","shouldToolbarGroupWhenFull","stickyPanel","editable","top","24lazWNp","render"];return(Ko=function(){return t})()}function Qo(t,e){var i=Ko();return(Qo=function(t,e){return i[t-=448]})(t,e)}!function(t){for(var e=Qo,i=t();;)try{if(204823===parseInt(e(460))/1*(-parseInt(e(451))/2)+-parseInt(e(452))/3+parseInt(e(461))/4+-parseInt(e(464))/5*(-parseInt(e(449))/6)+parseInt(e(453))/7*(-parseInt(e(459))/8)+parseInt(e(455))/9+-parseInt(e(454))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends xt.BoxedEditorUIView{[Go(463)];[Go(466)];[Go(458)];get[Go(467)](){return this[Go(463)]}constructor(t,e,i={}){var s=Go;super(t),this[s(466)]=new xt.StickyPanelView(t),this[s(458)]=new xt.ToolbarView(t,{shouldGroupWhenFull:i[s(465)]}),this[s(463)]=new xt.InlineEditableUIView(t,e)}[Go(450)](){var t=Go;super[t(450)](),this[t(466)][t(457)][t(456)](this[t(458)]),this[t(448)][t(456)](this[t(466)]),this[t(462)][t(456)](this[t(467)])}}const ta=ia;function ea(){const t=["document","locale","325245ANJIqu","data","7946160TFdDWz","destroy","view","5875100rLxsud","model","2xlQANk","editing","get","4284zzdyzS","44451261JjguUC","create","sourceElement","927146ZNGKzs","initPlugins","init","createRoot","ready","_ui","fire","updateSourceElement","11944288dVVPsO","config","initialData","5300wKTDOu"];return(ea=function(){return t})()}function ia(t,e){const i=ea();return(ia=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=ia,i=t();for(;;)try{if(790112===-parseInt(e(383))/1*(parseInt(e(376))/2)+-parseInt(e(369))/3+parseInt(e(379))/4*(-parseInt(e(366))/5)+-parseInt(e(371))/6+parseInt(e(374))/7+-parseInt(e(363))/8+parseInt(e(380))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);class sa extends((0,et.ElementApiMixin)(et.Editor)){[ta(360)];get ui(){return this[ta(360)]}constructor(t,e){const i=ta;super(e),this[i(382)]=t,this[i(375)][i(367)][i(358)]();const s=new Xo(this[i(368)],this[i(377)][i(373)],{shouldToolbarGroupWhenFull:!0});this[i(360)]=new Bo(this,s)}[ta(372)](){const t=ta;return this[t(362)](),this.ui[t(372)](),super[t(372)]()}static async[ta(381)](t,e){const i=ta,s=new this(t,e);return await s[i(384)](),await s.ui[i(385)](t),await s[i(370)][i(385)](s[i(364)][i(378)](i(365))||""),s[i(361)](i(359)),s}}function na(t,e){const i=ca();return(na=function(t,e){return i[t-=439]})(t,e)}const ra=na;!function(t){const e=na,i=t();for(;;)try{if(263579===-parseInt(e(538))/1*(-parseInt(e(569))/2)+-parseInt(e(512))/3+-parseInt(e(600))/4*(-parseInt(e(471))/5)+-parseInt(e(581))/6*(-parseInt(e(494))/7)+parseInt(e(524))/8+-parseInt(e(550))/9+parseInt(e(574))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ca);const oa=[ra(536),ra(488),ra(454),ra(565),ra(518),ra(541),ra(443),ra(503),ra(567)];class aa extends et.Plugin{[ra(590)];static get[ra(593)](){return ra(439)}static get[ra(500)](){return!0}static get[ra(463)](){return!0}constructor(t){const e=ra;function i(t){const e=na;return t[e(507)](t=>String[e(478)](t))[e(592)]("")}super(t),this[e(590)]=e(579),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 ca(){const t=["get","1620390Rovuvv",".ck-ai-chat__prompt-input .ck-textarea","revisionHistory.editorContainer","document"," ck-tab-panel_disabled","end","getMarkersGroup","14466AlVqom","update","destroy","config","restoreRevision","querySelector","removeMarker","isAttached","DocumentOutline","result","toolbar","join","pluginName","getUser","long","_getRevisionViewerEditorConfig","refreshPositioning","_viewerEditor","toLocaleTimeString","20xSGqOF",".ck-ai-chat-history .ck-input","set","toVersion","then","getRevisionRootsAttributes","error","createdAt","hide","RevisionViewerIntegration","getRevision","push","exitToEditing","AIActions","toLocaleDateString","isReadOnly","define","requires","detachRoot","RevisionHistoryUtils","toJSON","adapter","enqueueChange","getRoot","AIChat","_update","rootName","removeSelectionAttribute","getRevisionDocumentData","RevisionsRepository","from","model","saveRevision","isPremiumPlugin","revision-history-viewer-opened","panelViews","addRevisionData","_restoreRevision","tabindex","markers","setSelection","226145FKAjyy","view","revisionHistory.viewerEditorElement","lazyRoots","RevisionViewer","removeAttribute","roots","fromCharCode","isRevisionViewerOpen","fromVersion","translations","closeRevisionViewerCallback","data","refreshVisibility","users","revisionHistory.closeRevisionViewerCallback","parse","RestrictedEditingMode","ck-tab-panel_disabled","loadRevisionData","$graveyard","DocumentOutlineUI","_enhanceCloseRevisionViewerCallback","196CZdVZL","has","_showRevisionViewer","AITabs","catch","revision-history-missing-configuration","isOfficialPlugin","PaginationLookup","repository","AIChatShortcuts","remove","selection","none","map","name","addRoot","getAttributeKeys","class","1294407lquRKu","Restored","indexOf","style","enableReadOnlyMode","showRevisionViewerCallback","AIBalloon","RevisionHistory","numeric","disableReadOnlyMode","AIChatHistory","revisionHistory.restoreRevisionCallback","1500000ZRKhHU","uiLanguage","Autosave","isOpen","change","init","changesNavigation","revisionHistory.viewerContainer","_closeRevisionViewer","plugins","RevisionTracker","display","RevisionHistoryUI","keys","4877Xpzscc","revisionHistory","bind","AIQuickActions","_cleanUp","editor","restrictedEditingException","block","creator","setAttribute","save","revisionHistory.showRevisionViewerCallback","1245123OaJZRM","isReady","createRangeIn","element","Annotations","Users","Dialog","addUser","revisionHistory.requireRevisionName","locale","includes","isEnabled","_recalculatePageBreaks","replace","getRevisions","AIReviewMode","insert","AITranslate","create","78wQVzCp","commands","_enhanceShowRevisionViewerCallback","isAnonymous"];return(ca=function(){return t})()}class ua extends et.Plugin{[ra(598)];static get[ra(593)](){return ra(519)}static get[ra(500)](){return!0}static get[ra(463)](){return!0}static get[ra(447)](){return[bt,Gt]}constructor(e){const i=ra;if(super(e),!this[i(543)][i(584)][i(573)](i(539)))throw new t.CKEditorError(i(499),this);this[i(598)]=null,this[i(602)](i(479),!1),this[i(543)][i(584)][i(446)](i(549),t=>this[i(496)]({...t,translations:this[i(543)][i(559)][i(481)]})),this[i(543)][i(584)][i(446)](i(486),t=>this[i(532)](t)),this[i(543)][i(584)][i(446)](i(523),t=>this[i(467)](t)),this[i(543)][i(584)][i(446)](i(558),!1),this[i(571)](),this[i(493)]()}set[ra(451)](t){const e=ra;this[e(543)][e(533)][e(573)](e(534))[e(451)]=t}get[ra(451)](){const t=ra;return this[t(543)][t(533)][t(573)](t(534))[t(451)]}[ra(466)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(534))[e(466)](t)}[ra(440)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(459))[e(440)](t)}[ra(564)](t){const e=ra;return this[e(543)][e(533)][e(573)](e(459))[e(564)](t||{toJSON:!1})}[ra(596)](){const e=ra,i=this[e(543)],s=(0,it.sanitizeEditorConfig)(i,oa),n=i[e(533)][e(573)](e(534)),r=i[e(533)][e(573)](e(555))[e(485)];return s[e(591)]=[e(442),e(585),e(530)],delete s[e(474)],s[e(533)][e(441)](aa,fe,De,class extends et.Plugin{static get[e(447)](){return[fe,e(555)]}[e(529)](){const s=e,o=this[s(543)][s(533)][s(573)](s(555));for(const t of r)t[s(572)]||o[s(594)](t.id)||o[s(557)](t);const a=n[s(502)][s(564)]();let c=null;const u=this[s(543)][s(533)][s(573)](s(475));u[s(451)]=n[s(451)],u[s(540)](s(561)).to(n),this[s(543)][s(570)][s(573)](s(585))[s(540)](s(561)).to(i,s(445),t=>!t);for(const e of a){const i=null===e[s(546)];if(i&&e[s(603)]===e[s(480)])continue;const r=e[s(450)]();u[s(466)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(455)](r,o);else if(!o){const e=a[u(450)]();e.id=(0,t.uid)(),n[u(462)](e,a[u(603)])[u(604)](t=>{c=t})}}else e[u(455)](r,o)})}}},Zo),s}[ra(571)](){const t=ra,e=this[t(543)][t(584)][t(573)](t(539))[t(517)];this[t(543)][t(584)][t(602)](t(549),async()=>{const i=t;this[i(543)][i(516)](i(464));const s=this[i(543)][i(533)][i(573)](i(534));if(this[i(543)][i(533)][i(495)](i(526))){const t=this[i(543)][i(533)][i(573)](i(526));await t[i(548)]()}else await s[i(582)]();if(this[i(543)][i(533)][i(495)](i(501))&&this[i(543)][i(533)][i(573)](i(501))[i(562)](),this[i(543)][i(533)][i(495)](i(556))){const t=this[i(543)][i(533)][i(573)](i(556));t[i(527)]&&t[i(608)]()}if(this[i(543)][i(533)][i(495)](i(497))){const t=this[i(543)][i(533)][i(573)](i(497))[i(472)][i(465)];for(const e of t)e[i(511)]=e[i(511)]?e[i(511)]+i(578):i(489);if(this[i(543)][i(533)][i(495)](i(454))){const t=document[i(586)](i(575));t&&t[i(547)](i(468),"-1")}if(this[i(543)][i(533)][i(495)](i(522))){const t=document[i(586)](i(601));t&&t[i(547)](i(468),"-1")}}const n=this[i(596)]();return e(n)[i(604)](t=>{const e=i;return this[e(598)]=t,this[e(543)][e(533)][e(495)](e(554))&&this[e(543)][e(533)][e(573)](e(554))[e(484)](),this[e(543)][e(533)][e(495)](e(589))&&(this[e(543)][e(533)][e(573)](e(492))[e(472)][e(553)][e(515)][e(535)]=e(506)),t})[i(498)](t=>(console[i(606)](t),this[i(543)][i(521)](i(464)),null))})}[ra(493)](){const t=ra,e=this[t(543)][t(584)][t(573)](t(539))[t(482)];this[t(543)][t(584)][t(602)](t(486),()=>{const i=t;if(this[i(543)][i(533)][i(495)](i(501))&&this[i(543)][i(533)][i(573)](i(501))[i(562)](),this[i(543)][i(533)][i(495)](i(589))&&(this[i(543)][i(533)][i(573)](i(492))[i(472)][i(553)][i(515)][i(535)]=""),this[i(543)][i(533)][i(495)](i(497))){const t=this[i(543)][i(533)][i(573)](i(497))[i(472)][i(465)];for(const e of t)e[i(511)]=i(489)===e[i(511)]?"":e[i(511)][i(563)](i(578),"");if(this[i(543)][i(533)][i(495)](i(454))){const t=document[i(586)](i(575));t&&t[i(476)](i(468))}if(this[i(543)][i(533)][i(495)](i(522))){const t=document[i(586)](i(601));t&&t[i(476)](i(468))}}return this[i(598)][i(533)][i(573)](i(475))[i(542)](),e(this[i(598)])[i(604)](()=>{const t=i;if(this[t(543)][t(521)](t(464)),this[t(598)]=null,this[t(543)][t(533)][t(495)](t(554))){const e=this[t(543)][t(533)][t(573)](t(554));e[t(484)](),e[t(597)]()}})})}[ra(496)](t){const e=ra,i=this[e(543)][e(584)][e(573)](e(576)),s=this[e(543)][e(584)][e(573)](e(531)),n=this[e(543)][e(584)][e(573)](e(473));return sa[e(568)](n,t)[e(604)](t=>(s[e(515)][e(535)]=e(545),i[e(515)][e(535)]=e(506),this[e(479)]=!0,t))}[ra(532)](t){const e=ra,i=this[e(543)][e(584)][e(573)](e(576));return this[e(543)][e(584)][e(573)](e(531))[e(515)][e(535)]=e(506),i[e(515)][e(535)]="",this[e(479)]=!1,t[e(583)]()}async[ra(467)](t){const e=ra,i=this[e(543)],s=this[e(598)][e(533)][e(573)](e(475)),n=i[e(533)][e(573)](e(534)),r=i[e(533)][e(573)](e(449)),o=s[e(502)][e(440)](t);let a,c,u;try{await r[e(490)](o,this[e(451)]),a=r[e(458)](o),c=r[e(605)](o)}catch(t){return void console[e(606)](t)}i[e(461)][e(528)](t=>{const s=e;for(const e of Array[s(460)](i[s(461)][s(469)][s(580)](s(544))))t[s(587)](e)}),s[e(551)]=!1,i[e(461)][e(452)](t=>{const s=e;t[s(470)](null),t[s(457)](i[s(461)][s(577)][s(505)][s(510)]());const n=Object[s(537)](a);for(const e of i[s(461)][s(577)][s(477)])s(491)!=e[s(456)]&&e[s(588)]()&&!n[s(560)](e[s(456)])&&t[s(448)](e);for(const e of n){let n=i[s(461)][s(577)][s(453)](e);n&&n[s(588)]()||(n=t[s(509)](e));const r=c[e],o=Object[s(537)](r),u=a[e];for(const e of n[s(510)]())o[s(560)](e)||t[s(476)](e,n);for(const i of o)t[s(547)](i,c[e][i],n);t[s(504)](t[s(552)](n)),t[s(566)](i[s(483)][s(487)](u,n),n,0)}});const l=dt(i[e(559)],e(513));return u=o[e(508)]?-1==o[e(508)][e(514)](l)?l+": "+o[e(508)]:o[e(508)]:l+": "+o[e(607)][e(444)](i[e(559)][e(525)],{month:e(595),day:e(520)})+", "+o[e(607)][e(599)](i[e(559)][e(525)],{hour:e(520),minute:e(520)}),await n[e(462)]({name:u}),s[e(551)]=!0,i[e(584)][e(573)](e(539))[e(482)]()}}function la(t,e){var i=ha();return(la=function(t,e){return i[t-=438]})(t,e)}function ha(){var t=["10910824IJijrL","5952540ovjNPg","34771356aDnwwk","7000833EsJwKg","6UHxXop","19648nnnNfV","181434paTiiZ","12iFVuaC","6201175jFlMeQ"];return(ha=function(){return t})()}!function(t){for(var e=la,i=t();;)try{if(703475===-parseInt(e(445))/1*(parseInt(e(438))/2)+parseInt(e(439))/3*(-parseInt(e(446))/4)+-parseInt(e(440))/5+-parseInt(e(442))/6+parseInt(e(444))/7+-parseInt(e(441))/8+parseInt(e(443))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ha)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|